/* ROOT VARIABLES */
:root {
    /* Colors */
    --primary-color: #0F172A;
    /* Deep Navy/Slate */
    --accent-color: #CCA35E;
    /* Gold/Bronze */
    --bg-color: #F8FAFC;
    /* Off-white */
    --text-color: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */
    --white: #FFFFFF;
    --dark-bg: #1E293B;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    /* Initially hidden */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #CBD5E1;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    border: 1px solid var(--accent-color);
    color: var(--accent-color) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    background-color: var(--primary-color);
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%), url('assets/hero_background_1769900030552.png') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 4rem;
    /* Offset for fixed nav */
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2.5px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TRUST BAR */
.trust-bar {
    background-color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.trust-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* IMPACT SNAPSHOT */
.impact {
    padding: 4rem 0;
    background-color: var(--white);
    color: var(--text-color);
    position: relative;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.1);
    transition: var(--transition);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

@media (hover: hover) {
    .stat-item:hover .stat-icon {
        background: var(--accent-color);
        border-color: var(--accent-color);
        transform: translateY(-5px);
        color: var(--primary-color);
    }
}

.stat-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.5rem;
        /* For emoji fallback */
    }

    .stat-icon svg {
        width: 24px;
        height: 24px;
    }

    .stat-item h3 {
        font-size: 1.1rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}

/* PROGRAMS */
.programs {
    padding: var(--section-padding);
    background-color: #F8FAFC;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: 8px;
    /* Sharper corners like Ref */
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-color);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.card-image {
    height: 220px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid #F1F5F9;
    position: relative;
}

.card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Ref is usually left-aligned */
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--accent-color);
    width: fit-content;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--accent-color);
    border-bottom-color: transparent;
}

/* AUDIENCE */
.audience {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--section-padding);
}

.audience .section-title {
    color: var(--white);
}

.audience-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #CBD5E1;
}

.audience-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.audience-list .icon {
    color: var(--accent-color);
    background-color: rgba(204, 163, 94, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* TESTIMONIALS */
.testimonials {
    padding: var(--section-padding);
    background-color: #F8FAFC;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
    font-size: 0.9rem;
}

/* HOW IT WORKS */
.how-it-works {
    padding: var(--section-padding);
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-item {
    padding: 1rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(204, 163, 94, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* ABOUT */
.about {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
    color: var(--white);
}

.about .section-title {
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-block h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-block p {
    color: #CBD5E1;
}

.values-block h3 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.values-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

/* FOOTER */
.footer {
    background-color: var(--primary-color);
    padding: 4rem 0 2rem;
    color: #CBD5E1;
    border-top: 5px solid var(--accent-color);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: #94A3B8;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-col {
    grid-column: span 2;
    /* Make contact wider if possible */
}

@media (max-width: 900px) {
    .contact-col {
        grid-column: span 1;
    }
}

.company-name {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.company-sub {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.reg-no {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.contact-card {
    padding: 0;
    margin-top: 1rem;
}

.contact-card .address {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    font-size: 0.8rem;
    color: #64748B;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.98);
        /* Less transparent on mobile */
        padding: 2rem;
        text-align: center;
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 500px;
        height: auto;
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 2.75rem;
        letter-spacing: -1.5px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* PROGRAM DETAIL PAGES */
.program-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 0 4rem;
    /* Top padding to clear fixed nav */
    text-align: center;
    position: relative;
}

.program-hero h1 {
    font-size: 3rem;
    margin-top: 1rem;
}

.program-hero .category-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

.program-content-section {
    padding: 4rem 0;
    background-color: var(--white);
}

/* POLICY PAGES REDESIGN */
.page-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 8rem 0 4rem 0;
    /* Extra top padding for navbar */
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero .last-updated {
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 500;
}

.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem 1.5rem;
}

.policy-wrapper p,
.policy-wrapper li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.policy-wrapper h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 0.75rem;
}

.policy-wrapper h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-wrapper ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-wrapper li {
    margin-bottom: 0.5rem;
}

/* Mobile Policy Adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 7rem 1rem 3rem 1rem;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .policy-wrapper {
        padding: 1rem 1.25rem 4rem 1.25rem;
    }

    .policy-wrapper h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
}

.program-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.program-main h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.program-main h2:first-child {
    margin-top: 0;
}

.program-main p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.learning-list {
    list-style: none;
}

.learning-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-color);
}

.learning-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    /* Make the bullet slightly larger */
    line-height: 1.5rem;
    /* Align vertically */
}

.program-sidebar {
    background: #F8FAFC;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    position: sticky;
    top: 100px;
}

.sidebar-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.sidebar-cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* PROGRAM PAGE MOBILE FIXES (Specific overrides) */
@media (max-width: 768px) {
    .program-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .program-sidebar {
        position: static;
        order: 0;
        margin-bottom: 2rem;
        width: 100%;
    }

    .sidebar-image {
        max-height: 300px;
        object-fit: cover;
    }

    .program-hero {
        padding: 6rem 0 3rem;
    }

    .program-hero h1 {
        font-size: 2.25rem;
        margin-top: 0.5rem;
    }
}

/* CONTACT PAGE */
.contact-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(204, 163, 94, 0.1);
    color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-text p,
.info-text a {
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.5;
}

.info-text a:hover {
    color: var(--accent-color);
}

.business-registration {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(204, 163, 94, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #DCFCE7;
    color: #166534;
    border: 1px solid #BBF7D0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem;
    }
}