/* 
    Theme: Premium Healthcare
    St. Bernadine School — Professional & Premium Design System
*/

:root {
    --primary-color: #06752e;
    --primary-dark: #054d1f;
    --secondary-color: #902017;
    --secondary-dark: #6e1811;
    --accent-color: #F0FDF4;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748B;
    --white: #FFFFFF;
    --off-white: #f8fafc;
    --border-color: #e2e8f0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', 'Open Sans', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 6px -2px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 12px 28px -6px rgb(0 0 0 / 0.12), 0 4px 10px -4px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 20px 50px -12px rgb(0 0 0 / 0.15);
    --shadow-glow: 0 0 20px rgba(6, 117, 46, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(203, 213, 225, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(226, 232, 240, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(203, 213, 225, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(226, 232, 240, 0.4) 0%, transparent 50%);
    background-size: 100% 100%;
    background-attachment: fixed;
    min-height: 100vh;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.15;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
}

.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: var(--white) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Fluid spacing */
.p-40 {
    padding: 40px;
}

.gap-60 {
    gap: 60px;
}

@media (max-width: 768px) {
    .p-40 {
        padding: 25px 20px;
    }

    .gap-60 {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .p-40 {
        padding: 20px 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

.grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 1025px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Top Bar */
/* Top Bar Premium Style */
.top-bar {
    background: linear-gradient(90deg, #042f13 0%, #06752e 100%);
    color: var(--white);
    font-size: 0.85rem;
    padding: 12px 0;
    position: relative;
    z-index: 1101;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.top-bar-left a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.top-bar-right .social-icons-small {
    display: flex;
    gap: 20px;
}

.top-bar-right .social-icons-small a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.top-bar-right .social-icons-small a:hover {
    color: var(--white);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* Header Premium Style */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Soft ambient shadow */
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

/* Scrolled State: Professional shrinking effect */
/* Scrolled State: Professional shrinking effect - Top Bar now scrolls away naturally */
/* header.scrolled .top-bar styles removed to prevent layout shift */

/* Scrolled State: Resizing removed to prevent glitching */
/* header.scrolled .navbar { min-height: 80px; padding: 5px 0; } */
/* header.scrolled .logo img { height: 70px; } */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

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

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Updated underline animation: Center Out */
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
    opacity: 1;
}

/* Specific style for Apply Now button in navbar */
.nav-links .btn {
    margin-left: 10px;
    letter-spacing: 0.05em;
    padding: 12px 35px;
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .nav-links .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (min-width: 1025px) {
    .navbar {
        justify-content: flex-start;
    }

    .nav-links {
        margin: 0 auto;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0c1524 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 80px 0 20px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #94a3b8;
}

.footer-socials a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 20px;
    max-width: 300px;
    color: #94a3b8;
}

.footer-links h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
    overflow-wrap: break-word;
}

.footer-links ul li a {
    color: #94a3b8;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

/* Footer Contact Alignment */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--white);
    margin-top: 4px;
    /* Align icon with first line of text */
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Footer Subscribe Form */
.footer-subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.footer-subscribe-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
    min-width: 0;
}

.footer-subscribe-form input::placeholder {
    color: #64748b;
}

.footer-subscribe-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(6, 117, 46, 0.15);
}

.footer-subscribe-form .btn {
    padding: 12px 22px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .footer-subscribe-form {
        flex-direction: column;
    }
}

/* Mobile Navigation */
/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #ef4444;
    /* Turn red for close */
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #ef4444;
}

.mobile-menu-btn:hover {
    background: rgba(6, 117, 46, 0.08);
}

/* Overlay */
.nav-overlay {
    display: none;
}

@keyframes linkSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 300px;
        max-width: 85vw;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        padding: 0 0 80px !important;
        margin: 0 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 1050 !important;
        overflow-y: auto;
        overflow-x: hidden;
        /* Fix horizontal scroll */
        gap: 0 !important;
        align-items: stretch !important;
        justify-content: center;
        /* Center items vertically */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
        /* Smooth eased */
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Staggered Link Animation */
    .nav-links.active a {
        animation: linkSlideIn 0.5s ease backwards;
    }

    .nav-links.active a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-links.active a:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-links.active a:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-links.active a:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav-links.active a:nth-child(6) {
        animation-delay: 0.35s;
    }

    .nav-links.active a:nth-child(7) {
        animation-delay: 0.4s;
    }

    /* Menu header area */
    .nav-links::before {
        content: 'Menu';
        display: block;
        padding: 30px 30px 20px;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: #94a3b8;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
    }

    .nav-links a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        /* Center flex items */
        padding: 16px 30px !important;
        text-align: center !important;
        /* Center text */
        width: 100% !important;
        font-size: 1rem !important;
        font-weight: 500;
        font-weight: 500;
        color: #1e293b !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        /* Separator line */
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
        text-decoration: none;
        overflow: hidden;
    }

    /* Premium Hover Effect */
    .nav-links a:not(.btn)::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(6, 117, 46, 0.08) 0%, transparent 100%);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: -1;
    }

    .nav-links a:not(.btn):hover {
        color: var(--primary-color) !important;
        border-left-color: transparent;
        /* Remove left border effect */
        padding-left: 30px !important;
        /* Keep original padding */
        background: rgba(6, 117, 46, 0.05);
        /* Add subtle background instead */
    }

    .nav-links a:not(.btn):hover::before {
        transform: translateX(0);
    }

    /* Remove old after pseudo */
    .nav-links a:not(.btn)::after {
        display: none !important;
    }

    /* Apply Now button in mobile */
    .nav-links a.btn {
        margin: 20px auto 30px !important;
        /* Center horizontally */
        /* Push to bottom */
        text-align: center !important;
        justify-content: center;
        border-left: none !important;
        border-bottom: none !important;
        /* No separator for button */
        border-radius: 50px !important;
        font-size: 0.9rem !important;
        padding: 12px 24px !important;
        width: auto !important;
        /* Prevent 100% width + margin overflow */
        max-width: 80%;
        /* Ensure it fits */
        background: var(--primary-color) !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(6, 117, 46, 0.25);
        transform: translateY(0);
        flex-shrink: 0;
    }

    .nav-links a.btn:hover {
        background: var(--primary-dark) !important;
        box-shadow: 0 6px 16px rgba(6, 117, 46, 0.35);
        transform: translateY(-2px);
        padding-left: 32px !important;
        /* Reset padding shift */
    }

    /* Dark overlay */
    .nav-overlay {

        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-brand p {
        margin: 0 auto 20px;
        max-width: 280px;
    }

    .footer-socials {
        justify-content: center;
        gap: 20px;
    }

    .footer-links {
        margin-bottom: 10px;
    }

    .logo img {
        height: 70px;
    }
}

@media (max-width: 400px) {
    .logo img {
        height: 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.4rem;
        overflow-wrap: break-word;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 10px;
    }

    .footer-brand p {
        margin: 0 auto 15px;
        font-size: 0.95rem;
    }

    .footer-brand {
        grid-column: span 1;
        margin-bottom: 10px;
    }

    .footer-links h3 {
        margin-bottom: 15px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0;
    color: var(--white);
    overflow: hidden;
}

/* Overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 117, 46, 0.65) 0%, rgba(5, 77, 31, 0.55) 50%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: kenBurns 20s ease-in-out infinite;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.8;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Features Section */
.features {
    background-color: var(--accent-color);
}


.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(6, 117, 46, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(6, 117, 46, 0.08), rgba(6, 117, 46, 0.15));
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(6, 117, 46, 0.25);
}

.feature-card h3 {
    margin-bottom: 14px;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

.feature-card-boxed {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.feature-card-boxed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(6, 117, 46, 0.2);
}

.feature-card-boxed .feature-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: inline-block;
}

.timeline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.timeline-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    flex: 0 1 350px;
    min-width: 300px;
    min-height: 380px;
    /* Force uniform height */
    position: relative;
    overflow: hidden;
}

/* Visual check to confirm update */
.timeline-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

.timeline-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(6, 117, 46, 0.3);
}

.timeline-box h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-bottom: 20px;
    line-height: 1;
    transition: color 0.3s ease;
}

.timeline-box:hover .step-number {
    color: var(--secondary-color);
}

/* Custom List (Green Checks) */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.custom-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}


.blog-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

/* Programs Section */
.program-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

.program-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #fbbf24);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card:hover::after {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(6, 117, 46, 0.15);
}

.program-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.program-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.program-content {
    padding: 28px 30px 30px;
}

.program-badge {
    background: linear-gradient(135deg, rgba(6, 117, 46, 0.08), rgba(6, 117, 46, 0.04));
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(6, 117, 46, 0.1);
}

.program-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.92rem;
}

.program-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.program-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ========================================
   DECORATIVE BACKGROUND UTILITIES
   ======================================== */

.section-decorated {
    position: relative;
    overflow: hidden;
}

/* Gradients */
.bg-gradient-subtle {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #dcfce7 0%, #dbeafe 100%);
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 100%);
}

.bg-fluid {
    background:
        radial-gradient(at 0% 0%, rgba(6, 117, 46, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(251, 191, 36, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 117, 46, 0.03) 0px, transparent 50%),
        #f8fafc;
}

/* Patterns */
.pattern-dots::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.pattern-lines::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg,
            rgba(203, 213, 225, 0.2) 0,
            rgba(203, 213, 225, 0.2) 1px,
            transparent 0,
            transparent 50%);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content sits above patterns */
.section-decorated>.container {
    position: relative;
    z-index: 1;
}

/* Floating Shapes Animation */
.deco-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: 0;
    animation: floatShape 10s infinite ease-in-out;
}

.deco-shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(6, 117, 46, 0.1);
    top: -100px;
    left: -100px;
}

.deco-shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(251, 191, 36, 0.1);
    bottom: 10%;
    right: -50px;
    animation-delay: -2s;
}

.deco-shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(6, 117, 46, 0.08);
    top: 40%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Font Awesome Fix - Start */
/* Ensures icons render correctly and aren't overridden by global font settings */
.fa,
.fas,
.fa-solid,
.fa-regular,
.fa-brands {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

/* Font Awesome Fix - End */

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-width: calc(100vw - 30px);
    height: 450px;
    max-height: 70vh;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    /* Restored flex */
    flex-direction: column;
    overflow: hidden;
    z-index: 2001;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    border: 1px solid #E2E8F0;
}

.chatbot-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

#close-chat {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.1rem;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #F8FAFC;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px 14px;
    border-radius: 10px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.message.user {
    background-color: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input {
    padding: 10px;
    background-color: var(--white);
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

#send-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#send-btn:hover {
    background-color: #06752e;
}

.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(6, 117, 46, 0.4);
    cursor: pointer;
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

/* Chat Suggestions */
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 15px 15px;
    background-color: #F8FAFC;
}

.suggestion-btn {
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.suggestion-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Typing Indicator */
.typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #94A3B8;
    border-radius: 50%;
    margin-right: 3px;
    animation: typing 1s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}



/* Welcome Section */
.welcome-image {
    position: relative;
    height: 100%;
    /* Stretch to fill grid column */
    display: flex;
}

.welcome-image img {
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Welcome Section */
.welcome-section {
    background: url('images/scbg.jpg') no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

.welcome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    /* High opacity overlay for readability */
    z-index: -1;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-content h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.welcome-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.welcome-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding-top: 24px;
}

@media (max-width: 991px) {
    .welcome-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .welcome-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 25px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 117, 46, 0.15);
    background: var(--white);
    border-color: var(--primary-color);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(6, 117, 46, 0.1), rgba(6, 117, 46, 0.2));
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.stat-item:hover .stat-icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
    display: block;
}

.stat-item p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1.4;
}

/* Feature Card Enhancements */
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 117, 46, 0.03) 0%, rgba(6, 117, 46, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(6, 117, 46, 0.12);
    border-color: rgba(6, 117, 46, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--off-white);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(6, 117, 46, 0.25);
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, #0a1628 0%, #0f2218 35%, #0d3320 60%, #0a1628 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.05;
    pointer-events: none;
}

.stats-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.stats-decor-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 117, 46, 0.15), transparent 70%);
    top: -150px;
    right: -100px;
    animation: orbFloat 10s ease-in-out infinite;
}

.stats-decor-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(144, 32, 23, 0.1), transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.stat-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
}

.stat-icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 117, 46, 0.25), rgba(144, 32, 23, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-box i {
    font-size: 1.3rem;
    color: #fbbf24;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.stat-box h3 {
    display: inline-block;
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-box span {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-box p {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}


/* Testimonials */
.testimonials {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 117, 46, 0.04), transparent 70%);
    pointer-events: none;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.quote-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.6;
}

.testimonial-card p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.student-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(6, 117, 46, 0.15);
}

.student-info h4 {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0;
}

.student-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .stats-banner .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .welcome-content h2 {
        font-size: 1.8rem;
    }

    .welcome-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .stats-banner .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Founder Section */
.founder-content p {
    text-align: justify;
    margin-bottom: 20px;
}

/* Logo Slider / Marquee */
.logo-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: slideLeft 60s linear infinite;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo-track img {
    height: 80px;
    width: auto;



    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   PREMIUM DECORATIONS & VISUAL EFFECTS
   ======================================== */

/* Decorative section backgrounds with subtle gradients */
.section-decorated {
    position: relative;
    overflow: hidden;
}

.section-decorated::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 117, 46, 0.06) 0%, transparent 70%);
    z-index: 0;
}

.section-decorated::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(144, 32, 23, 0.04) 0%, transparent 70%);
    z-index: 0;
}

/* Gradient background variations */
.bg-gradient-subtle {
    background: linear-gradient(135deg, #fdfdfd 0%, #f4fbf6 50%, #effaf2 100%) !important;
    /* Reverted to very subtle premium hint */
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #fffbf7 0%, #fff5ee 50%, #fef2e8 100%) !important;
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
}

/* Fluid Abstract Background for Sections */
.bg-fluid {
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(203, 213, 225, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(226, 232, 240, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(203, 213, 225, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(226, 232, 240, 0.4) 0%, transparent 50%);
    background-size: 100% 100%;
    background-attachment: scroll;
    /* Scroll with section */
    position: relative;
}

/* Decorative dots pattern */
.pattern-dots {
    position: relative;
}

.pattern-dots::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 40px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(6, 117, 46, 0.12) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 0;
}

/* Decorative diagonal lines */
.pattern-lines::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 8px,
            rgba(144, 32, 23, 0.05) 8px,
            rgba(144, 32, 23, 0.05) 10px);
    z-index: 0;
}

/* Founder section decorative accents */
.founder-content {
    position: relative;
    z-index: 1;
}

.founder-content p {
    text-align: justify;
    line-height: 1.8;
    color: var(--text-light);
}

.founder-image {
    position: relative;
    z-index: 1;
}

.founder-image img {
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.founder-image img:hover {
    transform: scale(1.02);
}

.founder-image::before {
    display: none;
}

.founder-image::after {
    display: none;
}

/* Floating decorative shapes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatReverse {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

.deco-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.deco-shape-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(6, 117, 46, 0.05), transparent 70%);
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.deco-shape-2 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(144, 32, 23, 0.04), transparent 70%);
    bottom: 15%;
    left: 3%;
    animation: floatReverse 10s ease-in-out infinite;
}

.deco-shape-3 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(6, 117, 46, 0.08);
    top: 40%;
    left: 8%;
    animation: float 12s ease-in-out infinite;
}

/* Wave section divider */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin-top: -1px;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

/* Sub-heading with decorative dash */
.sub-heading {
    position: relative;
    padding-left: 0;
}

.sub-heading::before {
    content: '\2014';
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Smooth scroll-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }


    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Premium button enhancements */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* CTA section with gradient */
.cta-premium {
    background: linear-gradient(135deg, #021a0b 0%, var(--primary-color) 50%, #054d1f 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06), transparent 70%);
    animation: orbFloat 10s ease-in-out infinite;
}

.cta-premium::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
    animation: orbFloat 14s ease-in-out infinite reverse;
}

.cta-premium .container {
    position: relative;
    z-index: 1;
}

.cta-premium h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta-premium p {
    font-size: 1.05rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Logo slider subtle gradient fade edges */
.logo-slider::before,
.logo-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Trust Bar */

.trust-bar {
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 50%, #f8fafc 100%);
    padding: 35px 0;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748B;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}


@media (max-width: 640px) {
    .trust-logos {
        gap: 20px;
        justify-content: center;
    }

    .trust-logo {
        font-size: 0.85rem;
    }
}


.trust-logo i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.trust-logo:hover {
    color: var(--primary-color);
}

/* Upcoming Dates Widget */
.upcoming-dates {
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1516549655169-df83a0774514?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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



.date-badge {
    background-color: var(--primary-color);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.date-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.date-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.status {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-open {
    color: #4ADE80;
}

.status-closing {
    color: #FACC15;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(6, 117, 46, 0.4);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(6, 117, 46, 0.08);
    background: #fff;
    transform: scale(1.01);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.faq-question i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(6, 117, 46, 0.06);
    color: var(--primary-color);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question:hover {
    background-color: #f8fdf9;
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease-out;
    background-color: white;
}

.faq-answer p {
    line-height: 1.7;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 28px 22px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}

/* Newsletter Bar */
.newsletter-bar {
    background: linear-gradient(135deg, #0a1628 0%, #0f2218 50%, #0d3320 100%);
    padding: 70px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 117, 46, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}

.newsletter-bar::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.newsletter-text h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.newsletter-text p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    min-width: 280px;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }
}

/* Scroll Reveal Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Services Page Hero  Premium Split Panel */
.services-hero {
    display: flex;
    min-height: 450px;
    overflow: hidden;
    position: relative;
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #021a0b 0%, #043a17 25%, var(--primary-color) 60%, var(--primary-dark) 100%);
    z-index: 0;
}

.services-hero-content {
    flex: 1.1;
    padding: 70px 50px 70px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    gap: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    width: fit-content;
}

.hero-badge i {
    color: #fbbf24;
}

.date-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.date-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.services-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-ampersand {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.services-hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 480px;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 6px 0;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-item strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    display: flex;
    /* Ensure counter and symbol align */
    align-items: center;
}

.hero-stat-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Stats Card Override */
.services-hero .welcome-stats-grid {
    margin-bottom: 0;
    padding-top: 20px;
    gap: 15px;
}

.services-hero .stat-item {
    background: rgba(255, 255, 255, 0.05);
    /* Dark glass effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 20px 15px;
}

.services-hero .stat-item h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.services-hero .stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.services-hero .stat-item .stat-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    /* Accent color */
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.services-hero .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.services-hero .stat-item:hover .stat-icon-wrapper {
    background: var(--white);
    color: var(--primary-color);
}

.services-hero-image {
    flex: 0.9;
    position: relative;
    z-index: 1;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}

.services-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(4, 58, 23, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08), transparent 70%);
    top: -80px;
    left: -60px;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
    bottom: -40px;
    left: 35%;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-accent-line {
    display: none !important;
}

@media (max-width: 1024px) {
    .services-hero-content {
        padding: 60px 40px;
    }

    .services-hero-content h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        flex-direction: column;
        min-height: auto;
    }

    .services-hero-content {
        padding: 50px 30px;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-image {
        height: 280px;
        clip-path: none;
        overflow: hidden;
        width: 100%;
        min-height: 240px;
    }

    .services-hero-image .hero-slider {
        position: absolute;
        inset: 0;
    }

    .services-hero-image .slide {
        display: none;
        opacity: 1;
        background-position: center;
    }

    .services-hero-image .slide.active {
        display: block;
    }

    .hero-stats-row {
        gap: 16px;
    }

    .hero-stat-item strong {
        font-size: 1.2rem;
    }
}


/* Premium Page Header for Inner Pages */
.page-header {
    background: linear-gradient(135deg, #021a0b 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05), transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, var(--primary-color), #fbbf24);
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    color: white;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Premium Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(6, 117, 46, 0.1);
    outline: none;
}

/* Newsletter form input premium styling */
.newsletter-form input {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm) !important;
}

.newsletter-form input:focus {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ========================================
   MISSING HOMEPAGE STYLES
   ======================================== */

/* Trust Bar */
.trust-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 20px 0;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.trust-logo i {
    font-size: 1.3rem;
    color: #fbbf24;
}

/* Sub-Heading */
.sub-heading {
    display: inline-block;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

/* Upcoming Class Dates */
.upcoming-dates {
    position: relative;
    overflow: hidden;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .dates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dates-grid {
        grid-template-columns: 1fr;
    }
}

.date-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.date-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.date-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.date-card h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.date-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.date-card p i {
    margin-right: 6px;
}

.status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-open {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-closing {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Newsletter Bar */
.newsletter-bar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-bar::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* FAQ Section */
.faq-section {
    background-color: #DBE0DC;
    /* Matches 4d-logo.jpg background */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-links a:not(.btn).active {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.nav-links a:not(.btn).active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transform-origin: bottom left;
}

.faq-item:hover {
    border-color: rgba(6, 117, 46, 0.2);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(6, 117, 46, 0.02);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    margin-right: 16px;
    line-height: 1.4;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Utility Classes */
.bg-dark {
    background: linear-gradient(135deg, #0a1628 0%, #0f2218 35%, #0d3320 60%, #0a1628 100%);
    position: relative;
}

.bg-light {
    background-color: var(--off-white);
}

.text-white {
    color: var(--white) !important;
}

/* Fade-in Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .trust-logos {
        gap: 20px;
        justify-content: center;
    }

    .trust-logo {
        font-size: 0.8rem;
    }

    .trust-logo i {
        font-size: 1.1rem;
    }

    canvas.signature-pad {
        height: 150px;
    }
}

/* ========================================
   NEWSLETTER BAR — PREMIUM
   ======================================== */
.newsletter-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1a2940 40%, #0d3320 80%, #0a1628 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-bar::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 117, 46, 0.15), transparent 70%);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}

.newsletter-bar::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(144, 32, 23, 0.1), transparent 70%);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
}

.newsletter-text h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form input:focus {
    border-color: rgba(6, 117, 46, 0.5);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(6, 117, 46, 0.1), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form .btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 16px 36px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-text h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .newsletter-bar {
        padding: 50px 0;
    }

    .newsletter-content {
        padding: 30px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Scroll Reveal Animations - Images */
.reveal-image-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-image-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-image-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-image-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Ensure visibility if JS fails or for safe mode */
body:not(.js-loaded) .reveal-image-left,
body:not(.js-loaded) .reveal-image-right,
body:not(.js-loaded) .reveal-scale {
    opacity: 1;
    transform: none;
}

/* Mobile Slider Fix */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Promo Slider Section */
.promo-slider-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    background: url('../asset/images/bg-flag.jpg') no-repeat center center/cover fixed;
}

.promo-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 47, 19, 0.9), rgba(6, 117, 46, 0.85));
    z-index: 1;
}

.promo-slider-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.promo-slider-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Sliding Text Container */
.promo-text-slider {
    height: 70px;
    /* Fixed height for text area */
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.promo-text-wrapper {
    /* 5 items (4 + 1 duplicate) over 16s total */
    animation: slide-up-text 16s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.promo-text-item {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #fbbf24;
    /* Gold */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0 20px;
    white-space: nowrap;
}

@keyframes slide-up-text {

    0%,
    20% {
        transform: translateY(0);
    }

    25%,
    45% {
        transform: translateY(-70px);
    }

    50%,
    70% {
        transform: translateY(-140px);
    }

    75%,
    95% {
        transform: translateY(-210px);
    }

    100% {
        transform: translateY(-280px);
    }

    /* Slide to 5th item (duplicate of 1st) */
}

/* Responsive */
@media (max-width: 768px) {
    .promo-slider-title h2 {
        font-size: 1.8rem;
    }

    .promo-slider-section {
        padding: 80px 0;
    }

    .promo-text-slider,
    .promo-text-item {
        height: 50px;
    }

    .promo-text-item {
        font-size: 1.2rem;
        white-space: normal;
        /* Allow wrap on mobile */
        text-align: center;
        line-height: 1.2;
    }

    @keyframes slide-up-text {

        0%,
        20% {
            transform: translateY(0);
        }

        25%,
        45% {
            transform: translateY(-50px);
        }

        50%,
        70% {
            transform: translateY(-100px);
        }

        75%,
        95% {
            transform: translateY(-150px);
        }

        100% {
            transform: translateY(-200px);
        }
    }
}

/* Fix for hero stat counter font size */
.hero-stat-item .counter {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
}

/* Our Services Section (New) */
.our-services-section {
    background-color: var(--white);
}

.service-card-new {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6));
    opacity: 0.8;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.service-content p {
    color: var(--text-medium);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

/* Admissions Process Section */
.admissions-step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.admissions-step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.admissions-step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: var(--off-white);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.admissions-step-card:hover .admissions-step-icon {
    background: var(--primary-color);
    color: var(--white);
}

.admissions-step-title {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.admissions-step-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Modifier for Facebook/Last Step */
.admissions-step-card.step-social {
    border-top-color: #1877F2;
}

.admissions-step-card.step-social .admissions-step-icon {
    color: #1877F2;
}

.admissions-step-card.step-social:hover .admissions-step-icon {
    background: #1877F2;
    color: var(--white);
}

/* Accreditation Section */
.accreditation-section {
    background-color: var(--white);
    overflow: hidden;
}

.accreditation-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.accreditation-content {
    flex: 1;
}

.accreditation-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accreditation-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.accreditation-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .accreditation-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

/* =========================================
   Restored Animation Classes
   ========================================= */

/* Base Logic: Elements are hidden initially */
.fade-in-up,
.reveal-image-left,
.reveal-image-right,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

/* Specific Initial States */
.fade-in-up {
    transform: translateY(30px);
}

.reveal-image-left {
    transform: translateX(-50px);
}

.reveal-image-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.92);
}

/* Visible State (Triggered by JS IntersectionObserver) */
.fade-in-up.visible,
.reveal-image-left.visible,
.reveal-image-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* Staggered Delays for Grid Items if needed */
.grid .fade-in-up:nth-child(2) {
    transition-delay: 0.1s;
}

.grid .fade-in-up:nth-child(3) {
    transition-delay: 0.2s;
}

/* Ensure content is visible if JS fails or is disabled */
body:not(.js-loaded) .fade-in-up,
body:not(.js-loaded) .reveal-image-left,
body:not(.js-loaded) .reveal-image-right,
body:not(.js-loaded) .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
}

/* =========================================
   Restored Services Page Styles
   ========================================= */

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-item strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.hero-stat-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-top: 5px;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    align-self: stretch;
}

/* Service Card New (Premium Style) */
.service-card-new {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 117, 46, 0.3);
}

.service-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card-new:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0.6;
    transition: var(--transition);
}

.service-card-new:hover .service-overlay {
    opacity: 0.8;
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.service-content p {
    color: var(--text-medium);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Program List Styling */
.program-list {
    margin-top: 15px;
    margin-bottom: 20px;
    list-style: none !important;
    /* Override inline styles if needed */
    padding-left: 0 !important;
}

.program-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.program-list li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* Responsive Adjustments for Services */
@media (max-width: 768px) {
    .hero-stats-row {
        gap: 20px;
        justify-content: center;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat-item {
        align-items: center;
        min-width: 100px;
    }
}

/* =========================================
   Team Section Styles (About Us)
   ========================================= */

.team-card {
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    /* Subtle Gold Border */
}

.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 3px solid #f8fafc;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

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

.team-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

/* =========================================
   Program Card Styles (Certification)
   ========================================= */

.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.program-image {
    position: relative;
    height: 240px;
    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: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.program-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 0;
}

.program-card .service-link {
    margin-top: auto;
    width: fit-content;
    display: inline-flex;
}

.program-link {
    display: none;
    /* Deprecated */
}



.team-bio {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* ========================================
   Global Mobile Enhancements
   ======================================== */
@media (max-width: 1024px) {
    .page-header {
        padding: 70px 0 !important;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }

    .page-header p {
        font-size: 1rem !important;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .upcoming-dates {
        background-attachment: scroll;
    }

    .hero {
        padding: 110px 0 90px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .page-header {
        padding: 60px 0 45px !important;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }

    .page-header p {
        font-size: 0.95rem !important;
    }

    .section-padding .container>div[style*="max-width: 900px"] {
        padding: 28px 22px !important;
    }

    .services-hero-content {
        padding: 45px 24px;
    }

    .services-hero-content p {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 7px 14px;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .feature-card,
    .feature-card-boxed,
    .service-card-new,
    .program-card,
    .team-card {
        padding: 28px 22px;
    }

    .service-content,
    .program-content {
        padding: 22px;
    }

    .service-img,
    .program-image {
        height: 200px;
    }

    .timeline-container {
        gap: 20px;
    }

    .timeline-box {
        min-width: 0;
        min-height: auto;
        flex: 1 1 100%;
        padding: 24px;
    }

    .custom-list li {
        align-items: flex-start;
    }

    .faq-answer,
    .faq-item.active .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .newsletter-bar {
        padding: 55px 0;
    }

    .newsletter-text h3 {
        font-size: 1.5rem;
    }

    .logo-track {
        gap: 40px;
    }

    .logo-track img {
        height: 60px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
        align-items: center;
    }

    .footer-contact li i {
        margin-top: 0;
    }

    .map-embed {
        height: 320px !important;
    }

    .map-embed iframe {
        height: 100% !important;
    }

    .cta-actions {
        flex-wrap: wrap;
    }

    .professional-list-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 95px 0 75px;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero-stats-row {
        flex-direction: column;
    }

    .hero-stat-item strong {
        font-size: 1.15rem;
    }

    .page-header h1 {
        font-size: 1.8rem !important;
    }

    .page-header p {
        font-size: 0.9rem !important;
    }

    .section-padding .container>div[style*="max-width: 900px"] {
        padding: 22px 18px !important;
    }

    .feature-card,
    .feature-card-boxed,
    .service-card-new,
    .program-card,
    .team-card {
        padding: 24px 18px;
    }

    .service-img,
    .program-image {
        height: 180px;
    }

    .trust-logo {
        white-space: normal;
        text-align: center;
    }

    .trust-logo i {
        font-size: 1.1rem;
    }

    .map-embed {
        height: 240px !important;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 260px;
    }

    canvas.signature-pad {
        height: 150px;
    }
}

/* ========================================
   Premium Chatbot Styles (Professional Grade)
   ======================================== */
.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 380px;
    height: 550px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 100000;
    /* Ensure it stays on top */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: var(--font-body);
}

.chatbot-container.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

/* Header with Gradient & Glassmorphism feel */
.chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.chat-title i {
    font-size: 1.1rem;
}

#close-chat {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#close-chat:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    background: #f8fafc;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
}

/* Message Bubbles */
.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: fadeIn 0.3s ease-out forwards;
    word-wrap: break-word;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    align-self: flex-start;
    background: #ffffff;
    color: #334155;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.message.user {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(12, 21, 36, 0.3);
    /* Approximate primary color shadow */
}

.message strong {
    font-weight: 600;
}

.message a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.message.bot a {
    color: var(--primary-color);
}

/* Suggestion Buttons */
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
    animation: fadeIn 0.4s ease-out;
}

.suggestion-btn {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    font-weight: 500;
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 21, 36, 0.2);
}

/* Input Area */
.chat-input {
    padding: 14px;
    background: white;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    outline: none;
    font-family: var(--font-body);
    font-size: 16px;
    /* Prevent zoom on mobile */
    transition: border-color 0.2s;
}

.chat-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 21, 36, 0.1);
}

#send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#send-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Floating Toggle Button */
.chat-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Mobile Responsiveness for Chatbot */
@media (max-width: 480px) {
    .chatbot-container {
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        max-height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        z-index: 999999;
    }

    .chat-header {
        padding: 15px;
    }

    .chat-messages {
        padding-bottom: 80px;
        /* Space for input */
    }

    .chat-toggle-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* === Professional Enrollment Card Design === */
.enrollment-body {
    background-color: #f4f7f6;
    background-image: url('asset/images/pattern-bg.png');
    /* Placeholder or remove if none */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.enrollment-card-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.enrollment-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    /* Wider for complex form */
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.enrollment-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}

.enrollment-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 15px;
}

.enrollment-header h2 {
    color: var(--text-dark);
    margin: 0 0 10px;
    font-size: 1.8rem;
}

.enrollment-header p {
    color: #64748b;
    font-size: 1rem;
}

/* Enhanced Inputs for Card */
.enrollment-card .form-control {
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.enrollment-card .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 117, 46, 0.1);
}

.enrollment-card label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.enrollment-card .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(6, 117, 46, 0.25);
}

.enrollment-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 117, 46, 0.35);
}

/* --- Cookie Consent Banner (Modern Floating Design) --- */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 24px;
    right: 24px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle border */
    z-index: 9999;
    padding: 24px 32px;
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Elegant spring */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner.visible {
    bottom: 24px;
    transform: translateY(0);
}

.cookie-banner .container {
    width: 100%;
    padding: 0;
    margin: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-actions .btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 50px;
    /* Pill shape */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-actions .btn-sm:hover {
    transform: translateY(-1px);
}

#accept-cookies {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(6, 117, 46, 0.2);
}

#decline-cookies {
    color: var(--text-medium);
    border-color: #e2e8f0;
}

#decline-cookies:hover {
    background: #f1f5f9;
    color: var(--text-dark);
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 0;
        right: 0;
        bottom: -100%;
        /* Hide completely */
        border-radius: 20px 20px 0 0;
        /* Rounded top only */
        padding: 24px 20px 30px;
        /* Extra padding at bottom for safe area */
        max-width: 100%;
    }

    .cookie-banner.visible {
        bottom: 0;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cookie-actions {
        width: 100%;
        display: grid;
        /* Stack buttons */
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cookie-actions .btn-sm {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 0;
    }
}

/* --- Chatbot Styles --- */
.chat-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(6, 117, 46, 0.3);
    cursor: pointer;
    z-index: 10000;
    /* Highest Z-index */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 117, 46, 0.4);
}

.chatbot-container {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-container.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

#close-chat {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    transition: transform 0.2s;
}

#close-chat:hover {
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
}

.message.bot {
    align-self: flex-start;
    background: white;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 2px;
    box-shadow: 0 2px 5px rgba(6, 117, 46, 0.2);
}

.typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #a0aec0;
    border-radius: 50%;
    animation: typing 1.4s infinite both;
    margin: 0 2px;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.chat-input {
    padding: 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

#send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#send-btn:hover {
    background: #04461c;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.suggestion-btn {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 480px) {
    .chatbot-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-toggle-btn {
        bottom: 20px;
        right: 20px;
    }
}