/* ==========================================================================
   CSS Variables & Theme Tokens (Premium Light Mode)
   ========================================================================== */
:root {
    --bg-color: #f8fafc; /* Very light cool gray */
    --surface-color: #ffffff; /* Pure white for cards/nav */
    --surface-border: #e2e8f0;
    --text-primary: #0f172a; /* Deep slate for high contrast text */
    --text-secondary: #64748b;
    --accent-color: #3b82f6; /* Vibrant blue */
    --accent-glow: rgba(59, 130, 246, 0.2);
    --whatsapp-color: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.3);
    
    --nav-height: 80px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Premium Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
}

.nav-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--text-primary);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* Above nav-menu */
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right var(--transition-medium);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 2rem;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    /* Hamburger animation */
    .hamburger.open span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
}


.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #334155;
}

.nav-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ==========================================================================
   Layout Shell & Views
   ========================================================================== */
.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--nav-height); /* Offset for fixed navbar */
}

.view {
    display: none; /* Hide all views by default */
    animation: fadeIn 0.4s ease-out forwards;
}

.view.active {
    display: block; /* Show active view */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #e2e8f0; /* Fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image var(--transition-medium);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #f8fafc;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Slideshow styles */
.hero-slideshow {
    height: 85vh; /* Bigger hero banner */
    min-height: 500px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 15s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes crossfade {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #18181b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #fff;
    color: var(--whatsapp-color);
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--whatsapp-color);
    box-shadow: 0 4px 15px var(--whatsapp-glow);
    transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--whatsapp-glow);
}

.whatsapp-icon {
    transition: transform var(--transition-fast);
}

.btn-whatsapp:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-sm);
}

.status-indicator.live {
    color: var(--whatsapp-color);
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.05);
}

.status-indicator.error {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.live .pulse {
    background-color: var(--whatsapp-color);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulsing-live 2s infinite;
}

.status-indicator.error .pulse {
    background-color: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulsing-error 2s infinite;
}

@keyframes pulsing-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes pulsing-error {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}


/* ==========================================================================
   Grid & Cards
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

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

.post-title {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.post-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.post-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--surface-border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

/* Skeletons */
.skeleton-card {
    height: 200px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
    border: 1px solid var(--surface-border);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==========================================================================
   Empty State / Database Check UI
   ========================================================================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface-color);
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.modern-footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 4rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    font-family: var(--font-body);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
}

.footer-brand-logo img {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 0.75rem;
}

.footer-nav-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

.footer-subtext {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.btn-footer-cta {
    display: inline-block;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-footer-cta:hover {
    background: linear-gradient(135deg, #0369a1, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #94a3b8;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

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

/* ==========================================================================
   Generic Page Container
   ========================================================================== */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--surface-border);
    margin-top: 2rem;
    min-height: 50vh;
}

/* ==========================================================================
   Metrics Strip (High-Impact 2nd Banner)
   ========================================================================== */
.metrics-strip {
    background: #f0f3f7; /* fallback */
    background-image: 
        radial-gradient(circle at 100% 0%, #ffffff 0%, transparent 60%),
        radial-gradient(circle at 0% 100%, #dce3eb 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M0,50 Q250,150 500,50 T1000,50 T1500,50 T2000,50 L2000,200 L0,200 Z' fill='%2394a3b8' opacity='0.1'/%3E%3Cpath d='M0,100 Q300,180 600,100 T1200,100 T1800,100 T2400,100 L2400,200 L0,200 Z' fill='%2364748b' opacity='0.08'/%3E%3C/svg%3E");
    background-size: cover, cover, cover;
    background-position: center;
    padding: 3rem 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--surface-border);
}

.metrics-strip::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(255,255,255,0.4) 100%);
    pointer-events: none;
}

.metrics-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.metric-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255,255,255,1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,1);
}

.metric-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: #f8fafc;
    box-shadow: 
        inset 0 2px 5px rgba(0,0,0,0.05),
        0 4px 10px rgba(0,0,0,0.02);
}

.metric-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #333;
    border-right-color: rgba(51, 51, 51, 0.2);
    transform: rotate(-45deg);
}

.metric-icon-wrapper::after {
    content: '';
    position: absolute;
    bottom: 5px; right: 5px;
    width: 6px; height: 6px;
    background: #333;
    border-radius: 50%;
}

.metric-icon {
    width: 34px;
    height: 34px;
    color: #000;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 0.25rem;
    line-height: 1.1;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.metric-line {
    width: 30px;
    height: 3px;
    background: #111;
    border-radius: 2px;
    margin-top: auto;
}

.timeline-connector {
    flex-grow: 1;
    height: 1px;
    background: #cbd5e1;
    position: relative;
    margin: 0 1rem;
    max-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-connector .dot {
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .metrics-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .timeline-connector {
        display: none;
    }
    .metric-card {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .metric-card {
        width: 100%;
    }
}

/* ==========================================================================
   Global Country Directory
   ========================================================================== */
.global-directory {
    padding: 5rem 2rem;
    background-color: var(--bg-color);
}

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

.directory-header {
    text-align: center;
    margin-bottom: 2rem;
}

.directory-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1.2rem 0.8rem 3rem;
    font-size: 1rem;
    border-radius: 50px;
    border: 1px solid var(--surface-border);
    background-color: var(--surface-color);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
    font-family: var(--font-body);
}

.search-bar input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.country-card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.country-flag {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.2rem;
}

.country-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--whatsapp-color);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    width: 100%;
    justify-content: center;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-whatsapp-small:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    color: #fff;
}

.btn-whatsapp-small svg {
    width: 18px;
    height: 18px;
}

.btn-portal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all var(--transition-fast);
}

.btn-portal:hover {
    background-color: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* ==========================================================================
   Home Banner Continent Selector
   ========================================================================== */
.banner-continent-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    max-width: 800px;
}

.continent-icon {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.continent-icon:hover, .continent-icon.active {
    background: var(--primary-color);
    border-color: var(--primary-light);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.banner-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    animation: fadeIn 0.4s ease-out;
}

/* ==========================================================================
   Global Directory Page (Sidebar Layout)
   ========================================================================== */
.global-page-layout {
    display: flex;
    flex-direction: column;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem var(--container-padding);
    gap: 1.5rem;
}

.region-filters-container {
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.continent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.continent-list li {
    background-color: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continent-list li:hover {
    background-color: #f3f4f6;
    color: #000000;
}

.continent-list li.active {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-weight: 500;
}

.global-main {
    flex: 1;
    min-width: 0;
}

.directory-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.live-counter-badge {
    font-size: 0.875rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
    text-shadow: none;
}

.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 3rem;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid transparent;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.search-bar input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    pointer-events: none;
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search-btn:hover {
    color: #374151;
}

#global-country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    #global-country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    #global-country-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==========================================================================
   CEO Banner (4th Section)
   ========================================================================== */
.ceo-banner {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('/assets/main_banner/anoop_avatar.webp');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.ceo-banner-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 1.5rem 2rem; /* Lowered the text by increasing top padding and reducing bottom */
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.ceo-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.1rem; /* Reduced gap between heading and tagline */
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: popUpFade 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.ceo-tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: popUpFade 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}

/* ==========================================================================
   Regional Directory & Buttons
   ========================================================================== */
.regional-directory {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.btn-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000000;
    color: #ffffff;
    border: none;
    text-decoration: none;
}

.btn-show-more:hover {
    background: #333333;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Sectors Banner (5th Section) - High Tech
   ========================================================================== */
.high-tech-bg {
    padding: 8rem var(--container-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle futuristic background grid */
.high-tech-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.tech-header {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
    text-align: center;
}

.tech-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tech-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.glass-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    flex: 1 1 220px;
    max-width: 280px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-light);
}

.sector-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.02));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.glass-card:hover .sector-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.sector-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.glass-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.sector-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.sector-graphic {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.15));
    position: relative;
    overflow: hidden;
}

/* Simulated data lines for the graphic */
.sector-graphic::after {
    content: '';
    position: absolute;
    top: 50%; left: -100%;
    width: 50%; height: 2px;
    background: var(--primary-light);
    animation: scanline 3s infinite linear;
}

@keyframes scanline {
    0% { left: -50%; }
    100% { left: 150%; }
}

.tech-cta-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    text-align: center;
}

.btn-tech-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000000;
    color: #ffffff;
    border: none;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-tech-pill:hover {
    background: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-tech-pill svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-tech-pill:hover svg {
    transform: translateX(5px);
}

/* ==========================================================================
   WhatsApp Join Strip
   ========================================================================== */
.whatsapp-strip {
    background: #075E54;
    color: white;
    padding: 5rem var(--container-padding);
}

.whatsapp-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .whatsapp-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.whatsapp-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.whatsapp-text p {
    color: rgba(255, 255, 255, 0.9);
}

.whatsapp-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 500px;
}

.whatsapp-form select,
.whatsapp-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    outline: none;
    font-family: inherit;
    font-size: 1rem;
}

.whatsapp-form select {
    max-width: 200px;
    background-color: white;
    color: var(--text-primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-whatsapp:hover {
    background: #1EBE5D;
}

/* ==========================================================================
   Live Stats Strip
   ========================================================================== */
.stats-strip {
    background: var(--surface-color);
    padding: 4rem var(--container-padding);
    border-bottom: 1px solid var(--surface-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   Email Subscription Strip
   ========================================================================== */
.email-strip {
    background: #000000;
    color: #ffffff;
    padding: 5rem var(--container-padding);
}

.email-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.email-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    outline: none;
    font-family: inherit;
}

.btn-subscribe {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-subscribe:hover {
    background: #dddddd;
}

/* ==========================================================================
   Project Registration Gateway Form & Styles
   ========================================================================== */

.tech-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    margin-bottom: 3.5rem;
}

.sectors-banner {
    padding-bottom: 5rem;
}

.tech-header h2 {
    margin-bottom: 0.5rem;
}

.btn-sector-join {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #111111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    z-index: 2;
    position: relative;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-sector-join:hover {
    background-color: #333333;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.sector-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sector-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.sector-icon svg {
    width: 32px;
    height: 32px;
}

.form-page-container {
    max-width: 800px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

.join-project-form {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ==========================================================================
   WhatsApp Banner (6th Section)
   ========================================================================== */
.whatsapp-banner {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}
.wa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}
.wa-content {
    flex: 1 1 500px;
    margin-bottom: 3rem;
}
.wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.wa-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #111;
}
@media (max-width: 768px) {
    .wa-content h2 {
        font-size: 2.5rem;
    }
}
.wa-highlight {
    position: relative;
    display: inline-block;
}
.wa-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #111;
}
.wa-subtext {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 400px;
}
.wa-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.wa-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}
.wa-f-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.wa-form-wrapper {
    flex: 1 1 500px;
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.wa-form-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,1);
    padding: 0.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 550px;
}
@media (max-width: 768px) {
    .wa-form-box {
        flex-direction: column;
        align-items: stretch;
    }
    .wa-divider {
        display: none;
    }
}
.wa-input-group {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    flex: 1;
}
.wa-input-group svg {
    color: #666;
    margin-right: 0.5rem;
}
.wa-input-group select, .wa-input-group input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: #333;
}
.wa-divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}
.btn-wa-join {
    background: #111;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-wa-join:hover {
    background: #333;
}
.wa-bottom-strip {
    background: #111;
    color: white;
    padding: 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}
.wa-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.wa-bottom-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.wa-bottom-icon {
    background: rgba(255,255,255,0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wa-bottom-left p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}
.wa-bottom-left strong {
    font-size: 1.1rem;
}

/* ==========================================================================
   Email Banner (7th Section)
   ========================================================================== */
.email-banner {
    background: #f0f2f5;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.email-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #111;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.email-banner h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #111;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .email-banner h2 {
        font-size: 2.5rem;
    }
}
.email-subtext {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
}
.email-sub-form {
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}
.email-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 1rem;
}
.email-input-wrapper svg {
    color: #666;
    margin-right: 0.5rem;
}
.email-input-wrapper input {
    border: none;
    outline: none;
    font-size: 1rem;
    width: 100%;
    padding: 0.5rem 0;
}
.btn-email-sub {
    background: #111;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-email-sub:hover {
    background: #333;
}
.email-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}
.email-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #111;
}
.email-f-icon {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.email-f-icon svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */
.modern-footer {
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 4rem 0 0 0;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}
.footer-tagline {
    color: #666;
    font-size: 0.95rem;
    max-width: 300px;
}
.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 1.5rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #111;
}
.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}
.footer-email:hover {
    color: #111;
}
.footer-bottom {
    background: #f8f9fa;
    text-align: center;
    padding: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   Comparison Page
   ========================================================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .compare-card {
        padding: 1.2rem;
    }
    .compare-metric {
        font-size: 1.1rem;
    }
    .compare-card h4 {
        font-size: 0.95rem;
    }
    .compare-card p {
        font-size: 0.85rem;
    }
}
.compare-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.compare-card h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.compare-metric {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.compare-trad .compare-metric {
    color: #666;
}
.compare-trad {
    opacity: 0.9;
    border: 1px solid #e0e0e0;
}
.compare-ai {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.01) 100%);
    border: 1px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}
.compare-ai .compare-metric {
    color: var(--accent-color);
}
.compare-cta-banner {
    background: #111;
    color: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.compare-cta-banner h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.compare-cta-banner p {
    font-size: 1.2rem;
    color: #ccc;
}

/* ==========================================================================
   About Page Redesign
   ========================================================================== */
.about-container {
    padding: 0;
    width: 100%;
}
.about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.about-hero-content {
    flex: 1 1 500px;
}
.about-badge {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.about-title {
    font-size: 3rem;
    color: #111;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.about-story p {
    font-size: 1.1rem;
    color: #222; /* Darkened for higher contrast */
    line-height: 1.7;
    margin-bottom: 1rem;
}
.about-hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    position: relative;
}
.about-image-frame {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.about-image-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.4) 0%, transparent 60%);
    pointer-events: none;
}
.about-image-frame img {
    width: 100%;
    display: block;
    filter: grayscale(100%) contrast(105%);
}

.about-impact-bar {
    background: #111;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}
.impact-item {
    text-align: center;
}
.impact-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.impact-item p {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
}
.impact-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
}

.about-pillars {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}
.pillars-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #111;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.pillar-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-top: 4px solid #111;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-5px);
}
.pillar-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #111;
}
.pillar-card p {
    color: #555;
    line-height: 1.6;
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    padding: 5rem 2rem;
    border-top: 1px solid #eaeaea;
}
.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
}
.about-cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .about-hero {
        margin: 2rem auto;
    }
    .about-title {
        font-size: 2.2rem;
    }
    .impact-divider {
        display: none;
    }
    .impact-item h3 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service-icon {
    margin-bottom: 1.5rem;
    color: #111;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    display: inline-flex;
}
.service-card h3 {
    font-size: 1.25rem;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.btn-outline {
    background: transparent;
    color: #111;
    border: 2px solid #111;
    padding: 0.6rem 1.2rem;
}
.btn-outline:hover {
    background: #111;
    color: #fff;
}

/* ==========================================================================
   Publish Ad View & Dynamic Calculator
   ========================================================================== */
.publish-ad-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ad-step {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
}

.ad-step h3 {
    margin-bottom: 2rem;
    font-size: 1.4rem;
    color: #111;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.pricing-card {
    cursor: pointer;
    position: relative;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
}
.pricing-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.pricing-card:hover {
    border-color: #111;
}
.pricing-card:has(input:checked) {
    border-color: #111;
    background: #111;
    color: #fff;
}
.pricing-card:has(input:checked) h4,
.pricing-card:has(input:checked) .price {
    color: #fff;
}
.pricing-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #333;
}
.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
}
.pricing-card .price span {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Country Checklist */
.country-selector {
    position: relative;
}

/* Sponsorship Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.objective-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.objective-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.objective-card .obj-content {
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.objective-card:hover .obj-content {
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.objective-card input[type="checkbox"]:checked + .obj-content {
    border-color: #111;
    background: #fafafa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.obj-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.obj-content h4 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #111;
}

.obj-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* File Drop Area */
.file-drop-area {
    position: relative;
    border: 2px dashed #eaeaea;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}
.file-drop-area:hover, .file-drop-area.drag-over {
    border-color: #111;
    background: #fff;
    color: #111;
}
.file-drop-input {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Recruitment Role Toggle */
.role-toggle-container {
    display: flex;
    background: #eaeaea;
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    gap: 0.5rem;
}

.role-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.role-btn small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.role-btn.active {
    background: #fff;
    color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Employer Boost Banner */
.employer-boost-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.employer-boost-banner h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #fff;
}

.employer-boost-banner p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}
.country-checklist {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 1rem;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.country-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
}
.country-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Add-ons */
.addon-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.addon-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.addon-toggle:hover {
    background: #f8f9fa;
}
.addon-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
.collapse-input {
    margin-left: 2.5rem;
    animation: fadeInDown 0.3s ease forwards;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sticky Summary */
.ad-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    color: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.summary-details {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}
.summary-item {
    font-size: 0.95rem;
    color: #aaa;
}
.summary-item span {
    color: #fff;
    font-weight: 600;
}
.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.summary-total span {
    color: #10b981;
}

/* ==========================================================================
   Global Form Responsive Layouts
   ========================================================================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .ad-summary-bar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        align-items: flex-start;
    }
    .ad-summary-bar .btn-primary {
        width: 100%;
    }
    
    /* Responsive forms */
    .form-grid {
        grid-template-columns: 1fr;
    }
    .ad-step, .join-project-form {
        padding: 1.5rem;
    }
    .page-container {
        padding: 1rem;
    }
    
    /* Mobile/Tablet Card Sizing & Grid Layout */
    .country-grid, #global-country-grid, .sectors-grid, .services-grid, .objectives-grid, .addon-group {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .continent-list {
        flex-wrap: wrap;
        white-space: normal;
        justify-content: center;
        padding-bottom: 0.5rem;
    }
    
    .continent-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .country-card, .objective-card, .addon-toggle, .sector-card, .service-card {
        padding: 0.75rem 0.5rem;
    }
    .country-flag, .obj-icon, .sector-icon, .service-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .country-name, .obj-content h4, .sector-card h4, .service-card h4 {
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .btn-whatsapp-small, .btn-portal {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    .btn-whatsapp-small svg {
        width: 14px;
        height: 14px;
    }
    
    /* Global Page Search Adjustments */
    .directory-header h2, .form-header h2 {
        font-size: 1.5rem;
    }
}
