/* CSS Variables */
:root {
    --primary-color: #2e3192;
    /* Navy Blue from logo */
    --primary-dark: #232578;
    --secondary-color: #ffd700;
    /* Gold/Yellow from logo */
    --secondary-dark: #e6c200;
    --accent-color: #e63946;
    /* Red from logo */
    --text-color: #333;
    --light-text: #fff;
    --dark-text: #222;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--secondary-color);
    margin: 0 auto 1rem;
}

.section-desc {
    max-width: 36rem;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.5rem 0;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-bar p {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.announcement-bar a {
    color: var(--light-text);
    font-weight: 700;
    transition: var(--transition);
}

.announcement-bar a:hover {
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 4rem;
    width: auto;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0;
}

.logo-text p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Add gap between nav items */
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
}

.main-nav li a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav li a:hover {
    color: var(--accent-color);
}

.main-nav li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Fixed Enroll Now button */
.enroll-btn {
    display: none;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    /* Prevent text wrapping */
}

.enroll-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .enroll-btn {
        display: inline-block;
    }
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-dark)
    );
    color: var(--light-text);
    padding: 5rem 0 8rem;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("hero-pattern.png");
    background-repeat: repeat;
    opacity: 0.1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
}

.hero-text {
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .hero-text {
        width: 50%;
        margin-bottom: 0;
    }
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-image {
        width: 50%;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

.hero-image-bg {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
}

.hero-image-main {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    /* aspect-ratio: 4/3; */
    object-fit: cover;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.hero-slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.hero-slider-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dot.active {
    background-color: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-box {
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(46, 49, 146, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background-color: rgba(255, 215, 0, 0.2);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.feature-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

.feature-box:hover .feature-link {
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: center;
    }
}

.about-image {
    position: relative;
}

@media (min-width: 768px) {
    .about-image {
        width: 50%;
    }
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
}

.about-image-main {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-established {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-established p:first-child {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.about-established p:last-child {
    margin: 0;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text .divider {
    margin: 0 0 1.5rem;
}

.mission-box,
.vision-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.mission-box {
    border-left: 4px solid var(--primary-color);
}

.vision-box {
    border-left: 4px solid var(--secondary-color);
}

.mission-box h3,
.vision-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mission-box p,
.vision-box p {
    color: var(--gray-600);
    margin: 0;
    margin-bottom: 1rem;
}

.mission-box p:last-child,
.vision-box p:last-child {
    margin-bottom: 0;
}

.mission-box ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.mission-box ul li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

.mission-box ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.mission-box .motto {
    font-style: italic;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Programs Section */
.programs {
    padding: 4rem 0;
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.program-image {
    height: 12rem;
    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: 1.5rem;
}

.program-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.program-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.program-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

.program-card:hover .program-link {
    color: var(--primary-color);
}

/* News & Events Section */
.news-events {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-image {
    height: 12rem;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
}

.news-badge.news {
    background-color: var(--primary-color);
    color: white;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.news-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.news-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

.news-card:hover .news-link {
    color: var(--primary-color);
}

.view-all {
    text-align: center;
    margin-top: 2.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -1.25rem;
    left: 2rem;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.5;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* Call to Action */
.cta {
    padding: 4rem 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("cta-pattern.png");
    background-repeat: repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 4rem;
    width: auto;
    background-color: white;
    border-radius: 50%;
    padding: 0.25rem;
}

.footer-logo-text h3 {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0;
}

.footer-logo-text p {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin: 0;
}

.footer-about p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-700);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 20rem;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1000;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .btn {
    margin-top: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-gray-50 {
    background-color: var(--gray-100);
}

.mb-0 {
    margin-bottom: 0;
}
