/* Global Styles */
:root {
    --color-primary: #0A1128;       /* Dark navy - for headings and important elements */
    --color-secondary: #001F54;     /* Navy blue - for secondary elements */
    --color-accent: #034078;        /* Medium blue - for accents and buttons */
    --color-light-accent: #1282A2;  /* Light blue - for highlights */
    --color-light: #FEFCFB;         /* Off-white - for backgrounds and light text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-accent);
    color: var(--color-light);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(97, 94, 94, 0.1);
}

nav ul li a.btn:hover {
    color: var(--color-light) !important; /* Force white text on hover */
}

/* Header Styles */
header {
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
}

.logo-text span {
    color: var(--color-accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

nav ul li a:hover {
    color: var(--color-accent);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
    z-index: 1001;
}

/* Hero Section */
.hero {
    background-image: 
      linear-gradient(rgba(59, 59, 61, 0.7), rgba(23, 31, 44, 0.7)),
      url('assets/hero2.jpg');
    background-repeat: no-repeat, no-repeat;
    background-size: 88% auto, 88% auto;
    background-position: center, center;
  
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-light);
    padding: 80px 0 40px;
    margin-bottom: 80px;
  }
  

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-features {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
    padding: 0;
}

.hero-features li {
    list-style: none;
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
    font-weight: 500;
}

.hero-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-light-accent);
}

.divider {
    height: 2px;
    background-color: rgba(254, 252, 251, 0.3);
    width: 100px;
    margin: 30px auto;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: var(--color-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    position: relative;
    grid-column: 1 / -1;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 60px;
    height: 3px;
    background-color: var(--color-light-accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-image {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content .feature-icons {
    display: none;
}

.about-image img {
    margin-top: 1.2em; 
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 420px;
    align-self: flex-start;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
}

.about-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--color-light-accent);
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-secondary);
    font-weight: 500;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background-color: rgba(1, 64, 120, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid var(--color-light-accent);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-top: 5px;
}

.feature-icons {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.feature-icons li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.feature-icons i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-light-accent);
}

/* Programs Offered Section */
.programs-section {
    padding: 80px 0;
    background-color: rgba(1, 64, 120, 0.03);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.program-content p {
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-content .btn {
    display: inline-block;
    width: auto;
}


/* News & Events Section */
.news-section {
    padding: 80px 0;
    background-color: var(--color-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    background-color: var(--color-accent);
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    color: var(--color-primary);
}

.news-content p {
    color: var(--color-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--color-secondary);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image img {
        margin-top: 0;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: rgba(1, 64, 120, 0.03);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.contact-details i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--color-light-accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-light-accent);
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

#about { scroll-margin-top: 80px; }
#programs { scroll-margin-top: 85px; }
#news { scroll-margin-top: 80px; }
#contact { scroll-margin-top: 80px; }
/* Footer Styles */
.footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-about .logo-text {
    color: var(--color-light);
}

.footer-about .logo-text span {
    color: var(--color-light-accent);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--color-light);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--color-light-accent);
    transform: translateY(-3px);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-light);
    position: relative;
    padding-bottom: 10px;
}

.footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-light-accent);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
}

.footer a {
    color: var(--color-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--color-light-accent);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--color-light-accent);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        gap: 30px;
    }
    
    .about-image img {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-light);
        transition: all 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 100px;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 60px;
        background-size: cover;    
        background-position: center top;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image img {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-features li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .programs-section {
        padding: 60px 0;
    }
    
    .program-content {
        padding: 20px;
    }
}    