/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    /* Rotaract Logo Theme Colors */
    --primary-green: #6B2382;
    --primary-green-light: #8A2D9E;
    --accent-yellow: #5C942A;
    --accent-yellow-hover: #487521;
    --text-dark: #1A202C;
    /* Deeper premium dark */
    --text-light: #f7fafc;
    --bg-light: #ffffff;
    --bg-light-gray: #f8f9fa;
    --footer-bg: #2B0E33;

    /* Premium Fonts */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Apply Royal Font to Headings */
h1,
h2,
h3,
h4,
.footer-title {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
========================================= */
.section-padding {
    padding: 100px 0;
}

.bg-green-gradient {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
}

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

.text-white {
    color: #ffffff;
}

.text-dark {
    color: var(--text-dark);
}

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

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-1000 {
    max-width: 1000px;
}

.text-accent-yellow {
    color: var(--accent-yellow);
}

/* Hero section e accent text bright golden/yellow -- dark bg te parbe */
.hero .text-accent-yellow {
    color: #FFD166;
    text-shadow: 0 0 30px rgba(255, 209, 102, 0.4);
}

.text-danger {
    color: #ff4757;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #ffffff;
    /* White text looks more premium on green */
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

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

.premium-shadow {
    box-shadow: 0 8px 20px rgba(92, 148, 42, 0.4);
}

.premium-shadow:hover {
    box-shadow: 0 12px 25px rgba(92, 148, 42, 0.6);
}

/* Login Button (Outline Ghost Style) */
.btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);
}

/* Login button when navbar is scrolled (dark bg) */
.navbar.scrolled .btn-login {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.navbar.scrolled .btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* =========================================
   NAVBAR (PREMIUM PILL STYLE)
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: transparent;
    transition: var(--transition);
}

/* Scroll Background Effect (Full width deep purple glass) */
.navbar.scrolled {
    background: rgba(43, 14, 51, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 55px;
    border-radius: 5px;
}

/* Centered White Pill Menu */
.nav-menu-pill {
    background: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

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

.nav-links li a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

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

/* Right Side Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================================
   PREMIUM HERO SECTION (SPLIT LAYOUT)
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: #1a0b2e;
    /* সলিড ডার্ক পার্পল ব্যাকগ্রাউন্ড, যা লেখাকে ফুটিয়ে তুলবে */
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* ন্যাভিগেশন বারের জন্য জায়গা */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background image er upore dark overlay -- chobi o dekhabe, lekha o poriskar */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 11, 46, 0.72) 0%,
            rgba(26, 11, 46, 0.55) 50%,
            rgba(26, 11, 46, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Premium Glow -- overlay er upore */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 148, 42, 0.18) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.hero-premium-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* --- Centered Typography --- */
.hero-content-left {
    flex: 1;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(92, 148, 42, 0.2);
    color: var(--accent-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(92, 148, 42, 0.4);
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: 64px;
    /* বিশাল প্রিমিয়াম ফন্ট সাইজ */
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    /* লেটার স্পেসিং কমিয়ে ক্লিন লুক দেওয়া হয়েছে */
}

.hero-desc-main {
    font-size: 18px;
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-text-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-text-link:hover {
    color: var(--accent-yellow);
    gap: 15px;
    /* হোভার করলে অ্যারো আইকনটি ডানদিকে সরে যাবে */
}



/* --- Responsive (Mobile View) --- */
@media (max-width: 992px) {
    .hero-premium-container {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }

    .hero-content-left {
        padding-right: 0;
    }

    .hero-title-main {
        font-size: 46px;
        /* মোবাইলে ফন্ট সাইজ ছোট করা হয়েছে */
    }

    .hero-desc-main {
        margin: 0 auto 40px auto;
    }

    .hero-actions {
        justify-content: center;
        margin-bottom: 40px;
    }
}

/* =========================================
   PREMIUM CARDS
========================================= */
.premium-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.card-img-wrapper {
    overflow: hidden;
}

.premium-card img {
    width: 100%;
    transition: transform 0.6s ease;
}

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

/* =========================================
   ACTIVITIES (SLIDER) SECTION
========================================= */
.activities-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.slider-wrapper {
    flex: 1.5;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 350px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.slide-item {
    display: none;
    animation: fade 0.8s ease-in-out;
}

.slide-item.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.slider-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--text-dark);
}

.activities-text {
    flex: 1;
}

.section-subtitle {
    font-size: 15px;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

/* =========================================
   PURPOSE SECTION
========================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    /* ছবি এবং লেখার মাঝখানে সুন্দর স্পেস */
}

.single-dynamic-image {
    flex: 1;
    /* স্ক্রিনের অর্ধেক জায়গা নেবে */
    height: 450px;
    background: rgba(107, 35, 130, 0.05);
    /* প্রিমিয়াম লাইট পার্পল আভা */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* সফট প্রিমিয়াম শ্যাডো */
}

.premium-rounded {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ছবিটি যেন সুন্দরভাবে ফিট হয় */
}

.about-text {
    flex: 1;
    /* স্ক্রিনের বাকি অর্ধেক জায়গা নেবে */
}

.about-text p {
    margin: 20px 0 30px 0;
    font-size: 16px;
    color: var(--text-dark);
    /* লাইট ব্যাকগ্রাউন্ডের জন্য ডার্ক টেক্সট */
    line-height: 1.8;
}

/* মোবাইল এবং ট্যাবলেটের জন্য রেস্পন্সিভ (Responsive) ডিজাইন */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        /* ছোট স্ক্রিনে ছবি উপরে এবং লেখা নিচে চলে আসবে */
        gap: 40px;
    }

    .single-dynamic-image {
        width: 100%;
        height: 350px;
    }
}

/* =========================================
   PROGRAMS SECTION
========================================= */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.premium-card-small {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid #edf2f7;
}

.premium-card-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(17, 63, 40, 0.2);
}

.program-icon-wrapper {
    background: rgba(17, 63, 40, 0.05);
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.premium-card-small:hover .program-icon-wrapper {
    background: var(--primary-green);
}

.premium-card-small:hover .program-icon {
    color: #fff;
}

.program-icon {
    font-size: 26px;
    color: var(--primary-green);
    transition: var(--transition);
}

.program-item h4 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.program-item p {
    font-size: 14px;
    color: #718096;
    line-height: 1.7;
}

/* =========================================
   HISTORY ICON CARDS SECTION
========================================= */
.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.icon-card {
    text-align: center;
    padding: 40px 20px 20px 20px;
    position: relative;
    margin-top: 30px;
    overflow: visible;
}

.card-icon-wrapper {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
    z-index: 2;
}

.success-card-body {
    padding-top: 20px;
}

.success-card-body p {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* =========================================
   PREMIUM FOOTER
========================================= */
.premium-footer {
    background: linear-gradient(135deg, #1b0721 0%, #2B0E33 100%);
    color: #a0aec0;
    padding-top: 80px;
    position: relative;
}

.footer-top-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    box-shadow: 0 0 15px rgba(92, 148, 42, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 15px;
    line-height: 1.8;
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 12px;
    color: var(--accent-yellow);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-contact li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.6;
}

/* Glass effect for footer icons */
.glass-icon {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    gap: 15px;
}

.premium-hover {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    transition: var(--transition);
}

.premium-hover:hover {
    background: var(--accent-yellow);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(92, 148, 42, 0.3);
    border-color: var(--accent-yellow);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-credit {
    font-weight: 500;
}

.highlight-dev {
    background: linear-gradient(45deg, #5C942A, #8A2D9E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    text-shadow: 0 0 10px rgba(92, 148, 42, 0.3);
    display: inline-block;
    transition: var(--transition);
    padding-bottom: 2px;
}

.highlight-dev::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #5C942A, #8A2D9E);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.highlight-dev:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.highlight-dev:hover {
    text-shadow: 0 0 20px rgba(92, 148, 42, 0.8);
    transform: scale(1.05);
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
========================================= */
@media (max-width: 992px) {

    .activities-container,
    .about-container {
        flex-direction: column;
    }

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

    .hero-title {
        font-size: 45px;
    }

    .floating-info {
        right: 5%;
        padding: 15px 25px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 35px;
    }

    .floating-info {
        display: none;
    }

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

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   PREMIUM ANIMATIONS (NEW)
========================================= */
/* 1. Continuous Floating & Pulse Effects */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 148, 42, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(92, 148, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(92, 148, 42, 0);
    }
}

.floating-anim {
    animation: float 4s ease-in-out infinite;
}

.pulse-anim {
    animation: pulse-glow 2s infinite;
}

/* 2. Scroll Animation Classes */
.hidden-elem {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.hidden-elem.show-elem {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Specific Directions for Scroll */
.slide-left {
    transform: translateX(-50px) translateY(0);
}

.slide-left.show-elem {
    transform: translateX(0) translateY(0);
}

.slide-right {
    transform: translateX(50px) translateY(0);
}

.slide-right.show-elem {
    transform: translateX(0) translateY(0);
}

.zoom-in {
    transform: scale(0.8);
}

.zoom-in.show-elem {
    transform: scale(1);
}

/* Stagger Delays for Grid Items (Cards) */
.delay-1 {
    transition-delay: 100ms;
}

.delay-2 {
    transition-delay: 200ms;
}

.delay-3 {
    transition-delay: 300ms;
}

.delay-4 {
    transition-delay: 400ms;
}

.delay-5 {
    transition-delay: 500ms;
}

.delay-6 {
    transition-delay: 600ms;
}

/* Premium Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* =========================================
   INNER PAGES & MEMBER CARDS
========================================= */
.hero-small {
    position: relative;
    height: 50vh;
    min-height: 450px;
    background-color: var(--primary-green);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading-underline {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
    margin: 0 auto;
    border-radius: 2px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

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

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(92, 148, 42, 0.3);
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    z-index: 0;
    border-radius: 20px 20px 0 0;
}

.member-img-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    z-index: 1;
}

.member-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.member-card:hover .member-img {
    transform: scale(1.05) rotate(3deg);
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-name {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.member-designation {
    font-size: 14px;
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--bg-light-gray);
    color: var(--primary-green);
    border-radius: 50%;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--accent-yellow);
    color: #fff;
    transform: translateY(-3px);
}

/* =========================================
   MEMBER SEARCH BAR
========================================= */
.search-container {
    background: #fff;
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-container:focus-within {
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 25px rgba(92, 148, 42, 0.15);
}

.search-icon {
    color: var(--primary-green);
    font-size: 20px;
    margin-right: 15px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    font-family: var(--font-main);
    color: var(--text-dark);
    background: transparent;
}

.search-input::placeholder {
    color: #a0aec0;
}

.member-id {
    font-size: 13px;
    color: #718096;
    margin-bottom: 15px;
    font-weight: 600;
    background: var(--bg-light-gray);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
}

/* Google font import for a premium look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    /* Clean light background */
}

/* =========================================
   Welcome Section Styles & Animation
   ========================================= */
.welcome-section {
    text-align: center;
    padding: 100px 20px;
    background-color: #1b263b;
    /* Premium Dark Navy Blue */
    color: #ffffff;
}

.premium-welcome-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    /* Smooth slide-down and fade-in animation */
    animation: fadeInDown 1.2s ease-out forwards;
}

.welcome-subtitle {
    color: #ffd700;
    /* Premium Yellow/Gold accent */
    font-size: 1.2rem;
    animation: fadeIn 2s ease-out forwards;
}

/* Keyframes for animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* =========================================
   Our Purpose Section (Image Left, Text Right)
   ========================================= */
.purpose-section {
    padding: 80px 10%;
    /* Pashe space rakhar jonno padding */
    background-color: #ffffff;
}

.purpose-container {
    display: flex;
    /* Eta use korlei pasapasi chole ashbe */
    align-items: center;
    /* Vertically center korbe */
    gap: 50px;
    /* Chobi ar lekhar majhkhaner faka jayga */
}

.purpose-image {
    flex: 1;
    /* Sagoman jayga nibe (50%) */
}

.purpose-image img {
    width: 100%;
    border-radius: 15px;
    /* Corner gula smooth korar jonno */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Chobir niche halka premium shadow */
}

.purpose-text {
    flex: 1;
    /* Soman jayga nibe (50%) */
}

.purpose-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.purpose-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* A premium looking button */
.premium-btn {
    padding: 12px 30px;
    background-color: #ffd700;
    color: #1b263b;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-btn:hover {
    background-color: #1b263b;
    color: #ffd700;
    transform: translateY(-3px);
    /* Hover korle ektu upore uthbe */
}

/* Mobile phones er jonno responsive (jokhoni screen choto hobe, upore-niche hobe) */
@media (max-width: 768px) {
    .purpose-container {
        flex-direction: column;
    }
}

/* =========================================
   PREMIUM BLUE BACKGROUND
========================================= */
.bg-premium-blue {
    background: linear-gradient(135deg, #0b2046 0%, #153670 100%);
    position: relative;
    overflow: hidden;
}

/* =========================================
   BRAND PURPLE BACKGROUND (For Purpose Section)
========================================= */
.bg-brand-purple {
    background-color: #8E24AA;
    /* স্ক্রিনশটের মতো পার্পল/ম্যাজেন্টা কালার */
    position: relative;
    overflow: hidden;
}

/* এই সেকশনের ভেতরের সব লেখা সাদা করার জন্য */
.bg-brand-purple .section-title,
.bg-brand-purple p,
.bg-brand-purple strong {
    color: #ffffff !important;
}

/* ডানদিকের ইমেজ কন্টেইনারের ব্যাকগ্রাউন্ড হালকা এডজাস্ট করা হলো */
.bg-brand-purple .purpose-image {
    background: rgba(255, 255, 255, 0.1);
    /* হালকা সাদা গ্লাস ইফেক্ট */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================
   PREMIUM MODERN  DESIGN
========================================= */
.footer.premium-footer {
    background-color: #12051c;
    /* ওয়েবসাইটের থিমের সাথে সামঞ্জস্য রেখে ডিপ ডার্ক ব্যাকগ্রাউন্ড */
    color: #cbd5e0;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ফুটারের উপরের অংশে একটি হালকা গ্লোয়িং লাইন */
.footer-top-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.footer-text {
    font-size: 15px;
    line-height: 1.7;
    color: #a0aec0;
}

/* Social Media Buttons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--accent-yellow);
    color: #12051c;
    transform: translateY(-4px);
    border-color: var(--accent-yellow);
}

/* Footer Headings */
.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-heading);
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 11px;
    color: var(--accent-yellow);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 15px;
    color: #a0aec0;
}

.contact-icon-box {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    flex-shrink: 0;
    font-size: 14px;
}

.footer-contact-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--accent-yellow);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #718096;
}

.dev-name {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.dev-name:hover {
    color: var(--accent-yellow);
}

/* Responsive Footer for Mobiles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* =========================================
   JAAGO STYLE HERO & CLEAN LAYOUT
========================================= */
.jaago-hero-section {
    background-color: #0f172a;
    /* Clean Deep Navy/Dark Slate JAAGO Theme */
    padding: 140px 0 80px 0;
    color: #ffffff;
    text-align: center;
}

.jaago-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.jaago-main-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.jaago-subtitle {
    font-size: 16px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Modern Centered Search Box */

/* Member ID Search Button */
.id-search-submit-btn {
    border: none;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.id-search-submit-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.jaago-search-box {
    background: #ffffff;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 14px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.jaago-search-box i {
    color: #64748b;
    font-size: 18px;
    margin-right: 15px;
}

.jaago-search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: #1e293b;
    background: transparent;
}

.jaago-search-box input::placeholder {
    color: #94a3b8;
}

/* Content Sections */
.jaago-content-section {
    padding: 80px 0;
}

.bg-soft-gray {
    background-color: #f8fafc;
}

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

.jaago-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.jaago-line {
    width: 50px;
    height: 3px;
    background-color: #ffd700;
    margin: 0 auto;
    border-radius: 2px;
}

.section-desc {
    color: #64748b;
    font-size: 15px;
    margin-top: 10px;
}

/* =========================================
   PREMIUM MODERN MEMBER CARDS (HEROES)
========================================= */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
    margin-top: 35px;
}

.member-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.18), 0 8px 12px -6px rgba(0, 0, 0, 0.04);
    border-color: rgba(2, 132, 199, 0.4);
}

.member-card::before {
    display: none;
}

.member-img-wrap {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    border: none;
    transition: transform 0.35s ease;
    display: block;
}

.member-card:hover .member-img {
    transform: scale(1.03);
}

.member-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.member-name {
    font-size: 17.5px;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.35;
    transition: color 0.2s;
}

.member-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.member-name a:hover {
    color: #0284c7;
}

.member-designation {
    font-size: 13.5px;
    color: #0284c7;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.member-id {
    font-size: 11.5px;
    background: #f8fafc;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.member-id:hover {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.member-social a:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* =========================================
   BLOGS & ARTICLES CARD STYLES
========================================= */
.blog-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.blog-img-wrap {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.blog-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: #0284c7;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: #0369a1;
    gap: 12px;
}

/* =========================================
   HAMBURGER BUTTON & MOBILE NAVIGATION
========================================= */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px 9px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.04);
}

.hamburger-btn .bar {
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Light / Jaago theme navbar toggle bars */
.jaago-theme .hamburger-btn:not(.active) .bar {
    background-color: #ffffff;
}

.navbar.scrolled .hamburger-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Animated Hamburger to X */
.hamburger-btn.active {
    background: rgba(220, 38, 38, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background-color: #ffd700 !important;
}

.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background-color: #ffd700 !important;
}

/* Mobile Nav Overlay Backdrop */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 998;
}

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

.mobile-nav-btn {
    display: none;
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
========================================= */

/* Prevent horizontal scroll globally on mobile */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

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

/* Tablet & Mobile Screens (<= 992px) */
@media (max-width: 992px) {

    /* 1. Navbar & Mobile Menu Drawer */
    .navbar {
        padding: 16px 0;
    }

    .navbar.scrolled {
        padding: 12px 0;
    }

    .logo-img {
        height: 44px;
    }

    .desktop-apply-btn {
        display: none !important;
    }

    .hamburger-btn {
        display: flex;
    }

    .mobile-nav-btn {
        display: block;
        margin-top: 8px;
        width: 100%;
    }

    .mobile-nav-btn .btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 20px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        background: var(--accent-yellow) !important;
        color: #0f172a !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
    }

    .mobile-nav-btn .btn-login-mobile {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
        border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: none !important;
    }

    .mobile-nav-btn .btn-login-mobile:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
    }

    /* Floating Offcanvas-style Mobile Menu Dropdown */
    .nav-menu-pill {
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 20px !important;
        padding: 22px 18px !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.96);
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .nav-menu-pill.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 13px 18px !important;
        color: #f1f5f9 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease !important;
        text-align: center;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background: rgba(255, 215, 0, 0.18) !important;
        color: #ffd700 !important;
        font-weight: 700 !important;
        border: 1px solid rgba(255, 215, 0, 0.3);
    }

    /* 2. Hero Section on Home Page */
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero-premium-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content-left {
        padding-right: 0;
    }

    .hero-title-main {
        font-size: 42px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .hero-desc-main {
        font-size: 16px;
        line-height: 1.7;
        margin: 0 auto 30px auto;
        max-width: 90%;
    }

    .hero-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-content-right {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .floating-stat-card {
        position: static;
        margin-top: 20px;
        left: 0;
        bottom: 0;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    /* 3. Activities / Slider Section */
    .activities-container {
        flex-direction: column-reverse;
        gap: 35px;
    }

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

    .slider-wrapper {
        width: 100%;
        min-height: auto;
    }

    /* 4. Purpose Section */
    .purpose-container {
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center;
    }

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

    .purpose-image {
        width: 100% !important;
        max-width: 480px;
        margin: 0 auto;
    }

    /* 5. Inner Pages Header (JAAGO Style) */
    .jaago-hero-section {
        padding: 130px 0 60px 0 !important;
    }

    .jaago-main-title {
        font-size: 38px !important;
        line-height: 1.2;
    }

    .jaago-subtitle {
        font-size: 15px;
        max-width: 90%;
        margin: 0 auto 25px auto;
    }

    .jaago-search-box {
        width: 100%;
        max-width: 500px;
        box-sizing: border-box;
    }

    /* 6. Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 30px 24px !important;
    }

    /* 7. Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .footer-socials,
    .social-links {
        justify-content: center;
    }

    .footer-contact-list li,
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Smartphone Specific Screens (<= 768px) */
@media (max-width: 768px) {

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Section padding scale */
    .section-padding {
        padding: 50px 0;
    }

    /* Typography */
    .section-title {
        font-size: 30px !important;
        line-height: 1.25;
    }

    .hero-title-main {
        font-size: 34px !important;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 18px;
    }

    .hero-desc-main {
        font-size: 14.5px;
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn,
    .hero-actions .btn-text-link {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* JAAGO Hero Header */
    .jaago-hero-section {
        padding: 115px 0 50px 0 !important;
    }

    .jaago-main-title {
        font-size: 30px !important;
    }

    .jaago-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .jaago-search-box {
        padding: 10px 18px;
    }

    .jaago-search-box input {
        font-size: 14px;
    }

    /* Goals / Programs Grid */
    .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .premium-card-small {
        padding: 22px 18px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Success / History Grid */
    .success-grid {
        grid-template-columns: 1fr !important;
        gap: 45px !important;
    }

    /* Members Grid - 2 cards per row on mobile */
    .members-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 25px !important;
    }

    .member-card {
        padding: 12px 8px !important;
        border-radius: 14px !important;
    }

    .member-img-wrap {
        height: 140px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }

    .member-name {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }

    .member-designation {
        font-size: 11px !important;
        margin-bottom: 5px !important;
    }

    .member-id {
        font-size: 10px !important;
        padding: 2px 7px !important;
        margin-bottom: 8px !important;
    }

    .member-social {
        gap: 6px !important;
    }

    .member-social a {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }

    /* Blogs Grid - 2 cards per row on mobile */
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .blog-card {
        border-radius: 12px !important;
    }

    .blog-img-wrap {
        height: 125px !important;
    }

    .blog-content {
        padding: 12px 10px !important;
    }

    .blog-meta {
        font-size: 10.5px !important;
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    .blog-title {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-desc {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-read-more {
        font-size: 11.5px !important;
        font-weight: 700 !important;
    }

    /* Application Form */
    .form-grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    #membership-form > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .container>div[style*="padding: 50px"] {
        padding: 30px 18px !important;
    }

    /* Contact Page Cards */
    .contact-info-card,
    .contact-form-card {
        padding: 25px 18px !important;
        border-radius: 16px !important;
    }

    /* Content Section Mobile Padding: ample bottom gap so cards never touch footer wave */
    .jaago-content-section {
        padding: 80px 0 100px 0 !important;
    }

    #member-profile-card {
        border-radius: 18px !important;
    }

    #member-profile-card>div:first-child {
        padding: 30px 18px !important;
    }

    #member-profile-card>div:last-child {
        padding: 25px 18px !important;
    }

    #member-profile-card>div>div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    #det-name {
        font-size: 22px !important;
    }

    #det-image {
        width: 110px !important;
        height: 110px !important;
    }

    /* Purpose / About section */
    .about .purpose-image,
    .purpose-image {
        height: 250px !important;
        width: 100% !important;
        border-radius: 16px !important;
    }

    .purpose-container {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .purpose-text {
        width: 100% !important;
        text-align: center !important;
    }

    .purpose-text .jaago-section-title {
        text-align: center !important;
        font-size: 24px !important;
        margin-bottom: 14px !important;
    }

    .purpose-text .jaago-line {
        margin: 0 auto 20px auto !important;
    }

    .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 25px !important;
    }

    .programs-grid .member-card {
        padding: 24px 20px !important;
        border-radius: 16px !important;
        text-align: center !important;
    }

    .programs-grid .member-card > div:first-child {
        margin: 0 auto 15px auto !important;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .hero-title-main {
        font-size: 28px !important;
    }

    .jaago-main-title {
        font-size: 24px !important;
    }

    /* Keep 2 columns on small phones */
    .members-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 9px !important;
    }

    .member-card {
        padding: 10px 6px !important;
    }

    .member-img-wrap {
        height: 125px !important;
    }

    .member-name {
        font-size: 13px !important;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 9px !important;
    }

    .blog-img-wrap {
        height: 110px !important;
    }

    .blog-title {
        font-size: 12.5px !important;
    }

    .jaago-search-box {
        padding: 8px 10px 8px 14px !important;
    }

    .id-search-submit-btn {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }

    .id-search-submit-btn span {
        display: none;
    }

    .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo-img {
        height: 38px;
    }

    .hamburger-btn {
        width: 40px;
        height: 40px;
        padding: 11px 8px;
    }

    .footer-brand-title {
        font-size: 22px !important;
    }
}

/* =========================================
   CONTINUOUS PINNED BLOG MARQUEE SLIDER
========================================= */
.pinned-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    border-radius: 20px;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.pinned-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScrollLeft 32s linear infinite;
    will-change: transform;
}

.pinned-marquee-wrapper:hover .pinned-marquee-track,
.pinned-marquee-track:hover,
.pinned-marquee-track:focus-within {
    animation-play-state: paused !important;
}

@keyframes marqueeScrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

/* Individual Pinned Blog Card */
.pinned-blog-card {
    width: 320px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

.pinned-blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(107, 35, 130, 0.15);
    border-color: rgba(107, 35, 130, 0.3);
}

.pinned-card-img-wrap {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #f1f5f9;
}

.pinned-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pinned-blog-card:hover .pinned-card-img-wrap img {
    transform: scale(1.08);
}

.pinned-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #6B2382 0%, #8A2D9E 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(107, 35, 130, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.pinned-cat-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffd700;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.pinned-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pinned-card-meta {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pinned-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pinned-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pinned-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
}

.pinned-card-footer i {
    transition: transform 0.3s ease;
}

.pinned-blog-card:hover .pinned-card-footer i {
    transform: translateX(4px);
}

/* =========================================
   BLOG DETAILS PAGE
========================================= */
.blog-details-section {
    padding: 130px 0 80px 0;
    background: #f8fafc;
    min-height: 80vh;
}

.blog-detail-container {
    max-width: 920px;
    margin: 0 auto;
}

.blog-detail-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.blog-detail-header {
    padding: 40px 45px 25px 45px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-detail-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.blog-detail-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.blog-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.blog-cover-wrapper {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.blog-cover-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-cover-wrapper:hover img {
    transform: scale(1.03);
}

.blog-cover-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.blog-detail-body {
    padding: 40px 45px;
}

.blog-lead-quote {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    font-style: italic;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(107, 35, 130, 0.05) 0%, rgba(92, 148, 42, 0.05) 100%);
    border-left: 4px solid var(--primary-green);
    border-radius: 0 14px 14px 0;
    margin-bottom: 30px;
}

.blog-text-content {
    font-size: 16px;
    line-height: 1.9;
    color: #334155;
}

.blog-text-content p {
    margin-bottom: 22px;
}

/* =========================================
   GALLERY & PHOTO SHOWCASE
========================================= */
.blog-gallery-section {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid #e2e8f0;
}

.blog-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-gallery-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-count-pill {
    background: rgba(107, 35, 130, 0.1);
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

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

.gallery-item {
    position: relative;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item-overlay i {
    color: #ffffff;
    font-size: 24px;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

/* =========================================
   FULLSCREEN LIGHTBOX MODAL
========================================= */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    animation: lbFadeIn 0.25s ease-out;
}

.lightbox-modal.active {
    display: flex;
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-container {
    max-width: 100%;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-img-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.lightbox-close-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 100005;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 100005;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.12);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-caption-bar {
    margin-top: 14px;
    color: #f1f5f9;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

/* =========================================
   SOCIAL SHARE & ACTIONS
========================================= */
.blog-share-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.share-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    border: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-whatsapp { background: #25D366; }
.share-fb { background: #1877F2; }
.share-linkedin { background: #0A66C2; }
.share-twitter { background: #000000; }
.share-copy { background: #475569; }

/* Toast Notification */
.share-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    font-weight: 600;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastPop 0.3s ease;
}

@keyframes toastPop {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =========================================
   RELATED BLOGS
========================================= */
.related-blogs-section {
    margin-top: 60px;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* =========================================
   MEMBER DETAILS & EVENTS PARTICIPATED
========================================= */
.member-detail-container {
    max-width: 950px;
    margin: 0 auto;
}

.member-detail-box {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.member-profile-header {
    background: linear-gradient(135deg, #1a0b2e 0%, #2B0E33 50%, #6B2382 100%);
    padding: 45px 35px 35px 35px;
    text-align: center;
    position: relative;
    color: #ffffff;
}

.member-avatar-lg {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px auto;
    border-radius: 18px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar-lg img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.member-title-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.member-sub-desig {
    font-size: 15px;
    color: #ffd700;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.member-cat-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
}

.member-profile-body {
    padding: 40px;
}

.member-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.member-info-pill {
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-info-pill .label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-info-pill .val {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.member-info-pill .val a {
    color: var(--primary-green);
    text-decoration: none;
}

.member-info-pill .val a:hover {
    text-decoration: underline;
}

/* Events Participated Section */
.events-participated-box {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid #e2e8f0;
}

.events-part-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.events-part-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-part-badge {
    background: linear-gradient(135deg, rgba(92, 148, 42, 0.15) 0%, rgba(92, 148, 42, 0.25) 100%);
    color: #2b5711;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(92, 148, 42, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.event-part-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.event-part-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(107, 35, 130, 0.1);
    border-color: rgba(107, 35, 130, 0.3);
}

.event-part-card .event-type-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(107, 35, 130, 0.1);
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.event-part-card .event-name {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
}

.event-part-card .event-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-attended-pill {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #16a34a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-details-section {
        padding: 100px 0 50px 0 !important;
    }
    
    .blog-detail-header,
    .blog-detail-body {
        padding: 25px 20px !important;
    }
    
    .blog-detail-title {
        font-size: 24px !important;
    }
    
    .lightbox-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .pinned-marquee-wrapper {
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    .pinned-blog-card {
        width: 275px;
    }
    
    .member-profile-header {
        padding: 30px 20px !important;
    }
    
    .member-profile-body {
        padding: 25px 20px !important;
    }
    
    .events-part-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   WEBSITE PROFILE UPDATE PROMPT ALERT
========================================= */
.website-profile-alert {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 18px 20px;
    animation: alertSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}

@keyframes alertSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 576px) {
    .website-profile-alert {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}


/* =========================================
   ROTARACT MODERN WAVE FOOTER
========================================= */
.footer {
    position: relative;
    margin-top: 3.5rem !important;
    z-index: 20;
    background: linear-gradient(180deg, #180722 0%, #0d0213 100%) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    padding: 3.5rem 1.5rem 2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    overflow: visible !important;
}

@media (min-width: 768px) {
    .footer {
        margin-top: 4.5rem !important;
        padding: 4rem 2rem 2.5rem !important;
    }
}

/* Homepage seamless footer transition: remove white gap so purple section merges directly into footer */
.success-stories {
    padding-bottom: 110px !important;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .success-stories {
        padding-bottom: 80px !important;
    }
}

.success-stories + .footer,
body.home-page .footer {
    margin-top: 0 !important;
}

.footer-wave {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    line-height: 0;
    margin-bottom: -1px;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 3.5rem;
    color: #180722;
    transform: rotate(180deg);
}

.footer-main-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-main-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }
}

.footer-brand-info {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand-info {
        text-align: left;
    }
}

.footer-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .footer-brand-header {
        justify-content: flex-start;
    }
}

.footer-logo-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #D91B5C;
    box-shadow: 0 0 15px rgba(217, 27, 92, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.footer-brand-name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 800;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    background: linear-gradient(to right, #ffffff, #ff758c, #D91B5C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3px;
    white-space: normal;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto 0.35rem;
    max-width: 320px;
}

@media (min-width: 768px) {
    .footer-tagline {
        margin: 0 0 0.35rem 0;
        max-width: none;
    }
}

.footer-copyright {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
}

.footer-quick-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding: 2px 0;
    white-space: nowrap;
}

.footer-quick-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(217, 27, 92, 0.5);
}

.footer-quick-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D91B5C;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-quick-links a:hover::after {
    width: 100%;
}

.footer-dev-credit-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 9999px;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(217, 27, 92, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-dev-credit-container:hover {
    box-shadow: 0 6px 22px rgba(217, 27, 92, 0.35);
    background: rgba(217, 27, 92, 0.15);
    border-color: rgba(217, 27, 92, 0.6);
    transform: translateY(-2px);
}

.dev-link-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    font-size: clamp(0.72rem, 2.5vw, 0.85rem) !important;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap !important;
}

.dev-link-new:hover {
    color: #ff6584;
}

.dev-link-new .dev-icon {
    color: #D91B5C;
    transition: transform 0.3s ease;
}

.dev-link-new:hover .dev-icon {
    transform: rotate(12deg) scale(1.1);
}

.dev-link-new span {
    position: relative;
    white-space: nowrap !important;
}

.dev-link-new span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D91B5C;
    transition: width 0.3s ease;
    border-radius: 9999px;
}

.dev-link-new:hover span::after {
    width: 100%;
}

.dev-link-new .dev-arrow {
    color: #D91B5C;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.dev-link-new:hover .dev-arrow {
    opacity: 1;
    transform: translateX(0);
}

.footer-social-row {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.footer-social-row a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-row a:hover {
    color: #ffffff;
    background: #D91B5C;
    border-color: #D91B5C;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(217, 27, 92, 0.45);
}
