@import "./colors.css";

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    letter-spacing: 0.3px;
    width: 100%;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lora', 'Poppins', serif, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

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

.section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark) !important;
    position: relative;
    display: inline-block;
    letter-spacing: -0.8px;
}

.section-title h2 span {
    color: var(--primary);
    position: relative;
}

.section-title h2 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent) !important;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(76, 175, 125, 0.25);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(93, 140, 192, 0.25);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--light);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(244, 162, 97, 0.25);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

/* Top Header Bar - Hide on Mobile */
.top-header {
    background: linear-gradient(135deg, var(--primary), var(--primary));
    color: var(--light);
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 100 !important;
}

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

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    flex: 1;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-item i {
    font-size: 0.9rem;
    color: var(--light-coral);
}

.top-header-item span {
    font-size: 0.8rem;
    letter-spacing: 0.9px;
}

.social-icons-top {
    display: flex;
    gap: 12px;
}

.social-icon-top {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icon-top:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Show only social icons on medium screens (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .top-header {
        display: block;
        padding: 6px 0;
    }

    .top-header-left {
        display: none;
    }

    .top-header-container {
        justify-content: center;
    }

    .social-icons-top {
        gap: 15px;
    }

    .social-icon-top {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Large screens (992px and above) */
@media (min-width: 992px) {
    .top-header {
        display: block;
    }

    .top-header-left {
        display: flex;
    }

    .top-header-container {
        justify-content: space-between;
    }
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-item i {
    font-size: 0.9rem;
    color: var(--light-coral);
}

.top-header-item span {
    font-size: 0.8rem;
    letter-spacing: 0.9px;
}

.social-icons-top {
    display: flex;
    gap: 12px;
}

.social-icon-top {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icon-top:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* 1. ENHANCED MAIN HEADER - MORE ELEGANT NAVIGATION */

/* Add to your existing CSS */
.fixed-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    animation: slideDown 0.3s ease forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Ensure content doesn't jump when header becomes fixed */
body {
    transition: padding-top 0.3s ease;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-dark) !important;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(0);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

.fixed-header .header-container {
    padding: 5px 0;
}

header {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5px 0;
}

header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    flex-wrap: nowrap;
    min-height: 70px;
    overflow: visible;
    /* Prevent clipping */
}

/* Logo Responsiveness - Optimized for 1215px */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    flex-shrink: 1;
    /* Allow logo to shrink */
    text-decoration: none !important;
    color: inherit !important;
    max-width: 60%;
    /* Safety cap */
}


.logo h1,
.logo span {
    text-decoration: none;
}


.logo-img {
    width: 50px;
    height: auto;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 3px;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.logo-text .tagline {
    font-size: 0.7rem;
    color: var(--dark);
    font-weight: 900 !important;
    letter-spacing: 0.5px;
}

/* Responsive Adjustments for Logo */
@media (max-width: 1215px) {
    .logo {
        min-width: 260px;
        gap: 10px;
    }

    .logo-img {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        border-radius: 8px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .logo-text .tagline {
        font-size: 0.65rem;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 1102px) {
    .logo {
        min-width: 25%;
        gap: 8px;
    }

    .logo-img {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text .tagline {
        font-size: 0.6rem;
    }
}



@media (max-width: 992px) {
    .logo {
        min-width: auto;
        max-width: 60%;
        flex-shrink: 1;
    }
}

@media (max-width:940px) {
    .logo {
        max-width: 'auto';
    }
}

@media (max-width:870px) {
    .logo {
        max-width: 25%;
    }
}

@media (max-width:799px) {
    .logo {
        max-width: 25%;
    }

    .logo-text h1 {
        font-size: 0.95rem;
        line-height: 1.1;
    }

    .logo-text .tagline {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 75%;
        gap: 8px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        border-radius: 8px;
    }

    .logo-text h1 {
        font-size: 0.95rem;
        line-height: 1.1;
    }

    .logo-text .tagline {
        font-size: 0.55rem;
        letter-spacing: 0.3px;
        display: block !important
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 70%;
    }

    .logo-text h1 {
        font-size: 0.85rem;
    }

    .logo-text .tagline {
        font-size: 0.5rem;
    }
}

/* Navigation Menu - Optimized for 1215px */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    /* Allow wrapping at smaller sizes */
    justify-content: flex-end;
    /* Keep items together */
}

.nav-menu a:not(.btn-call):after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: var(--transition);
}

.nav-menu a:not(.btn-call):hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-menu a:not(.btn-call):hover:after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 400;
}

.nav-menu a.active:after {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary));
}

/* Dropdown navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    top: 33px !important;
    background: var(--light-gray);
    box-shadow: none;
    border-radius: 8px;
    min-width: 200px;
    display: none;
    flex-direction: column;
    padding: 6px 0;
    z-index: 60;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Active state for dropdown toggle when dropdown item is active */
.nav-dropdown .dropdown-toggle.active {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.nav-dropdown .dropdown-toggle.active:after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100% !important;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary)) !important;
    border-radius: 3px;
}

/* Ensure dropdown toggle has relative positioning for the pseudo-element */
.nav-link.dropdown-toggle {
    position: relative;
}

.dropdown-menu a {
    color: var(--dark) !important;
    font-weight: 400 !important;
}

.dropdown-menu a:hover {
    background: #1E8F7A !important;
    color: var(--light) !important;
    border-radius: 2px !important;
}

/* Active state for dropdown menu items */
.dropdown-menu a.active {
    color: #1E8F7A !important;
    font-weight: 600 !important;
    background: #E8FFF9 !important;
    border-left: 4px solid var(--primary) !important;
}


.dropdown-menu a.active:hover {
    background: rgba(91, 192, 171, 0.2) !important;
}

/* dropdown items: simple style, smoke-white separators, no decorative underline or gradient */
.nav-dropdown .dropdown-menu a {
    padding: 10px 16px;
    color: var(--light);
    font-size: 0.95rem;
    display: block;
    transition: color 0.18s ease, background 0.18s ease;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-dropdown .dropdown-menu a::after {
    /* ensure no underline or extra decorative pseudo-elements */
    content: none;
    display: none;
}

.nav-dropdown .dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown .dropdown-menu a:hover,
.nav-dropdown .dropdown-menu a:focus {
    /* no hover background, only change text color */
    background: transparent;
    color: var(--primary);
    outline: none !important;
}

/* Prevent top-level underline/gradient from affecting dropdown buttons */
.nav-menu .nav-link.dropdown-toggle::after,
.nav-menu .nav-dropdown .nav-link::after {
    content: none !important;
}

.nav-menu a,
.nav-link.dropdown-toggle {
    font-weight: 500;
    font-size: 0.96rem;
    position: relative;
    color: var(--dark);
    transition: var(--transition);
    padding: 12px 0;
    white-space: nowrap;
    letter-spacing: 0.4px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
        /* Wider container */
    }
}



/* =============================================== */
/* FIX: Single‑row navigation for 1301px and above */
/* =============================================== */
@media (min-width: 1301px) {

    /* Slightly shrink the logo to give more room to nav */
    .logo {
        max-width: 35%;
        /* or a fixed width like 400px */
    }

    .logo-text h1 {
        font-size: 1.2rem;
        /* optional: slightly smaller */
    }

    /* Keep nav in one row */
    .nav-menu {
        gap: 15px;
        /* reduced from default 22px */
        flex-wrap: nowrap !important;
        /* force single line */
    }

    /* Ensure nav links don't wrap */
    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.95rem;
        /* optional: tweak if needed */
        white-space: nowrap;
    }

    /* Adjust dropdown position if needed */
    .nav-dropdown .dropdown-menu {
        top: 42px !important;
    }
}

@media (max-width: 1300px) {
    .nav-menu {
        gap: 18px;
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.9rem;
    }
}


/* Navigation Responsive Adjustments */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.85rem;
    }

    .logo-text h1 {
        font-size: 1.2rem;
        /* Shrink title */
    }
}

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

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.85rem;
        padding: 8px 0;
    }
}

/* =============================================== */
/* FIX: Single‑row navigation for 992px – 1100px */
/* =============================================== */
@media (min-width: 992px) and (max-width: 1100px) {

    /* Make logo more compact */
    .logo {
        max-width: 260px;
        gap: 8px;
    }

    .logo-img {
        width: 42px;
        height: 42px;
    }

    .logo-text h1 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .logo-text .tagline {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }

    /* Shrink nav menu to fit one line */
    .nav-menu {
        gap: 10px;
        /* reduced from 22px */
        flex-wrap: nowrap;
        /* force no wrap */
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.8rem;
        /* smaller text */
        padding: 6px 0;
        white-space: nowrap;
        /* prevent link text from breaking */
    }

    .nav-dropdown .dropdown-menu {
        top: 38px !important;
        /* adjust dropdown position */
    }
}

/* Tablets / small desktops – allow nav to wrap */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        /* Logo and nav can stack if needed */
        min-height: auto;
    }

    .logo {
        max-width: 100%;
        width: auto;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 12px;
        margin-top: 5px;
        width: 100%;
        /* Take full width */
        justify-content: flex-start;
        /* Align left when wrapped */
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.82rem;
        padding: 8px 0;
    }
}

@media (max-width: 820px) {
    .nav-menu {
        gap: 8px;
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.78rem;
    }

    .logo-text .tagline {
        display: none;
        /* Hide tagline to save space */
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        /* Keep logo and hamburger on same line */
    }

    .logo {
        max-width: 75%;
    }

    .logo-text h1 {
        font-size: 0.95rem;
    }

    .logo-text .tagline {
        display: block !important;
        /* Restore if hidden above */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary) !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        gap: 0;
        color: var(--light) !important;
        flex-wrap: nowrap;
        /* Prevent wrapping inside off‑canvas */
    }

    .nav-menu.active {
        right: 0;
    }

    /* … rest of your mobile styles … */
}



@media (max-width: 799px) {
    .nav-menu {
        gap: 8px;
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        font-size: 0.76rem;
        padding: 4px 0;
    }

}

@media (max-width: 480px) {
    .logo-img {
        width: 40px;
        height: auto !important;
    }

    .logo-text h1 {
        font-size: 0.85rem;
    }
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: var(--light);
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle:hover {
    color: var(--primary);
    background: var(--light) !important;
    transform: translateY(-50%) scale(1.05);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary) !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        gap: 0;
        color: var(--light) !important;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a.active {
        color: var(--accent-light) !important;
        font-weight: 600;
    }

    .nav-menu a,
    .nav-link.dropdown-toggle {
        width: 100%;
        padding: 15px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        white-space: normal;
        color: var(--light);
    }

    .nav-menu a:not(.btn-call):after,
    .nav-link.dropdown-toggle:after {
        display: none;
    }

    .nav-menu a:hover,
    .nav-link.dropdown-toggle:hover {
        transform: none;
        color: var(--accent-light);
        /* padding-left: 10px; */
    }

    /* Dropdown adjustments for mobile */
    .nav-dropdown {
        width: 100%;
    }

    .nav-link.dropdown-toggle {
        justify-content: space-between;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: #ddfff9;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        border: none;
        color: #F1FFFB
    }

    .nav-dropdown .dropdown-toggle.active {
        color: var(--accent-light) !important;
        font-weight: 600 !important;
    }

    .nav-menu .dropdown-menu a {
        color: var(--light) !important;
        background: var(--primary) !important;
    }

    .dropdown-menu a.active {
        color: var(--accent-light) !important;
        font-weight: 600 !important;
        /* background: rgba(255, 255, 255, 0.15) !important; */
        border-left: 4px solid var(--accent-light) !important;
    }



    .nav-dropdown.open .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        padding: 12px 0 12px 20px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Overlay when menu is open */
    .nav-menu::before {
        display: none !important;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        pointer-events: all;
    }

    .nav-menu {
        z-index: 1000;
    }

    .nav-menu.active::before {
        opacity: 1;
        right: 280px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }

    .nav-menu.active {
        right: 0;
    }
}

/* Dropdown hover effect for desktop */
@media (min-width: 769px) {
    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        background: var(--light-gray);
        box-shadow: none;
        border-radius: 8px;
        min-width: 200px;
        display: none;
        flex-direction: column;
        padding: 6px 0;
        z-index: 60;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-dropdown:hover .dropdown-menu {
        display: flex;
        animation: fadeIn 0.2s ease;
    }

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

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

/* Header scroll effect adjustments */
@media (max-width: 768px) {
    header.scrolled {
        padding: 5px 0;
    }

    .header-container {
        padding: 0 15px;
    }
}

/* Container adjustments for header */
@media (max-width: 1215px) {
    .container {
        padding: 0 20px;
    }
}

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

/* Ensure no horizontal scroll */
@media (max-width: 1215px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Hero Carousel - FULL WIDTH */
.hero-carousel {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 500px;
    margin: 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.7s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    height: 100%;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

/* .slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.20) 100%);
} */

.carousel-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--light);
    width: 100%;
    box-sizing: border-box;
    margin-top: 170px;
}

.carousel-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light);
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'Lora', serif;
}

.carousel-content h1 span {
    color: var(--accent-light);
}

/* Paragraph panel: primary -> dark opaque gradient, wider to match h1 width */
.carousel-content p {
    display: block;
    max-width: 860px;
    /* aligns visually with the heading width */
    background: linear-gradient(90deg, rgba(91, 192, 171, 0.6) 0%, rgba(45, 55, 72, 0.6) 100%);
    color: var(--light);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .carousel-content p {
        max-width: 720px;
        padding: 14px 20px;
    }
}

@media (max-width: 768px) {
    .carousel-content p {
        display: block;
        max-width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .carousel-content h1 {
        font-size: 1.9rem;
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dot.active {
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(91, 192, 171, 0.25);
    transform: scale(1.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.15);
}

.carousel-arrow.prev {
    left: 30px;
}

.carousel-arrow.next {
    right: 30px;
}

/* Services Section */
.services {
    background: var(--light-green);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light);
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* =============================================== */
/* UNIQUE ACTIVITIES SECTION STYLING */
/* =============================================== */
/* =============================================== */
/* MODERN COMPACT WHAT WE DO SECTION - REDESIGNED */
/* =============================================== */
#activities .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

#activities .service-card {
    background: var(--light);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(91, 192, 171, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

/* Unique background gradient for each card */
#activities .service-card:nth-child(1) {
    background: linear-gradient(135deg, #F0F9F5 0%, var(--light) 100%);
    border-color: rgba(91, 192, 171, 0.15);
}

#activities .service-card:nth-child(2) {
    background: linear-gradient(135deg, #F0F7FF 0%, var(--light) 100%);
    border-color: rgba(93, 140, 192, 0.15);
}

#activities .service-card:nth-child(3) {
    background: linear-gradient(135deg, #FFF5F0 0%, var(--light) 100%);
    border-color: rgba(244, 162, 97, 0.15);
}

/* New unique soft palettes for items 4-6 */
#activities .service-card:nth-child(4) {
    background: linear-gradient(135deg, #F6F5FF 0%, var(--light) 100%);
    /* soft lavender */
    border-color: rgba(139, 92, 246, 0.12);
}

#activities .service-card:nth-child(5) {
    background: linear-gradient(135deg, #FFF0F6 0%, #FFFFFF 100%);
    /* soft pink */
    border-color: rgba(255, 107, 147, 0.12);
}

#activities .service-card:nth-child(6) {
    background: linear-gradient(135deg, #FFFAE6 0%, var(--light) 100%);
    /* soft amber */
    border-color: rgba(246, 200, 76, 0.12);
}

/* Bottom accent bar for each card */
#activities .service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#activities .service-card:nth-child(2)::after {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
}

#activities .service-card:nth-child(3)::after {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

#activities .service-card:nth-child(4)::after {
    background: linear-gradient(135deg, #C8B6FF, #8B5CF6);
    /* lavender accent */
}

#activities .service-card:nth-child(5)::after {
    background: linear-gradient(135deg, #FFB3C6, #FF6B93);
    /* pink accent */
}

#activities .service-card:nth-child(6)::after {
    background: linear-gradient(135deg, #F6C84C, #FFD66A);
    /* amber accent */
}

/* Number badge - now TOP LEFT corner */
#activities .service-card::before {
    content: attr(data-number);
    position: absolute;
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(91, 192, 171, 0.3);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#activities .service-card:nth-child(2)::before {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
    box-shadow: 0 4px 12px rgba(93, 140, 192, 0.3);
}

#activities .service-card:nth-child(3)::before {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

#activities .service-card:nth-child(4)::before {
    background: linear-gradient(135deg, #C8B6FF, #8B5CF6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

#activities .service-card:nth-child(5)::before {
    background: linear-gradient(135deg, #FFB3C6, #FF6B93);
    box-shadow: 0 4px 12px rgba(255, 107, 147, 0.25);
}

#activities .service-card:nth-child(6)::before {
    background: linear-gradient(135deg, #F6C84C, #FFD66A);
    box-shadow: 0 4px 12px rgba(246, 200, 76, 0.25);
}

/* Icon styling - larger and more prominent */
#activities .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.12), rgba(91, 192, 171, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--primary);
    font-size: 1.9rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(91, 192, 171, 0.15);
}

#activities .service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, rgba(93, 140, 192, 0.12), rgba(93, 140, 192, 0.05));
    color: #5D8CC0;
    border-color: rgba(93, 140, 192, 0.15);
}

#activities .service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.12), rgba(244, 162, 97, 0.05));
    color: #F4A261;
    border-color: rgba(244, 162, 97, 0.15);
}

#activities .service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.05));
    color: #8B5CF6;
    border-color: rgba(139, 92, 246, 0.15);
}

#activities .service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, rgba(255, 107, 147, 0.12), rgba(255, 107, 147, 0.05));
    color: #FF6B93;
    border-color: rgba(255, 107, 147, 0.15);
}

#activities .service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, rgba(246, 200, 76, 0.12), rgba(246, 200, 76, 0.05));
    color: #F6C84C;
    border-color: rgba(246, 200, 76, 0.15);
}

/* Title styling */
#activities .service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
    letter-spacing: -0.3px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Description styling */
#activities .service-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover effects */
#activities .service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

#activities .service-card:hover::before {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(91, 192, 171, 0.4);
}

#activities .service-card:hover::after {
    transform: scaleX(1);
}

#activities .service-card:hover .service-icon {
    transform: scale(1.18) rotate(-5deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    border-color: var(--primary);
}

#activities .service-card:nth-child(2):hover .service-icon {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
}

#activities .service-card:nth-child(3):hover .service-icon {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

#activities .service-card:nth-child(4):hover .service-icon {
    background: linear-gradient(135deg, #B79BFF, #8B5CF6);
}

#activities .service-card:nth-child(5):hover .service-icon {
    background: linear-gradient(135deg, #FFB3C6, #FF6B93);
}

#activities .service-card:nth-child(6):hover .service-icon {
    background: linear-gradient(135deg, #F6C84C, #FFD66A);
}

#activities .service-card:hover h3 {
    color: var(--primary);
}

#activities .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

/* Adjust for different screen sizes */
@media (max-width: 1200px) {
    #activities .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #activities .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    #activities .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* =============================================== */
/* 2. IMPROVED ABOUT SECTION WITH BETTER LAYOUT */
/* =============================================== */
.about {
    background: var(--light);
}

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

.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary);
    position: relative;
}

.about-content h2 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.about-content p {
    color: var(--dark-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 15px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
    /* match paragraph font family for visual consistency */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.highlight-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Right side: Image with tabs below */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    height: 300px;
    position: relative;
    border: 8px solid var(--light);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

/* SIMPLE TAB LAYOUT - Icon, Title, Arrow in single row */
.simple-tabs-container {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

/* Enhanced Tabs Header */
.tabs-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.tabs-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tabs-icon {
    width: 45px;
    height: 45px;
    /* ✅ same as width */
    min-width: 45px;
    /* ✅ prevents shrinking */
    min-height: 45px;
    flex-shrink: 0;
    /* ✅ stops flex compression */
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    position: relative;
}

.tabs-text h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 700;
}

.tabs-sub {
    margin: 2px 0 0;
    font-size: 0.87rem;
    color: var(--gray);
}

.tabs-text h3:after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 8px;
}

.simple-tabs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.simple-tab-item {
    display: flex;
    align-items: center;
    padding: 0px 14px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 42px;
    text-decoration: none !important;
    color: inherit !important;
}

.simple-tab-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.simple-tab-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}


.simple-tab-text {
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    flex-grow: 1;
    line-height: 1.2;
}

.simple-tab-arrow {
    color: var(--gray);
    font-size: 0.8rem;
    transition: var(--transition);
    opacity: 0.7;
}

.simple-tab-item.active .simple-tab-arrow {
    color: var(--light);
    opacity: 1;
}

.simple-tab-item:hover .simple-tab-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Tab Content Container */
.tab-content-container {
    min-height: 150px;
    background: var(--light-green);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 4px solid var(--accent);
    margin-top: 20px;
}

.simple-tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.simple-tab-content.active {
    display: block;
}

.simple-tab-content h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.simple-tab-content h4 i {
    color: var(--accent);
}

.simple-tab-content p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* ENHANCED Statistics Counter */
.stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--light);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    /* Changed from row to column */
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
}

/* REMOVED ALL HOVER EFFECTS */
.stat-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
    color: var(--light) !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stat-text {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    color: var(--light);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .stat-number {
        font-size: 2rem;
    }

    .tabs-title {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .tabs-text h3:after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .tabs-icon {
        width: 38px;
        height: 38px;
    }

    .tabs-icon i {
        font-size: 14px;
    }

}

/* =============================================== */
/* 3. IMPROVED OPD SECTION WITH BETTER BALANCE */
/* =============================================== */
.opd-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    padding: 60px 0;
    position: relative;
}

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

.opd-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.opd-main-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.2;
}

.opd-main-content h2 span {
    color: var(--primary);
    position: relative;
}

.opd-main-content h2 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.opd-features {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-top: 10px;
}

.opd-features h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.opd-features h4 i {
    color: var(--accent);
}

.feature-list {
    display: grid;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-item i {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Right side: Image with OPD timing below */
.opd-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.opd-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    height: 280px;
    position: relative;
    border: 8px solid var(--light);
}

.opd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.opd-timing-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 25px;
    color: var(--light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.opd-timing-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.opd-timing-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.opd-timing-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.opd-timing-title h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--light);
}

.opd-timing-title p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.timing-details {
    display: grid;
    gap: 12px;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timing-item:last-child {
    border-bottom: none;
}

.timing-day {
    font-weight: 500;
}

.timing-hours {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* What We Do Section */
.activities {
    background: var(--light);
}

/* What We Do section - exactly 3 cards per row */
.what-we-do-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .what-we-do-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #f1f5f9 0%, #e8f4ff 100%);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    height: 220px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: var(--light);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}


/* ----- NEWS & EVENTS – HORIZONTAL CAROUSEL (namespaced) ----- */
.news-carousel-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    padding: 60px 0;
    position: relative;
}

.news-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    padding: 0 10px;
}

.news-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
}

.news-carousel-card {
    flex: 0 0 100%;
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    gap: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(91, 192, 171, 0.12);
    transition: var(--transition);
    margin: 0 5px;
}

.news-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-light);
}

.news-carousel-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(91, 192, 171, 0.25);
    transition: var(--transition);
}

.news-carousel-card:hover .news-carousel-date {
    transform: scale(1.05) rotate(3deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.news-carousel-day {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 4px;
}

.news-carousel-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.news-carousel-content {
    flex: 1;
}

.news-carousel-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.news-carousel-card:hover .news-carousel-content h3 {
    color: var(--primary);
}

.news-carousel-content p {
    font-size: 0.95rem;
    color: var(--dark-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-carousel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.news-carousel-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.news-carousel-link:hover {
    color: var(--primary-dark);
    gap: 12px;
    border-bottom-color: var(--primary-light);
}

.news-carousel-link:hover i {
    transform: translateX(4px);
}

/* Navigation Arrows */
.news-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--light);
    border: 2px solid rgba(91, 192, 171, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-light);
}

.news-carousel-arrow:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-prev {
    left: 0;
}

.news-carousel-next {
    right: 0;
}

/* Pagination Dots */
.news-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.news-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(91, 192, 171, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.news-carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(91, 192, 171, 0.1);
}

.news-carousel-dot:hover {
    background: var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .news-carousel-card {
        padding: 25px;
        gap: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .news-carousel-date {
        width: 70px;
        height: 70px;
    }

    .news-carousel-day {
        font-size: 1.6rem;
    }

    .news-carousel-content h3 {
        font-size: 1.2rem;
    }

    .news-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .news-carousel-card {
        padding: 20px;
    }

    .news-carousel-date {
        width: 60px;
        height: 60px;
    }

    .news-carousel-day {
        font-size: 1.4rem;
    }

    .news-carousel-month {
        font-size: 0.7rem;
    }

    .news-carousel-content h3 {
        font-size: 1.1rem;
    }
}

/* =============================================== */
/* 4. ENHANCED COMPACT CONTACT SECTION */
/* =============================================== */
.contact-section {
    background: linear-gradient(135deg, #f0f9f5 0%, #e8f4ff 100%);
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.contact-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%235bc0ab' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: stretch;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.contact-item {
    background: var(--light);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    height: auto;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 3px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 171, 0.2);
}

/* Unique colors for each contact item */
.contact-item:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #5bc0ab, #6BC79B);
}

.contact-item:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
}

.contact-item:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

.contact-item:nth-child(4) .contact-icon {
    background: linear-gradient(135deg, #2D3748, #5D6B82);
}

.contact-item:hover .contact-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(91, 192, 171, 0.3);
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--dark);
    line-height: 1.2;
}

.contact-details p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 3px;
}

.contact-details .highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    display: block;
}


/* CONTACT PAGE – ADDITIONAL CONTACTS & REG INFO   */
.contact-additional-section {
    background: linear-gradient(135deg, #f9fbfd 0%, #f2f7fc 100%);
    padding: 50px 0;
    border-top: 1px solid rgba(91, 192, 171, 0.2);
    border-bottom: 1px solid rgba(91, 192, 171, 0.2);
}

/* Enhanced Contact Form Styles */
.contact-form-container {
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(63, 169, 148, 0.1);
    animation: contactFormFadeInUp 0.8s ease;
}

.contact-form-container:hover {
    box-shadow: 0 20px 40px rgba(63, 169, 148, 0.15);
}

.contact-form-enhanced .contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-enhanced .contact-form-full-width {
    grid-column: span 2;
}

.contact-form-enhanced .contact-form-field {
    position: relative;
    margin-bottom: 1.2rem;
}

.contact-form-enhanced .contact-form-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 1;
}

.contact-form-enhanced .contact-form-field.contact-form-textarea-field i {
    top: 20px;
    transform: none;
}

.contact-form-enhanced input,
.contact-form-enhanced textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--light-gray);
    color: var(--dark);
}

.contact-form-enhanced input:focus,
.contact-form-enhanced textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 5px 20px rgba(63, 169, 148, 0.2);
    transform: translateY(-2px);
}

.contact-form-enhanced input:focus+i,
.contact-form-enhanced textarea:focus+i {
    color: var(--primary-dark);
}

.contact-form-enhanced textarea {
    resize: vertical;
    min-height: 120px;
    padding: 14px 15px 14px 45px;
}

.contact-form-enhanced .contact-form-btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    border: none;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(63, 169, 148, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-form-enhanced .contact-form-btn-submit:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-form-enhanced .contact-form-btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(63, 169, 148, 0.5);
}

.contact-form-enhanced .contact-form-btn-submit:hover:before {
    left: 100%;
}

.contact-form-enhanced .contact-form-btn-submit i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-form-enhanced .contact-form-btn-submit:hover i {
    transform: translateX(5px);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    font-size: 1.6rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-form-header h3 span {
    color: var(--primary);
}

.contact-form-header p {
    color: var(--gray);
    font-size: 1rem;
}

/* Staggered animation for fields */
.contact-form-enhanced .contact-form-field {
    animation: contactFormSlideInUp 0.5s ease forwards;
    opacity: 0;
}

.contact-form-enhanced .contact-form-field:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-form-enhanced .contact-form-field:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-form-enhanced .contact-form-field:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-form-enhanced .contact-form-field:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-form-enhanced .contact-form-field:nth-child(5) {
    animation-delay: 0.5s;
}

.contact-form-enhanced .contact-form-btn-submit {
    animation: contactFormSlideInUp 0.5s ease 0.6s forwards;
    opacity: 0;
}

@keyframes contactFormFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes contactFormSlideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .contact-form-enhanced .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-enhanced .contact-form-full-width {
        grid-column: span 1;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}


/* Office Bearers Grid – 3 columns on desktop */
.office-bearers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0 45px;
}

/* Individual office card */
.office-card {
    background: var(--light);
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid rgba(91, 192, 171, 0.12);
    position: relative;
    overflow: hidden;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(91, 192, 171, 0.12);
    border-color: var(--primary);
}

.office-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}

.office-card:hover::after {
    width: 100%;
}

/* Icon with unique colors per card */
.office-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(91, 192, 171, 0.25);
    transition: all 0.3s ease;
}

/* Alternate colors for each row (optional) */
.office-card:nth-child(3n+1) .office-icon {
    background: linear-gradient(135deg, #5bc0ab, #6bc79b);
}

.office-card:nth-child(3n+2) .office-icon {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
}

.office-card:nth-child(3n+3) .office-icon {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

.office-card:hover .office-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 10px 22px rgba(91, 192, 171, 0.35);
}

/* Details */
.office-details {
    flex: 1;
}

.office-details h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.office-role {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 8px;
    font-style: italic;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    padding-bottom: 6px;
}

.office-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 4px 12px;
    background: rgba(91, 192, 171, 0.06);
    border-radius: 30px;
    border: 1px solid transparent;
}

.office-phone:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: translateX(5px);
}

.office-phone i {
    font-size: 0.8rem;
}

/* Registration Card */
.registration-card {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.05), rgba(93, 140, 192, 0.03));
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
}

.registration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 2.2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(76, 175, 125, 0.3);
}

.registration-content h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.registration-content h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.registration-detail {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 1rem;
    color: var(--dark-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.registration-detail i {
    color: var(--primary);
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.pan-detail {
    background: rgba(244, 162, 97, 0.1);
    padding: 10px 16px;
    border-radius: 50px;
    border-left: 4px solid var(--accent);
    font-weight: 500;
    margin-top: 8px;
}

.pan-detail strong {
    color: var(--accent-dark);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .office-bearers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .registration-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .registration-content h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .registration-detail {
        justify-content: center;
        text-align: left;
    }
}

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

    .office-bearers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .office-card {
        padding: 18px 14px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .office-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .office-role {
        font-size: 0.8rem;
    }

    .office-phone {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    .registration-card {
        padding: 25px 20px;
    }

    .registration-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .registration-content h3 {
        font-size: 1.4rem;
    }

    .registration-detail {
        font-size: 0.95rem;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .office-bearers-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .office-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .office-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .registration-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .pan-detail {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-additional-section {
        padding: 30px 0;
    }

    .office-card {
        padding: 16px 12px;
    }

    .office-details h4 {
        font-size: 1.05rem;
    }

    .registration-content h3 {
        font-size: 1.25rem;
    }

    .registration-detail {
        font-size: 0.9rem;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    background: var(--light);
}

.form-control:focus {
    outline: none !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 125, 0.1);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(76, 175, 125, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(76, 175, 125, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* Compact Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 50px 0 20px;
    position: relative;
    margin: 0 !important;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}

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

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: left !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links i {
    color: var(--primary);
    font-size: 0.95rem;
    min-width: 16px;
    flex-shrink: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    font-size: 0.75rem;
    opacity: 0.7;
    text-align: left;
    flex: 1;
}

.footer-design {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 992px) {

    .about-container,
    .contact-container,
    .opd-container,
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .carousel-content {
        padding: 0 30px;
    }

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

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

    .top-header-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-header-left {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .about-image,
    .opd-image {
        height: 250px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .simple-tabs-list {
        grid-template-columns: 1fr;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        padding: 80px 20px 25px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        justify-content: flex-start;
        gap: 15px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    .logo {
        min-width: auto;
        gap: 10px;
    }

    .logo-text {
        min-width: 0;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-img {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 45px 0;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-content {
        padding: 20px;
    }

    .carousel-content h1 {
        font-size: 1.6rem;
    }

    .carousel-content p {
        font-size: 0.95rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .about-container,
    .contact-container,
    .opd-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-image,
    .opd-image {
        height: 280px;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .contact-item {
        padding: 14px;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 12px 0;
    }

    .simple-tabs-container {
        padding: 15px;
    }

    .simple-tab-item {
        padding: 10px 10px;
    }

    .simple-tab-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .simple-tab-text {
        font-size: 0.9rem !important;
    }

}

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

    .carousel-content {
        padding: 15px;
    }

    .carousel-content h1 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .carousel-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .section {
        padding: 35px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .logo {
        gap: 8px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    .logo-text .tagline {
        font-size: 0.5rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .carousel-arrow.prev {
        left: 8px;
    }

    .carousel-arrow.next {
        right: 8px;
    }

    .carousel-container {
        height: 350px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-legal {
        text-align: center;
        font-size: 0.7rem;
    }

    .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-col p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 12px;
    }

    .contact-icon {
        margin-bottom: 8px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .contact-details h3 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .contact-details p {
        font-size: 0.75rem;
        margin-bottom: 1px;
    }

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

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .form-control {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    textarea.form-control {
        min-height: 80px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .about-content h2 {
        font-size: 1.8rem !important;
        margin-bottom: 12px;
    }

    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .opd-main-content h2 {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 15px 12px;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.8rem !important;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 12px;
        font-size: 1.2rem;
    }

    .simple-tabs-container {
        padding: 12px;
        margin-top: 20px;
    }

    .simple-tab-item {
        padding: 8px 8px;
        gap: 6px;
    }

    .simple-tab-icon {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .simple-tab-text {
        font-size: 0.8.5rem;
    }
}


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

    .carousel-content {
        padding: 12px;
    }

    .carousel-content h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .carousel-content p {
        font-size: 0.8rem;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .carousel-arrow.prev {
        left: 5px;
    }

    .carousel-arrow.next {
        right: 5px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .section-title p {
        font-size: 0.85rem;
    }

    .logo-img {
        width: 48px;
        height: 40px;
        font-size: 1rem;
    }

    .logo-text h1 {
        font-size: 0.8rem;
    }

    .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .nav-menu {
        width: 90%;
        padding: 70px 15px 15px;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 3px;
    }

    .stat-text {
        font-size: 0.75rem;
    }

    .about-image,
    .opd-image {
        height: 220px;
        border: 6px solid var(--light);
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .simple-tab-item {
        padding: 7px 7px;
    }

    .simple-tab-icon {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .simple-tab-text {
        font-size: 0.65rem;
    }
}

/* SERVICES_CSS_STARTS */

.page-services .services {
    background: linear-gradient(135deg, #f1f5f9 0%, #e8f4ff 100%);
    position: relative;
    padding: 50px 0;
}

.page-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* exactly 4 columns */
    gap: 20px;
}

.page-services .service-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid rgba(91, 192, 171, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-services .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(91, 192, 171, 0.3);
}

.page-services .service-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.page-services .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.page-services .service-card:hover .service-image img {
    transform: scale(1.1);
}

.page-services .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 1;
    transition: var(--transition);
}

.page-services .service-icon-overlay {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.page-services .service-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-services .service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.page-services .service-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.9;
    flex-grow: 1;
    font-weight: 400;
    text-align: left !important;
}

.page-services .service-features {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.page-services .feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--light-green);
    color: var(--primary-dark);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.page-services .feature-tag i {
    font-size: 0.7rem;
}

.page-services .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 0;
    border-top: 1px solid rgba(91, 192, 171, 0.1);
    margin-top: auto;
}

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

/* ================================================= */
/* Service categories */
/* ================================================= */
.page-services .categories {
    background: var(--light);
    padding: 30px 0;
    display: none;
}

.page-services .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.page-services .category-card {
    background: var(--light-green);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.page-services .category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
    background: var(--light);
}

.page-services .category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--light);
    font-size: 1.5rem;
}

.page-services .category-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.page-services .category-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ================================================= */
/* CTA styles */
/* ================================================= */
.page-services .cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.page-services .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-services .cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.page-services .cta-content h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    color: var(--light);
}

.page-services .cta-content p {
    font-size: 1rem;
    margin-bottom: 22px !important;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--light);
}

.page-services .cta-content .cta-subtitle {
    font-size: 0.9rem;
    color: var(--dark-light) !important;
    font-weight: 500;
}

.page-services .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-services .btn-light {
    background: var(--light);
    color: var(--primary-dark);
    font-weight: 600;
}

.page-services .btn-light:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

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

.page-services .btn-outline-light:hover {
    background: var(--light);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive for services page */
@media (max-width: 1100px) {
    .page-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 768px) {
    .page-services .services-grid {
        grid-template-columns: 1fr;
    }

    .page-services .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-services .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .page-services .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-services .service-card {
        border-radius: var(--radius);
    }

    .page-services .service-image {
        height: 180px;
    }

    .page-services .service-content {
        padding: 20px;
    }

    .page-services .service-content h3 {
        font-size: 1.2rem;
    }

    .page-services .service-content p {
        font-size: 0.9rem;
    }

    .page-services .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Services hero (moved from services.html) */
.page-services .image-hero {
    position: relative;
    padding: 70px 0 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/gallery/more/speech2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    overflow: hidden;
    min-height: 300px;
    max-height: 300px;
    /* Consistent minimum height */
    display: flex;
    align-items: center;
}

/* Unique hero background for Little Angels School page */
.page-services .image-hero.angels-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/gallery/little-angles/little-angles-1.webp'); 
}

.page-services .image-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(91, 192, 171, 0.3) 0%,
            rgba(93, 140, 192, 0.3) 50%,
            rgba(244, 162, 97, 0.3) 100%);
    z-index: 1;
}

.page-services .hero-content {
    position: relative;
    z-index: 2;
    /* text-align: center; */
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.page-services .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.page-services .hero-content h1 span {
    color: var(--accent-light);
    position: relative;
}

.page-services .hero-content h1 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-light);
    border-radius: 2px;
}

.page-services .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

/* Contact hero action buttons */
.page-services .contact-hero-cards {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.page-services .contact-hero-cards .btn {
    min-width: 180px;
}


@media (max-width: 576px) {
    .page-services .contact-hero-cards .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 992px) {
    .page-services .hero-content h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .page-services .image-hero {
        padding: 80px 0 50px;
        background-attachment: scroll;
    }

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

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

@media (max-width: 576px) {
    .page-services .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-services .hero-content p {
        font-size: 0.95rem;
    }
}

/* END_HERE */


/* Profile-css */

/* =============================================== */
/* PROFILE PAGE SPECIFIC STYLES */
/* =============================================== */

/* Profile Main Section */
.profile-main {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
}

.profile-intro-card {
    background: var(--light);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(91, 192, 171, 0.1);
}

/* =============================================== */
/* COMPACT PROFILE HEADER STYLES */
/* =============================================== */
/* =============================================== */
/* ENHANCED PROFILE HEADER SECTION - COMPACT DESIGN */
/* =============================================== */

/* Compact Header Design with Larger Chairman Image */
.compact-header {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 20px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--light) 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(91, 192, 171, 0.15);
    position: relative;
    overflow: hidden;
    align-items: center;
}

.compact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

/* Left side - Compact Title section */
.profile-header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    border-right: 1px solid rgba(91, 192, 171, 0.15);
}

.profile-header-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
}

.profile-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(91, 192, 171, 0.2);
}

.profile-title h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
    line-height: 1.3;
    font-weight: 600;
}

.profile-subtitle-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.profile-subtitle {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    font-weight: 500;
    position: relative;
    padding-left: 10px;
}

.profile-subtitle::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.compact-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(91, 192, 171, 0.08);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.80rem;
    font-weight: 600;
    border: 1px solid rgba(91, 192, 171, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.meta-tag:hover {
    background: rgba(91, 192, 171, 0.15);
    transform: translateY(-1px);
}

.meta-tag i {
    font-size: 0.7rem;
}

/* Right side - Compact Founder card with LARGER IMAGE */
.compact-founder {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.03), rgba(244, 162, 97, 0.01));
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(244, 162, 97, 0.12);
    height: auto;
    min-height: 160px;
    position: relative;
}

.compact-founder:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.1);
    border-color: var(--accent-light);
}

/* Larger Image Container */
.founder-image {
    position: relative;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.founder-img-placeholder {
    width: 120px;
    height: 170px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--light);
    transition: all 0.3s ease;
}

.compact-founder:hover .founder-img-placeholder {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(244, 162, 97, 0.4);
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2%;
    transition: all 0.3s ease;
}

.founder-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FF6B93, #FFB3C6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 0.9rem;
    border: 3px solid var(--light);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.founder-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-header {
    margin-bottom: 12px;
}

.founder-label {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.founder-name {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark);
    line-height: 1.3;
    font-weight: 600;
}

.founder-details {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(244, 162, 97, 0.08);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row i {
    color: var(--accent);
    font-size: 0.8rem;
    width: 14px;
    flex-shrink: 0;
}

.detail-text {
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.founder-footer {
    display: flex;
    justify-content: flex-start;
}

.compact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 162, 97, 0.08);
    color: var(--accent-dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.compact-link:hover {
    background: var(--accent);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(244, 162, 97, 0.25);
}

.compact-link i {
    font-size: 0.85rem;
}


/* Additional Content Styles */
.profile-additional-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(91, 192, 171, 0.15);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(91, 192, 171, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(91, 192, 171, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(91, 192, 171, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(91, 192, 171, 0.1);
}

.info-item i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.info-label {
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.info-value {
    font-size: 0.8rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.3;
}

.profile-description {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.03), rgba(91, 192, 171, 0.01));
    border-radius: 8px;
    padding: 12px 15px;
    border-left: 3px solid var(--primary);
    position: relative;
}

.description-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
}

.description-text i.fa-quote-left {
    color: var(--primary-light);
    font-size: 0.8rem;
    margin-right: 6px;
    opacity: 0.7;
}

.description-text i.fa-quote-right {
    color: var(--primary-light);
    font-size: 0.8rem;
    margin-left: 6px;
    opacity: 0.7;
}

/* Responsive Adjustments for Additional Content */
@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }

    .info-item {
        padding: 7px 8px;
    }
}

@media (max-width: 992px) {
    .profile-additional-info {
        margin-top: 12px;
        padding-top: 12px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .profile-description {
        padding: 10px 12px;
    }

    .description-text {
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .profile-additional-info {
        margin-top: 10px;
        padding-top: 10px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .info-item {
        padding: 8px 10px;
    }

    .info-value {
        font-size: 0.78rem;
    }

    .description-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .profile-additional-info {
        border-top: 1px solid rgba(91, 192, 171, 0.1);
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 280px;
        margin: 0 auto;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
        background: var(--light);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(91, 192, 171, 0.2);
        gap: 15px;
        transition: all 0.3s ease;
    }

    .info-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-light);
    }

    .info-item i {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        border-radius: 12px;
        color: var(--light);
        font-size: 1.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 10px;
        box-shadow: 0 4px 10px rgba(91, 192, 171, 0.25);
    }

    .info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .info-label {
        font-size: 0.8rem;
        color: var(--primary-dark);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        margin-bottom: 2px;
    }

    .info-value {
        font-size: 0.9rem;
        color: var(--dark);
        text-align: center;
        line-height: 1.4;
        padding: 0 5px;
        font-weight: 500;
    }

    .description-text {
        font-size: 0.78rem;
        text-align: center;
    }

    .description-text i.fa-quote-left,
    .description-text i.fa-quote-right {
        display: block;
        margin: 5px auto;
    }
}

@media (max-width: 480px) {
    .info-grid {
        max-width: 100%;
        gap: 12px;
    }

    .info-item {
        padding: 18px 12px;
    }

    .info-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .info-label {
        font-size: 0.65rem;
    }

    .info-value {
        font-size: 0.75rem;
    }

    .profile-description {
        padding: 8px 10px;
    }

    .description-text {
        font-size: 0.75rem;
    }
}


/* =============================================== */
/* FIX: Perfect display for 360px – 440px */
/* =============================================== */
@media (min-width: 360px) and (max-width: 440px) {
    /* Force vertical stacking */
    .compact-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
        padding: 15px 12px;
    }

    /* Left side – ensure all content fits */
    .profile-header-left {
        width: 100%;
        padding-right: 0;
        border-right: none;
    }

    .profile-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .profile-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .profile-title h2 {
        font-size: 1rem !important;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .profile-subtitle {
        font-size: 0.75rem;
        padding-left: 0;
        white-space: normal;           /* allow wrapping */
    }
    .profile-subtitle::before {
        display: none;                 /* remove the bullet */
    }

    .compact-meta {
        justify-content: center;
        gap: 5px;
        margin-top: 5px;
    }
    .meta-tag {
        font-size: 0.65rem;
        padding: 3px 6px;
        white-space: nowrap;            /* keep tags in one line if possible */
    }

    /* Additional info grid – make it wrap in one column */
    .profile-additional-info {
        margin-top: 10px;
        padding-top: 10px;
    }
    .info-grid {
        grid-template-columns: 1fr !important;   /* single column */
        gap: 8px;
        max-width: 100%;
    }
    .info-item {
        flex-direction: row !important;          /* keep icon + text in a row */
        text-align: left;
        padding: 10px;
        gap: 10px;
        background: rgba(91, 192, 171, 0.05);
        border-radius: 8px;
    }
    .info-item i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light);
    }
    .info-content {
        flex: 1;
        min-width: 0;                  /* allow text wrapping */
    }
    .info-label {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
    .info-value {
        font-size: 0.8rem;
        white-space: normal;            /* wrap long text */
        line-height: 1.3;
    }

    /* Right side – founder card */
    .compact-founder {
        width: 100%;
        padding: 12px;
        gap: 12px;
        flex-direction: row;            /* keep image and text side by side */
        align-items: center;
    }

    .founder-image {
        flex-shrink: 0;
    }
    .founder-img-placeholder {
        width: 80px;
        height: 80px;
        border-radius: 50%;              /* make it circular (optional) */
    }
    .founder-img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .founder-badge {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
        bottom: 2px;
        right: 2px;
    }

    .founder-info {
        flex: 1;
        min-width: 0;                    /* allow text to shrink/wrap */
    }
    .founder-header {
        margin-bottom: 6px;
    }
    .founder-label {
        font-size: 0.65rem;
    }
    .founder-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .founder-details {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    .detail-row {
        font-size: 0.7rem;
        gap: 5px;
    }
    .detail-row i {
        font-size: 0.7rem;
        width: 12px;
    }
    .detail-text {
        white-space: normal;             /* wrap long designation */
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .founder-footer .compact-link {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* Animation for additional content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.profile-additional-info {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.info-item {
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.profile-description {
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

/* Hover effects for info items */
.info-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.info-item:hover .info-label {
    color: var(--primary);
    transition: color 0.3s ease;
}

.founder-img-placeholder {
    width: 170px;
    height: 200px;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .compact-header {
        grid-template-columns: 1.7fr 1.3fr;
        padding: 18px 22px;
    }

    .profile-title h2 {
        font-size: 1.3rem;
    }

    .founder-img-placeholder {
        width: 160px;
        height: 150px;
    }

    .founder-badge {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .compact-header {
        grid-template-columns: 1.6fr 1.4fr;
        gap: 15px;
    }

    .profile-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .compact-founder {
        padding: 14px;
        min-height: 150px;
    }

    .founder-img-placeholder {
        width: 150px;
        height: 150px !important;
    }

    .founder-badge {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .founder-name {
        font-size: 1.05rem;
    }
}

@media (max-width: 992px) {
    .compact-header {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .profile-header-left {
        padding-right: 0;
        padding-bottom: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(91, 192, 171, 0.15);
    }

    .profile-header-content {
        margin-bottom: 10px;
    }

    .compact-founder {
        min-height: auto;
        max-width: 100%;
        padding: 20px;
    }

    .founder-img-placeholder {
        width: 135px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .compact-header {
        padding: 18px;
        gap: 20px;
    }

    .profile-header-content {
        flex-direction: column;
    }

    .profile-icon {
        order: -1 !important;
        /* Moves icon to top */
        margin-bottom: 15px;
        align-self: center !important;
    }

    .profile-title {
        order: 1 !important;
        align-content: center !important;
    }

    .profile-header-content {
        gap: 12px;
    }

    .profile-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }



    .profile-title h2 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .profile-subtitle {
        font-size: 0.8rem;
    }

    .profile-subtitle-container {
        gap: 10px;
    }

    .meta-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .compact-founder {
        padding: 16px;
        gap: 16px;
    }

    .founder-img-placeholder {
        width: 130px;
        height: 90px;
    }

    .founder-badge {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        bottom: 8px;
        right: 8px;
    }

    .founder-name {
        font-size: 1rem;
    }

    .founder-label {
        font-size: 0.7rem;
    }

    .detail-row {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .compact-header {
        padding: 16px;
        border-radius: 10px;
    }

    .profile-icon {
        order: -1;
        margin-bottom: 15px;
    }

    .profile-title {
        order: 1;
    }

    .profile-title h2 {
        font-size: 1.1rem;
    }

    .profile-subtitle-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .compact-meta {
        width: 100%;
        justify-content: flex-start;
    }

    .compact-founder {
        flex-direction: row;
        text-align: left;
        padding: 14px;
    }

    .founder-img-placeholder {
        width: 120px;
        height: 80px;
    }

    .founder-info {
        min-width: 0;
    }

    .detail-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .compact-header {
        padding: 14px;
    }

    .profile-header-content {
        gap: 10px;
    }

    .profile-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .profile-title h2 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .profile-subtitle {
        font-size: 0.75rem;
    }

    .meta-tag {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .compact-founder {
        padding: 12px;
        gap: 12px;
        border-radius: 8px;
    }

    .founder-img-placeholder {
        width: 100px;
        height: 70px;
    }

    .founder-badge {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        bottom: 5px;
        right: 5px;
    }

    .founder-name {
        font-size: 0.95rem;
    }

    .founder-label {
        font-size: 0.65rem;
    }

    .detail-row {
        font-size: 0.7rem;
        gap: 5px;
    }

    .compact-link {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* Tablet Landscape Optimization */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .founder-img-placeholder {
        width: 95px;
        height: 95px;
    }

    .compact-founder {
        min-height: 140px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .compact-header {
        padding: 12px;
    }

    .profile-title h2 {
        font-size: 0.95rem;
    }

    .profile-subtitle {
        font-size: 0.7rem;
    }

    .compact-founder {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 12px;
    }

    .founder-img-placeholder {
        width: 125px;
        height: 100px;
        margin: 0 auto;
    }

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

    .detail-row {
        justify-content: center;
    }

    .founder-footer {
        justify-content: center;
    }

    .founder-badge {
        bottom: 8px;
        right: 8px;
    }
}

/* Hover effects optimization */
@media (hover: hover) {
    .compact-header {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .compact-header:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Animation for image */
@keyframes gentlePulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3);
    }

    50% {
        box-shadow: 0 8px 30px rgba(244, 162, 97, 0.5);
    }
}

.founder-img-placeholder {
    animation: gentlePulse 3s ease-in-out infinite;
}

.profile-content {
    padding: 40px;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-green);
    font-weight: 500;
}

.profile-highlight {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.08), rgba(93, 140, 192, 0.05));
    border-left: 4px solid var(--primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.profile-highlight i.fa-quote-left {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.2rem;
}

.profile-highlight i.fa-quote-right {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.2rem;
}

.profile-highlight p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
}

.profile-details {
    margin-top: 35px;
}

.profile-details p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-light);
    margin-bottom: 25px;
    text-align: justify;
}

/* Enhanced Achievement Grid */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0;
}

/* Achievement Items - Compact Row Layout */
.achievement-item {
    background: linear-gradient(135deg, var(--light), #f8fafc);
    border-radius: 14px;
    padding: 18px;
    border: 2px solid rgba(91, 192, 171, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 140px;
    /* Reduced height */
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-item:hover::before {
    opacity: 1;
}

.achievement-item:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 192, 171, 0.3);
    box-shadow: 0 12px 28px rgba(91, 192, 171, 0.15);
}

.achievement-data {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Space between icon and content */
    margin-bottom: 12px;
    flex: 1;
}

.achievement-icon {
    width: 48px;
    /* Reduced size */
    height: 48px;
    /* Reduced size */
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
    /* Reduced font size */
    position: relative;
    box-shadow: 0 6px 16px rgba(91, 192, 171, 0.25);
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

/* Different colors for each icon */
.achievement-item:nth-child(1) .achievement-icon {
    background: linear-gradient(135deg, #5bc0ab, #6bc79b);
}

.achievement-item:nth-child(2) .achievement-icon {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
}

.achievement-item:nth-child(3) .achievement-icon {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

.achievement-item:nth-child(4) .achievement-icon {
    background: linear-gradient(135deg, #8B5CF6, #C8B6FF);
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    /* Align text to start */
    flex: 1;
    /* Take remaining space */
}

.achievement-content h4 {
    font-size: 0.78rem;
    /* Smaller font */
    color: var(--gray);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.achievement-number {
    font-size: 1.1rem;
    /* Smaller but still prominent */
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 !important;
    line-height: 1.2;
}

.achievement-desc {
    font-size: 0.75rem;
    color: var(--gray) !important;
    margin: 0 !important;
    line-height: 1.3;
    opacity: 0.8;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(91, 192, 171, 0.1);
    width: 100%;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .achievement-item {
        padding: 15px;
        min-height: 130px;
    }

    .achievement-data {
        gap: 14px;
        margin-bottom: 10px;
    }

    .achievement-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .achievement-content h4 {
        font-size: 0.75rem;
    }

    .achievement-number {
        font-size: 1rem;
    }

    .achievement-desc {
        font-size: 0.72rem;
    }
}

@media (max-width: 576px) {
    .achievement-item {
        padding: 12px;
        min-height: 120px;
    }

    .achievement-data {
        gap: 12px;
        margin-bottom: 8px;
    }

    .achievement-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .achievement-content h4 {
        font-size: 0.72rem;
    }

    .achievement-number {
        font-size: 0.95rem;
    }

    .achievement-desc {
        font-size: 0.7rem;
        padding-top: 6px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .achievement-item {
        padding: 20px;
    }

    .achievement-icon {
        width: 58px;
        height: 58px;
        font-size: 1.45rem;
    }

    .achievement-number {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .achievement-item {
        padding: 16px;
    }

    .achievement-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .achievement-content h4 {
        font-size: 0.82rem;
    }

    .achievement-number {
        font-size: 1.2rem;
    }

    .achievement-desc {
        font-size: 0.76rem;
    }
}

@media (max-width: 576px) {
    .achievement-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 14px;
    }

    .achievement-item {
        padding: 18px;
    }

    .achievement-icon {
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
    }

    .achievement-number {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .achievement-grid {
        max-width: 100%;
    }

    .achievement-item {
        padding: 16px;
    }
}

/* Expert Panel */
.expert-panel {
    background: linear-gradient(135deg, var(--light-green), #e8f4ff);
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0;
    border-left: 4px solid var(--accent);
}

.expert-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.expert-panel h3 i {
    color: var(--accent);
}

.expert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.expert-list span {
    background: var(--light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark);
    border: 1px solid rgba(91, 192, 171, 0.2);
    transition: var(--transition);
}

.expert-list span:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.final-note {
    background: var(--light-green);
    padding: 20px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

/* Vision & Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.vision-card,
.mission-card {
    background: var(--light);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.vision-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #5bc0ab, #2D3748);
    border-radius: 5px 5px 0 0;
}

.mission-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #F4A261, #FF6B93);
    border-radius: 5px 5px 0 0;
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.vision-icon {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.15), rgba(91, 192, 171, 0.05));
    color: var(--primary);
}

.mission-icon {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.15), rgba(244, 162, 97, 0.05));
    color: var(--accent);
}

.vm-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.vm-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-light);
}

/* CTA Buttons Section */
.cta-buttons-section {
    background: linear-gradient(135deg,
            rgba(25, 118, 210, 0.08) 0%,
            rgba(25, 118, 210, 0.15) 100%);
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    border-radius: 20px;
    padding: 50px 0;
    text-align: center;
}

.cta-container h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.cta-container p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-button {
    background: var(--light);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    /* align-items: center; */
    gap: 20px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.volunteer-btn:hover {
    border-color: var(--primary);
}

.donate-btn:hover {
    border-color: var(--accent);
}

.cta-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    align-self: center !important;
}

.volunteer-btn .cta-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--light);
}

.donate-btn .cta-icon {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: var(--light);
}

.cta-content {
    flex-grow: 1;
}

.cta-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.cta-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0 !important;
}

.cta-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: var(--transition);
}

.cta-button:hover .cta-arrow {
    transform: translateX(8px);
    opacity: 1;
}

.donate-btn .cta-arrow {
    color: var(--accent);
}

.tax-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px dashed var(--primary);
}

.tax-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tax-info i {
    color: var(--primary);
}

/* Certificates Section */
.certificates-section {
    margin-top: 50px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

/* Certificate Modal Styles */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.certificate-modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    background: transparent;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-image-container {
    position: relative;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 25px;
    color: var(--light);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10001;
}

.modal-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: var(--light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--light);
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 16px;
}

/* Certificate card hover effects */
.certificate-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }

    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-navigation {
        padding: 0 10px;
    }

    .modal-caption {
        font-size: 14px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
    }

    .modal-close {
        top: 5px;
        right: 10px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }

    .modal-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .modal-caption {
        font-size: 12px;
        bottom: 10px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Loading animation */
.modal-image.loading {
    opacity: 0;
}

.modal-image.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.certificate-img {
    height: 255px;
    overflow: hidden;
    position: relative;
}

.certificate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

.certificate-overlay span {
    background: var(--primary);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.certificate-info {
    padding: 20px;
}

.certificate-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.certificate-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design for Profile Page */
@media (max-width: 1100px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 992px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .profile-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-buttons-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .profile-content {
        padding: 25px;
    }

    .profile-header {
        padding: 25px;
    }

    .profile-title h2 {
        font-size: 1.5rem;
    }

    .lead-text {
        font-size: 1.05rem;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-buttons-section {
        padding: 30px 20px;
    }

    .cta-button {
        padding: 20px;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .cta-content h4 {
        font-size: 1.2rem;
    }

    .expert-list {
        gap: 8px;
    }

    .expert-list span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .profile-header {
        padding: 20px;
    }

    .profile-content {
        padding: 20px;
    }

    .profile-highlight {
        padding: 20px 15px;
    }

    .profile-highlight p {
        padding: 0 10px;
    }

    .vm-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .vm-header h3 {
        font-size: 1.3rem;
    }

    .vm-content {
        font-size: 1rem;
        text-align: center;
    }

    .cta-button {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cta-content p {
        text-align: center;
    }

    .tax-info p {
        flex-direction: column;
        gap: 5px;
    }

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

@media (max-width: 480px) {
    .profile-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .profile-title h2 {
        font-size: 1.3rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .achievement-number {
        font-size: 1.2rem;
    }

    .cta-buttons-section {
        padding: 25px 15px;
    }

    .cta-container h3 {
        font-size: 1.5rem;
    }
}


/* OBJECTIVES PAGE SPECIFIC STYLES */

.objectives-section {
    margin: 40px 0;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle i {
    color: var(--primary);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--dark-light);
    margin-bottom: 25px;
    font-weight: 500;
}

.objective-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.objective-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left-width: 6px;
}

.objective-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.15), rgba(91, 192, 171, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.objective-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.objective-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-light);
    margin-bottom: 10px;
}

/* Facilities List */
.facilities-list {
    list-style: none;
    margin: 15px 0 20px 0;
    padding: 0;
}

.facilities-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--dark-light);
    font-size: 0.95rem;
}

.facilities-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.9rem;
}

/* Research List */
.research-list {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
}

.research-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--dark-light);
    font-size: 0.95rem;
}

.research-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.9rem;
}

/* Incidental Section */
.incidental-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-green);
}

.numbered-objectives {
    margin-top: 20px;
}

.numbered-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(91, 192, 171, 0.1);
    transition: var(--transition);
    align-items: center;
}

.numbered-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.number-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(91, 192, 171, 0.3);
}

.numbered-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-light);
    margin: 0;
}

/* Responsive Design for Objectives Page */
@media (max-width: 992px) {
    .objective-item {
        flex-direction: column;
        gap: 15px;
    }

    .objective-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .numbered-item {
        flex-direction: column;
        gap: 15px;
    }

    .number-badge {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1.3rem;
    }

    .objective-item {
        padding: 15px;
    }

    .objective-content h4 {
        font-size: 1.1rem;
    }

    .numbered-item {
        padding: 15px;
    }

    .facilities-list li,
    .research-list li {
        font-size: 0.9rem;
        padding-left: 25px;
    }
}

@media (max-width: 576px) {
    .section-subtitle {
        font-size: 1.2rem;
    }

    .objective-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .objective-content h4 {
        font-size: 1rem;
    }

    .objective-content p {
        font-size: 0.95rem;
    }

    .numbered-content p {
        font-size: 0.95rem;
    }

    .number-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .objective-item {
        padding: 12px;
    }

    .numbered-item {
        padding: 12px;
    }

    .facilities-list li,
    .research-list li {
        font-size: 0.85rem;
        padding-left: 20px;
    }

    .facilities-list li i,
    .research-list li i {
        font-size: 0.8rem;
    }
}

/* =============================================== */
/* OUR TEAM PAGE SPECIFIC STYLES */
/* =============================================== */

/* Team Main Section */
.team-main {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
}

/* Statistics Banner */
.team-stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(91, 192, 171, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.stat-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    background: rgba(91, 192, 171, 0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    font-weight: 500;
}

/* OUR TEAM PAGE SPECIFIC STYLES - ENHANCED COLOR SCHEME */

.team-main {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
}

/* Statistics Banner */
/* .team-stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(91, 192, 171, 0.1);
} */

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    /* border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent; */
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.05), rgba(91, 192, 171, 0.02));
}

.stat-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.1), rgba(91, 192, 171, 0.05));
    box-shadow: 0 5px 20px rgba(91, 192, 171, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    font-weight: 500;
}

/* Team Sections */
.team-section {
    background: var(--light);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(91, 192, 171, 0.1);
    position: relative;
    overflow: hidden;
}

.team-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-green);
}

.section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.15), rgba(91, 192, 171, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
    border: 2px solid rgba(91, 192, 171, 0.2);
}

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

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

/* Founders Grid - Emerald Theme */
.team-section:nth-child(2) .section-icon {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.2), rgba(91, 192, 171, 0.1));
    color: var(--primary);
    border-color: rgba(91, 192, 171, 0.3);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.team-member-card {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.05), rgba(91, 192, 171, 0.02));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(91, 192, 171, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.team-member-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(91, 192, 171, 0.15);
    background: var(--light);
}

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

.member-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--light);
    font-size: 2rem;
    box-shadow: 0 6px 15px rgba(91, 192, 171, 0.3);
    position: relative;
    z-index: 1;
}

.member-avatar i {
    font-size: 1.5rem;
    /* 👈 icon size */
    line-height: 1;
}


.member-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.member-relation {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 8px;
    font-style: italic;
}

.member-role {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.1), rgba(91, 192, 171, 0.05));
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(91, 192, 171, 0.2);
}

.member-designation {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 5px;
    font-style: italic;
}

/* Founders Section Header */
.founders-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

/* Icon + Title Row */
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

/* Icon */
.our-team-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Title */
.team-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.team-heading span {
    position: relative;
    color: var(--primary);
    padding-bottom: 6px;
}

.team-heading span::after {
    content: "";
    position: absolute;
    left: 40%;
    bottom: 0 !important;
    width: 100px;
    height: 3px;
    background-color: var(--accent);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Subtitle Paragraph */
.team-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-heading {
        font-size: 1.7rem;
    }

    .team-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-top {
        gap: 10px;
    }

    .our-team-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .team-heading {
        font-size: 1.5rem;
    }
}


/* Management Team Grid - Sapphire Theme */
.team-section:nth-child(3) .team-icon {
    background: linear-gradient(135deg, rgba(93, 140, 192, 0.15), rgba(93, 140, 192, 0.05));
    color: #5D8CC0;
    border-color: rgba(93, 140, 192, 0.2);
}

.team-section:nth-child(3):before {
    background: linear-gradient(90deg, #5D8CC0, #7BA6D9);
}

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

.team-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.management-grid .team-member-card {
    background: linear-gradient(135deg, rgba(93, 140, 192, 0.05), rgba(93, 140, 192, 0.02));
    border: 1px solid rgba(93, 140, 192, 0.15);
    padding: 6px;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
}

.management-grid .team-member-card:before {
    background: linear-gradient(90deg, #5D8CC0, #7BA6D9);
}

.management-grid .team-member-card:hover {
    border-color: #5D8CC0;
    box-shadow: 0 10px 25px rgba(93, 140, 192, 0.15);
}

.management-grid .member-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 0;
    margin-right: 15px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
    box-shadow: 0 4px 10px rgba(93, 140, 192, 0.3);
}

.management-grid .member-info {
    flex-grow: 1;
}

.management-grid .member-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #2D3748;
}

.management-grid .member-role {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(93, 140, 192, 0.1), rgba(93, 140, 192, 0.05));
    border: 1px solid rgba(93, 140, 192, 0.2);
    color: #5D8CC0;
}

/* Patrons Grid - Amethyst Theme */
.team-section:nth-child(4) .team-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    color: #8B5CF6;
    border-color: rgba(139, 92, 246, 0.2);
}

.team-section:nth-child(4):before {
    background: linear-gradient(90deg, #8B5CF6, #C8B6FF);
}

.patrons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.patron-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0.02));
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.patron-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #C8B6FF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.patron-card:hover {
    transform: translateY(-3px);
    border-color: #8B5CF6;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
    background: var(--light);
}

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

.patron-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B5CF6, #C8B6FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--light);
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

/* .patron-card:nth-child(1) .patron-icon,
.patron-card:nth-child(2) .patron-icon {
    background: linear-gradient(135deg, #6B7280, #9CA3AF);
}

.patron-card:nth-child(11) .patron-icon,
.patron-card:nth-child(12) .patron-icon,
.patron-card:nth-child(13) .patron-icon {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

.patron-card:nth-child(14) .patron-icon,
.patron-card:nth-child(15) .patron-icon {
    background: linear-gradient(135deg, #5BC0AB, #6BC79B);
} */

.patron-info h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.patron-status {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
    margin: 0;
}

.patron-role {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for Team Page */
@media (max-width: 1200px) {
    .founders-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

@media (max-width: 992px) {
    .team-stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .stat-content h3 {
        font-size: 1.7rem;
    }

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

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

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

@media (max-width: 768px) {
    .team-section {
        padding: 25px;
    }

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

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

    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

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

    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .member-info h4 {
        font-size: 1rem;
    }
}

@media (min-width: 500px) and (max-width: 640px) {
    .team-stats-banner {
        gap: 12px;
        padding: 16px;
    }
    .team-stats-banner .stat-item {
        padding: 12px;
        gap: 10px;
    }
    .team-stats-banner .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .team-stats-banner .stat-content h3 {
        font-size: 1.7rem;
    }
    .team-stats-banner .stat-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    /* .team-stats-banner {
        grid-template-columns: 1fr;
    } */

    .team-section {
        padding: 20px;
    }

    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .management-grid .team-member-card {
        padding: 12px;
    }

    .management-grid .member-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 12px;
    }

    .patrons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .patron-card {
        padding: 12px;
    }

    .patron-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Small phones – 1 column */
@media (max-width: 499px) {
    .team-stats-banner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    .team-stats-banner .stat-item {
        padding: 12px;
        gap: 15px;
    }
    .team-stats-banner .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .team-stats-banner .stat-content h3 {
        font-size: 1.8rem;
    }
    .team-stats-banner .stat-content p {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    /* .team-stats-banner {
        padding: 15px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    } */

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

    .member-info h4 {
        font-size: 0.95rem;
    }

    .management-grid .member-info h4 {
        font-size: 0.9rem;
    }

    .patron-info h4 {
        font-size: 0.9rem;
    }
}

/* Filter buttons */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background: var(--light);
    color: var(--dark);
    border: 2px solid rgba(91, 192, 171, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(91, 192, 171, 0.1);
    border-color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 5px 12px rgba(91, 192, 171, 0.25);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Main events grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Event card styling */
.event-card {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.event-image-container {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.event-card:hover .event-image {
    transform: scale(1.1);
}


.event-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-green);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    width: fit-content;
    /* This makes the background only as wide as the text */
    white-space: nowrap;
    /* Prevents text from wrapping to multiple lines */
    margin-bottom: 2px;
}

.event-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-description {
    color: var(--dark-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    flex-grow: 1;
}


.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.event-tag {
    background-color: var(--light-green);
    color: var(--primary-dark);
    font-size: 0.80rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Category colors for event cards */
.event-card[data-category="seminar"] .event-date {
    background-color: #f0f9ff;
    color: #0369a1;
}

.event-card[data-category="award"] .event-date {
    background-color: #fef3c7;
    color: #92400e;
}

.event-card[data-category="celebration"] .event-date {
    background-color: #f0fdf4;
    color: #166534;
}

.event-card[data-category="visit"] .event-date {
    background-color: #faf5ff;
    color: #7c3aed;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
}

.events-count {
    background-color: #3b82f6;
    color: var(--light);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Animation for filtering */
.event-card {
    animation: fadeIn 0.5s ease forwards;
}

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

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

/* Loading state for images */
.event-image {
    background-color: #e2e8f0;
    min-height: 180px;
}

.event-image.loaded {
    background-color: transparent;
}


/* ... end of .event-image.loaded ... */

/* ----- EVENTS GRID – GALLERY BUTTON (unique namespace) ----- */
.events-grid-gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: var(--light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(91, 192, 171, 0.2);
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.events-grid-gallery-btn i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.events-grid-gallery-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(91, 192, 171, 0.3);
    color: var(--light);
}

.events-grid-gallery-btn:hover i {
    transform: scale(1.1);
}

/* Ensure button stays at bottom of card */
.event-card .event-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card .events-grid-gallery-btn {
    margin-top: auto;
}

/* Responsive adjustment */
@media (max-width: 576px) {
    .events-grid-gallery-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}


/* ===== FIX: EVENT CARD LAYOUT – ENSURE BUTTON VISIBLE ===== */
.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card .event-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* allows content to grow and fill space */
    padding: 20px;
}

.event-card .event-tags {
    margin-bottom: 12px;
    /* gives space before button */
}

.event-card .events-grid-gallery-btn {
    margin-top: 8px;
    /* consistent spacing */
    width: 100%;
}

/* HELP PAGE SPECIFIC STYLES - REFINED & COMPACT */

.help-main {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 0 60px;
}

/* Intro Section */
.help-intro-section {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(91, 192, 171, 0.1);
}

.help-content {
    padding: 40px;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: justify;
    max-width: 100%;
    font-weight: 400;
}

/* Row container for image and highlight box */
.image-highlight-row {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: stretch;
    justify-content: space-between;
}

/* Compact Image Wrapper */
.compact-image-wrapper {
    flex: 1;
    min-width: 0;
    /* Important for flexbox with images */
    text-align: center;
    display: flex;
    flex-direction: column;
}

.compact-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(91, 192, 171, 0.15);
    object-fit: cover;
    flex-grow: 1;
}

.compact-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 10px;
    font-style: italic;
    text-align: center;
    padding: 0 10px;
}

/* Highlight Box */
.highlight-box {
    flex: 1;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.08), rgba(93, 140, 192, 0.04));
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    border-radius: 0 10px 10px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.highlight-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.highlight-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark);
    margin: 0;
    padding-left: 15px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Responsive Design */
@media (min-width: 992px) {
    .image-highlight-row {
        gap: 50px;
    }

    .compact-image {
        max-height: 320px;
    }
}

@media (max-width: 991px) {
    .image-highlight-row {
        flex-direction: column;
        gap: 30px;
    }

    .compact-image-wrapper,
    .highlight-box {
        flex: none;
        width: 100%;
    }

    .compact-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .help-content {
        padding: 25px;
    }

    .image-highlight-row {
        margin: 25px 0;
        gap: 25px;
    }

    .compact-image {
        max-width: 100%;
    }

    .lead-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .highlight-box {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .help-content {
        padding: 20px;
    }

    .image-highlight-row {
        margin: 20px 0;
        gap: 20px;
    }

    .lead-text {
        font-size: 1rem;
        text-align: left;
    }

    .highlight-box {
        padding: 18px 20px;
    }

    .highlight-box p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Alternative layout for very wide screens */
@media (min-width: 1200px) {
    .image-highlight-row {
        gap: 60px;
    }

    .compact-image {
        max-height: 350px;
    }
}

/* Ensure equal height on larger screens */
@media (min-width: 992px) {
    .image-highlight-row {
        align-items: stretch;
    }

    .compact-image-wrapper {
        display: flex;
        flex-direction: column;
    }

    .compact-image {
        flex: 1;
        min-height: 250px;
    }
}

/* Donation Section */
.donation-section {
    background: var(--light);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(91, 192, 171, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

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

.section-header-center h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-header-center h2 span {
    color: var(--primary);
}



.section-header-center h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

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

/* Donation CTA Card */
.donation-cta {
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.05), rgba(93, 140, 192, 0.02));
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(91, 192, 171, 0.2);
    margin-bottom: 40px;
    margin-top: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.donation-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(91, 192, 171, 0.15);
    border-color: var(--primary);
}

.donation-cta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(91, 192, 171, 0.25);
}

.donation-cta h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.donation-cta p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.email-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--light);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(91, 192, 171, 0.25);
}

.email-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(91, 192, 171, 0.35);
    color: var(--light);
}

.email-cta i {
    font-size: 1.1rem;
}

/* Bank Accounts Grid - Enhanced Compact Design */
/* Bank Cards Grid - Fully Responsive Layout */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bank-card {
    background: linear-gradient(145deg, var(--light), #f8f9fa);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(91, 192, 171, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(91, 192, 171, 0.12);
    border-color: rgba(91, 192, 171, 0.25);
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bank-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(91, 192, 171, 0.25);
}

.bank-card:nth-child(2) .bank-icon {
    background: linear-gradient(135deg, #5d8cc0, #7a9bc9);
}

.bank-card:nth-child(3) .bank-icon {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.bank-card:nth-child(4) .bank-icon {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.bank-card:nth-child(5) .bank-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.bank-header h3 {
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0;
    flex-grow: 1;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.bank-details {
    display: grid;
    gap: 8px;
    flex-grow: 1;
}

.bank-detail-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
    padding: 2px 0;
    align-items: center;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.05);
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.detail-value {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
    letter-spacing: 0.2px;
    word-break: break-word;
    line-height: 1.3;
}

/* Account Name row special styling */
.account-name-row .detail-value {
    color: #2c5282;
    font-weight: 600;
    font-style: italic;
}

/* Highlight important information */
.bank-detail-row.important .detail-label {
    color: var(--primary);
    font-weight: 700;
}

.bank-detail-row.important .detail-value {
    font-weight: 600;
    color: #2c3e50;
}

/* ================== RESPONSIVE DESIGN ================== */

/* Large Desktops (1600px and above) */
@media (min-width: 1600px) {
    .bank-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .bank-card {
        min-height: 240px;
        padding: 20px;
    }

    .bank-header h3 {
        font-size: 1.05rem;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }
}

/* Desktops (1200px to 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .bank-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .bank-card {
        min-height: 230px;
        padding: 18px;
    }

    .bank-header h3 {
        font-size: 1rem;
    }
}

/* Tablets/Laptops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .bank-card {
        min-height: 225px;
        padding: 16px;
    }

    .bank-header h3 {
        font-size: 0.95rem;
    }
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .bank-card {
        min-height: 220px;
        padding: 16px;
    }

    .bank-detail-row {
        grid-template-columns: 90px 1fr;
        gap: 8px;
    }

    .detail-label {
        font-size: 0.72rem;
    }

    .detail-value {
        font-size: 0.82rem;
    }
}

/* Large Mobile Phones (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .bank-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .bank-card {
        min-height: 210px;
        padding: 18px;
    }

    .bank-header {
        gap: 12px;
    }

    .bank-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .bank-header h3 {
        font-size: 1rem;
    }

    .bank-detail-row {
        grid-template-columns: 110px 1fr;
        gap: 10px;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }
}

/* Small Mobile Phones (up to 575px) */
@media (max-width: 575px) {
    .bank-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .bank-card {
        padding: 16px;
        min-height: 200px;
    }

    .bank-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    .bank-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .bank-header h3 {
        font-size: 0.9rem;
        width: 100%;
    }

    .bank-details {
        gap: 6px;
    }

    .bank-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 6px 0;
    }

    .detail-label {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .detail-value {
        font-size: 0.8rem;
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-label::before {
        content: '';
        display: none;
    }
}

/* Very Small Mobile Phones (up to 375px) */
@media (max-width: 375px) {
    .bank-card {
        padding: 14px;
        min-height: 190px;
    }

    .bank-header {
        gap: 8px;
    }

    .bank-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .bank-header h3 {
        font-size: 0.85rem;
    }

    .detail-label {
        font-size: 0.65rem;
    }

    .detail-value {
        font-size: 0.75rem;
    }
}

/* Fix for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .bank-card {
        min-height: 200px;
        padding: 14px;
    }
}

/* Print styles */
@media print {
    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bank-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .bank-card::before {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .bank-card,
    .bank-card:hover {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .bank-card {
        border: 2px solid #000;
    }

    .bank-card::before {
        width: 6px;
    }

    .detail-label {
        font-weight: 800;
    }

    .detail-value {
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .help-main {
        padding: 30px 0 50px;
    }

    .help-content {
        padding: 25px;
    }

    .lead-text {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }

    .highlight-box {
        padding: 18px 20px;
        margin: 25px 0;
    }

    .highlight-box p {
        font-size: 1rem;
        padding-left: 12px;
    }

    .donation-section {
        padding: 25px;
    }

    .donation-cta {
        padding: 25px;
    }

    .donation-cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .donation-cta h3 {
        font-size: 1.4rem;
    }

    .donation-cta p {
        font-size: 1rem;
    }

    .email-cta {
        padding: 10px 22px;
        font-size: 1rem;
    }

    .bank-card {
        padding: 20px;
    }

    .bank-header {
        gap: 12px;
        margin-bottom: 15px;
    }

    .bank-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .bank-header h3 {
        font-size: 1.1rem;
    }

    .detail-label {
        flex: 0 0 90px;
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .tax-banner {
        padding: 18px 20px;
        margin-top: 30px;
    }

    .tax-banner h3 {
        font-size: 1.2rem;
    }

    .tax-banner p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .help-content {
        padding: 20px;
    }

    .lead-text {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 15px;
    }

    .highlight-box p {
        padding-left: 10px;
        font-size: 0.95rem;
    }

    .donation-section {
        padding: 20px;
    }

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

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

    .donation-cta {
        padding: 20px;
        margin-bottom: 30px;
    }

    .donation-cta h3 {
        font-size: 1.3rem;
    }

    .bank-card {
        padding: 18px;
    }

    .bank-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-bottom: 12px;
    }

    .bank-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 6px 0;
    }

    .detail-label {
        flex: none;
        width: 100%;
        text-align: left;
        font-size: 0.85rem;
    }

    .detail-value {
        text-align: left;
        width: 100%;
        font-size: 0.9rem;
    }

    .copy-btn {
        margin-left: 0;
        margin-top: 5px;
        display: inline-block;
    }

    .tax-banner {
        padding: 15px;
        text-align: left;
    }

    .tax-banner h3 {
        justify-content: flex-start;
        font-size: 1.1rem;
    }

    .stat-item {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .stat-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .help-main {
        padding: 20px 0 40px;
    }

    .donation-cta h3 {
        font-size: 1.2rem;
    }

    .email-cta {
        padding: 8px 18px;
        font-size: 0.95rem;
    }
}


/* ACTIVITIES & EVENTS PAGE STYLES - COMPACT */
.activities-intro {
    background: var(--light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(91, 192, 171, 0.1);
    text-align: center;
}

.activities-intro h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.activities-intro h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.activities-intro p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Buttons */
.events-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.filter-btn {
    background: var(--light);
    color: var(--dark);
    border: 2px solid rgba(91, 192, 171, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(91, 192, 171, 0.1);
    border-color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 5px 12px rgba(91, 192, 171, 0.25);
}

/* Year Section */
.year-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.year-heading {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.year-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    color: var(--light);
    text-align: center;
    box-shadow: 0 8px 25px rgba(91, 192, 171, 0.2);
}

.stats-banner h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Responsive Design - 4 COLUMNS */
@media (max-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1200px) {

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .activities-intro {
        padding: 25px;
    }

    .activities-intro h2 {
        font-size: 1.6rem;
    }


    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .activities-main {
        padding: 25px 0 40px;
    }

    .activities-intro {
        padding: 20px;
        margin-bottom: 25px;
    }

    .activities-intro h2 {
        font-size: 1.4rem;
    }

    .activities-intro p {
        font-size: 1rem;
    }

    .events-filter {
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .year-section {
        margin-top: 35px;
        padding-top: 25px;
    }

    .year-heading {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .stats-banner {
        padding: 20px;
        margin: 25px 0;
    }

    .stats-banner h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .activities-intro {
        padding: 18px;
    }

    .activities-intro h2 {
        font-size: 1.3rem;
    }

    .events-filter {
        gap: 6px;
        justify-content: center;
    }

    .filter-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .year-heading {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .activities-main {
        padding: 20px 0 35px;
    }

    .stats-banner {
        padding: 18px;
    }

    .stats-banner h3 {
        font-size: 1.1rem;
    }
}

/* Section Title for Consistency */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}


.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}


/* PHOTO GALLERY PAGE SPECIFIC STYLES - SIMPLE */
.gallery-main {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 50px 0 70px;
}

.section-title-gallery {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-gallery h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    letter-spacing: -0.8px;
}

.section-title-gallery h2 span {
    color: var(--primary);
    position: relative;
}

.section-title-gallery h2 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.sub-gallery-description {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 1250px !important;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}


.section-title-gallery p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}



/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-btn-gallery {
    background: var(--light);
    color: var(--dark);
    border: 2px solid rgba(91, 192, 171, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn-gallery:hover {
    background: rgba(91, 192, 171, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn-gallery.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(91, 192, 171, 0.25);
}

.filter-btn-gallery i {
    font-size: 0.9rem;
}

/* Simple Gallery Grid */
.gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item-enhanced {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: var(--light);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

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

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

.gallery-item-enhanced:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.gallery-image-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
    background: var(--light);
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    animation: imageFadeIn 0.5s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gallery-item-enhanced:hover .gallery-img {
    transform: scale(1.05);
}

/* Image overlay with info */
.gallery-overlay-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--light);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item-enhanced:hover .gallery-overlay-enhanced {
    opacity: 1;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 600;
    line-height: 1.3;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 15px;
}

.gallery-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Category badge */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.category-badge.seminar {
    background: linear-gradient(135deg, #5D8CC0, #7BA6D9);
}

.category-badge.celebration {
    background: linear-gradient(135deg, #F4A261, #FFC59E);
}

.category-badge.visit {
    background: linear-gradient(135deg, #8B5CF6, #C8B6FF);
}

.category-badge.award {
    background: linear-gradient(135deg, #10B981, #34D399);
}

/* View all button */
.view-all-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(91, 192, 171, 0.25);
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(91, 192, 171, 0.35);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.lightbox-info {
    padding: 20px;
    background: var(--light);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.lightbox-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.lightbox-info p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 10px;
}

.lightbox-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-green);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .gallery-image-container {
        height: 250px;
    }
}

@media (max-width: 992px) {

    .section-title-gallery h2 {
        font-size: 1.9rem;
    }

    .gallery-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-image-container {
        height: 230px;
    }
}

@media (max-width: 768px) {


    .gallery-main {
        padding: 40px 0 60px;
    }

    .section-title-gallery h2 {
        font-size: 1.7rem;
    }

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

    .gallery-filter {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn-gallery {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .gallery-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }

    .gallery-image-container {
        height: 200px;
    }

    .gallery-overlay-enhanced {
        padding: 20px;
    }

    .gallery-caption h3 {
        font-size: 1.1rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 576px) {


    .gallery-grid-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .gallery-image-container {
        height: 250px;
    }

    .gallery-filter {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .filter-btn-gallery {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-img {
        max-height: 50vh;
    }

    .lightbox-info {
        padding: 15px;
    }

    .lightbox-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .section-title-gallery h2 {
        font-size: 1.5rem;
    }

    .gallery-image-container {
        height: 220px;
    }

    .gallery-overlay-enhanced {
        padding: 15px;
    }

    .gallery-caption h3 {
        font-size: 1rem;
    }

    .gallery-caption p {
        font-size: 0.85rem;
    }
}




/* success---- */

.success-stories-main {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 50px 0 70px;
}

.success-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.success-section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    letter-spacing: -0.8px;
}

.success-section-title h2 span {
    color: var(--primary);
    position: relative;
}

.success-section-title h2 span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.success-section-title p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Success Stories Grid */
.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Success Story Item */
.success-story-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: var(--light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: success-fadeIn 0.8s ease-out forwards;
    opacity: 0;
    cursor: pointer;
}

@keyframes success-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.success-story-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    border-color: var(--primary-light);
}

/* Success Story Image Container */
.success-story-image-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa, #e8f4ff);
    align-items: center !important;
    justify-content: center !important;
}

/* Success Story Image */
.success-story-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0;
    animation: success-imageFadeIn 0.5s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes success-imageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.success-story-item:hover .success-story-img {
    transform: scale(1.05);
}

/* Success Pagination */
.success-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.success-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.success-pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: 2px solid rgba(91, 192, 171, 0.3);
    border-radius: 8px;
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.success-pagination-btn:hover {
    background: rgba(91, 192, 171, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.success-pagination-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 5px 12px rgba(91, 192, 171, 0.25);
}

.success-pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.success-pagination-ellipsis {
    padding: 0 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.success-pagination-info {
    margin-left: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Success Lightbox Modal */
.success-lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: success-fadeIn 0.3s ease;
}

.success-lightbox-modal.active {
    display: flex;
}

.success-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: success-zoomIn 0.3s ease;
}

@keyframes success-zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-lightbox-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.success-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.success-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.success-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.success-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.success-lightbox-prev {
    left: 20px;
}

.success-lightbox-next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .success-stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .success-section-title h2 {
        font-size: 1.9rem;
    }

    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .success-stories-main {
        padding: 40px 0 60px;
    }

    .success-section-title h2 {
        font-size: 1.7rem;
    }

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

    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .success-pagination {
        gap: 6px;
    }

    .success-pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .success-stories-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        gap: 15px;
    }

    .success-pagination {
        flex-wrap: wrap;
    }

    .success-pagination-info {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .success-section-title h2 {
        font-size: 1.5rem;
    }
}


/* GICD LITTLE ANGELS SCHOOL PAGE - UNIQUE STYLES */
:root {
    --angels-section-spacing: 50px;
    --angels-card-spacing: 25px;
    --angels-compact-spacing: 15px;
}

/* Page Container */
.angels-page-content {
    padding: 40px 0;
}

/* Optimized Section Spacing */
.angels-intro-section,
.angels-conditions-section,
.angels-specialities-section,
.angels-timeline-section,
.angels-programs-section,
.angels-social-section,
.angels-vision-section {
    padding: var(--angels-section-spacing) 0;
}

/* Intro Section */
.angels-intro-section {
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.03) 0%, rgba(108, 99, 255, 0.03) 100%);
}

.angels-mission-tagline {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

.angels-intro-card {
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    border-left: 4px solid var(--primary);
}

.angels-lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
}

.angels-founder-note {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    border: 1px solid var(--primary-light);
}

.angels-founder-info h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Conditions Section */
.angels-conditions-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.angels-condition-card {
    background: var(--light);
    padding: var(--angels-card-spacing);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

.angels-condition-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.12);
}

.angels-condition-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--light);
    font-size: 1.5rem;
}

.angels-condition-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.angels-condition-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}



/* Specialities Section */
.angels-specialities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 20px;
    margin-top: 40px;
}

.angels-speciality-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent);
}

.angels-speciality-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.angels-speciality-item i {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 40px;
}

.angels-speciality-item h3 {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

/* Timeline Section */
.angels-timeline-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.03) 0%, rgba(40, 167, 69, 0.03) 100%);
}

.angels-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 20px;
}

.angels-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.angels-timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding-left: 30px;
}

.angels-timeline-item:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--light);
    border: 3px solid var(--primary);
    border-radius: 50%;
}

.angels-timeline-year {
    position: absolute;
    left: -85px;
    top: 0;
    background: var(--primary);
    color: var(--light);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
}

.angels-timeline-content {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.angels-timeline-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.angels-timeline-content p {
    color: var(--dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.angels-visit-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.angels-visit-list li {
    padding: 4px 0;
    padding-left: 22px;
    position: relative;
    color: var(--dark);
    font-size: 0.9rem;
}

.angels-visit-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Programs Section */
.angels-programs-section {
    background: var(--light-green);
}

.angels-programs-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.angels-program-card {
    background: var(--light);
    padding: var(--angels-card-spacing);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* Program icons with light background */
.angels-program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.angels-program-card:hover .angels-program-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--light);
    transform: rotate(5deg);
}

.angels-program-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.angels-program-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Social Inclusion Section */ 
.angels-inclusion-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */

    gap: 20px;
    margin-top: 40px;
}

.angels-inclusion-card {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-light);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

.angels-inclusion-card:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--light));
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.angels-inclusion-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.angels-inclusion-card h3 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.angels-inclusion-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Vision Section */
.angels-vision-section {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(74, 111, 165, 0.03) 100%);
}

.angels-vision-card {
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.95), rgba(108, 99, 255, 0.95));
    border-radius: 16px;
    padding: 40px;
    color: var(--light);
    text-align: center;
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.15);
    position: relative;
    overflow: hidden;
}

.angels-vision-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.3;
}

.angels-vision-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--light);
}

.angels-vision-content {
    position: relative;
    z-index: 1;
}

.angels-vision-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
}

.angels-vision-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
}

.angels-vision-quote {
    font-style: italic;
    font-size: 1rem;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
    margin-top: 25px;
    opacity: 0.9;
    text-align: left;
}

/* Angels-specific CTA Buttons */
.angels-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.angels-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.angels-btn-primary {
    background: var(--accent);
    color: var(--light);
}

.angels-btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.25);
}

.angels-btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.angels-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Angel-specific animation */
@keyframes angels-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.angels-condition-card,
.angels-program-card,
.angels-inclusion-card,
.angels-speciality-item {
    animation: angels-fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Staggered animation delays for angels cards */
.angels-conditions-grid .angels-condition-card:nth-child(1) {
    animation-delay: 0.1s;
}

.angels-conditions-grid .angels-condition-card:nth-child(2) {
    animation-delay: 0.2s;
}

.angels-conditions-grid .angels-condition-card:nth-child(3) {
    animation-delay: 0.3s;
}

.angels-conditions-grid .angels-condition-card:nth-child(4) {
    animation-delay: 0.4s;
}

.angels-conditions-grid .angels-condition-card:nth-child(5) {
    animation-delay: 0.5s;
}

.angels-conditions-grid .angels-condition-card:nth-child(6) {
    animation-delay: 0.6s;
}

.angels-programs-grid .angels-program-card:nth-child(1) {
    animation-delay: 0.1s;
}

.angels-programs-grid .angels-program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.angels-programs-grid .angels-program-card:nth-child(3) {
    animation-delay: 0.3s;
}

.angels-programs-grid .angels-program-card:nth-child(4) {
    animation-delay: 0.4s;
}

.angels-programs-grid .angels-program-card:nth-child(5) {
    animation-delay: 0.5s;
}

.angels-programs-grid .angels-program-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* =============================================== */
/* LITTLE ANGELS SCHOOL - RESPONSIVE SECTION TITLES */
/* =============================================== */

/* Base section titles - larger for desktop */
.angels-page-content .section-title h2 {
    font-size: 2rem !important;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

/* Adjust the span underline to be more prominent */
.angels-page-content .section-title h2 span:after {
    width: 80px;
    height: 4px;
    bottom: -8px;
}

/* Vision section title (different structure) */
.angels-vision-content h2 {
    font-size: 2.2rem;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.angels-vision-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1200px) {
    .angels-page-content .section-title h2 {
        font-size: 2rem !important;
    }

    .angels-vision-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .angels-page-content .section-title h2 {
        font-size: 1.9rem !important;
    }

    .angels-page-content .section-title h2 span:after {
        width: 70px;
        height: 4px;
    }

    .angels-vision-content h2 {
        font-size: 1.9rem;
    }

    .angels-vision-content h2:after {
        width: 70px;
    }

    .angels-condition-card h3 {

        font-size: 1rem;
    }

    .angels-condition-card p {
        font-size: 0.86rem;
    }
}

@media (max-width: 768px) {
    .angels-page-content .section-title h2 {
        font-size: 1.7rem !important;
        letter-spacing: -0.5px;
    }

    .angels-page-content .section-title h2 span:after {
        width: 60px;
        height: 3px;
        bottom: -6px;
    }

    .angels-vision-content h2 {
        font-size: 1.7rem;
    }

    .angels-vision-content h2:after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }


    .angels-condition-card h3 {
        font-size: 1rem !important;
    }

    .angels-condition-card p {
        font-size: 0.89rem;
    }


    .angels-timeline-content h3 {
        font-size: 1.1rem;
    }


}

@media (max-width: 576px) {
    .angels-page-content .section-title h2 {
        font-size: 1.5rem !important;
    }

    .angels-vision-content h2 {
        font-size: 1.5rem;
    }

    .angels-condition-card h3 {
        font-size: 1rem !important;
    }

    .angels-condition-card p {
        font-size: 0.86rem;
    }
}

@media (max-width: 480px) {
    .angels-page-content .section-title h2 {
        font-size: 1.3rem !important;
    }

    .angels-page-content .section-title h2 span:after {
        width: 50px;
        height: 3px;
        bottom: -5px;
    }

    .angels-vision-content h2 {
        font-size: 1.3rem;
    }

    .angels-vision-content h2:after {
        width: 50px;
        bottom: -6px;
    }

    .angels-condition-card h3 {
        font-size: 1rem !important;
    }
}

/* Responsive Design for Angels Page */
@media (max-width: 1200px) {
    :root {
        --angels-section-spacing: 45px;
        --angels-card-spacing: 22px;
    }
}

@media (max-width: 992px) {

    .angels-conditions-grid,
    .angels-specialities-grid,
    .angels-programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --angels-section-spacing: 40px;
        --angels-card-spacing: 20px;
        --angels-compact-spacing: 12px;
    }

    .angels-page-content {
        padding: 30px 0;
    }

    .angels-intro-section,
    .angels-conditions-section,
    .angels-specialities-section,
    .angels-timeline-section,
    .angels-programs-section,
    .angels-social-section,
    .angels-vision-section {
        padding: var(--angels-section-spacing) 0;
    }


    .angels-intro-card,
    .angels-vision-card {
        padding: 25px 20px;
    }

    .angels-conditions-grid,
    .angels-specialities-grid,
    .angels-programs-grid {
        grid-template-columns: 1fr;
        gap: var(--angels-compact-spacing);
    }

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

    .angels-timeline {
        padding-left: 15px;
        margin-top: 30px;
    }

    .angels-timeline-year {
        position: relative;
        left: 0;
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .angels-timeline-item {
        padding-left: 25px;
        margin-bottom: 25px;
    }

    .angels-timeline-content {
        padding: 18px;
    }

    .angels-mission-tagline {
        font-size: 1.2rem;
    }

    .angels-lead-text {
        font-size: 1rem;
    }

    .angels-speciality-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 18px;
    }

    .angels-vision-content h2 {
        font-size: 1.6rem;
    }

    .angels-vision-text {
        font-size: 1rem;
    }

    .angels-vision-quote {
        font-size: 0.95rem;
    }

    .angels-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .angels-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    :root {
        --angels-section-spacing: 35px;
        --angels-card-spacing: 18px;
    }

    .angels-condition-card,
    .angels-program-card,
    .angels-inclusion-card {
        padding: var(--angels-card-spacing);
    }

    .angels-speciality-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .angels-speciality-item i {
        margin: 0 auto;
    }

    .angels-timeline:before {
        left: 12px;
    }

    .angels-timeline-item {
        padding-left: 30px;
    }

    .angels-timeline-item:before {
        left: 3px;
    }

    .angels-inclusion-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .angels-intro-card {
        padding: 20px 15px;
    }

    .angels-vision-card {
        padding: 25px 20px;
    }

    .angels-condition-icon,
    .angels-program-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .angels-speciality-item i {
        font-size: 1.6rem;
    }

    .angels-vision-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .angels-inclusion-card i {
        font-size: 1.8rem;
    }
}


/* founder-css */

/* Modern Founder Profile Styles */
.founder-profile-modern {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
}

.founder-banner {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: var(--light);
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Profile Overview Card */
.profile-overview-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-image-main {
    flex: 0 0 300px;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.image-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.image-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Updated Quick Info Cards Row */
.profile-quick-info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0 35px;
}


.profile-intro h1 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 10px;
}

.profile-intro h3 {
    color: var(--primary);
    font-size: 1.2rem !important;
    font-weight: 500;
}

.quick-info-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.quick-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.quick-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.quick-info-content {
    display: flex;
    flex-direction: column;
}

.quick-info-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-info-value {
    font-size: 0.8rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

/* Update the original profile-overview-card to accommodate new layout */
.profile-overview-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-image-main {
    flex: 0 0 280px;
}

.profile-intro {
    flex: 1;
}

/* Responsive adjustments for quick-info row */
@media (max-width: 1200px) {
    .profile-quick-info-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .profile-overview-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image-main {
        flex: 0 0 auto;
    }

    .quick-info-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .quick-info-icon {
        margin: 0 auto 10px;
    }

    .profile-tags {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .profile-quick-info-row {
        grid-template-columns: 1fr;
    }

    .profile-overview-card {
        padding: 25px;
    }

    .profile-intro h1 {
        font-size: 2rem;
    }

    .profile-intro h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .quick-info-card {
        padding: 15px 10px;
    }

    .profile-quick-info-row {
        gap: 12px;
    }
}

.profile-quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quick-info-item {
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.quick-info-item:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
}

.quick-info-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.quick-info-item div {
    display: flex;
    flex-direction: column;
}

.quick-info-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

.quick-info-item strong {
    color: var(--dark);
    font-size: 0.95rem;
}

.profile-intro {
    flex: 1;
}

.profile-intro h1 {
    color: var(--dark);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.profile-intro h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 25px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: var(--light-coral);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Section Cards */
.section-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.section-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-5px);
}

.section-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
}

.section-header-main h2 {
    color: var(--dark);
    font-size: 1.7rem !important;
    margin: 0;
    flex: 1;
}

.section-line {
    height: 3px;
    flex: 1;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.education-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--light-green);
    border-radius: var(--radius);
    transition: var(--transition);
}

.education-item:hover {
    background: var(--light-blue);
    transform: translateY(-5px);
}

.edu-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.education-item h4 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.education-item p {
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* Content Blocks */
.content-block {
    background: var(--light-gray);
    padding: 25px;
    border-radius: var(--radius);
    margin: 20px 0;
    border-left: 4px solid var(--primary);
}

.highlight-block {
    background: var(--light-green);
    border-left-color: var(--accent);
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.country-item:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.country-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.country-item span {
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* Modern Timeline */
.timeline-modern {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item-modern::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: -120px;
    top: 0;
    background: var(--primary);
    color: var(--light);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content-modern {
    background: var(--light-blue);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.timeline-content-modern h4 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content-modern p {
    color: var(--dark-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Rotary Highlights */
.rotary-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.rotary-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.rotary-item:hover {
    background: var(--light-green);
    transform: translateY(-5px);
}

.rotary-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rotary-content h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.rotary-content p {
    color: var(--dark-light);
    line-height: 1.6;
    margin: 0;
}

/* Positions Grid */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.position-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.position-card:nth-child(odd) {
    border-top-color: var(--primary);
}

.position-card:nth-child(even) {
    border-top-color: var(--secondary);
}

.position-card:hover {
    background: var(--light-blue);
    transform: translateY(-8px);
}

.position-number {
    position: absolute;
    top: -15px;
    right: 15px;
    background: var(--primary);
    color: var(--light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.position-card h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.position-card p {
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Modern Activities */
.activities-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.activity-item-modern {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.activity-item-modern:hover {
    background: var(--light-green);
    transform: translateX(5px);
}

.activity-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-details h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.activity-details p {
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Personal Life Card */
.personal-life-card {
    background: linear-gradient(135deg, var(--light-green), var(--light-blue));
}

.family-portrait {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.family-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 3rem;
    flex-shrink: 0;
}

.family-details h3 {
    color: var(--dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.family-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 25px;
}

.quote-box-modern {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    position: relative;
    border-left: 5px solid var(--primary);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-light);
    font-size: 2rem;
    opacity: 0.3;
}

.quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
    font-style: italic;
    margin: 0;
    padding-left: 30px;
}

.legacy-box {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    border-left: 5px solid var(--secondary);
}

.legacy-box h4 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legacy-box h4 i {
    color: var(--accent);
}

.legacy-box p {
    color: var(--dark-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profile-overview-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-image-main {
        flex: 0 0 auto;
    }

    .profile-tags {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .section-header-main {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .section-line {
        width: 100px;
        height: 3px;
    }

    .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 10px;
        display: inline-block;
    }

    .timeline-modern {
        padding-left: 0;
    }

    .timeline-modern::before {
        display: none;
    }

    .timeline-item-modern::before {
        display: none;
    }

    .family-portrait {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .profile-overview-card {
        padding: 25px;
    }

    .section-card {
        padding: 25px;
    }

    .profile-intro h1 {
        font-size: 2.2rem;
    }

    .profile-intro h3 {
        font-size: 1.2rem;
    }

    .education-grid,
    .positions-grid,
    .activities-modern,
    .rotary-highlights {
        grid-template-columns: 1fr;
    }

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

    .banner-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .profile-quick-info {
        grid-template-columns: 1fr;
    }

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

    .activity-item-modern {
        flex-direction: column;
        text-align: center;
    }

    .activity-icon-modern {
        margin: 0 auto;
    }

    .rotary-item {
        flex-direction: column;
        text-align: center;
    }

    .rotary-icon {
        margin: 0 auto;
    }
}



/* prev- next */
/* ---------- Activity Navigation – Compact & Right-Aligned ---------- */
.activity-nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* align to the right */
    align-items: center;
    gap: 0.75rem;
    margin: 0rem 0 1.5rem;
    padding: 0;
    /* no extra background or borders */
    background: transparent;
    border: none;
}

.activity-nav-btn {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background-color: var(--primary);
    color: var(--light) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
    border-radius: 30px;
    /* soft pill shape */
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    letter-spacing: 0.3px;
}

.activity-nav-btn i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

/* Hover effect – lift & darken */
.activity-nav-btn:hover {
    background-color: var(--primary-dark);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Active / focus state (optional) */
.activity-nav-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-light);
}

/* Disabled button – no click, subtle style */
.activity-nav-btn.disabled {
    background-color: var(--gray);
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

/* "Back to Activities" – use accent color for distinction */
.activity-nav-btn:has(> .fa-th) {
    /* targets the back button */
    background-color: var(--accent);
    color: var(--dark);
}

.activity-nav-btn:has(> .fa-th):hover {
    background-color: var(--accent-light);
    color: var(--dark);
}

/* Responsive: stack on mobile, still right-aligned */
@media (max-width: 600px) {
    .activity-nav-container {
        justify-content: center;
        /* center on small screens */
        gap: 0.6rem;
    }

    .activity-nav-btn {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }
}




/* ----- CEREBRAL PALSY PAGE COMPONENTS (unique namespace) ----- */
.cerebral-palsy-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.cerebral-palsy-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 30px;
}

.cerebral-palsy-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.cerebral-palsy-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Cause list – compact, bullet style */
.cerebral-palsy-cause-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 25px;
}

.cerebral-palsy-cause-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--dark-light);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px dashed rgba(91, 192, 171, 0.2);
}

.cerebral-palsy-cause-list li:last-child {
    border-bottom: none;
}

.cerebral-palsy-cause-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Symptom grid – two‑column, compact icons */
.cerebral-palsy-symptom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.cerebral-palsy-symptom-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(91, 192, 171, 0.1);
    transition: var(--transition);
}

.cerebral-palsy-symptom-item:hover {
    background: var(--light-green);
    border-color: var(--primary);
    transform: translateX(4px);
}

.cerebral-palsy-symptom-item i {
    font-size: 1.1rem;
    color: var(--primary);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.cerebral-palsy-symptom-item span {
    font-size: 0.95rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .cerebral-palsy-detail-section {
        padding: 45px 0;
    }

    .cerebral-palsy-subtitle {
        font-size: 1.3rem;
    }

    .cerebral-palsy-symptom-grid {
        grid-template-columns: 1fr;
    }
}


/* ----- AUTISM PAGE COMPONENTS (unique namespace) ----- */
.autism-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.autism-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 30px;
}

.autism-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.autism-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Symptom list – two‑column, namespaced */
.autism-symptom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.autism-symptom-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(91, 192, 171, 0.1);
    transition: var(--transition);
}

.autism-symptom-item:hover {
    background: var(--light-green);
    border-color: var(--primary);
    transform: translateX(4px);
}

.autism-symptom-item i {
    font-size: 1.1rem;
    color: var(--primary);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.autism-symptom-item span {
    font-size: 0.95rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.3;
}

/* Insight block – namespaced, for highlighted paragraphs */
.autism-insight-block {
    background: rgba(91, 192, 171, 0.06);
    border-left: 5px solid var(--primary);
    padding: 22px 25px;
    border-radius: var(--radius);
    margin: 35px 0 15px;
}

.autism-insight-block p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.7;
}

.autism-insight-block i {
    color: var(--primary);
    margin-right: 8px;
}

/* Compact bullet list for final facts */
.autism-fact-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.autism-fact-list li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    color: var(--dark-light);
    font-size: 0.98rem;
    line-height: 1.6;
    border-bottom: 1px dashed rgba(91, 192, 171, 0.15);
}

.autism-fact-list li:last-child {
    border-bottom: none;
}

.autism-fact-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .autism-detail-section {
        padding: 45px 0;
    }

    .autism-subtitle {
        font-size: 1.3rem;
    }

    .autism-symptom-grid {
        grid-template-columns: 1fr;
    }
}


/* ----- DOWN SYNDROME PAGE COMPONENTS (unique namespace) ----- */
.down-syndrome-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.down-syndrome-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 30px;
}

.down-syndrome-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.down-syndrome-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Insight / highlight block – used for the second paragraph */
.down-syndrome-insight-block {
    background: rgba(91, 192, 171, 0.06);
    border-left: 5px solid var(--primary);
    padding: 22px 25px;
    border-radius: var(--radius);
    margin: 35px 0 15px;
}

.down-syndrome-insight-block p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.7;
}

.down-syndrome-insight-block i {
    color: var(--primary);
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .down-syndrome-detail-section {
        padding: 45px 0;
    }

    .down-syndrome-subtitle {
        font-size: 1.3rem;
    }
}



/* ----- MENTAL RETARDATION PAGE COMPONENTS (unique namespace) ----- */
.mental-retardation-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.mental-retardation-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 30px;
}

.mental-retardation-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.mental-retardation-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Characteristics grid – two‑column */
.mental-retardation-char-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.mental-retardation-char-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(91, 192, 171, 0.1);
    transition: var(--transition);
}

.mental-retardation-char-item:hover {
    background: var(--light-green);
    border-color: var(--primary);
    transform: translateX(4px);
}

/* Numbered circle icons – pure CSS, works with any Font Awesome license */
.mental-retardation-char-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    font-style: normal;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(91, 192, 171, 0.2);
}

.mental-retardation-char-item span {
    font-size: 0.95rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .mental-retardation-detail-section {
        padding: 45px 0;
    }

    .mental-retardation-subtitle {
        font-size: 1.3rem;
    }

    .mental-retardation-char-grid {
        grid-template-columns: 1fr;
    }
}


/* ----- MAJOR EVENTS PAGE COMPONENTS (unique namespace) ----- */
.major-events-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.major-events-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.major-events-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* ----- ACTIVITIES PERFORMED REGULARLY – VERTICAL LIST (compact, no card issues) ----- */
.major-events-activities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0 30px;
}

.major-events-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--light);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(91, 192, 171, 0.12);
}

.major-events-activity-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.major-events-activity-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.12), rgba(91, 192, 171, 0.04));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.major-events-activity-item:hover .major-events-activity-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    transform: scale(1.05);
}

.major-events-activity-item span {
    font-size: 0.98rem;
    color: var(--dark-light);
    line-height: 1.7;
    font-weight: 500;
    flex: 1;
}

/* Event block – for detailed descriptions */
.major-events-event-block {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    margin: 25px 0;
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.major-events-event-block:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.major-events-event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.major-events-event-title i {
    color: var(--accent);
    font-size: 1.3rem;
}

.major-events-event-details {
    font-size: 0.98rem;
    color: var(--dark-light);
    line-height: 1.7;
}

.major-events-event-details p {
    margin-bottom: 12px;
}

.major-events-event-details p:last-child {
    margin-bottom: 0;
}

/* Guest / notable names list */
.major-events-guests {
    list-style: none;
    padding: 0;
    margin: 15px 0 5px;
}

.major-events-guests li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--dark);
    font-size: 0.95rem;
}

.major-events-guests li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.85rem;
}

/* Compact association cards */
.major-events-association-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0 15px;
}

.major-events-association-card {
    background: linear-gradient(145deg, var(--light), #f9fbfd);
    border-radius: var(--radius);
    padding: 22px 20px;
    border: 1px solid rgba(91, 192, 171, 0.15);
    transition: var(--transition);
}

.major-events-association-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.major-events-association-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.major-events-association-card h4 i {
    color: var(--accent);
}

.major-events-association-card p {
    font-size: 0.95rem;
    color: var(--dark-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .major-events-association-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .major-events-detail-section {
        padding: 45px 0;
    }

    .major-events-subtitle {
        font-size: 1.3rem;
    }

    .major-events-activities-list {
        margin: 20px 0;
    }

    .major-events-activity-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .major-events-activity-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .major-events-activity-item span {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

/* ----- DIGNITARIES VISITED PAGE COMPONENTS (unique namespace) ----- */
.dignitaries-visited-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.dignitaries-visited-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.dignitaries-visited-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Dignitaries timeline list – clean, vertical, elegant */
.dignitaries-visited-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 30px 0 20px;
    list-style: none;
    padding: 0;
}

.dignitaries-visited-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 25px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(91, 192, 171, 0.1);
    position: relative;
}

.dignitaries-visited-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.dignitaries-visited-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(91, 192, 171, 0.12), rgba(91, 192, 171, 0.04));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: var(--transition);
}

.dignitaries-visited-item:hover .dignitaries-visited-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    transform: scale(1.05) rotate(3deg);
}

.dignitaries-visited-content {
    flex: 1;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--dark-light);
}

.dignitaries-visited-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Special styling for longer descriptive entries */
.dignitaries-visited-content p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .dignitaries-visited-detail-section {
        padding: 45px 0;
    }

    .dignitaries-visited-subtitle {
        font-size: 1.3rem;
    }

    .dignitaries-visited-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px 20px;
    }

    .dignitaries-visited-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* ----- WARNING SIGNS PAGE COMPONENTS (unique namespace) ----- */
.warning-signs-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.warning-signs-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 45px 0 15px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.warning-signs-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Urgent message block – prominent */
.warning-signs-urgent-block {
    background: rgba(244, 162, 97, 0.08);
    border-left: 6px solid var(--accent);
    padding: 22px 28px;
    border-radius: var(--radius);
    margin: 25px 0 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark);
}

.warning-signs-urgent-block strong {
    color: var(--accent-dark);
    font-weight: 700;
}

.warning-signs-contact {
    background: var(--light);
    border-radius: var(--radius);
    padding: 18px 25px;
    margin: 20px 0 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(91, 192, 171, 0.2);
}

.warning-signs-contact i {
    font-size: 1.8rem;
    color: var(--primary);
}

.warning-signs-contact span {
    font-size: 1.05rem;
    color: var(--dark-light);
    font-weight: 500;
}

.warning-signs-contact strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Early diagnosis paragraph */
.warning-signs-early {
    background: var(--light-green);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin: 25px 0 35px;
    border-left: 5px solid var(--primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
}

/* Warning signs grid – two columns */
.warning-signs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0 30px;
}

.warning-signs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(91, 192, 171, 0.1);
    transition: var(--transition);
}

.warning-signs-item:hover {
    background: var(--light-green);
    border-color: var(--primary);
    transform: translateX(4px);
}

.warning-signs-item i {
    font-size: 1.1rem;
    color: var(--primary);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.warning-signs-item span {
    font-size: 0.95rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.4;
}

/* Second list – numbered history items */
.warning-signs-history-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0 25px;
}

.warning-signs-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(244, 162, 97, 0.15);
    transition: var(--transition);
}

.warning-signs-history-item:hover {
    background: rgba(244, 162, 97, 0.08);
    border-color: var(--accent);
    transform: translateX(4px);
}

.warning-signs-history-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--light);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    font-style: normal;
    flex-shrink: 0;
}

.warning-signs-history-item span {
    font-size: 0.95rem;
    color: var(--dark-light);
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .warning-signs-detail-section {
        padding: 45px 0;
    }

    .warning-signs-subtitle {
        font-size: 1.3rem;
    }

    .warning-signs-grid,
    .warning-signs-history-grid {
        grid-template-columns: 1fr;
    }

    .warning-signs-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* ----- NEWS MEDIA PAGE COMPONENTS – FULLY NAMESPACED ----- */
.newsmedia-detail-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.newsmedia-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Gallery card – compact image container */
.newsmedia-gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    aspect-ratio: 4 / 2.5;
    cursor: pointer;
    border: 1px solid rgba(91, 192, 171, 0.1);
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsmedia-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-light);
}

.newsmedia-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    display: block;
}

.newsmedia-gallery-card:hover .newsmedia-gallery-image {
    transform: scale(1.08);
}

/* Subtle overlay with zoom icon on hover */
.newsmedia-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--light);
    font-size: 1.8rem;
    backdrop-filter: blur(2px);
}

.newsmedia-gallery-card:hover .newsmedia-image-overlay {
    opacity: 1;
}

/* ---------- MODAL (LIGHTBOX) – FULLY NAMESPACED ---------- */
.newsmedia-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.newsmedia-modal.active {
    display: flex;
}

.newsmedia-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: newsmedia-fadeIn 0.3s ease;
}

@keyframes newsmedia-fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image container with scroll if image larger than viewport */
.newsmedia-modal-image-container {
    max-width: 100%;
    max-height: 85vh;
    overflow: auto;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.newsmedia-modal-image {
    width: auto;
    height: auto;
    max-width: none;
    /* allow natural size, scrollable */
    display: block;
}

/* Close button */
.newsmedia-modal-close {
    position: fixed;
    top: 25px;
    right: 35px;
    color: var(--light);
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10010;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsmedia-modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
    color: var(--light);
}

/* Navigation arrows */
.newsmedia-modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10010;
}

.newsmedia-modal-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.newsmedia-modal-prev {
    left: 25px;
}

.newsmedia-modal-next {
    right: 25px;
}

/* Counter */
.newsmedia-modal-counter {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10010;
}

/* Responsive */
@media (max-width: 992px) {
    .newsmedia-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 576px) {
    .newsmedia-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .newsmedia-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .newsmedia-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .newsmedia-modal-prev {
        left: 10px;
    }

    .newsmedia-modal-next {
        right: 10px;
    }
}

/* ----- VOLUNTEER PAGE COMPONENTS – COMPACT & CLEAN ----- */
.volunteer-detail-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* subtle background pattern */
.volunteer-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235bc0ab' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    pointer-events: none;
}

/* two column layout – compact */
.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* left column – volunteer info & logo (compact) */
.volunteer-info {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(91, 192, 171, 0.15);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.volunteer-info:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.volunteer-logo {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--light);
    font-size: 2.8rem;
    box-shadow: 0 10px 20px rgba(91, 192, 171, 0.25);
    transition: var(--transition-slow);
}

.volunteer-info:hover .volunteer-logo {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 15px 30px rgba(91, 192, 171, 0.35);
}

.volunteer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.volunteer-tagline {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.volunteer-description {
    font-size: 0.95rem;
    color: var(--dark-light);
    line-height: 1.6;
    margin-bottom: 18px;
    padding: 0 5px;
}

.volunteer-highlight {
    background: var(--light-green);
    border-radius: var(--radius);
    padding: 12px 16px;
    border-left: 4px solid var(--primary);
    text-align: left;
    font-size: 0.9rem;
    color: var(--dark);
}

.volunteer-highlight i {
    color: var(--primary);
    margin-right: 6px;
}

/* ----- ENHANCED FORM STYLES – ALL PREFIXED WITH volunteer- ----- */
.volunteer-form-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(63, 169, 148, 0.1);
    animation: volunteerFadeInUp 0.8s ease;
}

.volunteer-form-card:hover {
    box-shadow: 0 20px 40px rgba(63, 169, 148, 0.15);
}

.volunteer-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volunteer-form-title i {
    color: var(--primary);
    font-size: 2rem;
}

.volunteer-form-title span {
    color: var(--primary);
}

.volunteer-form-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.volunteer-enhanced-form .volunteer-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.volunteer-enhanced-form .volunteer-full-width {
    grid-column: span 2;
}

.volunteer-enhanced-form .volunteer-form-field {
    position: relative;
    margin-bottom: 1.2rem;
}

.volunteer-enhanced-form .volunteer-form-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 1;
}

.volunteer-enhanced-form .volunteer-form-field.volunteer-textarea-field i {
    top: 20px;
    transform: none;
}

.volunteer-enhanced-form input,
.volunteer-enhanced-form textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--light-gray);
    color: var(--dark);
}

.volunteer-enhanced-form input:focus,
.volunteer-enhanced-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 5px 20px rgba(63, 169, 148, 0.2);
    transform: translateY(-2px);
}

.volunteer-enhanced-form input:focus+i,
.volunteer-enhanced-form textarea:focus+i {
    color: var(--primary-dark);
}

.volunteer-enhanced-form textarea {
    resize: vertical;
    min-height: 120px;
    padding: 14px 15px 14px 45px;
}

.volunteer-enhanced-form .volunteer-btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    border: none;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(63, 169, 148, 0.4);
    position: relative;
    overflow: hidden;
}

.volunteer-enhanced-form .volunteer-btn-submit:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.volunteer-enhanced-form .volunteer-btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(63, 169, 148, 0.5);
}

.volunteer-enhanced-form .volunteer-btn-submit:hover:before {
    left: 100%;
}

.volunteer-enhanced-form .volunteer-btn-submit:hover i {
    transform: translateX(5px);
}

.volunteer-enhanced-form .volunteer-btn-submit i {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Staggered animation for fields */
.volunteer-enhanced-form .volunteer-form-field {
    animation: volunteerSlideInUp 0.5s ease forwards;
    opacity: 0;
}

.volunteer-enhanced-form .volunteer-form-field:nth-child(1) {
    animation-delay: 0.1s;
}

.volunteer-enhanced-form .volunteer-form-field:nth-child(2) {
    animation-delay: 0.2s;
}

.volunteer-enhanced-form .volunteer-form-field:nth-child(3) {
    animation-delay: 0.3s;
}

.volunteer-enhanced-form .volunteer-form-field:nth-child(4) {
    animation-delay: 0.4s;
}

.volunteer-enhanced-form .volunteer-form-field:nth-child(5) {
    animation-delay: 0.5s;
}

.volunteer-enhanced-form .volunteer-btn-submit {
    animation: volunteerSlideInUp 0.5s ease 0.6s forwards;
    opacity: 0;
}

@keyframes volunteerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes volunteerSlideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* privacy note */
.volunteer-privacy {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
}

.volunteer-privacy i {
    color: var(--primary);
    margin-right: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .volunteer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .volunteer-info,
    .volunteer-form-card {
        padding: 25px 20px;
    }

    .volunteer-logo {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .volunteer-info h3 {
        font-size: 1.4rem;
    }

    .volunteer-enhanced-form .volunteer-form-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-enhanced-form .volunteer-full-width {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .volunteer-detail-section {
        padding: 30px 0;
    }

    .volunteer-info h3 {
        font-size: 1.3rem;
    }

    .volunteer-tagline {
        font-size: 0.95rem;
    }

    .volunteer-form-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {

    .volunteer-info,
    .volunteer-form-card {
        padding: 20px 16px;
    }

    .volunteer-logo {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .volunteer-form-title {
        font-size: 1.3rem;
    }

    .volunteer-enhanced-form .volunteer-btn-submit {
        padding: 14px 25px;
        font-size: 1rem;
    }
}

/* custom hero override – consistent with other pages */
/* .page-services .image-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center 30%;
} */



/* Thanks-css */
.thanks-hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thanks-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(63, 169, 148, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.thanks-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.thanks-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.thanks-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.thanks-hero h1 span {
    color: var(--primary);
    display: inline-block;
    position: relative;
}

.thanks-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-light);
    opacity: 0.4;
    z-index: -1;
}

.thanks-hero p {
    font-size: 1.2rem;
    color: var(--dark) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Main thank you card */
.thanks-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    padding: 3rem 2.5rem;
    margin: -80px auto 60px;
    max-width: 800px;
    position: relative;
    z-index: 10;
    text-align: center;
    border: 1px solid rgba(63, 169, 148, 0.15);
    backdrop-filter: blur(2px);
}

.thanks-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, var(--light-green), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -100px auto 25px;
    box-shadow: var(--shadow);
    border: 4px solid var(--light);
}

.thanks-icon i {
    font-size: 4rem;
    color: var(--primary);
    filter: drop-shadow(0 4px 6px rgba(63, 169, 148, 0.3));
}

.thanks-card h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.thanks-card h2 span {
    color: var(--primary);
}

.thanks-card p {
    font-size: 1.1rem;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.thanks-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 1rem;
}

.thanks-btn-primary {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 8px 18px rgba(63, 169, 148, 0.25);
}

.thanks-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(63, 169, 148, 0.35);
}

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

.thanks-btn-outline:hover {
    background: var(--light-green);
    transform: translateY(-3px);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.thanks-btn-outline i {
    color: var(--primary);
}

/* Decorative floating hearts (low opacity, but that's fine) */
.thanks-floating-heart {
    position: absolute;
    font-size: 1.2rem;
    color: var(--accent-light);
    opacity: 0.3;
    animation: thanksFloat 6s infinite ease-in-out;
}

@keyframes thanksFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

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

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

/* Responsive */
@media (max-width: 768px) {
    .thanks-hero h1 {
        font-size: 2.5rem;
    }

    .thanks-card {
        margin-top: -50px;
        padding: 2.5rem 1.5rem;
    }

    .thanks-icon {
        width: 100px;
        height: 100px;
        margin-top: -70px;
    }

    .thanks-icon i {
        font-size: 3rem;
    }

    .thanks-card h2 {
        font-size: 2rem;
    }

    .thanks-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .thanks-hero h1 {
        font-size: 2rem;
    }

    .thanks-card h2 {
        font-size: 1.8rem;
    }

    .thanks-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thanks-btn {
        width: 100%;
        justify-content: center;
    }
}



/* Focus Area Navigation Strip – appears before footer on detail pages */
.focus-nav-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 0 50px;
    margin-top: 20px;
    border-top: 1px solid rgba(91, 192, 171, 0.2);
}

.focus-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns */
    gap: 12px;
    margin-top: 30px;
}

/* Reuse your existing .simple-tab-item styles, but override layout for this nav */
.focus-nav-list .simple-tab-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: var(--light);
    border: 1px solid rgba(91, 192, 171, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
    /* fill grid cell */
    box-sizing: border-box;
}

.focus-nav-list .simple-tab-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Active state highlight – matches your existing .simple-tab-item.active */
.focus-nav-list .simple-tab-item.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: var(--light) !important;
    box-shadow: 0 4px 12px rgba(91, 192, 171, 0.3);
}


.focus-nav-list .simple-tab-item.active .simple-tab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.focus-nav-list .simple-tab-item.active .simple-tab-arrow {
    color: var(--light);
    opacity: 1;
}

/* Keep icon size consistent */
.focus-nav-list .simple-tab-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 192, 171, 0.1);
    border-radius: 6px;
    margin-right: 8px;
    color: var(--primary);
}


.focus-nav-list .simple-tab-text {
    flex: 1;
    font-size: 1rem !important;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.focus-nav-list .simple-tab-arrow {
    color: var(--gray);
    font-size: 0.75rem;
    margin-left: 6px;
    opacity: 0.7;
}

/* Responsive: on smaller screens, allow wrapping with flexible widths */
@media (max-width: 1200px) {
    .focus-nav-list .simple-tab-item {
        min-width: 140px;
    }
}

@media (max-width: 992px) {
    .focus-nav-list .simple-tab-item {
        min-width: 130px;
    }

    .focus-nav-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .focus-nav-section {
        padding: 30px 0 40px;
    }

    .focus-nav-list {
        gap: 8px;
    }

    .focus-nav-list .simple-tab-item {
        flex: 1 1 calc(50% - 8px);
        /* 2 columns on tablets */
        max-width: none;
        min-width: 0;
        padding: 10px 8px;
    }

    .focus-nav-list .simple-tab-text {
        font-size: 0.8rem;
        white-space: normal;
        /* allow wrapping */
    }
}

/* Mobile → 1 column */
@media (max-width: 576px) {
    .focus-nav-list {
        grid-template-columns: 1fr;
    }

    .focus-nav-list .simple-tab-text {
        white-space: normal;
        /* allow wrapping on small screens */
    }
}

@media (max-width: 480px) {
    .focus-nav-list .simple-tab-item {
        flex: 1 1 100%;
        /* full width on mobile */
    }
}



/* Thanks-css */


.thanks-hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thanks-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(63, 169, 148, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.thanks-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.thanks-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.thanks-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary) !important;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.thanks-hero h1 span {
    color: var(--primary);
    display: inline-block;
    position: relative;
}

.thanks-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-light);
    opacity: 0.4;
    z-index: -1;
}

.thanks-hero p {
    font-size: 1.2rem;
    color: var(--dark) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Main thank you card */
.thanks-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    padding: 3rem 2.5rem;
    margin: -80px auto 60px;
    max-width: 800px;
    position: relative;
    z-index: 10;
    text-align: center;
    border: 1px solid rgba(63, 169, 148, 0.15);
    backdrop-filter: blur(2px);
}

.thanks-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, var(--light-green), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -100px auto 25px;
    box-shadow: var(--shadow);
    border: 4px solid var(--light);
}

.thanks-icon i {
    font-size: 4rem;
    color: var(--primary);
    filter: drop-shadow(0 4px 6px rgba(63, 169, 148, 0.3));
}

.thanks-card h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.thanks-card h2 span {
    color: var(--primary);
}

.thanks-card p {
    font-size: 1.1rem;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.thanks-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 1rem;
}

.thanks-btn-primary {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 8px 18px rgba(63, 169, 148, 0.25);
}

.thanks-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(63, 169, 148, 0.35);
}

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

.thanks-btn-outline:hover {
    background: var(--light-green);
    transform: translateY(-3px);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.thanks-btn-outline i {
    color: var(--primary);
}

/* Decorative floating hearts (low opacity, but that's fine) */
.thanks-floating-heart {
    position: absolute;
    font-size: 1.2rem;
    color: var(--accent-light);
    opacity: 0.3;
    animation: thanksFloat 6s infinite ease-in-out;
}

@keyframes thanksFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

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

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

/* Responsive */
@media (max-width: 768px) {
    .thanks-hero h1 {
        font-size: 2.5rem;
    }

    .thanks-card {
        margin-top: -50px;
        padding: 2.5rem 1.5rem;
    }

    .thanks-icon {
        width: 100px;
        height: 100px;
        margin-top: -70px;
    }

    .thanks-icon i {
        font-size: 3rem;
    }

    .thanks-card h2 {
        font-size: 2rem;
    }

    .thanks-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .thanks-hero h1 {
        font-size: 2rem;
    }

    .thanks-card h2 {
        font-size: 1.8rem;
    }

    .thanks-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thanks-btn {
        width: 100%;
        justify-content: center;
    }
}