/* Premium Design Fixes */

/* Enlarge main website navbar logo */
.logo-img {
    height: 90px !important;
    /* Set to exactly 90px */
}

.navbar.sticky .logo-img {
    height: 70px !important;
}

/* 0. Hero Background Image */
header.home-header {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

@media (min-width: 992px) {
    header.home-header {
        min-height: 110vh !important;
        /* Increased height to 110% viewport height */
        padding-bottom: 180px !important;
        /* Larger bottom padding to extend the hero area downwards */
    }

    .hero-layout-wrapper {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Full background layer (Stretched to fit completely without cropping) */
.hero-bg-zoom {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../images/bk.png') no-repeat center top / 100% 100% !important;
    /* Stretched 100% width and 100% height to show the entire image */
    z-index: -2;
    transform: none !important;
    /* Reset transform */
    animation: none !important;
    /* Disabled animation loop */
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(0.85);
        /* Shrinks the image content to display more elements */
    }

    100% {
        transform: scale(0.78);
        /* Deeper zoom out with zero risk of bottom boundary reveal (bottom edge stays > 103%) */
    }
}

/* Optional Overlay so text remains readable */
header.home-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2) !important;
    /* Lighter overlay (was 0.4) */
    z-index: -1;
    -webkit-mask-image: none !important;
    /* Remove any legacy mask gradient */
    mask-image: none !important;
    opacity: 1 !important;
    /* Reset inherited opacity from base CSS to prevent blending issues */
    mix-blend-mode: normal !important;
    /* Reset inherited mix-blend-mode */
    filter: none !important;
    /* Reset inherited filters */
}

[data-theme="dark"] header.home-header::before {
    background: rgba(15, 23, 42, 0.4) !important;
    /* Lighter overlay (was 0.7) */
}

/* Gradual bottom gradient fade to smoothly blend into the next section */
header.home-header::after {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 140px !important;
    /* Taller height for very gradual and smooth fade */
    background: linear-gradient(to bottom,
            rgba(242, 253, 252, 0) 0%,
            rgba(242, 253, 252, 0.08) 25%,
            rgba(242, 253, 252, 0.35) 55%,
            rgba(242, 253, 252, 0.75) 80%,
            rgba(242, 253, 252, 1) 100%) !important;
    /* Blends seamlessly with light page background (#f2fdfc) */
    pointer-events: none !important;
    z-index: -1 !important;
    /* Place it just above the background zoom layer (-2) but behind content */
}

[data-theme="dark"] header.home-header::after {
    background: linear-gradient(to bottom,
            rgba(13, 37, 63, 0) 0%,
            rgba(13, 37, 63, 0.08) 25%,
            rgba(13, 37, 63, 0.35) 55%,
            rgba(13, 37, 63, 0.75) 80%,
            rgba(13, 37, 63, 1) 100%) !important;
    /* Smooth dark eased gradient matching #0d253f */
}

.hero-layout-wrapper {
    position: relative;
    z-index: 1;
    justify-content: center !important;
    /* Center the text since there is no image side */
}

/* 1. Typography & Colors for Main Title */
.header-hero-content h1 {
    color: #064e3b !important;
    /* Dark Green */
    white-space: nowrap !important;
    font-size: clamp(1.8rem, 3.8vw, 3.5rem) !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 10px rgba(6, 78, 59, 0.2) !important;
    margin-top: -70px !important;
}

[data-theme="dark"] .header-hero-content h1 {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .header-hero-content h1 {
        white-space: normal !important;
    }
}

/* 2. Phone Background and Effects */
.hero-image-side,
.hero-phone-container {
    background: transparent !important;
}

.hero-phone-container {
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    /* to wrap tightly around image */
}

.hero-phone-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(13, 148, 136, 0.2);
}

/* 3. Dawaii Services 3D Icons */
.s3d-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.s3d-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s3d-item:hover {
    transform: translateY(-8px);
}

.s3d-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.5),
        0 10px 20px rgba(13, 148, 136, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 148, 136, 0.2);
    transition: all 0.3s ease;
}

[data-theme="dark"] .s3d-circle {
    background: rgba(15, 23, 42, 0.8);
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.s3d-circle i {
    font-size: 32px;
    color: var(--primary-color, #0d9488);
    background: -webkit-linear-gradient(45deg, #0d9488, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .s3d-circle i {
    background: -webkit-linear-gradient(45deg, #14b8a6, #fcd34d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.s3d-item:hover .s3d-circle {
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.8),
        0 15px 30px rgba(13, 148, 136, 0.3);
    border-color: rgba(13, 148, 136, 0.5);
}

[data-theme="dark"] .s3d-item:hover .s3d-circle {
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.1),
        0 15px 30px rgba(20, 184, 166, 0.2);
}

.s3d-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color, #334155);
}

/* 4. Center Section Headings (Dawaii Services & Partners) */
section.services-3d-icons-bar,
section.partners-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.section-heading-center {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 40px auto 20px auto !important;
}

.partner-tag {
    display: inline-block !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 22px !important;
    /* Enlarge text size (was 14px) */
    padding: 10px 32px !important;
    /* Adjust padding for visual scale */
}

.partner-tag::before {
    display: none !important;
}

/* 5. Navigation Bar Text Color */
.nav-links ul li a {
    color: #064e3b !important;
    /* Dark Green */
    font-weight: 700 !important;
}

[data-theme="dark"] .nav-links ul li a {
    color: #e2e8f0 !important;
    /* Light color for dark mode */
}

/* 6. Social Media Icons */
.social-icons-header a,
.social-icons-header a i {
    color: #064e3b !important;
    /* Dark Green */
    transition: all 0.3s ease;
}

[data-theme="dark"] .social-icons-header a,
[data-theme="dark"] .social-icons-header a i {
    color: #e2e8f0 !important;
}

.social-icons-header a:hover {
    color: #047857 !important;
    /* Slightly lighter on hover */
    transform: scale(1.1);
}

/* 7. Horizontal Explore Section */
.hero-horizontal-text {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 15px !important;
    margin-top: 15px !important;
    color: #199a8e !important;
    /* Green */
}

.hero-horizontal-text * {
    color: #199a8e !important;
    /* Green */
}

[data-theme="dark"] .hero-horizontal-text,
[data-theme="dark"] .hero-horizontal-text * {
    color: #34d399 !important;
    /* Lighter green for dark mode */
}

.hero-horizontal-tags {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.hero-tag {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.hero-subtitle {
    white-space: nowrap !important;
    display: inline-block !important;
}

/* 8. Distinguish Explore Text */
.explore-title-text {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    padding: 6px 18px !important;
    border-radius: 25px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
    letter-spacing: 1px !important;
}

[data-theme="dark"] .explore-title-text {
    color: #ffffff !important;
}

/* 9. Floating Phone Design */
.hero-floating-phone-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: 110px !important;
    /* Pushed down to create spacing */
    margin-bottom: 90px !important;
    /* Space between phone and services */
}

.hero-floating-phone {
    width: 100%;
    max-width: 520px !important;
    /* Enlarged on desktop */
    height: auto;
}

@media (max-width: 768px) {
    .hero-floating-phone-wrapper {
        margin-bottom: 40px;
    }

    .hero-floating-phone {
        max-width: 340px !important;
        /* Enlarged on mobile */
    }
}

/* 10. Partners Section (Glassmorphism & Micro-interactions) */
.partners-section {
    position: relative;
    overflow: hidden;
    height: auto !important;
    min-height: auto !important;
    padding: 50px 0 !important;
}

.faq-section {
    padding-top: 40px !important;
}

/* Gradient fade masks for the slider edges */
.partners-slider-wrap {
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-logo-box {
    background: #ffffff !important;
    /* Solid white */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    min-height: 220px !important;
}

[data-theme="dark"] .partner-logo-box {
    background: #1e293b !important;
    /* Solid dark */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Hover Micro-interaction */
.partner-logo-box:hover {
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15) !important;
    background: #ffffff !important;
}

[data-theme="dark"] .partner-logo-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    background: #1e293b !important;
}

.partner-logo-box:hover .partner-img-wrapper {
    transform: scale(1.15) !important;
}

/* Soft Glow Behind Logo inside the card */
.partner-circle {
    position: absolute !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(255, 255, 255, 0) 70%) !important;
    border-radius: 50% !important;
    z-index: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partner-logo-box:hover .partner-circle {
    opacity: 1 !important;
}

.partner-circle img {
    display: none !important;
    /* Hide old watermark */
}

/* Logo Image Styling */
.partner-img-wrapper {
    z-index: 1 !important;
    transition: transform 0.4s ease !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 120px !important;
    /* Increased logo size */
}

.partner-img-wrapper img {
    max-height: 100% !important;
    max-width: 90% !important;
    /* Ensure it fits nicely horizontally too */
    width: auto !important;
    object-fit: contain !important;
}



/* Text Styling */
.partner-logo-box span {
    z-index: 1 !important;
    font-weight: 700 !important;
    color: var(--text-color, #334155) !important;
    margin-top: 20px !important;
    text-align: center !important;
    font-size: 14px !important;
}

[data-theme="dark"] .partner-logo-box span {
    color: #f8fafc !important;
}

/* 11. Dawaii Services 3D Icons Effect (Neumorphism + Skeuomorphism) */
.s3d-item {
    perspective: 1000px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.s3d-circle {
    background: linear-gradient(145deg, #ffffff, #e6e6e6) !important;
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.08),
        -10px -10px 20px rgba(255, 255, 255, 0.9),
        inset 2px 2px 5px rgba(255, 255, 255, 0.8),
        inset -3px -3px 7px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform-style: preserve-3d !important;
}

[data-theme="dark"] .s3d-circle {
    background: linear-gradient(145deg, #1e293b, #0f172a) !important;
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.4),
        -10px -10px 20px rgba(255, 255, 255, 0.03),
        inset 2px 2px 5px rgba(255, 255, 255, 0.05),
        inset -3px -3px 7px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.s3d-circle i {
    font-size: 28px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9) !important;
    /* Light border on the icon itself */
    stroke: rgba(255, 255, 255, 0.9) !important;
    stroke-width: 10px !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease !important;
    transform: translateZ(20px) !important;
    /* Pops the icon out of the circle */
}

/* Colorful 3D Icons - Strong and Clear Colors */
.s3d-circle .fa-user-injured {
    color: #1d4ed8 !important;
    /* Deep Blue */
    fill: #1d4ed8 !important;
}

.s3d-circle .fa-user-md {
    color: #047857 !important;
    /* Deep Green */
    fill: #047857 !important;
}

.s3d-circle .fa-building {
    color: #b45309 !important;
    /* Deep Amber/Orange */
    fill: #b45309 !important;
}

.s3d-circle .fa-mortar-pestle {
    color: #6d28d9 !important;
    /* Deep Purple */
    fill: #6d28d9 !important;
}

.s3d-circle .fa-microscope {
    color: #be185d !important;
    /* Deep Pink */
    fill: #be185d !important;
}

.s3d-circle .fa-tooth {
    color: #0369a1 !important;
    /* Deep Cyan/Blue */
    fill: #0369a1 !important;
}

.s3d-circle .fa-pills {
    color: #be123c !important;
    /* Deep Red/Rose */
    fill: #be123c !important;
}

[data-theme="dark"] .s3d-circle i {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15) !important;
    stroke: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .s3d-circle .fa-user-injured {
    color: #3b82f6 !important;
    fill: #3b82f6 !important;
}

[data-theme="dark"] .s3d-circle .fa-user-md {
    color: #10b981 !important;
    fill: #10b981 !important;
}

[data-theme="dark"] .s3d-circle .fa-building {
    color: #f59e0b !important;
    fill: #f59e0b !important;
}

[data-theme="dark"] .s3d-circle .fa-mortar-pestle {
    color: #8b5cf6 !important;
    fill: #8b5cf6 !important;
}

[data-theme="dark"] .s3d-circle .fa-microscope {
    color: #ec4899 !important;
    fill: #ec4899 !important;
}

[data-theme="dark"] .s3d-circle .fa-tooth {
    color: #06b6d4 !important;
    fill: #06b6d4 !important;
}

[data-theme="dark"] .s3d-circle .fa-pills {
    color: #f43f5e !important;
    fill: #f43f5e !important;
}

[data-theme="dark"] .s3d-circle .fa-user-injured {
    color: #60a5fa !important;
}

[data-theme="dark"] .s3d-circle .fa-user-md {
    color: #34d399 !important;
}

[data-theme="dark"] .s3d-circle .fa-building {
    color: #fbbf24 !important;
}

[data-theme="dark"] .s3d-circle .fa-mortar-pestle {
    color: #a78bfa !important;
}

[data-theme="dark"] .s3d-circle .fa-microscope {
    color: #f472b6 !important;
}

[data-theme="dark"] .s3d-circle .fa-tooth {
    color: #22d3ee !important;
}

[data-theme="dark"] .s3d-circle .fa-pills {
    color: #fb7185 !important;
}

/* ==========================================================================
   STARTUP TECH EXPO CARD WIDGET (Premium Floating Corner Widget)
   ========================================================================== */

/* 1. Root Floating Card Widget Container */
.expo-card-widget {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    width: 360px !important;
    /* Enlarged from 320px */
    background: rgba(13, 27, 42, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
    z-index: 10001 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    direction: rtl !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: visible !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}

[data-theme="dark"] .expo-card-widget {
    background: rgba(9, 15, 26, 0.8) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(16, 185, 129, 0.05) !important;
}

/* Hide when dismissed */
.expo-card-widget.dismissed,
html.expo-banner-dismissed .expo-card-widget {
    transform: translateY(50px) scale(0.9) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Hover micro-interaction */
.expo-card-widget:hover {
    transform: translateY(-5px) !important;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

/* 2. Header & Close Button */
.expo-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.expo-card-close-btn {
    position: absolute !important;
    top: -12px !important;
    left: -12px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10002 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .expo-card-close-btn {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.expo-card-close-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    transform: scale(1.1) rotate(90deg) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
}

/* Badge styling inside card */
.expo-card-badge {
    background: rgba(16, 185, 129, 0.18) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    color: #ffffff !important;
    /* Pure white */
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1) !important;
    letter-spacing: 0.5px !important;
}

.expo-card-icon-sparkle {
    color: #10b981 !important;
    animation: badgePulse 2s infinite alternate !important;
}

/* 3. Card Body: Logo & Info */
.expo-card-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: center !important;
}

.expo-card-logo-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.expo-card-logo {
    height: 55px !important;
    /* Enlarged further from 42px */
    width: auto !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(16, 185, 129, 0.2)) !important;
    object-fit: contain !important;
}

.expo-card-in {
    font-size: 13px !important;
    color: #cbd5e1 !important;
    /* Bright silver */
    font-weight: 700 !important;
}

.expo-card-title {
    font-size: 28px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    color: #ffffff !important;
    /* Pure white */
    letter-spacing: 1.5px !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    /* Glowing drop shadow */
}

.expo-card-date {
    font-size: 14px !important;
    /* Enlarged */
    color: #00f5d4 !important;
    /* Neon cyan for ultimate contrast */
    font-weight: 800 !important;
    margin: 2px 0 0 0 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 0 8px rgba(0, 245, 212, 0.3) !important;
}

/* 4. Card Countdown section */
.expo-card-countdown {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    direction: ltr !important;
}

.expo-card-countdown .countdown-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(16, 185, 129, 0.12) !important;
    border-radius: 12px !important;
    padding: 8px 6px !important;
    min-width: 58px !important;
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.01), 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(8px) !important;
}

.expo-card-countdown .countdown-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    background: rgba(16, 185, 129, 0.06) !important;
}

.expo-card-countdown .countdown-num {
    font-size: 24px !important;
    /* Enlarged */
    color: #00f5d4 !important;
    /* Neon cyan */
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-shadow: 0 0 10px rgba(0, 245, 212, 0.5) !important;
    /* Glowing neon */
}

.expo-card-countdown .countdown-label {
    font-size: 10px !important;
    /* Slightly enlarged */
    color: #cbd5e1 !important;
    /* Bright silver */
    margin-top: 2px !important;
    font-weight: 800 !important;
}

.expo-card-countdown .countdown-separator {
    font-size: 18px !important;
    color: rgba(0, 245, 212, 0.5) !important;
    /* Glowing separator */
    animation: blink 1.5s infinite !important;
}

/* 5. Card CTA Action Button */
.expo-card-btn {
    width: 100% !important;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.expo-card-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -50% !important;
    width: 30% !important;
    height: 100% !important;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%) !important;
    transform: skewX(-25deg) !important;
    transition: 0.75s !important;
}

.expo-card-btn:hover::before {
    left: 150% !important;
    transition: 0.75s !important;
}

.expo-card-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
    background: linear-gradient(135deg, #059669 0%, #065f46 100%) !important;
}

.expo-card-btn .arrow-icon {
    font-size: 11px !important;
    transition: transform 0.3s ease !important;
}

html[lang="en"] .expo-card-btn .arrow-icon {
    transform: rotate(180deg) !important;
}

.expo-card-btn:hover .arrow-icon {
    transform: translateX(-4px) !important;
}

html[lang="en"] .expo-card-btn:hover .arrow-icon {
    transform: rotate(180deg) translateX(-4px) !important;
}

/* ==========================================================================
   Responsive Overrides for the Card Widget
   ========================================================================== */
@media (max-width: 600px) {
    .expo-card-widget {
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        border-radius: 18px !important;
        padding: 15px !important;
        gap: 12px !important;
    }

    .expo-card-close-btn {
        top: 8px !important;
        left: 8px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
    }

    .expo-card-badge {
        padding: 4px 10px !important;
        font-size: 11px !important;
        /* Enlarged on mobile */
    }

    .expo-card-title {
        font-size: 22px !important;
        /* Enlarged on mobile */
    }

    .expo-card-logo {
        height: 42px !important;
        /* Enlarged further on mobile */
    }

    .expo-card-countdown .countdown-card {
        min-width: 50px !important;
        padding: 6px 4px !important;
    }

    .expo-card-countdown .countdown-num {
        font-size: 16px !important;
    }

    .expo-card-countdown .countdown-label {
        font-size: 8px !important;
    }
}

/* ==========================================================================
   JOIN BUTTON AND EXPO CARD WIDGET SIDE-BY-SIDE INLINE STYLING
   ========================================================================== */

/* Wrapper for button and card widget */
.join-and-expo-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* Position overrides to make the widget relative in the hero flow */
.join-and-expo-wrapper .expo-card-widget {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    z-index: 10 !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(16, 185, 129, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Hover adjustments when inline */
.join-and-expo-wrapper .expo-card-widget:hover {
    transform: translateY(-4px) !important;
}

/* Mobile responsive scaling */
@media (max-width: 600px) {
    .join-and-expo-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .join-and-expo-wrapper .expo-card-widget {
        width: 100% !important;
        max-width: 340px !important;
        /* Enlarged on mobile */
        margin: 0 auto !important;
    }
}