/* Google Font: Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-navy: #0A192F;
    /* Deep premium Navy Blue */
    --color-navy-light: #112240;
    --color-yellow: #FFD700;
    /* Vibrant Gold/Yellow */
    --color-yellow-hover: #FBBF24;
    --color-white: #FFFFFF;
    --color-off-white: #F8FAFC;
    --color-text: #334155;
    --color-text-light: #64748B;

    /* Variables */
    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-off-white);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-yellow);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

/* Navbar */
.header {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-yellow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-yellow);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-yellow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-col h3 {
    color: var(--color-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-light);
}

.footer-links a:hover {
    color: var(--color-yellow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-yellow);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../images/banner.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.badge {
    background: rgba(255, 215, 0, 0.2);
    color: var(--color-yellow);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-title {
    color: var(--color-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--color-off-white);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .hero-icon {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--color-yellow);
    border-radius: 20px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-content h2 span {
    color: var(--color-yellow);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 25, 47, 0.1);
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.feature-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Programs Section */
.programs-section {
    padding: 6rem 5%;
    background-color: var(--color-off-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.program-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.1);
}

.program-img {
    height: 240px;
    background-color: var(--color-navy-light);
    position: relative;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img img {
    transform: scale(1.05);
}

.program-content {
    padding: 2.5rem 2rem;
}

.program-content h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.program-link {
    color: var(--color-navy);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-link:hover {
    color: var(--color-yellow);
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-container h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-container p {
    color: var(--color-off-white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-navy {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-navy:hover {
    background-color: var(--color-yellow);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* WhatsApp Widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.wa-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    border: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.5);
}

.wa-modal {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wa-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wa-modal-header {
    background-color: #0A192F;
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.wa-modal-header i.fa-whatsapp {
    font-size: 2.5rem;
    color: #25D366;
}

.wa-header-text h4 {
    color: white;
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
}

.wa-header-text p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.wa-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.wa-close-btn:hover {
    color: white;
}

.wa-modal-body {
    padding: 1.5rem;
    background-color: #f0f2f5;
}

.wa-welcome-text {
    background: white;
    padding: 1rem;
    border-radius: 0 10px 10px 10px;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
}

.wa-welcome-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    border-width: 0 10px 10px 0;
    border-style: solid;
    border-color: transparent white transparent transparent;
}

.wa-message-box {
    margin-bottom: 1rem;
}

.wa-message-box textarea {
    width: 100%;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.8rem;
    font-family: inherit;
    font-size: 0.9rem;
    resize: none;
    transition: all 0.2s;
}

.wa-message-box textarea:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.wa-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.wa-contact-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wa-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.bg-navy {
    background-color: var(--color-navy);
}

.bg-yellow {
    background-color: var(--color-yellow);
    color: var(--color-navy);
}

.wa-contact-info h5 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-navy);
}

.wa-contact-info span {
    font-size: 0.75rem;
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wa-contact-info span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #25D366;
    border-radius: 50%;
}

.wa-arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.wa-contact-card:hover .wa-arrow {
    transform: translateX(3px);
    color: var(--color-yellow);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image::before {
        display: none;
    }

    .features-list {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feature-text h4 {
        font-size: 0.95rem;
    }

    .feature-text p {
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: auto;
        flex: 1;
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .btn {
        width: 100%;
    }

    .cta-container h2 {
        font-size: 2.2rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-yellow);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-yellow);
    }

    .nav-links {
        display: none !important;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Program Cards 2-Column Grid */
    .programs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .program-img {
        height: 140px;
    }

    .program-content {
        padding: 1rem;
    }

    .program-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .program-content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .program-link {
        font-size: 0.85rem;
    }

    /* Bottom Navigation Styles */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background-color: var(--color-navy);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.75rem;
        gap: 4px;
        transition: var(--transition);
        flex: 1;
    }

    .bottom-nav-item i {
        font-size: 1.25rem;
    }

    .bottom-nav-item.active {
        color: var(--color-yellow);
    }

    .bottom-nav-item:active {
        transform: scale(0.9);
    }

    /* Adjust main content padding for bottom nav */
    body {
        padding-bottom: 65px;
    }

    /* WhatsApp widget adjustment to not overlap bottom nav */
    .whatsapp-widget-container {
        bottom: 85px;
        left: 20px;
    }

    /* Navigation Drawer Refinements */
    .nav-menu {
        display: none !important;
    }


    /* Touch targets and spacing */
    .btn {
        padding: 1rem 1.5rem;
        min-height: 48px;
    }

}/* Modern Sidenav (Mobile App Feel) */
.sidenav-container {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--color-white);
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.sidenav-container.active {
    left: 0;
}

.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.sidenav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidenav-header {
    padding: 2.5rem 1.5rem;
    background-color: var(--color-navy);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    border-bottom: 3px solid var(--color-yellow);
}

.sidenav-logo {
    width: 45px;
    height: 45px;
    background-color: var(--color-yellow);
    color: var(--color-navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
}

.logo-t, .logo-c { color: var(--color-navy); }

.sidenav-title h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-white);
}

.sidenav-title p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-yellow);
    opacity: 0.9;
    font-weight: 500;
}

.close-sidenav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

.sidenav-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.sidenav-nav {
    display: flex;
    flex-direction: column;
}

.sidenav-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.5rem;
    color: var(--color-navy);
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    border-left: 4px solid transparent;
}

.sidenav-item i {
    width: 24px;
    font-size: 1.2rem;
    color: var(--color-text-light);
    text-align: center;
}

.sidenav-item:hover, .sidenav-item.active {
    background-color: rgba(255, 215, 0, 0.05);
    color: var(--color-navy);
    border-left-color: var(--color-yellow);
}

.sidenav-item.active i {
    color: var(--color-yellow);
}

.sidenav-divider {
    height: 1px;
    background-color: #eee;
    margin: 1rem 1.5rem;
}

.section-label {
    padding: 0 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.sidenav-footer {
    padding: 1.5rem;
    background-color: var(--color-off-white);
    text-align: center;
}

.sidenav-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.sidenav-footer .social-links a {
    color: var(--color-navy);
    font-size: 1.1rem;
    transition: 0.2s;
}

.sidenav-footer .social-links a:hover {
    color: var(--color-yellow);
    transform: translateY(-3px);
}

.sidenav-footer .copyright {
    font-size: 0.7rem;
    color: var(--color-text-light);
}
