/* Modern Design System for Dabara Solutions */
:root {
    --primary: #1e90ff;
    --primary-dark: #0066cc;
    --secondary: #64748b;
    --dark: #0b1736;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    --gradient-dark: linear-gradient(135deg, #0b1736 0%, #1e3a8a 100%);
    --shadow-sm: 0 2px 4px 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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Typography */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Play Button */
.play-btn-circle {
    transition: var(--transition);
}

.play-btn-circle:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary) !important;
}

/* Hero Badge */
.bg-primary-subtle {
    background-color: rgba(30, 144, 255, 0.1) !important;
}

.border-primary-subtle {
    border-color: rgba(30, 144, 255, 0.2) !important;
}

h1,
h2,
h3,
h4,
.fw-bold {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.section-padding {
    padding: 100px 0;
}

.footer .section-padding {
    padding: 30px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Buttons */
.btn-primary-modern {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(30, 144, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    /* Prevent text wrapping */
}

@media (max-width: 480px) {
    .btn-primary-modern {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
    color: var(--white);
}

/* Modern Card Glow */
.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(4, 78, 197, 0.05);
}

/* Team Image Sleek Filter */
.team-img-wrapper {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-img-wrapper img {
    filter: grayscale(20%) contrast(110%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 78, 197, 0.15) 0%, rgba(30, 144, 255, 0.05) 100%);
    mix-blend-mode: overlay;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.modern-card:hover .team-img-wrapper img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.modern-card:hover .team-img-overlay {
    opacity: 0;
}

.btn-outline-modern {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-modern:hover {
    background: var(--primary);
    color: var(--white);
}

/* Modern Cards - Ultra-Premium & Captivating */
.modern-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modern-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(30, 144, 255, 0.1), transparent),
        radial-gradient(circle at bottom right, rgba(0, 102, 204, 0.05), transparent);
    z-index: -1;
    opacity: 0.5;
    transition: var(--transition);
}

.modern-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.modern-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 40px 80px -20px rgba(30, 144, 255, 0.25);
    border-color: rgba(30, 144, 255, 0.3);
}

.modern-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

/* Global Icon Box Utilities */
.icon-box {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(30, 144, 255, 0.2);
    transition: var(--transition);
}

.icon-box.sm {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: none;
}

.modern-card .icon-box {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modern-card .icon-box::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 24px;
    background: var(--gradient-primary);
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
    transition: var(--transition);
}

.modern-card:hover .icon-box {
    transform: translateY(-8px) rotate(8deg) scale(1.1);
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.4);
}

.modern-card:hover .icon-box::after {
    opacity: 0.4;
    filter: blur(15px);
}

.modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.modern-card:hover h3 {
    color: var(--primary);
}

.modern-card p {
    font-size: 1.05rem;
    color: var(--secondary);
    line-height: 1.6;
    margin: 0;
}

.modern-card i {
    color: var(--white);
    font-size: 1.75rem;
}

/* Floating Elements */
.floating-chip {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
    will-change: transform;
}

.chip-1 {
    top: 10%;
    right: -2%;
    animation-delay: 0s;
}

@media (max-width: 991px) {
    .chip-1 {
        right: 0;
    }
}

.chip-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

@media (max-width: 991px) {
    .floating-chip {
        padding: 6px 12px;
        border-radius: 10px;
        gap: 8px;
    }

    .floating-chip .icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        padding: 4px !important;
    }

    .floating-chip p.fw-bold {
        font-size: 0.75rem !important;
    }

    .floating-chip p.x-small {
        font-size: 0.65rem !important;
    }

    .chip-1 {
        top: 0;
        right: 0;
    }

    .chip-2 {
        bottom: 0px;
        left: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hero Styles */
.hero-content-modern {
    z-index: 2;
    position: relative;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

/* Navigation Overrides */
.header {
    transition: var(--transition);
    padding: 15px 0;
    /* Reduced from 25px */
    background: transparent;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 0;
    /* Reduced from 12px */
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
}

/* Fix for mobile header movement on scroll up */
@media (max-width: 991px) {
    .header {
        position: fixed !important;
        /* Ensure it stays fixed on mobile */
        background: rgba(255, 255, 255, 0.9) !important;
        /* Force background on mobile for visibility */
        padding: 10px 0;
    }

    .header.scrolled {
        padding: 8px 0;
    }
}

.logo img {
    max-height: 45px !important;
    transform: scaleX(1.1);
    /* Slight horizontal stretch */
    transform-origin: left;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
    text-transform: none;
    transition: var(--transition);
}

.footer .logo-text {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .logo img {
        max-height: 35px !important;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

.navmenu ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navmenu a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}

.navmenu a:hover,
.navmenu a.active {
    color: var(--primary) !important;
}

.header.scrolled .navmenu a {
    color: var(--dark);
}

@media (max-width: 991px) {

    .footer .footer-about,
    .footer .footer-contact {
        text-align: center !important;
    }

    .footer .footer-about .logo {
        justify-content: center;
    }

    .footer .footer-contact .text-start {
        text-align: center !important;
    }
}

@media (max-width: 1199px) {
    .navmenu ul {
        display: none;
    }
}

/* Footer Hover */
.footer a:hover {
    color: var(--primary) !important;
}

/* Fix for Hero section on mobile */
@media (max-width: 991px) {
    #hero {
        background: var(--light) !important;
    }

    .hero-content-modern {
        margin-top: 12px;
        /* Approx 0.3cm additional space */
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .hero-image-container img {
        max-width: 90%;
    }
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    transition: var(--transition);
}
.glass-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.1);
    background: rgba(255, 255, 255, 0.85);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    grid-column: span 4;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 36px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 144, 255, 0.2);
}

.bento-card-large {
    grid-column: span 8;
}

.bento-card-medium {
    grid-column: span 6;
}

.bento-card-small {
    grid-column: span 3;
}

@media (max-width: 991px) {
    .bento-card, .bento-card-large, .bento-card-medium, .bento-card-small {
        grid-column: span 12;
    }
}

/* Swiper custom styling for Premium Carousel */
.swiper-container-enterprise {
    padding: 30px 15px 60px 15px;
    overflow: hidden;
}

.enterprise-slide {
    height: auto;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 24px !important;
    border-radius: 4px !important;
    transition: width 0.3s ease !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition) !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary) !important;
    color: white !important;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
}

/* Product Showcase Images */
.product-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.product-showcase-img:hover {
    transform: scale(1.02);
}

/* ---- Enterprise card image box (Core Offerings) ---- */
/* Fixed height container; image fills it with contain so nothing is cropped */
.prod-img-box-enterprise {
    width: 100%;
    height: 240px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img-box-enterprise img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* No zoom, no crop — image sits fully inside */
    display: block;
    transition: transform 0.4s ease;
}

.glass-card-light:hover .prod-img-box-enterprise img {
    transform: scale(1.03);
}

/* On mobile keep height a bit shorter */
@media (max-width: 575.98px) {
    .prod-img-box-enterprise {
        height: 180px;
    }
}


/* Hero Futurist Theme (Invertase Style) */
#hero,
.hero,
.hero-futurist {
    position: relative;
    overflow: hidden;
    background: #030712 !important;
    background-color: #030712 !important;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

/* Glassmorphic Glowing Morphing Blob */
.blob-container {
    width: 380px;
    height: 380px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glowing-circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(30, 144, 255, 0.1);
    background: radial-gradient(circle, rgba(30, 144, 255, 0.03) 0%, transparent 70%);
    animation: rotateCircle 25s linear infinite;
    will-change: transform;
}

.morphing-blob {
    width: 260px;
    height: 260px;
    background: linear-gradient(45deg, #1e90ff 0%, #4f46e5 50%, #00f2fe 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite, rotateBlob 15s linear infinite;
    box-shadow: 0 0 35px rgba(30, 144, 255, 0.3);
    position: relative;
    z-index: 2;
}

.morphing-blob::after {
    content: '';
    position: absolute;
    inset: 12px;
    background: rgba(9, 13, 22, 0.88);
    border-radius: inherit;
    z-index: 3;
}

.morphing-blob::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    border-radius: inherit;
    z-index: 4;
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 40% 60% 70% 30% / 50% 60% 30% 70%;
    }
}

@keyframes rotateBlob {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Fix header links and logo text color when overlaying dark hero (home page only) */
body:not(.mobile-nav-active).home-page .header:not(.scrolled) .navmenu a {
    color: rgba(255, 255, 255, 0.75) !important;
}
body:not(.mobile-nav-active).home-page .header:not(.scrolled) .navmenu a:hover,
body:not(.mobile-nav-active).home-page .header:not(.scrolled) .navmenu a.active {
    color: #ffffff !important;
}
body:not(.mobile-nav-active).home-page .header:not(.scrolled) .logo-text {
    color: #ffffff !important;
}
body:not(.mobile-nav-active).home-page .header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(30, 144, 255, 0.5));
}
body:not(.mobile-nav-active).home-page .header:not(.scrolled) .mobile-nav-toggle {
    color: #ffffff !important;
}

/* Same transparent dark-hero treatment for the About page */
body:not(.mobile-nav-active).about-page .header:not(.scrolled) .navmenu a {
    color: rgba(255, 255, 255, 0.75) !important;
}
body:not(.mobile-nav-active).about-page .header:not(.scrolled) .navmenu a:hover,
body:not(.mobile-nav-active).about-page .header:not(.scrolled) .navmenu a.active {
    color: #ffffff !important;
}
body:not(.mobile-nav-active).about-page .header:not(.scrolled) .logo-text {
    color: #ffffff !important;
}
body:not(.mobile-nav-active).about-page .header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(30, 144, 255, 0.5));
}
body:not(.mobile-nav-active).about-page .header:not(.scrolled) .mobile-nav-toggle {
    color: #ffffff !important;
}
/* Ensure about page header background is transparent until scrolled */
.about-page .header:not(.scrolled) {
    background: transparent !important;
    box-shadow: none !important;
}
/* Mobile: keep solid bg on scroll for readability */
@media (max-width: 991px) {
    .about-page .header {
        background: rgba(11, 23, 54, 0.95) !important;
    }
    .about-page .header.scrolled {
        background: rgba(255, 255, 255, 0.9) !important;
    }
    body:not(.mobile-nav-active).about-page .mobile-nav-toggle {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .about-page .header.scrolled .mobile-nav-toggle {
        color: #374151 !important;
    }
    body.mobile-nav-active .navmenu > ul {
        background: #ffffff !important;
    }
    body.mobile-nav-active .navmenu a {
        color: #374151 !important;
    }
    body.mobile-nav-active .navmenu a.active {
        color: var(--primary) !important;
    }
}

/* Glowing Pulsing Dabara Brand Logo in Orb */
.blob-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: auto;
    z-index: 5;
    animation: logoPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.92);
        filter: drop-shadow(0 0 15px rgba(30, 144, 255, 0.8)) brightness(0) invert(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        filter: drop-shadow(0 0 30px rgba(0, 242, 254, 1)) brightness(0) invert(1);
    }
}

/* Responsive Overrides for Hero Futurist Section */
@media (max-width: 991.98px) {
    .hero-futurist {
        padding: 120px 0 60px 0 !important;
        text-align: center;
    }
    .hero-futurist h1 {
        font-size: 2.5rem !important;
    }
    .hero-futurist p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-futurist .cta-buttons {
        justify-content: center;
    }
    .blob-container {
        width: 280px;
        height: 280px;
        margin-top: 2rem;
    }
    .morphing-blob {
        width: 190px;
        height: 190px;
    }
    .blob-logo {
        width: 58px;
    }
}

/* Mobile Header Color Fixes */
@media (max-width: 1199.98px) {
    .header:not(.scrolled) {
        background-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* /* ==========================================
   Core Pillars of Excellence - Stacked Pyramid
   ========================================== */
.pillars-section {
    background: #07111f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.pillars-section::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(27, 122, 128, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.stacked-pyramid-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1100px; 
    margin: 0 auto;
    padding: 20px;
}

.pyramid-band {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -2px; 
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.pyramid-band:hover {
    transform: scale(1.02);
    z-index: 10;
    filter: brightness(1.1);
}

.band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 76%; /* 12% margin on each side, fully safe from all slant cut-offs */
    margin: 0 auto;
    height: 100px;
    padding: 0; 
}

/* Base trapezoid setup via clip-path */
.band-1 { width: 50%; height: 210px; background: linear-gradient(180deg, #e35f3a 0%, #c24d2d 100%); clip-path: polygon(50% 0%, 100% 100%, 0% 100%); margin-bottom: 0px; }
.band-1 .band-inner { flex-direction: column; justify-content: flex-end; align-items: center; width: 100%; padding: 0 0 20px 0; margin-top: 0; height: 100%; }
.band-1 .band-center { flex: none; width: 100%; display: flex; justify-content: center; margin: 0 0 10px 0; order: 1; }
.band-1 .band-left { flex: none; width: 100%; text-align: center; padding: 0; order: 2; margin-bottom: 5px; }
.band-1 .band-right { flex: none; width: 100%; text-align: center; padding: 0; order: 3; }
.band-1 .band-title { margin-bottom: 0px; font-size: 1.15rem; text-align: center; }
.band-1 .band-desc { font-size: 0.85rem; line-height: 1.35; text-align: center; max-width: 60%; margin: 0 auto; }
.band-1 .band-number { margin-bottom: 0px; width: 36px; height: 36px; font-size: 1.2rem; }

.band-2 { width: 60%; background: linear-gradient(180deg, #1faab0 0%, #178388 100%); clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%); }
.band-3 { width: 70%; background: linear-gradient(180deg, #176870 0%, #115056 100%); clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%); }
.band-4 { width: 80%; background: linear-gradient(180deg, #125a61 0%, #0d4348 100%); clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%); }
.band-5 { width: 90%; background: linear-gradient(180deg, #0e4a50 0%, #0a363b 100%); clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%); }
.band-6 { width: 100%; background: linear-gradient(180deg, #093a40 0%, #062b2f 100%); clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 0% 100%); }

.band-left {
    flex: 0.7;
    text-align: right;
    padding-right: 15px;
    min-width: 0;
}

.band-center {
    flex: 0 0 50px;
    display: flex;
    justify-content: center;
}

.band-right {
    flex: 1.3;
    text-align: left;
    padding-left: 15px;
    min-width: 0;
}

.band-title {
    font-family: \'Outfit\', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.band-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.band-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    font-family: \'Outfit\', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 2;
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .band-inner {
        flex-direction: column;
        justify-content: center;
        padding: 10px;
        height: auto;
    }
    .band-left, .band-right {
        text-align: center;
        padding: 5px 0;
    }
    .pyramid-band {
        clip-path: none !important;
        width: 100% !important;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    .band-center { margin: 10px 0; }
}

/* ==========================================
   MOBILE CARD FALLBACK (replaces pyramid on small screens)
   ========================================== */

/* On mobile, hide the big 3-col infographic, show cards instead */
@media (max-width: 991.98px) {
    .pyramid-wrapper {
        display: none !important;
    }
}

/* On desktop, hide the card list */
@media (min-width: 992px) {
    .pyr-mobile-cards {
        display: none !important;
    }
}

.pyr-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 10px;
}

.pyr-mobile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pyr-mobile-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: currentColor;
    opacity: 0.6;
    border-radius: 3px 0 0 3px;
}

.pyr-mobile-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.pyr-mobile-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.pyr-mobile-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.pyr-mobile-body {
    flex: 1;
}

.pyr-mobile-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.pyr-mobile-desc {
    margin: 0;
    font-size: 0.83rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Tablet: show pyramid but smaller */
@media (min-width: 992px) and (max-width: 1199px) {
    .pyramid-row.row-2 .pyr-layer { width: 270px; }
    .pyramid-row.row-3 .pyr-layer { width: 340px; }
    .pyramid-row.row-4 .pyr-layer { width: 410px; }
    .pyramid-row.row-5 .pyr-layer { width: 480px; }
    .pyramid-row.row-6 .pyr-layer { width: 550px; }
    .pyr-label { font-size: 0.88rem; }
    .pyr-callout { max-width: 200px; }
    .pyr-callout p { font-size: 0.75rem; }
}


/* ==========================================
   Winding Snake Delivery Framework Section
   ========================================== */
.delivery-section {
    background: #090e1a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.delivery-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.08) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    pointer-events: none;
}

.delivery-section::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    pointer-events: none;
}

.snake-timeline {
    position: relative;
    padding: 60px 0;
    z-index: 2;
}

/* Draw a winding SVG line, or use premium CSS paths */
.snake-path {
    position: absolute;
    top: 60px;
    left: 50%;
    width: 100%;
    height: calc(100% - 120px);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
    display: block;
}

@media (max-width: 991.98px) {
    .snake-path {
        display: none; /* Hide complex S-curve path on mobile, fallback to simple left line */
    }
}

/* Alternate Left/Right Timeline Cards */
.timeline-phase {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.timeline-phase:last-child {
    margin-bottom: 0;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    width: 42%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.timeline-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(30, 144, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.timeline-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #090e1a;
    border: 4px solid var(--primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    z-index: 5;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.4);
    transition: all 0.4s ease;
}

.timeline-phase:hover .timeline-node {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.8);
    border-color: #00f2fe;
}

.phase-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15); /* More visible */
    pointer-events: none;
    transition: var(--transition);
}

.timeline-phase:hover .phase-number {
    color: rgba(30, 144, 255, 0.35); /* More visible on hover */
}

/* Left Alignments */
.phase-left {
    justify-content: flex-start;
}

/* Right Alignments */
.phase-right {
    justify-content: flex-end;
}

/* Mobile responsive timeline fallback */
@media (max-width: 991.98px) {
    .timeline-phase {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 55px;
        margin-bottom: 50px;
    }
    
    .timeline-card {
        width: 100%;
    }
    
    .timeline-node {
        left: 0;
        transform: none;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .timeline-phase:hover .timeline-node {
        transform: scale(1.1);
    }
    
    .snake-timeline::before {
        display: none; /* Hide the simple straight fallback line */
    }
}





