/* --- Material UI System x Custom Palette --- */

body {
    /* font-family: 'Outfit', 'Roboto', sans-serif; */
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: all 0.4s ease;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-weight: 800; */
    font-family: var(--font-heading);
    color: var(--text-main);
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--font-heading) !important;
}

/* Utilities */
/* Bootstrap Overrides to remove Blue */
.text-primary {
    color: var(--p-violet) !important;
}

.bg-primary {
    background-color: var(--p-violet) !important;
}

.border-primary {
    border-color: var(--p-violet) !important;
}

.btn-primary {
    background-color: var(--p-violet) !important;
    border-color: var(--p-violet) !important;
}

.btn-outline-primary {
    color: var(--p-violet) !important;
    border-color: var(--p-violet) !important;
}

.btn-outline-primary:hover {
    background-color: var(--p-violet) !important;
    color: white !important;
}

/* Palette Utilities */
.text-dark-amethyst {
    color: var(--p-dark-1) !important;
}

.bg-dark-amethyst {
    background-color: var(--p-dark-1) !important;
}

.text-indigo-ink {
    color: var(--p-indigo-1) !important;
}

.text-royal-violet {
    color: var(--p-violet) !important;
}

.border-royal-violet {
    border-color: var(--p-violet) !important;
}

.text-lavender {
    color: var(--p-lavender) !important;
}

.bg-lavender-subtle {
    background-color: rgba(157, 78, 221, 0.1) !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.italic {
    font-style: italic;
}

.bg-lavender {
    background-color: var(--p-lavender) !important;
}

.border-lavender {
    border: 1px solid var(--p-lavender) !important;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.ls-2 {
    letter-spacing: 2px !important;
}

.ls-1 {
    letter-spacing: 1px !important;
}

.x-small {
    font-size: 0.75rem !important;
}

/* Custom Multi-purpose Utilities */
.mx-w-600 {
    max-width: 600px !important;
}

.mx-w-700 {
    max-width: 700px !important;
}

.mx-w-750 {
    max-width: 750px !important;
}

.mx-w-800 {
    max-width: 800px !important;
}

.mx-w-900 {
    max-width: 900px !important;
}

.bg-soft-lavender {
    background: #fbf9ff !important;
}

.img-offset-bg {
    inset: -15px 15px 15px -15px;
    z-index: -1;
}

.h-480-cover {
    height: 480px;
    object-fit: cover;
}

.h-200-cover {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.h-400-cover {
    height: 400px;
    object-fit: cover;
}

.max-h-70 {
    max-height: 70px !important;
}

.opacity-5 {
    opacity: 0.05 !important;
}

.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-15 {
    opacity: 0.15 !important;
}

.opacity-20 {
    opacity: 0.2 !important;
}

.z-n1 {
    z-index: -1 !important;
}

.blur-40 {
    filter: blur(40px) !important;
}

.blur-60 {
    filter: blur(60px) !important;
}

.blur-80 {
    filter: blur(80px) !important;
}

.radial-top-left {
    background: radial-gradient(circle at 10% 20%, #9d4edd 0%, transparent 50%) !important;
}

.radial-bottom-right {
    background: radial-gradient(circle at 90% 80%, #7b2cbf 0%, transparent 50%) !important;
}

.drop-shadow-glow {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)) !important;
}


.h-250 {
    height: 250px !important;
}

.grayscale-filter {
    transition: all 0.5s ease;
}

.grayscale-filter:hover {
    filter: none !important;
}

.grayscale-filter .object-fit-cover {
    filter: grayscale(80%);
    transition: all 0.5s ease;
}

.grayscale-filter:hover .object-fit-cover {
    filter: grayscale(0%);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

.fs-7 {
    font-size: 0.85rem !important;
}

.pointer-none {
    pointer-events: none;
}

.shadow-premium {
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5) !important;
}

.bg-soft-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-soft-info {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.bg-soft-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.theme-gradient-border {
    position: relative;
    z-index: 1;
}

.theme-gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #6246ea, #ec4899);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    z-index: -1;
}

.icon-circle-m {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-circle-m i {
    font-size: 0.9rem;
}

.animate-pulse {
    animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.1) translate(20px, 20px);
        opacity: 0.15;
    }
}

.transition-icon {
    transition: transform 0.3s ease;
}

.group-hover-btn:hover .transition-icon {
    transform: translateX(5px);
}

.contact-header {
    padding-top: 180px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 991px) {
    .contact-header {
        padding-top: 160px !important;
        padding-bottom: 90px !important;
    }
}

.divider-accent {
    width: 80px;
    height: 4px;
    background: var(--grad-lavender);
    border-radius: 2px;
}

.delay-1 {
    animation-delay: 0.1s !important;
}

.delay-2 {
    animation-delay: 0.2s !important;
}

.delay-3 {
    animation-delay: 0.3s !important;
}

.delay-4 {
    animation-delay: 0.4s !important;
}


.text-gradient {
    background: var(--grad-lavender);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(45deg, #e0aaff, #ffffff, #c77dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Breadcrumb Divider Color Fix */
.hero-section .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Desktop Navbar --- */
.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 700px;
    border-radius: 60px;
    padding: 1rem 3rem;
    /* Glass background - Optimized for performance */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    will-change: transform, top;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle glass border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    top: 15px;
    background: var(--nav-bg);
    /* Use current background (solid white) */
    border-color: var(--nav-border-scrolled);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Nav Link Styling */
.navbar .nav-link {
    color: #ffffff !important;
    /* White text for glass state on dark hero */
    font-family: var(--font-heading);
    font-weight: 400;
    /* Archivo Black doesn't need 600 */
    font-size: 1rem;
    padding: 0.5rem 2rem !important;
    border-radius: 0;
    background: transparent !important;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--text-main) !important;
    /* Dark text when scrolled onto white background */
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

/* Round Social Buttons */
.btn-social-round {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    padding: 0 !important;
    transition: all 0.3s ease;
}

.btn-social-round:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

/* --- Modern Dropdown Styling --- */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 15px !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--p-lavender);
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    background: transparent !important;
    color: var(--text-muted) !important;
    transform: none !important;
}

.dropdown-item.coming-soon span {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

/* --- Mobile Floating Breadcrumb --- */
.mobile-nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(123, 44, 191, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:active {
    transform: scale(0.9);
}

/* --- Mobile Overlay Menu --- */
.mobile-overlay-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-body);
    z-index: 3000;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 2rem;
}

.mobile-overlay-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-nav-links a {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
    color: var(--primary);
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    padding: 5px 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mobile-dropdown-toggle.expanded {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 1rem;
}

.mobile-dropdown-menu a {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-menu a:last-child {
    border-bottom: none;
}

/* --- Components --- */
.m-card {
    background: var(--bg-surface);
    border-radius: 30px;
    padding: 3.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.btn-premium {
    background: var(--grad-lavender);
    color: white !important;
    border-radius: 50px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    border: none;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btn-m-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-m-outline:hover {
    background: #ffffff;
    color: var(--p-violet) !important;
    border-color: #ffffff;
}

.btn-m-outline.text-royal-violet {
    color: var(--p-violet) !important;
    border-color: var(--p-violet) !important;
}

.btn-m-outline.text-royal-violet:hover {
    background: var(--p-violet);
    color: #ffffff !important;
    border-color: var(--p-violet) !important;
}

@media (max-width: 991px) {

    .btn-premium,
    .btn-m-outline {
        padding: 8px 20px !important;
        font-size: 0.85rem;
        font-weight: 700;
    }
}

/* Hero Section Spacing */
.hero-section {
    padding-top: 180px !important;
    padding-bottom: 120px !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(15, 5, 41, 0.85), rgba(15, 5, 41, 0.8)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    border-bottom-left-radius: clamp(40px, 8vw, 100px);
    border-bottom-right-radius: clamp(40px, 8vw, 100px);
}

.hero-logo {
    height: clamp(70px, 12vw, 130px);
    width: auto;
    filter: drop-shadow(0 0 30px rgba(157, 78, 221, 0.4));
    margin-bottom: 0.5rem;
}

.hero-logo-wrapper {
    position: relative;
    z-index: 5;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 140px !important;
        padding-bottom: 80px !important;
        min-height: 500px !important;
        background-attachment: scroll;
    }

    .display-1 {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .display-1 {
        font-size: 2.8rem !important;
    }

    .hero-section {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
        min-height: 500px !important;
    }

    .hero-desc {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .btn-premium,
    .btn-m-outline {
        margin-bottom: 10px;
    }
}

.hero-section h1,
.hero-section .hero-desc {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section .hero-badge small {
    color: var(--p-indigo-2) !important;
}

/* Spacing & Sections */
section {
    padding: 5rem 1.5rem;
}

@media (max-width: 767px) {
    section {
        padding: 2.5rem 1rem !important;
    }
}

@media (min-width: 992px) {
    section {
        padding: 5rem 2rem;
    }
}

/* Custom Shapes & Utilities */
.img-organic {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.img-organic:hover {
    border-radius: 30% 70% 70% 30% / 50% 60% 40% 50%;
}

.border-gradient-lavender {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--grad-lavender) border-box;
}

.bg-mesh-light {
    background-image: radial-gradient(at 0% 0%, rgba(157, 78, 221, 0.03) 0, transparent 50%);
}

/* --- About Page Redesign Utilities --- */

/* Modern Fancy Purpose Section */
.glass-card-premium {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.glass-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(123, 44, 191, 0.15);
    border-color: var(--p-mauve-2);
}

.glass-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-card-premium:hover::after {
    opacity: 1;
}

.icon-box-glow {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--p-indigo-2), var(--p-violet));
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.glass-card-premium:hover .icon-box-glow {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(123, 44, 191, 0.5);
}

/* Dark Gradient Background for Audience */
.bg-gradient-cosmic {
    background-color: var(--p-dark-1);
    background: linear-gradient(135deg, var(--p-dark-1) 0%, var(--p-indigo-1) 100%);
    position: relative;
    color: white !important;
}

.bg-gradient-cosmic h1,
.bg-gradient-cosmic h2,
.bg-gradient-cosmic h3,
.bg-gradient-cosmic h4,
.bg-gradient-cosmic h5,
.bg-gradient-cosmic h6 {
    color: #ffffff !important;
}

.bg-gradient-cosmic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(157, 78, 221, 0.2), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(123, 44, 191, 0.2), transparent 40%);
    pointer-events: none;
}

/* CTA Spacing Fix */
.cta-box-refined {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem !important;
    background: white;
    position: relative;
    border-radius: 30px;
    z-index: 1;
    text-align: center;
    color: var(--text-main) !important;
}

.cta-box-refined h1,
.cta-box-refined h2,
.cta-box-refined h3,
.cta-box-refined h4,
.cta-box-refined h5 {
    color: var(--p-dark-1) !important;
}

.cta-box-refined p,
.cta-box-refined .text-muted {
    color: var(--text-muted) !important;
    opacity: 0.8;
}

.cta-box-refined .lead {
    color: var(--text-main) !important;
    font-weight: 500;
}

/* Override dark background heading colors for CTA boxes */
.bg-chapter-cosmic .cta-box-refined h1,
.bg-chapter-cosmic .cta-box-refined h2,
.bg-chapter-cosmic .cta-box-refined h3,
.bg-chapter-cosmic .cta-box-refined h4,
.bg-chapter-cosmic .cta-box-refined h5,
.bg-chapter-premium .cta-box-refined h1,
.bg-chapter-premium .cta-box-refined h2,
.bg-chapter-premium .cta-box-refined h3,
.bg-chapter-premium .cta-box-refined h4,
.bg-chapter-premium .cta-box-refined h5,
.bg-gradient-cosmic .cta-box-refined h1,
.bg-gradient-cosmic .cta-box-refined h2,
.bg-gradient-cosmic .cta-box-refined h3,
.bg-gradient-cosmic .cta-box-refined h4,
.bg-gradient-cosmic .cta-box-refined h5 {
    color: var(--p-dark-1) !important;
}

.bg-chapter-cosmic .cta-box-refined p,
.bg-chapter-cosmic .cta-box-refined .lead,
.bg-chapter-premium .cta-box-refined p,
.bg-chapter-premium .cta-box-refined .lead,
.bg-gradient-cosmic .cta-box-refined p,
.bg-gradient-cosmic .cta-box-refined .lead {
    color: var(--text-main) !important;
}

.cta-box-refined .d-flex,
.cta-box-refined .d-inline-flex {
    justify-content: center !important;
}

@media (max-width: 991px) {
    .glass-card-premium.p-5 {
        padding: 3rem !important;
    }

    .bg-gradient-cosmic .p-5 {
        padding: 3rem !important;
    }

    .cta-box-refined {
        padding: 3rem 2rem !important;
    }
}

@media (max-width: 767px) {
    .glass-card-premium.p-5 {
        padding: 2rem !important;
    }

    .bg-gradient-cosmic .p-5 {
        padding: 2rem 1.5rem !important;
    }

    .cta-box-refined {
        padding: 2.5rem 1.5rem !important;
        text-align: center !important;
    }
}

/* Hero Background Elements */
.hero-bg-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: var(--grad-lavender);
    filter: blur(200px);
    opacity: 0.1;
    border-radius: 50%;
}

.hero-bg-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--p-indigo-2);
    filter: blur(180px);
    opacity: 0.08;
    border-radius: 50%;
}

/* Hero Badge */
.hero-badge {
    background: var(--bg-surface-variant);
    border: 1px solid var(--border-color);
}

.hero-badge small {
    font-size: 0.8rem;
}

/* Hero Text */
.hero-desc {
    font-weight: 400;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Card Variants */
.feature-card-accent {
    border-right: 8px solid var(--p-lavender);
}

.text-lavender-light {
    color: #e0aaff !important;
    /* Bright Mauve */
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.counter-icon-box {
    background: var(--grad-lavender);
    color: white;
}

.card-inner-box {
    background: var(--bg-surface-variant);
}

/* Custom Progress */
.m-progress {
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.m-progress-bar {
    background: var(--grad-lavender);
    border-radius: 10px;
}

/* About Card Floating */
.img-premium-container {
    border-radius: 80px 20px 80px 20px;
    overflow: hidden;
    position: relative;
    border: 8px solid var(--bg-surface-variant);
    transition: all 0.5s ease;
}

.img-premium-container:hover {
    border-radius: 20px 80px 20px 80px;
}

.img-premium {
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* --- Animations & Interaction --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
}

/* Staggered Delay for What-We-Do Cards */
.bg-dark-premium .row>article:nth-child(1) {
    animation-delay: 0.1s;
}

.bg-dark-premium .row>article:nth-child(2) {
    animation-delay: 0.2s;
}

.bg-dark-premium .row>article:nth-child(3) {
    animation-delay: 0.3s;
}

.bg-dark-premium .row>article:nth-child(4) {
    animation-delay: 0.4s;
}

/* Glowing Background Aura Animation */
@keyframes auraPulse {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.05;
    }

    50% {
        transform: scale(1.2) translate(-5%, -5%);
        opacity: 0.08;
    }
}

.bg-dark-premium {
    background: linear-gradient(135deg, #0f0529 0%, #1a0b3d 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

.bg-dark-premium h1,
.bg-dark-premium h2,
.bg-dark-premium h3,
.bg-dark-premium h4,
.bg-dark-premium h5,
.bg-dark-premium h6 {
    color: #ffffff !important;
}

/* New Chapter-Specific Gradients (Inspired by support-us.php but with creative angles) */
.bg-chapter-premium {
    background-color: #0f0529;
    background-image:
        radial-gradient(circle at 85% 15%, rgba(157, 78, 221, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 15% 85%, rgba(123, 44, 191, 0.2) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

#speakers {
    position: relative;
    overflow: hidden;
    background: #ffffff !important;
    padding-top: 100px;
    padding-bottom: 100px;
}

#speakers::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.bg-chapter-premium::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.12) 0%, transparent 70%);
    animation: auraPulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.bg-chapter-cosmic {
    background-color: #0a041a;
    background-image:
        radial-gradient(circle at 50% -10%, rgba(123, 44, 191, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 50% 110%, rgba(157, 78, 221, 0.15) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

.bg-chapter-cosmic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.05) 0%, transparent 70%);
    animation: auraPulse 20s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.bg-chapter-premium .text-muted,
.bg-chapter-cosmic .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-chapter-premium h1,
.bg-chapter-premium h2,
.bg-chapter-premium h3,
.bg-chapter-cosmic h1,
.bg-chapter-cosmic h2,
.bg-chapter-cosmic h3 {
    color: #ffffff !important;
}

.bg-dark-premium .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.bg-dark-premium .text-secondary {
    color: rgba(255, 255, 255, 0.6) !important;
}

.bg-dark-premium::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--grad-lavender);
    filter: blur(150px);
    opacity: 0.05;
    border-radius: 50%;
    animation: auraPulse 10s ease-in-out infinite;
    pointer-events: none;
}

.m-card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 35px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff !important;
}

.m-card-dark h1,
.m-card-dark h2,
.m-card-dark h3,
.m-card-dark h4,
.m-card-dark h5,
.m-card-dark h6 {
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .m-card-dark {
        padding: 1.5rem;
    }

    .m-card-dark h3 {
        font-size: 1.25rem;
    }
}

.m-card-dark:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-12px);
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(157, 78, 221, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--p-mauve-1);
    transition: all 0.3s ease;
}

.m-card-dark:hover .pillar-icon-box {
    background: var(--grad-lavender);
    color: white;
    transform: rotate(10deg);
}

.about-wave-bg {
    background-color: #f1f1f6;
    /* Very light cool dark shade */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%239d4edd' fill-opacity='0.05' d='M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,96C672,75,768,85,864,117.3C960,149,1056,203,1152,202.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    position: relative;
}

@media (max-width: 767px) {
    .img-premium {
        height: 350px;
    }
}

.carousel-item.active .img-premium {
    transform: scale(1.05);
}

.custom-indicators {
    bottom: 25px !important;
    margin-bottom: 0;
    gap: 10px;
}

.custom-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}


/* --- Cosmic Theme Gradient (Replicated from Contact Hero) --- */
.bg-cosmic-theme {
    background-color: #0f0529;
    /* Deep Space Base */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(98, 70, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.bg-cosmic-theme h1,
.bg-cosmic-theme h2,
.bg-cosmic-theme h3,
.bg-cosmic-theme h4,
.bg-cosmic-theme h5,
.bg-cosmic-theme h6 {
    color: #ffffff;
}

.bg-cosmic-theme p,
.bg-cosmic-theme .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-cosmic-theme .lead {
    color: rgba(255, 255, 255, 0.8) !important;
}

.custom-indicators button.active {
    background-color: #ffffff !important;
    width: 35px !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.about-floating-card {
    bottom: 30px;
    right: -25px;
    width: 280px;
    padding: 1.5rem !important;
    border-left: 5px solid var(--p-lavender);
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

/* --- Added Animations & CTA Gradient --- */
.fade-up-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}


/* --- Cosmic Theme Event Section Fixes (Light Cards) --- */
.bg-cosmic-theme .events-list .event-card-row {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    /* Ensures radius is respected */
}

.bg-cosmic-theme .events-list .event-card-row:hover {
    transform: translateY(-5px);
    background: #ffffff;
}

/* Force Dark Text on Light Card */
.bg-cosmic-theme .event-card-row h1,
.bg-cosmic-theme .event-card-row h2,
.bg-cosmic-theme .event-card-row h3,
.bg-cosmic-theme .event-card-row h4,
.bg-cosmic-theme .event-card-row h5,
.bg-cosmic-theme .event-card-row h6 {
    color: var(--text-main) !important;
}

.bg-cosmic-theme .event-card-row .text-muted {
    color: var(--text-muted) !important;
}

.bg-cosmic-theme .event-card-row .event-date-box {
    color: #fff !important;
}

/* Restore Purple Gradient Text on Light Background */
.bg-cosmic-theme .event-card-row .text-gradient {
    background: var(--grad-lavender) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.cta-box-gradient {
    background: var(--grad-lavender) !important;
    color: white;
}

.cta-box-gradient h2,
.cta-box-gradient p,
.cta-box-gradient .lead,
.cta-box-gradient .text-muted {
    color: white !important;
    opacity: 0.95;
}

.btn-white-filled {
    background: white !important;
    color: var(--p-violet) !important;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-white-filled:hover {
    background: #f8f9fa !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-outline-white-custom {
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    color: white !important;
    background: transparent;
    border-radius: 50px;
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-outline-white-custom:hover {
    background: white !important;
    color: var(--p-violet) !important;
    border-color: white !important;
}

@media (max-width: 991px) {
    .about-floating-card {
        right: 0;
        bottom: 20px;
        width: 240px;
    }
}

.about-desc {
    opacity: 0.9;
}

/* --- Upcoming Events Section --- */
.bg-events-mesh {
    background-color: #fdfbff;
    background-image:
        radial-gradient(at 0% 0%, rgba(157, 78, 221, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(123, 44, 191, 0.05) 0, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Animated Floating Particles */
.events-particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-particle {
    position: absolute;
    background: var(--grad-lavender);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(5px);
    animation: floatingDrift 15s infinite ease-in-out;
}

.particle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.particle-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 10%;
    animation-duration: 35s;
    animation-delay: -5s;
}

.particle-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 20%;
    animation-duration: 45s;
    animation-delay: -10s;
}

@keyframes floatingDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

/* Animated Mesh Blobs */
.bg-events-mesh::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.03) 0%, transparent 40%);
    animation: blobMovement 20s infinite linear;
    z-index: 1;
}

@keyframes blobMovement {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.events-dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.event-card-row {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.event-img-container {
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

.event-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.event-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 5, 41, 0.4) 0%, transparent 60%);
}

.event-card-row:hover {
    transform: translateY(-8px) scale(1.005);
    background: #ffffff;
    border-color: var(--p-lavender);
    box-shadow: 0 30px 60px rgba(157, 78, 221, 0.1);
}

.event-card-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--grad-lavender);
    opacity: 0.03;
    transition: width 0.4s ease;
    z-index: -1;
}

.event-card-row:hover::before {
    width: 100%;
}

.btn-premium-sm {
    background: var(--grad-lavender);
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.2);
    transition: all 0.3s ease;
}

.btn-premium-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.3);
    color: white !important;
}

.bg-lavender-light {
    background: rgba(157, 78, 221, 0.1);
    color: var(--p-indigo-1);
}

.btn-link-premium {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.btn-link-premium::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--grad-lavender);
    transition: width 0.3s ease;
}

.btn-link-premium:hover {
    color: var(--p-indigo-1);
}

.btn-link-premium:hover::after {
    width: 100%;
}

@media (max-width: 767px) {
    .event-card-row {
        text-align: center;
        margin-left: 5px;
        margin-right: 5px;
    }

    .event-card-row .p-4 {
        padding: 1.5rem !important;
    }

    .event-date-box {
        width: 80px;
        height: 90px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px !important;
    }

    .btn-premium-sm {
        width: 100%;
        justify-content: center;
    }

    .event-img-container {
        height: 180px;
        min-height: 180px;
    }
}

.event-date-box {
    width: 90px;
    height: 100px;
    background: var(--grad-lavender);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.fw-800 {
    font-family: var(--font-heading);
    font-weight: 400 !important;
}

/* --- Member Success Stories (Dark) --- */
.bg-deep-space {
    background: radial-gradient(circle at 20% 30%, #160a2e 0%, #0a041a 100%);
    position: relative;
    overflow: hidden;
}

.bg-deep-space::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--p-lavender);
    filter: blur(180px);
    opacity: 0.05;
    bottom: -10%;
    left: -10%;
    z-index: 0;
}

.story-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(157, 78, 221, 0.3);
}

.story-quote-icon {
    font-size: 4rem;
    color: var(--p-lavender);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 40px;
}

.member-avatar-ring {
    width: 90px;
    height: 90px;
    padding: 5px;
    background: var(--grad-lavender);
    border-radius: 30px;
    display: inline-block;
    margin-top: -70px;
    margin-bottom: 20px;
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.4);
}

.member-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    background: #fff;
}

#speakers {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.speaker-swiper {
    padding: 60px 0 80px !important;
    overflow: visible !important;
    width: 100%;
}

@media (max-width: 767px) {
    .speaker-swiper {
        overflow: hidden !important;
        /* Contain slider on smaller screens */
        padding: 40px 0 60px !important;
    }

    #speakers {
        padding-left: 0;
        padding-right: 0;
    }
}

.speaker-swiper .swiper-slide {
    width: 380px;
    height: auto;
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scale(0.85);
    /* Side speakers slightly smaller */
}

.speaker-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.1);
    /* Center speaker highlighted and big */
    z-index: 10;
}

@media (max-width: 991px) {
    .speaker-swiper .swiper-slide {
        width: 320px;
    }
}

@media (max-width: 575px) {
    .speaker-swiper .swiper-slide {
        width: 85vw;
        max-width: 300px;
    }
}

/* --- Speaker Illustration & CFP Styles --- */
.speaker-illustration {
    position: relative;
    z-index: 2;
}

.speaker-illustration .card {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2) !important;
}

.speaker-illustration h3 {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--p-dark-1) !important;
}

.speaker-illustration .text-gradient {
    font-family: var(--font-heading) !important;
}

.icon-box-speaker {
    background: var(--bg-surface-variant) !important;
}

.text-lavender-speaker {
    color: var(--p-lavender) !important;
    font-weight: 600;
}

.speaker-desc {
    color: var(--p-indigo-1) !important;
    opacity: 0.8;
}

.speaker-feature {
    color: var(--p-dark-1) !important;
    font-weight: 500;
}

.speaker-card {
    background: #ffffff;
    border-radius: 35px;
    padding: 4rem 2rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 50px 15px 0;
}

.speaker-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 35px;
    padding: 2px;
    background: linear-gradient(135deg, var(--p-violet), transparent, var(--p-lavender));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.speaker-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(123, 44, 191, 0.15);
    border-color: transparent;
}

.speaker-card:hover::before {
    opacity: 1;
}

.speaker-img-wrapper {
    width: 150px;
    height: 150px;
    margin: -130px auto 25px;
    position: relative;
    z-index: 5;
}

.speaker-img-glow {
    position: absolute;
    inset: -10px;
    background: var(--grad-lavender);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(15px);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

.speaker-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.speaker-card h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--p-dark-1);
    letter-spacing: -0.5px;
}

.speaker-designation {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    background: var(--bg-lavender-subtle);
    color: var(--p-violet);
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.speaker-card p.text-muted {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.speaker-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.speaker-socials a {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    color: var(--p-dark-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.speaker-socials a:hover {
    background: var(--p-violet);
    color: #ffffff;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.2);
}

/* Swiper Navigation Customization */
.speaker-swiper .swiper-button-next,
.speaker-swiper .swiper-button-prev {
    color: var(--p-lavender);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    top: 55%;
}

.speaker-swiper .swiper-button-next::after,
.speaker-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: 900;
}

.speaker-swiper .swiper-button-next:hover,
.speaker-swiper .swiper-button-prev:hover {
    background: var(--grad-lavender);
    color: white;
}

.speaker-swiper .swiper-pagination-bullet {
    background: var(--p-lavender);
    opacity: 0.2;
}

.speaker-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .speaker-swiper {
        padding: 80px 0 60px;
    }

    .speaker-card {
        padding: 3.5rem 1.5rem 2.5rem;
    }

    .speaker-card h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .speaker-swiper {
        padding: 90px 0 50px !important;
        overflow: hidden !important;
    }

    .speaker-swiper .swiper-slide {
        width: 85vw;
        max-width: 320px;
    }

    .speaker-card {
        padding: 3rem 1.25rem 2.25rem;
        margin-top: 45px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        /* Lighter shadow for mobile performance */
    }

    .speaker-img-wrapper {
        width: 130px;
        height: 130px;
        margin-top: -105px;
    }

    .speaker-card h4 {
        font-size: 1.4rem;
        margin-bottom: 0.25rem;
    }

    .speaker-designation {
        font-size: 0.65rem;
        padding: 4px 12px;
        margin-bottom: 0.5rem;
    }

    .speaker-socials a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .speaker-swiper .swiper-button-next,
    .speaker-swiper .swiper-button-prev {
        display: none !important;
    }
}

/* --- Chapter Lead Journeys (Dark) --- */
.journey-segment {
    position: relative;
    padding-left: 50px;
    margin-bottom: 3rem;
}

.journey-segment::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--p-lavender), transparent);
}

.journey-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--grad-lavender);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
    z-index: 2;
}

.journey-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 25px;
    padding: 2rem;
    border-left: 4px solid var(--p-lavender);
    transition: all 0.3s ease;
}

.journey-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(10px);
}

@media (min-width: 992px) {
    .journey-row {
        position: relative;
        padding: 4rem 0;
    }

    .journey-row::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 0;
    }
}

/* --- FAQ Section (Modern Accordion) --- */
.bg-faq-soft {
    background: radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    will-change: transform;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: var(--p-lavender);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.08);
}

.faq-item.active {
    border-color: var(--p-lavender);
    background: rgba(157, 78, 221, 0.01);
    box-shadow: 0 20px 45px rgba(157, 78, 221, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--p-indigo-1);
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: var(--p-lavender);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(157, 78, 221, 0.05);
    color: var(--p-lavender);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    font-size: 0.8rem;
}

.faq-item.active .faq-icon {
    background: var(--grad-lavender);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 2rem;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    color: var(--p-indigo-2);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(157, 78, 221, 0.1);
}

@media (max-width: 767px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h4 {
        font-size: 1rem;
        padding-right: 15px;
    }
}

/* --- Fancy Modern Footer --- */
.modern-footer {
    background: linear-gradient(to bottom, #0a041a 0%, #15082d 100%);
    color: #ffffff;
    padding: 30px 0 60px;
    /* Reduced internal space */
    position: relative;
    margin-top: 80px;
    /* Restored external space between FAQ and curve */
}

.footer-curve-top {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: #0a041a;
    border-top-left-radius: 50% 60px;
    border-top-right-radius: 50% 60px;
    z-index: 1;
}

.footer-logo-main {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.4));
}

.text-gradient-lavender {
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-line {
    width: 60px;
    height: 4px;
    background: var(--grad-lavender);
    border-radius: 2px;
    margin-top: 5px;
}

.footer-social-cluster {
    display: flex;
    gap: 15px;
}

.social-badge {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.3rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-badge:hover {
    background: var(--grad-lavender);
    border-color: transparent;
    transform: translateY(-8px) rotate(8deg);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.4);
}

.footer-heading {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--p-lavender);
    position: relative;
    display: inline-block;
    border-bottom: 2px solid rgba(157, 78, 221, 0.1);
    padding-bottom: 8px;
}

.fancy-menu li {
    margin-bottom: 12px;
}

.fancy-menu li a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

@media (min-width: 992px) {
    .fancy-menu li a::before {
        content: '→';
        margin-right: 10px;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        color: var(--p-lavender);
    }

    .fancy-menu li a:hover {
        color: #fff !important;
        padding-left: 5px;
    }

    .fancy-menu li a:hover::before {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-lavender);
    margin-right: 15px;
    font-size: 1rem;
}

.newsletter-fancy {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
}

.input-glass-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-glass-group input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    flex-grow: 1;
    outline: none;
}

.input-glass-group button {
    background: var(--grad-lavender);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.input-glass-group button:hover {
    transform: scale(1.05);
}

.footer-bottom-fancy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff !important;
}

.footer-legal-links .dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-block;
    margin: 0 12px;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .modern-footer {
        margin-top: 0;
        padding-top: 40px;
    }

    .footer-curve-top {
        height: 40px;
        top: -40px;
        border-top-left-radius: 50% 40px;
        border-top-right-radius: 50% 40px;
    }
}

@media (max-width: 767px) {
    .modern-footer {
        text-align: center;
    }

    .footer-brand-fancy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social-cluster {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}


/* --- Performance-First Overrides (Mobile) --- */
@media (max-width: 767px) {

    /* Reduce shadow complexity on mobile */
    .navbar,
    .story-card,
    .speaker-card,
    .hero-badge,
    .m-card,
    .faq-item,
    .journey-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .speaker-card {
        background: #ffffff !important;
    }

    .speaker-img-glow,
    .floating-particle,
    .hero-bg-1,
    .hero-bg-2,
    .events-dot-pattern {
        /* Keep glow but hide complex background fragments for mobile performance */
        display: block;
    }

    .floating-particle,
    .hero-bg-1,
    .hero-bg-2,
    .events-dot-pattern {
        display: none !important;
    }

    .animate-fade-up {
        /* Simplify animations on mobile - just opacity */
        animation: fadeInOnly 0.5s ease-out forwards !important;
    }

    @keyframes fadeInOnly {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Optimize Swiper Movement */
    .speaker-swiper {
        padding: 30px 0 50px !important;
    }
}

/* --- Partners Section --- */
.partners-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    align-items: center;
    justify-items: center;
}

.partner-card {
    width: 350px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.5s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .partners-section {
        padding: 80px 0;
    }

    .partner-card {
        width: 300px;
        height: 180px;
    }
}

@media (max-width: 767px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-card {
        width: 100%;
        height: 150px;
        padding: 10px;
    }
}

/* --- Events Page Styles --- */

/* Event Card Modern */
.event-card-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.event-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(123, 44, 191, 0.15);
}

.event-card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card-modern:hover .event-card-img-wrapper img {
    transform: scale(1.1);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    color: var(--p-indigo-1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Chapter Card Fancy */
.chapter-card-fancy {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.chapter-card-fancy:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(123, 44, 191, 0.3);
}

.chapter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(16, 0, 43, 0.8) 70%, rgba(16, 0, 43, 0.95) 100%);
    transition: all 0.4s ease;
}

.chapter-card-fancy:hover .chapter-overlay {
    background: linear-gradient(to bottom, rgba(123, 44, 191, 0.2) 0%, rgba(16, 0, 43, 0.9) 100%);
}

.chapter-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.chapter-card-fancy:hover .chapter-content {
    transform: translateY(0);
}

.chapter-badge {
    display: inline-block;
    background: var(--p-violet);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chapter-title {
    color: white;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chapter-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    height: 0;
    overflow: hidden;
}

.chapter-card-fancy:hover .chapter-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 1.5rem;
}

/* Past Highlights */
.highlight-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.highlight-card:hover .highlight-img {
    transform: scale(1.1);
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.highlight-content span {
    display: inline-block;
}

/* Gallery Masonry-like */
.gallery-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Background badge */
.bg-lavender-subtle {
    background-color: rgba(157, 78, 221, 0.1) !important;
}

/* Events Page Responsive Styles */
@media (max-width: 991px) {
    .chapter-card-fancy {
        height: 380px;
    }

    .chapter-title {
        font-size: 1.75rem;
    }

    .highlight-card {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .chapter-card-fancy {
        height: 350px;
    }

    .event-card-modern {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .chapter-card-fancy {
        height: 320px;
        margin-bottom: 20px;
    }

    .chapter-title {
        font-size: 1.5rem;
    }

    .chapter-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .event-card-modern .event-card-body {
        padding: 1.5rem !important;
    }

    .event-date-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }

    .event-date-badge span {
        font-size: 1.5rem;
    }

    .event-date-badge small {
        font-size: 0.7rem;
    }

    .highlight-card {
        height: 220px;
        margin-bottom: 15px;
    }

    .highlight-overlay {
        padding: 1.5rem;
    }

    .gallery-item {
        margin-bottom: 15px !important;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .event-card-modern {
        margin-bottom: 20px;
    }

    .chapter-content {
        padding: 1.5rem;
    }
}

/* Nav pills responsive */
@media (max-width: 576px) {
    #eventsTab .nav-link {
        font-size: 0.85rem;
        padding: 8px 16px !important;
    }
}

/* Events Page Tab Pills Custom Styling */
#eventsTab .nav-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.2);
    color: var(--text-main);
    font-weight: 700;
    transition: all 0.3s ease;
}

#eventsTab .nav-link:hover {
    background: rgba(157, 78, 221, 0.1);
    border-color: var(--p-lavender);
    transform: translateY(-2px);
}

#eventsTab .nav-link.active {
    background: var(--grad-lavender);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

/* --- Process Section Timeline --- */
.process-timeline {
    position: relative;
    padding-left: 10px;
}

.process-line {
    position: absolute;
    top: 20px;
    left: 28px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--p-lavender), transparent);
    z-index: 0;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.process-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-lavender);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
    min-width: 40px;
    /* Prevent shrinking */
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    /* Star invisible for animation */
}

/* Stagger animation for markers */
.process-step-card:nth-child(2) .process-marker {
    animation-delay: 0.2s;
}

.process-step-card:nth-child(3) .process-marker {
    animation-delay: 0.4s;
}

.process-step-card:nth-child(4) .process-marker {
    animation-delay: 0.6s;
}

.process-step-card:nth-child(5) .process-marker {
    animation-delay: 0.8s;
}

@media (max-width: 991px) {
    .process-timeline {
        padding-left: 0;
    }

    /* Disable sticky centering on mobile */
    .sticky-top {
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        min-height: auto !important;
        margin-bottom: 2rem;
    }
}

/* --- Code of Conduct Specific Styles --- */
.border-lavender-subtle {
    border: 1px solid rgba(157, 78, 221, 0.2) !important;
}

.bg-lavender-purple-theme {
    background-color: #9d4edd !important;
}

.text-lavender-light {
    color: #c77dff !important;
}

.m-card-gradient {
    background: linear-gradient(135deg, #3c096c, #5a189a, #7b2cbf);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.text-indigo-ink {
    color: #3c096c !important;
}

.text-dark-amethyst {
    color: #10002b !important;
}

#locationsTab .nav-link {
    background: rgba(157, 78, 221, 0.05);
    color: rgba(224, 170, 255, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
}

#locationsTab .nav-link:hover {
    background: rgba(157, 78, 221, 0.1);
    color: #e0aaff;
    transform: translateY(-2px);
}

#locationsTab .nav-link.active {
    background: linear-gradient(45deg, #7b2cbf, #9d4edd);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.hero-conduct {
    background: linear-gradient(rgba(15, 5, 41, 0.85), rgba(15, 5, 41, 0.95)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-aura-soft {
    opacity: 0.05;
}

.badge-sm {
    font-size: 0.7rem;
}

.border-start-md {
    border-left: none;
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

.icon-80 {
    width: 80px !important;
    height: 80px !important;
}

.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

@media (max-width: 767px) {
    .py-6 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* --- Decorative Elements for Contact Page --- */
.blob-contact-1 {
    width: 200px;
    height: 200px;
    z-index: 0;
}

.blob-contact-2 {
    width: 150px;
    height: 150px;
    z-index: 0;
}

.blob-speaker-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.blob-speaker-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: 10%;
    animation-delay: 2s;
}

/* --- Global Utility Classes --- */
.icon-box-sm {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.9rem !important;
}

.icon-box-md {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2rem !important;
}

.icon-box-lg {
    width: 80px !important;
    height: 80px !important;
    font-size: 2rem !important;
}

.quote-icon-lg {
    font-size: 5rem !important;
}

.avatar-medium {
    width: 70px !important;
    height: 70px !important;
}

.img-avatar-lg {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
}

.opacity-3 {
    opacity: 0.03 !important;
}

.opacity-5 {
    opacity: 0.05 !important;
}

.sticky-vertical-center {
    top: 50vh !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    min-height: 50vh !important;
}

.title-underline-m {
    height: 3px !important;
    border-radius: 2px !important;
    margin-bottom: -8px !important;
}

/* --- Decorative Blobs for Support Page --- */
.blob-support-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.blob-support-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: 10%;
}

.blob-support-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: -50px;
}

/* --- Generic Hero Settings (to reduce inline bg-related styles) --- */
.hero-fixed-bg {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

.img-grayscale-50 {
    filter: grayscale(50%) !important;
}

.h-400-cover {
    height: 400px !important;
    object-fit: cover !important;
}

.delay-0-1 {
    animation-delay: 0.1s !important;
}

.delay-0-2 {
    animation-delay: 0.2s !important;
}

.delay-0-3 {
    animation-delay: 0.3s !important;
}

.delay-0-4 {
    animation-delay: 0.4s !important;
}

.delay-1 {
    animation-delay: 0.1s !important;
}

.delay-2 {
    animation-delay: 0.2s !important;
}

.delay-3 {
    animation-delay: 0.3s !important;
}

.delay-4 {
    animation-delay: 0.4s !important;
}

/* --- Join As Volunteer Section --- */
.volunteer-img-rotate {
    transform: rotate(2deg);
}

.blob-volunteer-1 {
    width: 250px;
    height: 250px;
    z-index: 0;
}

.blob-volunteer-2 {
    width: 200px;
    height: 200px;
    z-index: 0;
}

.volunteer-circle-border {
    width: 120%;
    height: 120%;
    border-width: 2px !important;
    z-index: -1;
}

/* --- Partners Marquee --- */
.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.partners-marquee::before,
.partners-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body) 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body) 0%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    animation: scroll-marquee 25s linear infinite;
    padding-left: 4rem;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content .partner-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: 100px;
    padding: 0 20px;
}

.marquee-content .partner-logo {
    max-height: 80px;
    width: auto;
    max-width: none;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
}

.marquee-content .partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* Custom events page load-more button */
.btn-m-outline.load-more-btn {
    background-color: #ffffff;
    color: #7b2cbfff !important;
    border-color: #7b2cbfff !important;
    font-weight: 500;
}

.btn-m-outline.load-more-btn:hover {
    background-color: #7b2cbfff;
    color: #ffffff !important;
}

/* events.php extracted styles */

.event-badge-overlay {
    z-index: 10;
}

.event-preview-img-custom {
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-height: 250px;
}

.chapter-card-mumbai {
    background-image: url('../images/chapters/mumbai.png');
}

.chapter-card-london {
    background-image: url('../images/chapters/london.png');
}

.chapter-card-berlin {
    background-image: url('../images/chapters/berlin.png');
}

.mumbai-hero-bg {
    background: linear-gradient(rgba(15, 5, 41, 0.9), rgba(15, 5, 41, 0.95)), url('../images/chapters/backgrounds/mumbai.webp') !important;
}

/* --- Support Us Popup --- */
.support-popup-overlay {
    position: fixed;
    bottom: -100%;
    left: 20px;
    z-index: 1060;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    visibility: hidden;
    opacity: 0;
}

.support-popup-overlay.show {
    bottom: 20px;
    visibility: visible;
    opacity: 1;
}

.support-popup-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 340px;
    border-radius: 24px;
    padding: 2.5rem 1.5rem 2rem;
    position: relative;
    text-align: center;
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.15);
}

.support-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    color: #6c757d;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-popup-close:hover {
    background: var(--p-violet);
    color: white;
    transform: rotate(90deg);
}

.support-popup-logo-container {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.2);
}

.support-popup-logo-img {
    width: 50px;
    height: auto;
}

@media (max-width: 767px) {
    .support-popup-overlay {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding: 0 15px;
    }

    .support-popup-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .support-popup-overlay.show {
        bottom: 15px;
    }
}