/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #000000;
    --accent-color: #3b82f6;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-light: #666666;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f8ff;
    --bg-accent: #e0f2fe;
    --border-color: #93c5fd;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

/* Watermark */
.page-watermark {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Remove watermark from homepage only */
.homepage .page-watermark {
    display: none;
}

.watermark-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.watermark-text {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0;
    line-height: 1;
}

.watermark-text span {
    display: block;
}

@media (max-width: 768px) {
    .page-watermark {
        right: 10px;
        opacity: 0.4;
    }
    
    .watermark-logo {
        width: 50px;
        height: 50px;
    }
    
    .watermark-text {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

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

.btn-glow:hover::before {
    left: 100%;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.6);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    position: relative;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #2563eb;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    border-color: #1d4ed8;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-effect:hover .btn-line {
    width: 100%;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-primary);
    color: white;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.875rem;
}


.social-links {
    display: flex;
    gap: 1rem;
}

/* ===================================
   NAVBAR STYLES - STICKY & RESPONSIVE
   =================================== */

.header {
    background: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10000 !important;
    width: 100%;
    isolation: isolate;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    clear: both;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
    z-index: 10001 !important;
    margin: 0;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.4rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10001;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #1e40af;
    padding: 6px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo:hover .logo-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tagline {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tagline span {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.tagline .full-form {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
    max-width: 320px;
}

.nav-menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    margin-left: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu-row1 {
    margin-bottom: 0;
}

.nav-menu-row2 {
    margin-top: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #e3f2fd;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10005 !important;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10002;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        z-index: 10000 !important;
        position: sticky !important;
        top: 0 !important;
        margin: 0;
        padding: 0;
        clear: both;
    }
    
    .main-nav {
        flex-wrap: wrap;
        padding: 0.5rem 0;
        gap: 1rem;
        z-index: 10001 !important;
        margin: 0;
    }
    
    .logo-section {
        flex: 1;
        min-width: 0;
        z-index: 10002;
    }
    
    .tagline span {
        font-size: 1.8rem;
    }
    
    .tagline .full-form {
        font-size: 0.75rem;
        max-width: 100%;
    }
    
    .logo-image {
        width: 70px;
        height: 70px;
    }
    
    .nav-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
        z-index: 10003 !important;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: rgba(227, 242, 253, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 10004 !important;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 80px 1rem 2rem;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-menu-wrapper.show {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: stretch;
        z-index: 10005;
    }
    
    .nav-menu-row2 {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 8px;
        z-index: 10006;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        margin-top: 0.5rem;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 10007;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .dropdown-link {
        padding: 0.5rem 1rem;
        padding-left: 2rem;
    }
    
    .main-content {
        margin-top: 0 !important;
        z-index: 1 !important;
        position: relative;
    }
    
    .hero {
        margin-top: 0 !important;
        z-index: 1 !important;
        position: relative;
    }
}

@media (max-width: 480px) {
    .tagline span {
        font-size: 1.5rem;
    }
    
    .tagline .full-form {
        font-size: 0.65rem;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:active {
    transform: translateY(-1px) scale(1.05);
}

/* Individual social media animations */
.social-link.whatsapp { 
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse 3s ease-in-out infinite;
}

.social-link.telegram { 
    background: linear-gradient(135deg, #0088cc, #0056b3);
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.social-link.instagram { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    animation: pulse 3s ease-in-out infinite 1s;
}

.social-link.youtube { 
    background: linear-gradient(135deg, #ff0000, #cc0000);
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.05),
            0 0 20px rgba(255, 255, 255, 0.3);
    }
}



/* Main Content */
.main-content {
    position: relative;
    z-index: 1 !important;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    padding-top: 0;
}

/* Ensure content doesn't overlap navbar */
body {
    padding-top: 0;
}

/* Hero Section */
.hero {
    background: #001f3f;
    position: relative;
    z-index: 1 !important;
    padding: 1rem 0 2rem 0;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
}

@keyframes heroZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    grid-template-columns: 1fr 1fr;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 1rem;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text-wrapper {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.title-line.promise {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 900;
    letter-spacing: 0.1em;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.title-line.promise:hover {
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.title-line.thinktank {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Orbitron', 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: thinktankAppear 1.2s ease-out 0.8s both;
    transition: all 0.3s ease;
    cursor: pointer;
}

.title-line.thinktank:hover {
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 0 0 25px rgba(255, 255, 255, 0.7);
    transform: scale(1.02);
    filter: brightness(1.2);
}

/* Background Video Styling */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: brightness(0.9) contrast(1.1);
}

/* Subtle overlay for text readability without blue theme */
.hero-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(0px) scale(1.2);
    }
}

/* Letter-by-letter animation for PROMISE */
.promise-letters {
    display: inline-block;
    overflow: hidden;
    will-change: transform;
}

.promise-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: letterFloat 0.6s ease-out forwards;
    will-change: transform, opacity;
    transition: transform 0.3s ease;
}

.promise-letter:hover {
    transform: translateY(-2px) scale(1.1);
    transition: transform 0.2s ease;
}

/* Staggered animation delays for each letter */
.promise-letter:nth-child(1) { animation-delay: 0.1s; }
.promise-letter:nth-child(2) { animation-delay: 0.2s; }
.promise-letter:nth-child(3) { animation-delay: 0.3s; }
.promise-letter:nth-child(4) { animation-delay: 0.4s; }
.promise-letter:nth-child(5) { animation-delay: 0.5s; }
.promise-letter:nth-child(6) { animation-delay: 0.6s; }
.promise-letter:nth-child(7) { animation-delay: 0.7s; }

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-subtitle:hover {
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 1), 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.hero-description {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-description:hover {
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 1), 0 0 12px rgba(255, 255, 255, 0.7);
    transform: translateX(3px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Hero Image Carousel */
.hero-image-carousel {
    position: relative;
    width: 100%;
    min-height: 400px;
    max-height: 500px;
    aspect-ratio: 16 / 10;
    animation: slideInRight 1s ease-out 0.3s both;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: #001f3f;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    z-index: 1;
    display: block;
    visibility: visible;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1 !important;
    z-index: 5 !important;
    visibility: visible !important;
    display: flex !important;
}

.carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 30px;
    display: block !important;
    position: relative;
    z-index: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 15px;
    background: #2563eb;
}

.carousel-prev i {
    color: #4ade80;
    font-size: 18px;
}

.carousel-next {
    right: 15px;
    background: #4ade80;
}

.carousel-next i {
    color: #16a34a;
    font-size: 18px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 25;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: #2563eb;
    width: 30px;
    border-radius: 6px;
    border-color: #2563eb;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
    position: relative;
    width: 100%;
    height: 400px;
}



/* Images removed - Text overlays only */

/* Text overlays removed */



/* Floating Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    bottom: 40%;
    right: 10%;
    animation-delay: 1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.8);
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* News Ticker Section (Above Navbar) */
.news-ticker {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
    z-index: 9998;
    width: 100%;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    border-bottom: 2px solid #1d4ed8;
    margin-top: 0;
    margin-bottom: 0;
    clear: both;
}

/* News Ticker Below Navbar */
.news-ticker-below-nav {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #1e293b;
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    border-bottom: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ticker-container {
    white-space: nowrap;
    animation: newsTicker 30s linear infinite;
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    overflow: hidden;
    contain: layout style paint;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Ticker Below Navbar Styling */
.ticker-wrapper {
    white-space: nowrap;
    animation: tickerBelowNav 35s linear infinite;
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.ticker-content-below {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    color: #1e293b;
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
}

.ticker-label {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-text {
    color: white;
    white-space: nowrap;
}

/* Ticker Label and Text Below Navbar */
.ticker-label-below {
    font-weight: 700;
    background: rgba(30, 41, 59, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    color: #475569;
    border: 1px solid rgba(30, 41, 59, 0.2);
}

.ticker-text-below {
    color: #1e293b;
    white-space: nowrap;
}

/* Pause animation on hover */
.news-ticker:hover .ticker-container {
    animation-play-state: paused;
}

.news-ticker-below-nav:hover .ticker-wrapper {
    animation-play-state: paused;
}

@keyframes newsTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes tickerBelowNav {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-ticker {
        padding: 0.5rem 0;
        z-index: 9999 !important;
        position: relative;
        margin-bottom: 0;
    }
    
    .ticker-content {
        font-size: 0.8rem;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .ticker-container {
        overflow: hidden;
        contain: layout style paint;
    }
    
    .ticker-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .news-ticker-below-nav {
        padding: 0.4rem 0;
    }
    
    .ticker-content-below {
        font-size: 0.75rem;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .ticker-label-below {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-bg {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    position: absolute;
    top: -20px;
    z-index: 1;
}

.title-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #2563eb, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #000000);
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

/* About Visual Section */
.about-visual-section {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-images-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

/* Clean Image Layout with AOS */
.about-image {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    background-color: #f0f0f0;
    border: 2px solid #ff8c42;
}

/* Hover Effects */
.about-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.about-image:hover img {
    transform: scale(1.1);
}

/* AOS Animation States */
.about-image[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
}

.about-image[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

.about-image.collage-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 15px 30px rgba(255, 140, 66, 0.15),
        0 0 40px rgba(255, 140, 66, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, filter;
    filter: blur(1px);
}

/* Individual layer styling for better visibility */
.about-image.collage-layer.layer-1 img {
    filter: blur(0.8px);
    opacity: 0.85;
    animation: imageAppear 0.8s ease-out 0.2s both;
}

.about-image.collage-layer.layer-2 img {
    filter: blur(1.2px);
    opacity: 0.8;
    animation: imageAppear 0.8s ease-out 0.6s both;
}

.about-image.collage-layer.layer-3 img {
    filter: blur(0.9px);
    opacity: 0.9;
    animation: imageAppear 0.8s ease-out 1.0s both;
}

/* Custom AOS Zoom Animation */
@keyframes aos-zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulsing effect for interactive feedback */
.about-image.collage-layer:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 140, 66, 0.6);
    border-radius: 20px;
    animation: pulse 1.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}



.about-image.collage-layer:hover img {
    transform: scale(1.2) rotate(var(--rotation));
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 25px 50px rgba(255, 140, 66, 0.3);
    filter: blur(0);
    z-index: 15;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced hover effects for individual layers */
.about-image.collage-layer.layer-1:hover img {
    transform: scale(1.25) rotate(-8deg);
    filter: blur(0);
    opacity: 1;
}

.about-image.collage-layer.layer-2:hover img {
    transform: scale(1.25) rotate(6deg);
    filter: blur(0);
    opacity: 1;
}

.about-image.collage-layer.layer-3:hover img {
    transform: scale(1.25) rotate(-4deg);
    filter: blur(0);
    opacity: 1;
}



.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.08), rgba(0, 0, 0, 0.08));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.2) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(15px);
}

.about-image.featured-about-image:hover .about-image-glow {
    opacity: 1;
}

.about-image:hover .about-image-overlay {
    opacity: 1;
}










.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.about-text {
    position: relative;
}

.text-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.text-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #000000);
}

.card-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2563eb, #000000);
    border-radius: 50%;
    opacity: 0.1;
}

.text-card p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #374151;
    position: relative;
    z-index: 2;
}

.vision-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #000000);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #000000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.vision-card h3 {
    color: #2563eb;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.vision-card ul {
    list-style: none;
    padding-left: 0;
}

.vision-card li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bullet {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #2563eb, #000000);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Floating Elements */
.about-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    background: linear-gradient(135deg, #2563eb, #000000);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
}

.dot-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.dot-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
}

.dot-3 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    animation-delay: 6s;
}

/* Members Section */
.members-section {
    padding: 4rem 0;
    display: block !important;
    visibility: visible !important;
    min-height: 100px;
    background-color: #f9fafb;
    position: relative;
    z-index: 1 !important;
    margin-top: 0;
}

/* Modern Member Cards with Enhanced Animations */
.member-card {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 0;
    /* Compact sizing for better alignment */
    min-height: 220px;
    max-height: 250px;
    width: 100%;
    box-sizing: border-box;
    transform: scale(0.7) translateY(50px) rotateX(15deg);
    animation: modernCardAppear 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    /* Enhanced visual properties */
    border-radius: 10px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(37, 99, 235, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
}

/* Modern Member Card Animation Keyframes */
@keyframes modernCardAppear {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(50px) rotateX(15deg);
        filter: blur(8px);
    }
    30% {
        opacity: 0.6;
        transform: scale(0.9) translateY(20px) rotateX(8deg);
        filter: blur(4px);
    }
    60% {
        opacity: 0.9;
        transform: scale(1.05) translateY(-8px) rotateX(-2deg);
        filter: blur(1px);
    }
    80% {
        opacity: 1;
        transform: scale(0.98) translateY(2px) rotateX(1deg);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
        filter: blur(0px);
    }
}

/* Legacy animation for fallback */
@keyframes memberCardAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Staggered animation delays for member cards - Modern timing */
.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.25s; }
.member-card:nth-child(3) { animation-delay: 0.4s; }
.member-card:nth-child(4) { animation-delay: 0.55s; }
.member-card:nth-child(5) { animation-delay: 0.7s; }
.member-card:nth-child(6) { animation-delay: 0.85s; }
.member-card:nth-child(7) { animation-delay: 1.0s; }
.member-card:nth-child(8) { animation-delay: 1.15s; }
.member-card:nth-child(9) { animation-delay: 1.3s; }
.member-card:nth-child(10) { animation-delay: 1.45s; }
.member-card:nth-child(11) { animation-delay: 1.6s; }
.member-card:nth-child(12) { animation-delay: 1.75s; }
.member-card:nth-child(13) { animation-delay: 1.9s; }
.member-card:nth-child(14) { animation-delay: 2.05s; }
.member-card:nth-child(15) { animation-delay: 2.2s; }
.member-card:nth-child(16) { animation-delay: 2.35s; }
.member-card:nth-child(17) { animation-delay: 2.5s; }
.member-card:nth-child(18) { animation-delay: 2.65s; }
.member-card:nth-child(19) { animation-delay: 2.8s; }
.member-card:nth-child(20) { animation-delay: 2.95s; }
.member-card:nth-child(21) { animation-delay: 3.1s; }
.member-card:nth-child(22) { animation-delay: 3.25s; }
.member-card:nth-child(23) { animation-delay: 3.4s; }
.member-card:nth-child(24) { animation-delay: 3.55s; }

/* Ensure smooth layout transitions */
.members-grid {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    perspective: 1000px; /* Add 3D perspective for better card animations */
}

/* Add subtle background pattern to cards */
.member-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover::after {
    opacity: 1;
}

/* Enhanced Hover Effects for Member Cards */
.member-card:hover {
    transform: translateY(-16px) scale(1.05) rotateX(-3deg);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(37, 99, 235, 0.3),
        0 0 0 2px rgba(37, 99, 235, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.4);
    z-index: 10;
    backdrop-filter: blur(20px);
}

/* Hover effects for card content */
.member-card:hover h3 {
    transform: translateY(-2px);
    color: #2563eb;
    text-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.member-card:hover .member-title {
    transform: translateY(-1px);
    color: #000;
    font-weight: 600;
}

.member-card:hover .member-specialty {
    transform: translateY(-1px);
    color: #2563eb;
    font-weight: 500;
}

.member-card:hover .member-bio {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Enhanced member photo hover effect */
.member-card:hover .member-photo {
    transform: scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-card:hover .member-photo i {
    transform: scale(1.2);
    color: #ff6b35;
    text-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.member-card:hover .doctor-image {
    transform: scale(1.05);
    filter: brightness(1.08) contrast(1.05);
}

/* Performance optimizations */
.member-card {
    will-change: transform, opacity, box-shadow;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Smooth transitions for all interactive elements */
.member-card h3,
.member-card .member-title,
.member-card .member-specialty,
.member-card .member-bio,
.member-card .member-photo,
.member-card .member-photo i {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle floating animation for cards */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Apply floating animation to cards after they appear */
.member-card.animated {
    animation: subtleFloat 6s ease-in-out infinite;
}

.member-card.animated:nth-child(odd) {
    animation-delay: 0.5s;
}

.member-card.animated:nth-child(even) {
    animation-delay: 1s;
}

/* Debug: Add borders to see all cards - DISABLED */
/* .member-card:nth-child(odd) {
    border-left: 3px solid #ff8c42;
}

.member-card:nth-child(even) {
    border-left: 3px solid #000000;
} */

/* Alphabet Filter */
.alphabet-filter {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.alphabet-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.alphabet-btn {
    padding: 0.5rem 1rem;
    min-width: 45px;
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.alphabet-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.alphabet-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
    .alphabet-filter {
        padding: 1rem;
    }
    
    .alphabet-buttons {
        gap: 0.4rem;
    }
    
    .alphabet-btn {
        padding: 0.4rem 0.8rem;
        min-width: 40px;
        font-size: 0.9rem;
    }
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    /* Compact grid rows for better alignment */
    grid-auto-rows: minmax(180px, 220px);
    grid-auto-flow: row dense;
    /* Ensure consistent spacing and alignment */
    align-items: stretch;
    justify-items: stretch;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (min-width: 1024px) and (max-width: 1400px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (min-width: 1400px) {
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

/* Member card content styling */
.member-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0.75rem 0.4rem 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.member-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.member-specialty {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Color background for better text readability */
.member-card[style*="background-color"] {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card[style*="background-color"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card[style*="background-color"] > * {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced hover effects for colored backgrounds */
.member-card[style*="background-color"]:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Hover effect - enhance background color */
.member-card[style*="background-color"]:hover::before {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* Enhanced text on hover */
.member-card[style*="background-color"]:hover h3 {
    color: #1a1a1a !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.member-card[style*="background-color"]:hover .member-title {
    color: #2563eb !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.member-card[style*="background-color"]:hover .member-specialty {
    color: #2d2d2d !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.member-card[style*="background-color"]:hover .member-bio {
    color: #333333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Smooth slide-up animation for text elements */
.member-card[style*="background-color"] h3,
.member-card[style*="background-color"] .member-title,
.member-card[style*="background-color"] .member-specialty,
.member-card[style*="background-color"] .member-bio {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-photo {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2, #ffcc80);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #ff8c42;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px 10px 0 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* Adjust image positioning for Dr. Rohini Prasad */
.doctor-image.rohini-prasad-image {
    object-position: center 65%;
}

/* Remove white background space for Dr. Trupti Borulkar */
.member-photo.trupti-photo {
    background: transparent !important;
    padding: 0;
}

.member-photo.trupti-photo .doctor-image.trupti-borulkar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px 10px 0 0;
    margin: 0;
    padding: 0;
    transform: scale(1.15);
}

/* Add a subtle glow effect to member photos */
.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff8c42, #ff6b35, #ff8c42);
    border-radius: 10px 10px 0 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-photo::before {
    opacity: 0.2;
}

/* Subtle pulse animation for member photos */
@keyframes photoPulse {
    0%, 100% {
        box-shadow: 
            0 12px 32px rgba(0, 0, 0, 0.15),
            0 6px 16px rgba(255, 140, 66, 0.2);
    }
    50% {
        box-shadow: 
            0 12px 32px rgba(0, 0, 0, 0.15),
            0 6px 16px rgba(255, 140, 66, 0.3),
            0 0 20px rgba(255, 140, 66, 0.2);
    }
}

.member-photo {
    animation: photoPulse 4s ease-in-out infinite;
}

/* Show More/Less functionality */
.member-card.hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card.showing {
    display: block !important;
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: cardSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Show More/Less Button */
.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 24px rgba(255, 140, 66, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.show-more-btn:hover::before {
    left: 100%;
}

.show-more-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 32px rgba(255, 140, 66, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.15);
}

.show-more-btn:active {
    transform: translateY(0) scale(1.02);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}

.member-title {
    color: #ff8c42;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-specialty {
    color: #000000;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.875rem;
    line-height: 1.6;
}

.view-all-members {
    text-align: center;
}

/* Content Section */
.content-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
    position: relative;
    display: block !important;
    visibility: visible !important;
    min-height: 500px;
}

.content-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.content-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 300px;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.content-image {
    width: 80px;
    height: 80px;
    background: #fff3e0;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #ff8c42;
}

.content-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.read-more {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more::after {
    content: '→';
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Article metadata styling */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
}

.article-meta .author {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.article-meta .date {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}



/* Blogs Section */
.blogs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.blogs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(255, 140, 66, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(37, 99, 235, 0.2);
}

.blog-card.featured-blog {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card.featured-blog .blog-image {
    height: 100%;
}

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

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    gap: 1rem;
}

.image-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blog-date {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-author {
    color: var(--text-secondary);
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

.read-more:hover {
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Blog Post Page Styles */
.blog-post-section {
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-breadcrumb a:hover {
    color: var(--primary-dark);
}

.blog-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.blog-post-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.featured-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
}

.blog-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    position: relative;
}

.blog-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.blog-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.blog-text p {
    margin-bottom: 1.5rem;
}

.blog-text ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-text li {
    margin-bottom: 0.8rem;
    position: relative;
}

.blog-text li::marker {
    color: var(--primary-color);
}

.blog-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

blockquote {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-accent));
    border-left: 5px solid var(--primary-color);
    border-radius: 0 15px 15px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-primary);
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.blog-tags {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.blog-navigation {
    margin-top: 3rem;
    text-align: center;
}

.back-to-blogs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.back-to-blogs:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

/* Responsive Design for Blogs */
@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card.featured-blog {
        grid-column: span 1;
        display: block;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .blog-text {
        font-size: 1rem;
    }
    
    .blog-text .lead {
        font-size: 1.1rem;
    }
    
    .blog-text h2 {
        font-size: 1.5rem;
    }
    
    .blog-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blogs-section {
        padding: 3rem 0;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-post-section {
        padding: 4rem 0 3rem;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
    }
    
    .featured-image img {
        height: 200px;
    }
}

/* Podcasts Section */
.podcasts-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.podcasts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.podcast-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.podcast-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(37, 99, 235, 0.2);
}

.podcast-card.featured-podcast {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.podcast-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.podcast-card.featured-podcast .podcast-image {
    height: 100%;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}


.podcast-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.podcast-content {
    padding: 2rem;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.podcast-date {
    color: var(--primary-color);
    font-weight: 600;
}

.podcast-duration {
    color: var(--text-secondary);
}

.podcast-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.podcast-card:hover .podcast-title {
    color: var(--primary-color);
}

.podcast-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.listen-btn, .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.listen-btn {
    background: var(--primary-color);
    color: white;
}

.listen-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.download-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.download-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Op-Eds Section */
.opeds-section {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
    padding: 5rem 0;
    position: relative;
}

.opeds-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.opeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.oped-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.oped-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(37, 99, 235, 0.2);
}

.oped-card.featured-oped {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0.95));
}

.oped-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.oped-category {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oped-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.oped-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.oped-card:hover .oped-title {
    color: var(--primary-color);
}

.oped-author {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.oped-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Surveys Section */
.surveys-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: visible;
}

.surveys-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.surveys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.survey-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.survey-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(37, 99, 235, 0.2);
}

.survey-card.active-survey {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0.95));
}

.survey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.survey-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.survey-status.active {
    background: #10b981;
    color: white;
}

.survey-status.completed {
    background: #6b7280;
    color: white;
}

.survey-status.upcoming {
    background: #f59e0b;
    color: white;
}

.survey-participants {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.survey-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.survey-card:hover .survey-title {
    color: var(--primary-color);
}

.survey-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.survey-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.survey-duration {
    color: var(--primary-color);
    font-weight: 600;
}

.survey-deadline {
    color: var(--text-secondary);
}

.participate-btn, .view-results-btn, .notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
}

.participate-btn {
    background: var(--primary-color);
    color: white;
}

.participate-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.view-results-btn {
    background: #10b981;
    color: white;
}

.view-results-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.notify-btn {
    background: #f59e0b;
    color: white;
}

.notify-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100004 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 15% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 100005 !important;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 100006 !important;
}

.close:hover {
    color: var(--text-primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2563eb;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Base container and spacing */
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Main content spacing */
    .main-content {
        padding-bottom: 2rem;
        min-height: auto;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 2rem 0 3rem 0 !important;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1rem 15px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .hero-text-wrapper {
        order: 2;
        width: 100%;
        padding: 0;
    }
    
    .hero-image-carousel {
        order: 1;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        gap: 0.3rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .title-line.promise {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
    
    .title-line.thinktank {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .promise-letter {
        animation-duration: 0.4s;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-logo-bg {
        opacity: 0.35;
    }
    
    .logo-background {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    

    
    .outlined-text {
        font-size: 1.8rem;
    }
    
    .hero-text-overlay.overlay-1 {
        top: 10%;
        right: 20%;
    }
    
    .hero-text-overlay.overlay-2 {
        bottom: 20%;
        right: 5%;
    }
    
    .hero-text-overlay.overlay-3 {
        top: 45%;
        left: 2%;
    }
    
    .about-visual-section {
        margin-bottom: 3rem;
    }
    
    .about-images-container {
        max-width: 800px;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .about-image {
        height: 250px;
    }
    

    
    .about-outlined-text {
        font-size: 2.2rem;
    }
    
    .about-text-outlined {
        font-size: 2.2rem;
    }
    
    .text-letter {
        font-size: 2.2rem;
    }
    
    .about-text-overlay.overlay-about-1 {
        top: 15%;
        right: 15%;
    }
    
    .about-text-overlay.overlay-about-2 {
        bottom: 15%;
        right: 5%;
    }
    
    .about-text-overlay.overlay-about-3 {
        top: 40%;
        left: 5%;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    .social-links {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-banner {
        padding: 1rem 0.75rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        z-index: 10000;
    }
    
    .cookie-banner.show {
        transform: translateY(0);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0;
    }
    
    .cookie-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 100px;
        padding: 0.65rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    /* Add padding to body when cookie banner is visible */
    body.cookie-banner-visible {
        padding-bottom: 120px !important;
    }
    
    /* Add padding to main content when cookie banner is visible */
    body.cookie-banner-visible .main-content {
        padding-bottom: 120px !important;
    }
    
    /* Ensure footer doesn't get hidden */
    body.cookie-banner-visible footer {
        margin-bottom: 120px !important;
        padding-bottom: 2rem !important;
    }
    
    /* Ensure all sections have proper spacing */
    body.cookie-banner-visible section {
        margin-bottom: 2rem;
    }
    
    body.cookie-banner-visible section:last-child {
        margin-bottom: 120px !important;
        padding-bottom: 1rem !important;
    }
    
    /* Ensure hero section and promise section have proper spacing */
    body.cookie-banner-visible .hero {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    body.cookie-banner-visible .promise-section {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    /* Ensure buttons are visible */
    body.cookie-banner-visible .btn,
    body.cookie-banner-visible .hero-buttons {
        margin-bottom: 1rem;
    }
    
    /* Prevent horizontal overflow */
    body, html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all sections display properly */
    section {
        padding: 2rem 0;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        z-index: 1 !important;
        position: relative !important;
        margin-top: 0 !important;
    }
    
    /* News ticker mobile optimization */
    .news-ticker {
        padding: 0.5rem 0;
        font-size: 0.75rem;
        margin-top: 0;
        z-index: 9999 !important;
        position: relative !important;
        margin-bottom: 0;
    }
    
    .news-ticker-below-nav {
        padding: 0.4rem 0;
        font-size: 0.7rem;
        margin-top: 0 !important;
        margin-bottom: 0;
        z-index: 1 !important;
        position: relative !important;
    }
    
    
    /* Footer mobile optimization */
    footer {
        padding: 2rem 0 1rem 0;
        margin-top: 0;
    }
    
    /* Reduce spacing between hero and footer */
    .hero {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }
    
    .main-content {
        margin-bottom: 0;
        padding-bottom: 0;
        margin-top: 0 !important;
        z-index: 1 !important;
        position: relative !important;
    }
    
    footer .container {
        padding: 0 15px;
    }
    
    /* Ensure carousel displays properly */
    .carousel-container {
        width: 100%;
        height: auto;
        min-height: 300px;
        max-height: 400px;
    }
    
    .carousel-slide {
        width: 100%;
        height: 100%;
    }
    
    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Button mobile optimization */
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        width: auto;
        min-width: 140px;
    }
    
    /* Text mobile optimization */
    p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    h1, h2, h3 {
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        /* Ensure all cards are visible on mobile */
        grid-auto-rows: minmax(200px, auto);
        gap: 0.9rem;
    }
    
    .member-photo {
        height: 140px;
        margin: 0 0 0.5rem 0;
        border-radius: 10px 10px 0 0;
    }
    
    .member-card {
        min-height: 200px;
        max-height: 240px;
    }
    
    .member-card h3 {
        font-size: 0.85rem;
        margin: 0.4rem 0.6rem 0.3rem 0.6rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .podcasts-grid,
    .opeds-grid,
    .surveys-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .podcast-card.featured-podcast,
    .oped-card.featured-oped {
        grid-column: span 1;
        display: block;
    }
    
    .podcast-image {
        height: 200px;
    }
    
    .podcast-content,
    .oped-card,
    .survey-card {
        padding: 1.5rem;
    }
    
    .podcast-title,
    .oped-title,
    .survey-title {
        font-size: 1.2rem;
    }
    
    .podcast-actions {
        flex-direction: column;
    }
    
    .listen-btn, .download-btn,
    .participate-btn, .view-results-btn, .notify-btn {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    
    .hero-title {
        font-size: 2rem;
        gap: 0.2rem;
    }
    
    .title-line.promise {
        font-size: 2rem;
        letter-spacing: 0.03em;
    }
    
    .title-line.thinktank {
        font-size: 1.5rem;
        letter-spacing: 0.08em;
    }
    
    .promise-letter {
        animation-duration: 0.3s;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-logo-bg {
        opacity: 0.3;
    }
    
    .logo-background {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    

    

    

    
    .about-visual-section {
        margin-bottom: 2rem;
    }
    
    .about-images-container {
        max-width: 600px;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .about-image {
        height: 200px;
    }
    

    
    .about-outlined-text {
        font-size: 1.5rem;
        -webkit-text-stroke: 1.5px rgba(255, 140, 66, 0.9);
        text-stroke: 1.5px rgba(255, 140, 66, 0.9);
    }
    
    .about-text-outlined {
        font-size: 1.5rem;
    }
    
    .text-letter {
        font-size: 1.5rem;
    }
    
    .about-text-overlay.overlay-about-1 {
        top: 12%;
        right: 12%;
    }
    
    .about-text-overlay.overlay-about-2 {
        bottom: 12%;
        right: 3%;
    }
    
    .about-text-overlay.overlay-about-3 {
        top: 35%;
        left: 3%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Keyframe Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes letterFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes thinktankAppear {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        filter: blur(2px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-3px) scale(1.05);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* New Image Animation Keyframes */





/* Enhanced About Section Animation Keyframes - MEMOIRE Style */
@keyframes aboutImageZoom {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
        filter: blur(10px);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
}

@keyframes collageLayerSlideIn {
    0% {
        opacity: 0;
        transform: translateX(var(--slide-direction)) rotate(var(--rotation)) scale(0.5);
        filter: blur(8px);
    }
    100% {
        opacity: 0.4;
        transform: translateX(0) rotate(var(--rotation)) scale(1);
        filter: blur(1px);
    }
}

@keyframes aboutTextOverlayFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.7);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 25px rgba(255, 255, 255, 0.7),
            0 0 35px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1),
            0 0 30px rgba(255, 255, 255, 0.9),
            0 0 40px rgba(255, 255, 255, 0.7);
    }
}

@keyframes letterAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

/* Scroll-triggered animations for About section */
.about-section.in-view .about-image.featured-about-image {
    animation: aboutImageZoom 1.5s ease-out forwards, imageFloat 6s ease-in-out infinite 2s;
}





.about-section.in-view .about-text-overlay.overlay-about-1 {
    animation: aboutTextOverlayFade 1.2s ease-out 1.2s forwards;
}

.about-section.in-view .about-text-overlay.overlay-about-2 {
    animation: aboutTextOverlayFade 1.2s ease-out 1.5s forwards;
}

.about-section.in-view .about-text-overlay.overlay-about-3 {
    animation: aboutTextOverlayFade 1.2s ease-out 1.8s forwards;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Enhanced Member Cards */
.member-card.featured {
    position: relative;
    transform: scale(1.05);
    z-index: 2;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff8c42, #000000);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card.featured:hover .card-glow {
    opacity: 1;
}

.photo-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c42, #000000) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate 10s linear infinite;
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c42, #000000);
    border-radius: 50%;
    opacity: 0.1;
}

/* Enhanced Resource Cards */
.resource-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05), rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover .card-bg-pattern {
    opacity: 1;
}

.icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}





/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .promise-letter {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .title-line.thinktank {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #ff8c42;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ff8c42;
        --text-primary: #000000;
        --text-secondary: #000000;
        --bg-primary: #ffffff;
        --border-color: #ff8c42;
    }
}

/* Floating Social Media Icons */
.floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-float {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-float:hover::before {
    left: 100%;
}

.social-float.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-float.facebook:hover {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-float.instagram {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-float.instagram:hover {
    background: linear-gradient(135deg, #c13584, #e1306c, #f56040);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.social-float.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-float.youtube:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* Mobile Responsive for Floating Social */
@media (max-width: 768px) {
    .floating-social {
        right: 15px;
        gap: 12px;
    }
    
    .social-float {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .floating-social {
        right: 10px;
        gap: 10px;
    }
    
    .social-float {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Vision & Mission Side-by-Side Layout */
.vision-mission-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.vision-column,
.mission-column {
    display: flex;
    flex-direction: column;
}

.vision-card,
.mission-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.vision-card .card-header,
.mission-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.vision-card .icon-wrapper,
.mission-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.vision-card h3,
.mission-card h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.vision-card ul,
.mission-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.vision-card li,
.mission-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.vision-card .bullet,
.mission-card .bullet {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.mission-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mission-objectives h4 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Design for Vision & Mission */
@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-mission-section {
        padding: 3rem 0;
    }
    
    .vision-card,
    .mission-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .vision-mission-section {
        padding: 2rem 0;
    }
    
    .vision-card,
    .mission-card {
        padding: 1.25rem;
    }
    
    .vision-card .card-header,
    .mission-card .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .vision-card .icon-wrapper,
    .mission-card .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Team Members Section */
.team-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.member-info h3 {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.member-info .position {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
}

.qualifications,
.professional-experience {
    margin-bottom: 2rem;
}

.qualifications h4,
.professional-experience h4 {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.qualifications ul,
.professional-experience ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualifications li,
.professional-experience li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.qualifications li::before,
.professional-experience li::before {
    content: '•';
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive Design for Team Section */
@media (max-width: 768px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .team-card {
        padding: 2rem;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .member-info h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 2rem 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .member-info h3 {
        font-size: 1.5rem;
    }
    
    .qualifications h4,
    .professional-experience h4 {
        font-size: 1.1rem;
    }
}

/* Research Section Styling */
.research-section {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.research-section .section-title {
    color: #1e40af;
    position: relative;
}

.research-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 2px;
}

.research-section .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.research-section .content-card {
    background: white;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.research-section .content-card:hover {
    border-left-color: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.research-section .content-image {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.research-section .content-image i {
    color: white;
}

.research-section .article-meta .author {
    color: #1e40af;
    font-weight: 600;
}

/* Section Subtitle Styling */
.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Policy & Debate Page Styling */
.policy-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.debate-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

/* Survey Filter Dropdown Styling */
.survey-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.filter-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.filter-toggle.active {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.filter-toggle i {
    transition: transform 0.3s ease;
}

.filter-toggle.active i {
    transform: rotate(180deg);
}

.filter-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    overflow: visible;
    margin-top: 5px;
}

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

.filter-option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:hover {
    background-color: #f8fafc;
    color: #667eea;
}

.filter-option.active {
    background-color: #667eea;
    color: white;
}

.filter-option i {
    width: 16px;
    text-align: center;
}

/* Survey Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Policy Cards */
.policy-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.policy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #059669, #047857);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.policy-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.policy-category {
    background: #d1fae5;
    color: #047857;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.policy-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.policy-card h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.policy-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.policy-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.policy-author .author {
    color: #059669;
    font-weight: 600;
    font-size: 1rem;
}

.policy-author .position {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Debate Cards */
.debate-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.debate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.debate-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.debate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.debate-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.debate-topic {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.debate-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.debate-card h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.debate-question {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.debate-positions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.position-card {
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.position-card.pro {
    border-color: #10b981;
    background: #f0fdf4;
}

.position-card.con {
    border-color: #ef4444;
    background: #fef2f2;
}

.position-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.position-card.pro h4 {
    color: #047857;
}

.position-card.con h4 {
    color: #dc2626;
}

.position-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.position-author {
    font-weight: 600;
    font-size: 0.875rem;
}

.position-card.pro .position-author {
    color: #047857;
}

.position-card.con .position-author {
    color: #dc2626;
}

/* Responsive Design for Policy & Debate */
@media (max-width: 768px) {
    .policy-section,
    .debate-section {
        padding: 3rem 0;
    }
    
    .policy-card,
    .debate-card {
        padding: 1.5rem;
    }
    
    .debate-positions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .policy-header,
    .debate-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .policy-icon,
    .debate-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .policy-section,
    .debate-section {
        padding: 2rem 0;
    }
    
    .policy-card,
    .debate-card {
        padding: 1.25rem;
    }
    
    .policy-card h3,
    .debate-card h3 {
        font-size: 1.25rem;
    }
    
    .position-card {
        padding: 1rem;
    }
}

/* Member Popup Modal Styles */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 100004 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
    position: relative;
    z-index: 100005 !important;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 100006 !important;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #000;
}

.popup-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.popup-photo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.popup-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-info p {
    margin: 0.25rem 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.popup-body {
    padding: 2rem;
}

.popup-body p {
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* Member Card Styles for Popup */
.member-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .popup-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .popup-photo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .popup-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 98%;
        margin: 15% auto;
    }
    
    .popup-header {
        padding: 1rem;
    }
    
    .popup-photo {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .popup-info h3 {
        font-size: 1.25rem;
    }
    
    .popup-body {
        padding: 1rem;
    }
}

/* Desktop Styles for Hero Carousel */
@media (min-width: 769px) {
    .hero-image-carousel {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 500px;
        min-height: 500px;
    }
    
    .carousel-container {
        display: block !important;
        visibility: visible !important;
        height: 100%;
        min-height: 500px;
    }
    
    .carousel-slide {
        height: 100%;
        min-height: 500px;
    }
    
    .carousel-slide.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 100%;
        min-height: 500px;
    }
    
    .carousel-slide.active img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 500px;
    }
}

/* Responsive Styles for Hero Carousel */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 1.5rem;
        margin-bottom: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-image-carousel {
        max-height: 400px;
        aspect-ratio: 16 / 10;
        order: -1; /* Show images first on mobile */
    }
    
    .hero-text-wrapper {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-line.promise {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-image-carousel {
        max-height: 300px;
        aspect-ratio: 16 / 10;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line.promise {
        font-size: 2.5rem;
    }
    
    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators .indicator.active {
        width: 25px;
    }
}

