/* ============================================================
   HOME MODERN UPGRADE — Manappuram Employees Welfare Trust
   Premium design layer on top of existing Bootstrap/style.css
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS TOKENS ---------- */
:root {
    --red:        #1d55e1;
    --red-dark:   #9F1239;
    --red-light:  #FFF1F2;
    --amber:      #c60bf5;
    --amber-dark: #B45309;
    --amber-light:#FFFBEB;
    --navy:       #0F172A;
    --navy-mid:   #1E293B;
    --slate:      #334155;
    --muted:      #64748B;
    --border:     #E2E8F0;
    --white:      #FFFFFF;
    --offwhite:   #F8FAFC;
    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --t3:         all 0.3s var(--ease);
    --t5:         all 0.5s var(--ease);
    --r-sm:       12px;
    --r-md:       20px;
    --r-lg:       28px;
    --r-xl:       40px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
    --shadow-md:  0 8px 24px rgba(0,0,0,.09);
    --shadow-lg:  0 20px 48px rgba(0,0,0,.13);
    --shadow-red: 0 8px 24px rgba(225,29,72,.22);
}

/* =============================================
   RESET & BODY
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--offwhite);
    color: var(--navy);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; }

/* =============================================
   NAVBAR — GLASSMORPHISM
   ============================================= */
.fixnav { position: fixed !important; width: 100%; z-index: 1100; top: 0; }

.navigation-wrap {
    background: rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    padding: 10px 0;
    transition: var(--t3);
}

.navbar-brand .brand-ri h1 {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00030a 0%, #919191 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-brand .brand-ri h6 {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}
.navbar-brand img { max-height: 46px; transition: transform 0.4s ease; }
.navbar-brand:hover img { transform: scale(1.08) rotate(-2deg); }

.nav-item .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy) !important;
    padding: 8px 14px !important;
    border-radius: 10px;
    transition: var(--t3);
    position: relative;
}
.nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; right: 50%;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transition: left 0.3s ease, right 0.3s ease;
}
.nav-item .nav-link:hover::after { left: 14px; right: 14px; }
.nav-item .nav-link:hover { color: var(--red) !important; }

/* =============================================
   HERO — ANIMATED GRADIENT + BLOBS
   ============================================= */
.banner-outer {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fefce8 0%, #fff1f2 40%, #fdf4ff 100%);
}

.banner-outer::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(225,29,72,0.12) 0%, transparent 65%);
    top: -200px; left: -200px;
    animation: blobMove1 12s ease-in-out infinite alternate;
    z-index: 0;
}
.banner-outer::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.14) 0%, transparent 65%);
    bottom: -100px; right: -100px;
    animation: blobMove2 10s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes blobMove1 {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(60px,40px) scale(1.15); }
}
@keyframes blobMove2 {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(-50px,-30px) scale(1.1); }
}

.trust-banner { position: relative; z-index: 6; width: 100%;padding-top: 150px; }

.banner-left { animation: fadeSlideUp 0.9s ease-out both; }
.banner-left-in { padding-right: 30px; }

.modern-tagline {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 22px;
    letter-spacing: -1.5px;
}
.modern-tagline .highlight {
    background: linear-gradient(135deg, var(--red) 0%, var(--red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.modern-tagline .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--amber));
    border-radius: 4px;
    opacity: 0.4;
}
.modern-desc {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 520px;
}

/* CTA button */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--red) 0%, var(--amber) 100%);
    color: white !important;
    padding: 15px 32px;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: var(--t3);
    box-shadow: var(--shadow-red);
    border: none;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}
.modern-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(225,29,72,0.35); color: white !important; }
.modern-btn i { transition: transform 0.3s ease; }
.modern-btn:hover i { transform: translateX(5px); }

/* Outline variant */
.modern-btn.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--navy) !important;
    box-shadow: var(--shadow-sm);
}
.modern-btn.btn-outline:hover {
    background: var(--offwhite);
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--navy) !important;
}

/* Hero badge */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(225,29,72,0.08), rgba(245,158,11,0.08));
    color: var(--red);
    border: 1px solid rgba(225,29,72,0.2);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

/* Hero image */
.modern-hero-image {
    position: relative;
    padding: 20px 0 60px 20px;
    animation: fadeSlideUp 1.1s 0.2s ease-out both;
}
.rounded-hero-img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    border: 5px solid white;
    display: block;
}

/* Floating card */
.floating-card {
    position: absolute;
    bottom: 20px; left: -10px;
    background: white;
    padding: 14px 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.14);
    animation: floatCard 4s ease-in-out infinite;
    min-width: 200px;
}
.floating-card .icon-wrap {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
    color: var(--amber-dark);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.floating-card h5 { margin: 0; font-size: 15px; font-weight: 700; }
.floating-card span { font-size: 12px; color: var(--muted); }

@keyframes floatCard {
    0%,100% { transform: translateY(0px); }
    50%      { transform: translateY(-12px); }
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 50px 0;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 10px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px,4vw,52px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber) 0%, var(--red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   SECTION HEADER HELPERS
   ============================================= */
.section-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, rgba(225,29,72,0.08), rgba(245,158,11,0.08));
    color: var(--red);
    border: 1px solid rgba(29, 62, 225, 0.15);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(28px,3.5vw,42px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.7; }

/* =============================================
   OBJECTIVES / PILLARS
   ============================================= */
.obj-sec {
    padding: 50px 0;
    background: var(--white);
    position: relative;
}
.obj-in {
    background: var(--offwhite);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 36px 28px;
    min-height: 280px;
    transition: var(--t5);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.obj-in .inner-border { display: contents; }
.obj-in::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 0 0 var(--r-md) var(--r-md);
}
.obj-in:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); background: white; border-color: rgba(225,29,72,0.15); }
.obj-in:hover::before { transform: scaleX(1); }

.obj-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 26px;
}
.obj-in h2 { font-size: 48px; margin-bottom: 10px; }
.obj-in h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}
.obj-in p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0; }
.obj-in.obj {
    background: linear-gradient(145deg, var(--amber), var(--red));
    border-color: transparent;
    color: white;
}
.obj-in.obj h3, .obj-in.obj p { color: white; }
.obj-in.obj h2 { color: rgba(255,255,255,0.3); }

/* =============================================
   TRUSTEE MESSAGES
   ============================================= */
.trustee-msg {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.trustee-msg:nth-child(even) { background: var(--offwhite); }

.circle-left, .circle-right {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}
.circle-left  { width: 600px; height: 600px; background: var(--red);   top: -200px; left: -200px; }
.circle-right { width: 500px; height: 500px; background: var(--amber); bottom: -150px; right: -150px; }
.trustee-msg .container { position: relative; z-index: 2; }

.trustee-bg {
    width: 240px; height: 240px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--red), var(--amber), var(--red));
    padding: 5px;
    /* animation: spinRing 8s linear infinite; */
    display: block;
    margin: 0 auto;
    z-index: 0;
}
@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.trustee-bg2 {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: white;
    padding: 5px;
}
.trustee-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
}
.trustee-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.trustee-bg:hover .trustee-img img { transform: scale(1.08); }
.trustee-sec { text-align: center; }
.trustee-sec h4 { margin-top: 20px; font-size: 20px; font-weight: 700; color: var(--navy); }

.trustee-msg h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}
.trustee-msg h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 50px; height: 4px;
    background: linear-gradient(90deg, var(--red), var(--amber));
    border-radius: 4px;
}
.trustee-msg p { font-size: 15.5px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.font-italic {
    border-left: 4px solid var(--red);
    padding: 16px 20px;
    background: rgba(225,29,72,0.04);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-style: italic;
    font-size: 16px;
    color: var(--navy-mid);
    font-weight: 500;
    line-height: 1.6;
    margin-top: 20px;
}

/* =============================================
   SCHEMES SECTION
   ============================================= */
.about-sec {
    padding: 50px 0;
    background: var(--offwhite);
}
.schemes-grid {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 24px;
    text-align: center;
    min-height: 260px;
    transition: var(--t5);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.schemes-grid::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 0 var(--r-md) 0 80px;
    background: linear-gradient(135deg, rgba(225,29,72,0.05), rgba(245,158,11,0.05));
    transition: var(--t3);
}
.schemes-grid:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(225,29,72,0.15);
}
.schemes-grid:hover::after { width: 120px; height: 120px; }

.schemes-grid > div[class^="bg"] {
    width: 68px; height: 68px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.schemes-grid:hover > div[class^="bg"] {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

.bg1 { background: linear-gradient(135deg, #EC4899, #BE185D); }
.bg2 { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.bg3 { background: linear-gradient(135deg, #EF4444, #B91C1C); }
.bg4 { background: linear-gradient(135deg, #10B981, #047857); }
.bg5 { background: linear-gradient(135deg, #0EA5E9, #0369A1); }
.bg6 { background: linear-gradient(135deg, #6366F1, #4338CA); }
.bg7 { background: linear-gradient(135deg, #F59E0B, #B45309); }
.bg8 { background: linear-gradient(135deg, #D946EF, #A21CAF); }
.bg9 { background: linear-gradient(135deg, #EAB308, #A16207); }

.schemes-grid h4 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.schemes-grid h6 { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; font-weight: 400; }

/* Arrow on hover */
.scheme-arrow {
    position: absolute;
    bottom: 16px; right: 20px;
    font-size: 20px;
    color: var(--red);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--t3);
}
.schemes-grid:hover .scheme-arrow { opacity: 1; transform: translateX(0); }

/* =============================================
   VIDEO SECTION
   ============================================= */
.video-sec {
    background: var(--navy);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.video-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(225,29,72,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.08) 0%, transparent 50%);
}
.video-sec .container { position: relative; z-index: 2; }

.youtube-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0,0,0,0.4);
    cursor: pointer;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--t3);
}
.youtube-thumbnail:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.youtube-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.youtube-thumbnail:hover img { transform: scale(1.06); }
.youtube-thumbnail::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.35));
    transition: background 0.3s ease;
}
.youtube-thumbnail:hover::after { background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5)); }

.play-button {
    position: absolute;
    z-index: 3;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 62px; height: 44px;
    background: rgba(225,29,72,0.92);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--t3);
    border: 1.5px solid rgba(255,255,255,0.2);
}
.play-button::before {
    content: '';
    margin-left: 4px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid white;
}
.youtube-thumbnail:hover .play-button {
    background: var(--red);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 0 8px rgba(225,29,72,0.2);
}

/* =============================================
   BOARD OF TRUSTEES
   ============================================= */
.bg-parallax-1 {
    background: url('../images/gallery/IMG-20230627-WA0031.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
.bg-parallax-1::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(248,250,252,0.94);
}
.board-of-trustee { padding: 50px 0; position: relative; z-index: 2; }

.member-container {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 32px 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
    border: 1px solid var(--border);
    transition: var(--t5);
    display: block;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}
.member-container::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--red), var(--amber));
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}
.member-container:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(245,158,11,0.2); }
.member-container:hover::before { transform: scaleY(1); }

.member-photo {
    width: 130px; height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.member-container:hover .member-photo img { transform: scale(1.08); }

.member-info h3 { font-size: 22px; margin-bottom: 6px; font-weight: 300; }
.member-info h6 {
    color: var(--red);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    font-weight: 600;
}
.member-info p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0; }

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section { padding: 50px 0; background: var(--white); }
.gallery-section h2 { text-align: center; font-size: clamp(28px,3vw,40px); margin-bottom: 16px; font-weight: 500; }

.category-tab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    border-bottom: none;
    padding-bottom: 0;
}
.category-tab .row { display: contents; }
.category-tab .col-md-3, .category-tab .col-md-4, .category-tab .col-md-2 { display: contents; }
.category-tab .btn-tab {
    background: var(--offwhite);
    border: 1.5px solid var(--border);
    padding: 10px 22px;
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    transition: var(--t3);
}
.category-tab .btn-tab:hover { color: var(--red); border-color: rgba(225,29,72,0.3); background: var(--red-light); }
.category-tab .btn-tab.tab-active {
    background: linear-gradient(135deg, var(--red), var(--amber));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-red);
}

.grid-gallery .item {
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
    position: relative;
}
.grid-gallery .item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    display: block;
}
.grid-gallery .item:hover img { transform: scale(1.09); }

/* =============================================
   MODERN FOOTER
   ============================================= */
.modern-footer {
    background: var(--navy);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--amber), var(--red));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer-content { padding: 80px 0 50px; }
.footer-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 20px; color: var(--white); line-height: 1.4; margin-bottom: 10px; }
.footer-desc { color: #94a3b8; font-size: 14.5px; line-height: 1.75; }
.footer-logo { width: 46px; border-radius: 10px; }

.footer-social-modern { display: flex; gap: 12px; margin-top: 24px; }
.social-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 17px;
    transition: var(--t3);
    text-decoration: none !important;
}
.social-icon:hover {
    background: var(--red);
    border-color: var(--red);
    color: white !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(225,29,72,0.35);
}

.footer-heading {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 14px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--amber));
    border-radius: 3px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 14px; color: #94a3b8; font-size: 14.5px; display: flex; align-items: flex-start; gap: 12px; }
.footer-links i { color: var(--red); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-address { display: flex; align-items: flex-start; gap: 12px; }
.footer-address i { color: var(--red); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.footer-address p { color: #94a3b8; font-size: 14.5px; line-height: 1.8; margin: 0; }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: #475569; font-size: 13.5px; margin: 0; }


.member-info{
    text-align: center;
}
.member-container{
    border-radius: 10px;
    min-height: 520px;
}
/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .banner-left { margin-top: 90px; }
    .banner-left-in { padding-right: 0; }
    .modern-hero-image { padding: 20px 0 70px 0; }
    .member-container { flex-direction: column; text-align: center; }
    .member-photo { margin: 0 auto 20px; }
    .member-container::before { width: 100%; height: 5px; top: 0; left: 0; right: 0; bottom: auto; transform: scaleX(0); transform-origin: right; border-radius: 4px 4px 0 0; }
    .member-container:hover::before { transform: scaleX(1); }
    .stat-item:not(:last-child)::after { display: none; }
}
@media (max-width: 767px) {
    .modern-tagline { font-size: 34px; letter-spacing: -0.5px; }
    .trustee-bg { width: 180px; height: 180px; }
    .floating-card { display: none; }
    .section-title { font-size: 28px; }
    .obj-in { min-height: auto; }
    .grid-gallery .item img { height: 180px; }
}

.about-sec h2{
    margin-bottom: 0px;
}

.scroll-progress{
    background: var(--offwhite);
}

.scroll-progress-in{
    background: linear-gradient(135deg, var(--red) 0%, var(--amber) 100%);
    height: 5px;
    width: 0%;
}
