        :root {
            --bg-outer: #f0f4f9;
            --bg-inner: #f7f9fd;
            --accent: #e5eaf0;
            --text-dark: #111111;
            --text-gray: #666666;
            --card-dark: #16181d;
            --border-radius-lg: 40px;
            --border-radius-md: 24px;
            --font-main: 'Manrope', sans-serif;
            --accent2: #e5eaf0
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Starts hidden */
}

/* Staggered delays for the column items */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Subtle Scale on Cards */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

        body {
            background-color: var(--bg-outer);
            font-family: var(--font-main);
            color: var(--text-dark);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            padding: 10px;
            gap: 20px;
            width: 100%;
            overflow-x: hidden;
        }

        .app-container {
            background-color: var(--bg-inner);
            width: 100%;
            max-width: 1440px;
            border-radius: var(--border-radius-lg);
            padding: 20px;
            display: flex;
            gap: 60px;
            flex-direction: column;
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
            overflow: visible;
        }

        .spotlight-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 40px;
    align-items: center;
    background: #fcfcfc;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

/* Visuals Column */
.spotlight-visuals {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-main, .circle-medium, .circle-small {
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.circle-main {
    width: 320px;
    height: 320px;
    z-index: 2;
    border: 8px solid white;
}

.circle-medium {
    width: 180px;
    height: 180px;
    right: 10%;
    top: 15%;
    z-index: 3;
    border: 6px solid white;
}

.circle-small {
    width: 120px;
    height: 120px;
    left: 5%;
    bottom: 15%;
    z-index: 3;
    border: 4px solid white;
}

.spotlight-visuals img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Accent Dots */
.accent-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}
.dot-orange { background: #f39c12; top: 20%; left: 15%; }
.dot-green { background: #27ae60; bottom: 25%; right: 25%; }

/* Content Column */
.spotlight-content {
    text-align: left;
}

.button-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-pill {
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    color: white;
    font-family: inherit;
}
.btn-green { background: #1b7355; }
.btn-black { background: #111; }

.spotlight-content h2 {
    font-size: 2.8rem;
    font-family: serif; /* Matches the look of the screenshot */
    line-height: 1.1;
    margin-bottom: 20px;
    color: #222;
}

.highlight-text {
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.description-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.description-text p { margin-bottom: 15px; }

.learn-more-link {
    color: #f39c12;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}
.learn-more-link:hover { border-bottom-color: #f39c12; }

/* Responsive */
@media (max-width: 980px) {
    .spotlight-feature {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    .spotlight-visuals { height: 400px; }
    .circle-main { width: 250px; height: 250px; }
    .circle-medium { width: 140px; height: 140px; }
    .circle-small { width: 100px; height: 100px; }
}
        .hero-container {
            position: relative;
            height: 33rem;
        }

        .hero-section {
            position: relative;
            width: 100%;
            height: 30rem;
            min-height: 500px;
            border-radius: var(--border-radius-md);
            overflow: hidden;
        }

        

        .hero-slide {
            position: absolute; 
            top:0; 
            left:0;
            width:100%; 
            height:100%;
            background-size: cover;
            background-position: center;
            opacity:0;
            transition: opacity 1.5s ease-in-out;
        }

        .hero-slide.active {
            opacity:1;
            z-index:1;
        }

        .photo-credit {
            position: absolute;
            bottom: 20px;
            right: 20px;
            color: #fff;
            padding: 5px 12px;
            font-size: 0.7rem;
            background: rgba(0,0,0,0.3);
            border-radius: 4px;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            pointer-events: none;
            z-index: 10;
        }

        .hero-slide.active .photo-credit { opacity: 1; }

  
        header {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            z-index: 10000; 
        }


        @media (max-width: 600px) {
            header {
                justify-content: center;
                left: 0;
                right: 0;
                flex-direction: column;
                align-items: center;
                gap: 0;
            }
        }

        .nav-wrapper {
            position: relative;
        }

        .menu-btn {
            background: rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(22px) saturate(180%);
            -webkit-backdrop-filter: blur(22px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.60);
            border-bottom-color: rgba(255, 255, 255, 0.25);
            border-right-color:  rgba(255, 255, 255, 0.25);
            border-radius: 30px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            color: #000;
            text-shadow: none;
            cursor: pointer;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.22),
                0 2px 8px  rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.80),
                inset 1px 0 0 rgba(255, 255, 255, 0.55);
            transition: background 0.25s ease, transform 0.2s ease;
            position: relative;
            z-index: 300;
            overflow: hidden;
        }

        .contact-section-wrap {
    margin-top: 48px;
    margin-bottom: 12px;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: start;
}

/* ── Info Panel ── */
.contact-info-panel {
    background: var(--card-bg, #f7f9fd);;
    border-radius: 20px;
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.dark-mode .contact-info-panel {
    background: #1d2229;

}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-logo-chip {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-green, #2b2b2b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-heading {
    margin: 0;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: var(--text-dark, #1a2332);
    line-height: 1.2;
}

body.dark-mode .contact-heading {
    color: #f0f6fc;
}

.contact-subheading {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted, #6b7280);
}

.contact-org-desc {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.65;
    padding-bottom: 4px;
}

body.dark-mode .contact-org-desc {
    border-color: rgba(255,255,255,0.08);
}

body.dark-mode .contact-section-wrap{
    background-color: #1d2229;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent, #e8f0e9);
    color:  #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
}

body.dark-mode .contact-icon-wrap {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

body.dark-mode .cf-submit{
    background-color: var(--bg-inner);
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #6b7280);
}

.contact-detail-text span:not(.contact-detail-label) {
    font-size: 0.9rem;
    color: var(--text-dark, #1a2332);
    font-weight: 500;
}

body.dark-mode .contact-detail-text span:not(.contact-detail-label) {
    color: #c9d1d9;
}

.contact-link {
    font-size: 0.9rem;
    color: var(--accent-green, #2b2b2b);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

body.dark-mode .contact-link {
    color: #ffffff;
}

.contact-link:hover { opacity: 0.75; text-decoration: underline; }

/* ── Form Panel ── */
.contact-form-panel {
    background: white;
    border-radius: 20px;
    padding: clamp(24px, 3vw, 40px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

body.dark-mode .contact-form-panel {
    background: var(--card-dark, #21262d);
    border-color: rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    margin: 0 0 24px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark, #1a2332);
}

body.dark-mode .contact-form-title {
    color: #f0f6fc;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted, #6b7280);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cf-label i {
    color: var(--accent-green, #2b2b2b);
    font-size: 0.75rem;
}

body.dark-mode .cf-label i {
    color: #ffffff;
}

.cf-input {
    background: rgb(233, 235, 238);
    border: none;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: var(--text-dark, #1a2332);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

body.dark-mode .cf-input {
    background: rgba(255,255,255,0.05);
    border-color: rgba(0, 0, 0, 0.12);
    color: #c9d1d9;
}

.cf-input::placeholder {
    color: var(--text-muted, #9ca3af);
}

.cf-input:focus {
    border-color: var(--accent-green, #000000);
    box-shadow: 0 0 0 3px rgba(46, 46, 46, 0.12);
}

body.dark-mode .cf-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.cf-textarea {
    resize: vertical;
    min-height: 120px;
}

.cf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--accent-green, #2b2b2b);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    align-self: flex-start;
}

.cf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 68, 68, 0.3);
}

.cf-submit:active {
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 760px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cf-row {
        grid-template-columns: 1fr;
    }
    .cf-submit {
        width: 100%;
    }
}


        .menu-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 30px;
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.35) 0%,
                rgba(255,255,255,0.04) 55%,
                rgba(255,255,255,0.15) 100%
            );
            pointer-events: none;
        }

        .menu-btn:hover {
            background: rgba(255, 255, 255, 0.28);
            transform: translateY(-1px);
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 4px;
            background: transparent;
            padding: 4px;
            border-radius: 50%;
        }

        .hamburger span {
            display: block;
            width: 14px;
            height: 2px;
            background: #000;
            filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Hamburger Animation */
        .menu-btn.active .hamburger span:nth-child(1) {
            transform: translateY(3px) rotate(45deg);
        }
        
        .menu-btn.active .hamburger span:nth-child(2) {
            transform: translateY(-3px) rotate(-45deg);
        }


        .dropdown-menu {
            position: absolute;
            top: calc(100% + 15px);
            left: 0;
            background: rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(22px) saturate(180%);
            -webkit-backdrop-filter: blur(22px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.60);
            border-bottom-color: rgba(255, 255, 255, 0.25);
            border-right-color:  rgba(255, 255, 255, 0.25);
            border-radius: 20px;
            min-width: 200px;
            display: flex;
            flex-direction: column;
            padding: 10px 0;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.22),
                0 2px 8px  rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.80),
                inset 1px 0 0 rgba(255, 255, 255, 0.55);
            z-index: 200;
            overflow: hidden; /* clips child hover backgrounds to border-radius */

            /* Hidden State */
            opacity: 0;
            visibility: hidden;
            transform: translateY(-15px);
            transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                        visibility 0.3s;
        }

        .dropdown-menu::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.35) 0%,
                rgba(255,255,255,0.04) 55%,
                rgba(255,255,255,0.15) 100%
            );
            pointer-events: none;
            z-index: 0;
        }

        .dropdown-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            position: relative;
            z-index: 1;
            padding: 12px 25px;
            font-weight: 600;
            color: #111;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .dropdown-item-link {
            position: relative;
            z-index: 1;
            padding: 12px 25px;
            font-weight: 600;
            color: #111;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        

        .dropdown-item:hover {
            background: rgba(255, 255, 255, 0.30);
        }

        .dropdown-item::after {
            content: "›";
            font-size: 1.2em;
            opacity: 0.5;
            transition: transform 0.2s;
        }

        .dropdown-item-link::after {
            content: "";
            font-size: 1.2em;
            opacity: 0.5;
            transition: transform 0.2s;
        }

        .dropdown-item:hover::after {
            transform: translateX(3px);
            opacity: 1;
        }

        .sub-menu { display: none; }

        .sub-menu-portal {
            position: absolute;
            background: rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(22px) saturate(180%);
            -webkit-backdrop-filter: blur(22px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.60);
            border-bottom-color: rgba(255, 255, 255, 0.25);
            border-right-color:  rgba(255, 255, 255, 0.25);
            border-radius: 20px;
            min-width: 180px;
            padding: 10px 0;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.22),
                0 2px 8px  rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.80),
                inset 1px 0 0 rgba(255, 255, 255, 0.55);
            z-index: 9999;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateX(-12px);
            transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                        visibility 0.25s;
        }

        .sub-menu-portal.visible {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .sub-menu-portal::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(
                135deg,
                rgba(255,255,255,0.35) 0%,
                rgba(255,255,255,0.04) 55%,
                rgba(255,255,255,0.15) 100%
            );
            pointer-events: none;
        }

        .sub-menu-portal .sub-item {
            position: relative;
            z-index: 1;
            padding: 10px 25px;
            font-size: 14px;
            font-weight: 500;
            color: #111;
            cursor: pointer;
            transition: background 0.2s;
        }

        .sub-menu-portal .sub-item:hover {
            background: rgba(255, 255, 255, 0.35);
        }

        /* --- THE SMOOTH CUTOUT --- */
        .bottom-cutout {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 280px; 
            height: 80px;
            background-color: var(--bg-inner);
            mask: url("data:image/svg+xml,%3Csvg width='280' height='80' viewBox='0 0 280 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80H280V70C280 70 250 70 230 60C210 50 200 0 140 0C80 0 70 50 50 60C30 70 0 70 0 70V80Z' fill='black'/%3E%3C/svg%3E");
            -webkit-mask: url("data:image/svg+xml,%3Csvg width='280' height='80' viewBox='0 0 280 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80H280V70C280 70 250 70 230 60C210 50 200 0 140 0C80 0 70 50 50 60C30 70 0 70 0 70V80Z' fill='black'/%3E%3C/svg%3E");
            mask-size: 100% 100%;
            -webkit-mask-size: 100% 100%;
            z-index: 10;
            margin-top: -70px;
        }

        .cta-button-container {
            position: absolute;
            margin-top: -60px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 20;
        }

        .cta-btn {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 8px solid var(--bg-inner);
        }

        .cta-btn img { height: 130px; }

   
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 40px;
            padding: 20px;
            width: 100%;
        }

        h1 {
            font-size: clamp(32px, 4vw, 52px);
            line-height: 1.1;
            font-weight: 800;
            margin-bottom: 20px;
            letter-spacing: -1px;
            text-align: justify;
        }

        /* Replace existing .info-bar and .stats styles with these */
.info-bar {
    margin-bottom: 30px;
    background: #ffffff; /* Clean white background */
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* Very subtle lift */
    border: 1px solid rgba(0,0,0,0.05);
    justify-content: center;
    align-items: center;
}



.slogan {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 350px;
    line-height: 1.4;
    border-left: 3px solid var(--accent); /* Visual link between title and team */
    padding-left: 15px;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
}

.team-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Remove the old hr styling if you want to clean up the CSS entirely */
hr { display: none; }
        .stats {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.4;
        }

        .avatar-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 15px;
            font-size: clamp(45px, 6vw, 78px); 
        }

        .avatar-row { display: flex; justify-content: flex-start; }
        .avatar-row.second-row { padding-left: 0.35em; margin-top: -0.2em; }

        .avatar-group-item {
               width: 100px;
    height: 100px;
            border-radius: 50%;
            border: 3px solid white;
            background-color: var(--accent);
            margin-right: -0.15em; 
            object-fit: cover;
        }

        .outlines {
            display: flex;
            gap: 20px;
            margin-top: 30px;
            justify-content: center;
            align-items: center;
        }

        .outline-card { text-align: center; width: clamp(70px, 10vw, 100px); }
        .outline-img-box { position: relative; margin-bottom: 15px; }
        .outline-img-box img { width: 100%; aspect-ratio: 1/1; border-radius: 50%; object-fit: cover; }

        .outline-btn {
            position: absolute;
            bottom: -5px;
            right: 5%;
            background-color: black;
            color: white;
            width: clamp(18px, 3vw, 24px);
            height: clamp(18px, 3vw, 24px);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: clamp(8px, 1.5vw, 12px);
            border: 2px solid var(--bg-inner);
        }

        .outline-card p { font-size: clamp(9px, 1.5vw, 11px); font-weight: 700; line-height: 1.3; }

        .cards-column {
            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 100%;
        }

        .feature-card {
            background: var(--card-dark);
            border-radius: var(--border-radius-md);
            height: 200px;
            display: flex;
            overflow: hidden;
            color: white;
            position: relative;
            width: 100%;
        }

        .card-body {
            padding: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            z-index: 2;
        }

        .card-num { color: var(--accent); font-weight: 800; margin-bottom: 10px; }
        .card-text { font-size: 14px; opacity: 0.8; line-height: 1.5; max-width: 200px; }
        .card-btn {
    background: white;
    border: none;
    padding: 8px 24px; /* Increased padding for the arrow space */
    border-radius: 20px;
    width: fit-content;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

/* The Hidden Arrow */
.card-btn::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-btn:hover {
    padding-right: 35px;
    background: var(--accent);
}

.card-btn:hover::after {
    right: 12px;
    opacity: 1;
}

        .card-img {
            width: 50%;
            height: 100%;
            object-fit: cover;
            mask-image: linear-gradient(to right, transparent, black 40%);
            -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
        }


        footer {
            text-align: center;
            padding: 2rem 0.5rem;
            font-size: 16px;
            color: var(--text-gray);
            line-height: 1.6;
            font-weight: 700;
        }

        hr {
            margin-top: 5px;
            margin-bottom: 5px;
            background-color: #666666;
            height: 3px;
            border-radius: 50px;
            width: auto;
            border: none;
        }

        .normal-button {
            display: inline-block;
            text-decoration: none;
            background: #222;
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            border: none;
            transition: background 0.2s;
            cursor: pointer;
            font-weight: 700;
            margin-bottom: 10px;
        }

        


        @media (max-width: 1054px) {
            .content-grid { grid-template-columns: 1fr; }
            .hero-section { height: auto; }
            .avatar-container { align-items: center; }
            .avatar-row.second-row {padding-left: 0px;}
            .outlines { justify-content: center; padding-bottom: 10px; }
            .avatar-group-item {width: 80px; height: 80px;}
            .title{text-align: center;}
            .slogan{text-align: center; max-width: none !important; border: none !important;}
        }

        @media (max-width: 600px) {
            .app-container { border-radius: 20px; padding: 15px; gap: 40px; }
            .photo-credit { right: 50%; transform: translateX(50%); bottom: 80px; }
            header { justify-content: center; left: 0; right: 0; }
            

            .dropdown-menu { min-width: 170px; }
            .sub-menu { min-width: 160px; left: calc(100% + 5px); }
        }

        @media (max-width: 460px) {
            .avatar-group-item {width: 70px; height: 70px;}

        }

        @media (max-width: 415px) {
            .avatar-group-item {width: 60px; height: 60px;}
            .info-bar{padding: 10px;}
        }
        @media (max-width: 396px) {
            .avatar-group-item {width: 60px; height: 60px;}
            .info-bar{padding-left: 5px !important; padding-right: 5px !important;}
        }

         @media (max-width: 360px) {
           .hero-pagination{
            left: 50% !important;
    transform: translate(-50%, -50%);
    bottom: 50px !important;
    position: absolute;
           }
         }

        @media (max-width: 480px) {
            body { padding: 5px; }
            .app-container { border-radius: 15px; padding: 10px; }
            
            .cta-btn { width: 90px; height: 90px; border-width: 8px; }
            .cta-btn img { height: 80px !important; }
            .bottom-cutout { width: 200px; height: 50px; margin-top: -40px; }
            .cta-button-container { margin-top: -40px; }
            
            

            .feature-card { 
                height: 160px; 
                background-size: cover; 
                background-position: center;
                background-repeat: no-repeat;
            }
            .card-img { display: none; }
            
            .card-body { 
                padding: 15px; 
                align-items: center; 
                text-align: center; 
                background: rgba(0,0,0,0.5); 
                width: 100%;
            }
            
            .card-text { font-size: 12px; margin-bottom: 8px; opacity: 1; max-width: 100%; color: white;}
            .card-num { font-size: 14px; margin-bottom: 5px; color: white; }
            .card-btn { padding: 6px 15px; font-size: 11px; }

            .card-research { background-image: url('img/summer bear4_mv.jpg'); }
            .card-education { background-image: url('img/jarod_profile.jpg'); }
            .card-melissodes { background-image: url('img/2hero.JPG'); }
            .card-rehab { background-image: url('img/Cyan\ March\ 24_mjrh.jpg'); }
        }

        @media (max-width: 350px) {
            .outlines { gap: 5px; }
            .outline-img-box img { width: 50px; height: 50px; }
            .outline-card { width: auto; }

            .avatar-group-item {width: 50px; height: 50px;}
        
            .sub-menu {
                left: 10px; 
                top: 80%;
            }
        }

         @media (max-width: 300px) {
            .avatar-group-item {width: 40px; height: 40px;}
        }

        @media (max-width: 250px) {
            .avatar-group-item {width: 30px; height: 30px;}
        }

        @media (max-width: 600px) {


            .menu-btn,
            #mainDropdown { display: none !important; }

            .mob-hamburger {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 8px 16px;
                background: rgba(255,255,255,0.18);
                backdrop-filter: blur(22px) saturate(180%);
                -webkit-backdrop-filter: blur(22px) saturate(180%);
                border: 1px solid rgba(255,255,255,0.60);
                border-bottom-color: rgba(255,255,255,0.25);
                border-right-color:  rgba(255,255,255,0.25);
                border-radius: 30px;
                box-shadow:
                    0 8px 32px rgba(0,0,0,0.22),
                    0 2px 8px  rgba(0,0,0,0.12),
                    inset 0 1px 0 rgba(255,255,255,0.80),
                    inset 1px 0 0 rgba(255,255,255,0.55);
                cursor: pointer;
                position: relative;
                overflow: hidden;
                font-weight: 700;
                font-size: 0.9rem;
                color: #111;
                font-family: var(--font-main);
            }

            .mob-hamburger::before {
                content: '';
                position: absolute;
                inset: 0;
                border-radius: 30px;
                background: linear-gradient(135deg,
                    rgba(255,255,255,0.35) 0%,
                    rgba(255,255,255,0.04) 55%,
                    rgba(255,255,255,0.15) 100%);
                pointer-events: none;
            }

            .mob-hamburger .mob-icon {
                display: flex;
                flex-direction: column;
                gap: 4px;
                width: 14px;
            }

            .mob-hamburger .mob-icon span {
                display: block;
                height: 2px;
                background: #111;
                border-radius: 2px;
                transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
            }

            

            .mob-hamburger.open .mob-icon span:nth-child(1) {
                transform: translateY(3px) rotate(45deg);
            }
            .mob-hamburger.open .mob-icon span:nth-child(2) {
                transform: translateY(-3px) rotate(-45deg);
            }

            

            .mob-nav-drawer {
                position: absolute;
                top: calc(100% + 10px);
                left: 50%;
                transform: translateX(-50%);
                width: 220px;
                background: rgba(255,255,255,0.18);
                backdrop-filter: blur(22px) saturate(180%);
                -webkit-backdrop-filter: blur(22px) saturate(180%);
                border: 1px solid rgba(255,255,255,0.60);
                border-bottom-color: rgba(255,255,255,0.25);
                border-right-color:  rgba(255,255,255,0.25);
                border-radius: 20px;
                box-shadow:
                    0 8px 32px rgba(0,0,0,0.22),
                    0 2px 8px  rgba(0,0,0,0.12),
                    inset 0 1px 0 rgba(255,255,255,0.80),
                    inset 1px 0 0 rgba(255,255,255,0.55);
                overflow: hidden;
                /* Closed state */
                max-height: 0;
                opacity: 0;
                pointer-events: none;
                transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1),
                            opacity 0.25s ease;
                z-index: 500;
            }

            .mob-nav-drawer::before {
                content: '';
                position: absolute;
                inset: 0;
                background: linear-gradient(135deg,
                    rgba(255,255,255,0.32) 0%,
                    rgba(255,255,255,0.03) 55%,
                    rgba(255,255,255,0.13) 100%);
                pointer-events: none;
                z-index: 0;
            }

            .mob-nav-drawer.open {
                max-height: 600px;
                opacity: 1;
                pointer-events: auto;
            }

            .mob-nav-item {
                position: relative;
                z-index: 1;
                padding: 10px 18px;
                font-weight: 700;
                font-size: 0.85rem;
                color: #111;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: background 0.2s;
                border: none;
            }

            .mob-nav-item:hover { background: rgba(255,255,255,0.20); }


            .mob-nav-item.open {
                background: rgba(255,255,255,0.22);
                border-top: 1px solid rgba(255,255,255,0.60);
                border-bottom: 1px solid rgba(255,255,255,0.60);
            }

            .mob-nav-item .mob-chevron {
                font-size: 1em;
                opacity: 0.45;
                transition: transform 0.25s, opacity 0.2s;
                display: inline-block;
            }

            .mob-nav-item.open .mob-chevron {
                transform: rotate(90deg);
                opacity: 1;
            }

            .mob-sub-list {
                position: relative;
                z-index: 1;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
                background: rgba(0,0,0,0.06);
            }

            .mob-sub-list.open {
                max-height: 300px;
            
                border-bottom: 1px solid rgba(255,255,255,0.60);
            }

            .mob-sub-item {
                padding: 8px 18px 8px 30px;
                font-size: 0.82rem;
                font-weight: 500;
                color: #222;
                cursor: pointer;
                transition: background 0.2s;
            }

            .mob-sub-item:hover { background: rgba(255,255,255,0.3); }
        }


        @media (min-width: 601px) {
            .mob-hamburger,
            .mob-nav-drawer { display: none !important; }
        }

        /* Sub-item links */
        .sub-menu-portal .sub-item a,
        .sub-menu-portal .sub-item a:visited {
            color: #111;
            text-decoration: none;
            display: block;
            width: 100%;
            height: 100%;
        }
        .mob-sub-item a,
        .mob-sub-item a:visited {
            color: #222;
            text-decoration: none;
            display: block;
            width: 100%;
        }

        .hero-pagination {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10000; /* Ensure it stays above the images */
}

.hero-pagination .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-pagination .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-pagination .dot.active {
    width: 24px; /* The "Longer" effect */
    border-radius: 10px;
    background: white;
}

.spotlight-content h2 {
    font-size: 2.8rem;
    font-family: var(--font-main); /* Using main font for a more modern, lasting look */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -1.5px;
}

/* Make the highlight text feel like a mission statement */
.highlight-text {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #1b7355; /* Using your green for the key message */
}

/* Ensure the layout doesn't feel like a temporary popup */
.spotlight-feature {
    background: #ffffff; /* Pure white looks more permanent than off-white */
    border: 1px solid rgba(0,0,0,0.05);
}
@keyframes smoothPulse {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
}

/* 2. Apply to the Button */
.btn-black {
    background: #111;
    position: relative;
    /* transition must use the same cubic-bezier for smoothness */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: smoothPulse 3s infinite ease-in-out;
    will-change: transform; /* Tells the browser to prepare the GPU */
}

/* 3. Hover State */
.btn-black:hover {
    animation-play-state: paused; /* Freezes the pulse where it is */
    background: #333;
    transform: scale(1.08) translateY(-3px); /* Smooth lift */
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* 4. Click State */
.btn-black:active {
    transform: scale(0.95);
    transition: all 0.1s;
}

.home-btn {
 background: rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(22px) saturate(180%);
            -webkit-backdrop-filter: blur(22px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.60);
            border-bottom-color: rgba(255, 255, 255, 0.25);
            border-right-color:  rgba(255, 255, 255, 0.25);
            border-radius: 30px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            color: #000;
            text-shadow: none;
            cursor: pointer;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.22),
                0 2px 8px  rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.80),
                inset 1px 0 0 rgba(255, 255, 255, 0.55);
            transition: background 0.25s ease, transform 0.2s ease;
            position: relative;
            z-index: 300;
            overflow: hidden;
        
}

.home-btn:hover {
            background: rgba(255, 255, 255, 0.28);
            transform: translateY(-1px);
        }

.home-btn:active {
    transform: scale(0.95);
}

/* =========================================
   HEADER & NAVIGATION LAYOUT
   ========================================= */
header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10000;
    width: calc(100% - 40px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* =========================================
   SETTINGS DROPDOWN & ITEMS
   ========================================= */
.settings-wrapper { 
    position: relative; 
}

.settings-dropdown { 
    right: 0; 
    left: auto; 
    padding: 15px; 
    min-width: 220px; 
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
}

.dropdown-item-link{
    color: #111;
    
}

/* =========================================
   TOGGLE SWITCH (Cleaned & Sized)
   ========================================= */
.switch { position: relative; display: inline-block; width: 34px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }

.slider { 
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; 
    background: #ccc; transition: .3s; border-radius: 20px; 
}

.slider:before { 
    position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; 
    background: white; transition: .3s; border-radius: 50%; 
}

input:checked + .slider { background: #27ae60; }
input:checked + .slider:before { transform: translateX(16px); }

/* =========================================
   DARK MODE CONFIGURATION
   ========================================= */
body.dark-mode {
    --bg-outer: #0d1117;
    --bg-inner: #161b22;
    --accent: #30363d;
    --text-dark: #f0f6fc;
    --text-gray: #8b949e;
    --card-dark: #21262d;
    --accent2: #30363d
}

/* Dark Mode UI Adjustments */
body.dark-mode .menu-btn, 
body.dark-mode .home-btn,
body.dark-mode .settings-item, 
body.dark-mode .dropdown-menu{ 
    color: black !important; 
}
body.dark-mode .hamburger span { background: black; }

body.dark-mode.low-perf .menu-btn,
body.dark-mode.low-perf .home-btn,
body.dark-mode.low-perf .settings-item,
body.dark-mode.low-perf .dropdown-item,
body.dark-mode.low-perf .dropdown-item-link,
body.dark-mode.low-perf .sub-menu-portal::before { 
    color: white !important; 
}
body.dark-mode.low-perf .hamburger span { background: white; }

/* =========================================
   LOW PERFORMANCE MODE (Glass/Animation Disable)
   ========================================= */
body.low-perf, body.low-perf * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation-duration: 0s !important; 
    transition: none !important;
}

/* Solid backgrounds for readability */
body.low-perf .menu-btn, 
body.low-perf .home-btn, 
body.low-perf .dropdown-menu,
body.low-perf .info-bar,
body.low-perf .sub-menu-portal::before,
body.low-perf .sub-menu-portal{
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}


/* =========================================
   MIXTURE FIX: DARK MODE + LOW PERF
   ========================================= */
body.dark-mode.low-perf .menu-btn,
body.dark-mode.low-perf .home-btn,
body.dark-mode.low-perf .dropdown-menu,
body.dark-mode.low-perf .sub-menu-portal::before,
body.dark-mode.low-perf .sub-menu-portal,
body.dark-mode.low-pref .mob-hamburger::before,
body.dark-mode.low-pref .mob-nav-drawer{
    background: #21262d !important;
    color: white !important;
    border: 1px solid #30363d !important;
    box-shadow: none !important;
}

body.dark-mode.low-perf #mobToggle,

body.dark-mode.low-perf .mob-sub-list,
body.dark-mode.low-perf #mobDrawer {
    background: #21262d !important;
    border: 1px solid #30363d !important;
    box-shadow: none !important;
}

body.dark-mode.low-perf #mobToggle {
    color: white;
}
body.dark-mode.low-pref .mob-sub-item a, 
body.dark-mode.low-pref .mob-sub-item a:visited{
    color: white !important;
}


body.dark-mode.low-perf .mob-sub-list {
    border: none !important;
}

body.dark-mode.low-perf .mob-icon span{
    background: white;
}

body.dark-mode.low-perf .mob-nav-item{
background: #21262d !important;
    color: white !important;
    border: none !important;
}

body.dark-mode.low-perf .mob-hamburger::before{
    background:none;
}

body.dark-mode.low-perf .sub-item a{
    color: white !important;
}

body.dark-mode.low-perf .mob-sub-item a{
    color: white !important;
}

body.dark-mode.low-perf .dropdown-menu::before,
body.dark-mode.low-perf .menu-btn::before {
    background: none !important;
}

body.dark-mode .card-num{
color: white;
}

body.dark-mode .info-bar,
body.dark-mode .contact-form input, 
body.dark-mode .contact-form textarea {
    background: #21262d !important;
    color: white !important;
    border: 1px solid #30363d !important;
}
/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 600px) {
    header {
        justify-content: center !important;
        left: 0;
        right: 0;
        flex-direction: row;
        align-items: flex-start;
        padding: 0 15px;
        width: 100%;
    }
}



body.low-perf .menu-btn,
body.low-perf .home-btn,
body.low-perf .dropdown-menu,
body.low-perf .sub-menu-portal::before,
body.low-perf .sub-menu-portal,
body.low-pref .mob-hamburger::before,
body.low-pref .mob-nav-drawer{
    background: #ffffff !important;
    color: rgb(0, 0, 0) !important;
    box-shadow: none !important;
}

body.low-perf #mobToggle,

body.low-perf .mob-sub-list,
body.low-perf #mobDrawer {
    background: #ffffff !important;
    box-shadow: none !important;
}

body.low-perf #mobToggle {
    color: rgb(0, 0, 0);
}
body.low-pref .mob-sub-item a, 
body.low-pref .mob-sub-item a:visited{
    color: rgb(0, 0, 0) !important;
}


body.low-perf .mob-sub-list {
    border: none !important;
}

body.low-perf .mob-icon span{
    background: rgb(0, 0, 0);
}

body.low-perf .mob-nav-item{
background: #ffffff !important;
    color: rgb(0, 0, 0) !important;
    border: none !important;
}

body.low-perf .mob-hamburger::before{
    background:none;
}

body.low-perf .sub-item a{
    color: rgb(0, 0, 0) !important;
}

body.low-perf .mob-sub-item a{
    color: rgb(0, 0, 0) !important;
}

/* Shared glass surface */
.glass-surface {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 20px;
}

/* Shared ghost link button */
.gr-link-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.70);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s, letter-spacing 0.2s;
    text-transform: uppercase;
}
.gr-link-btn:hover { color: #fff; letter-spacing: 0.09em; }

/* ── ROW 1: Editorial Spotlight ── */
.gr1-banner {
    display: grid;
    grid-template-columns: 1fr 0.52fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.gr1-quote-side {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 22px;
    padding: clamp(24px,3.5vw,44px) clamp(22px,3.5vw,44px);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gr1-rule {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.45);
    border-radius: 2px;
}

.gr1-blockquote {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.55;
    color: #fff;
    letter-spacing: 0.01em;
}

.gr1-byline {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gr1-body {
    margin: 0;
    font-size: clamp(0.82rem, 1.4vw, 0.92rem);
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    flex: 1;
}

.gr1-thumbs-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gr1-thumb {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.18);
}
.gr1-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.gr1-thumb:hover img { transform: scale(1.05); }

.gr1-thumb-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.82);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 12px;
}

/* ── ROW 2: Journal Entry Cards ── */
.gr2-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.gr2-card {
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.28s ease, background 0.28s;
}
.gr2-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.14); }

/* Middle card gets a subtle green tint so the row isn't monotone */
.gr2-card--mid {
    background: rgba(80,170,110,0.13);
    border-color: rgba(100,200,140,0.25);
}

.gr2-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.gr2-card:hover .gr2-card-img { transform: scale(1.04); }

.gr2-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.gr2-date {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.gr2-card-title {
    margin: 0;
    font-size: clamp(0.88rem, 1.6vw, 1.02rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.gr2-card-text {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    flex: 1;
}

/* ── ROW 3: Newsletter Strip ── */
.gr3-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 18px;
    padding: clamp(18px, 2.5vw, 26px) clamp(20px, 3vw, 36px);
}

.gr3-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.gr3-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 160px;
    text-align: left;
}
.gr3-text strong {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
}
.gr3-text span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.62);
}

.gr3-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.gr3-input {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    color: #fff;
    font-size: 0.88rem;
    padding: 11px 20px;
    outline: none;
    min-width: 200px;
    transition: background 0.2s, border-color 0.2s;
}
.gr3-input::placeholder { color: rgba(255,255,255,0.45); }
.gr3-input:focus { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

.gr3-submit {
    background: #fff;
    color: #1a2b1a;
    border: none;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 26px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.gr3-submit:hover { background: rgba(255,255,255,0.88); transform: translateY(-2px); }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
    .gr1-banner { grid-template-columns: 1fr; }
    .gr1-thumbs-side { flex-direction: row; min-height: 160px; }
    .gr2-cards { grid-template-columns: 1fr 1fr; }
    .gr2-cards .gr2-card:last-child { grid-column: 1 / -1; }
    .gr2-cards .gr2-card:last-child .gr2-card-img { height: 200px; }
}

@media (max-width: 560px) {
    .gr2-cards { grid-template-columns: 1fr; }
    .gr2-cards .gr2-card:last-child { grid-column: auto; }
    .gr3-strip { flex-direction: column; align-items: flex-start; }
    .gr3-form { width: 100%; }
    .gr3-input { min-width: unset; flex: 1; width: 100%; }
    .gr3-text { min-width: unset; }
    .gr1-thumbs-side { flex-direction: column; }
}

@media (max-width: 420px) {
    .img-bg-content { padding-left: 16px !important; padding-right: 16px !important; }
}

*/* --- ACCESSIBLE SMOOTH SCROLLBAR --- */

/* --- ACCESSIBLE SMOOTH SCROLLBAR --- */

/* Remove Arrows globally */
::-webkit-scrollbar-button {
    display: none;
}

/* Global Width */
::-webkit-scrollbar {
    width: 10px;
}

/* --- LIGHT MODE (Default) --- */
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background-color: #f8f9fa; /* Light grey track */
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); 
    border-radius: 20px;
    border: 2px solid #f8f9fa; /* Matches track for floating effect */
    background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4); 
}

/* --- DARK MODE OVERRIDE --- */
/* Target both html and body to ensure no browser default takes over */
html.dark-mode::-webkit-scrollbar-track,
body.dark-mode::-webkit-scrollbar-track {
    background-color: #0d1117 !important;
}

html.dark-mode::-webkit-scrollbar-thumb,
body.dark-mode::-webkit-scrollbar-thumb {
    background-color: #30363d !important;
    border: 2px solid #0d1117 !important;
    background-clip: content-box;
    border-radius: 20px;
}

html.dark-mode::-webkit-scrollbar-thumb:hover,
body.dark-mode::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.45) !important; 
}