/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #596FA4;
    /* Extracted from Logo */
    --secondary-color: #577AB0;
    /* Extracted from Logo */
    --accent-color: #3B82F6;
    /* Brighter blue for highlights */
    --dark-text: #f8fafc;
    --light-text: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition-speed: 0.3s;
    --font-primary: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #ffffff;
    /* Note: Specific dark backgrounds will typically hardcode color: white or #fff in their sections */
    background-color: #0f172a;
    /* Global dark slate background */
    overflow-x: hidden;
}

/* Hide default cursor only if device has a fine pointer (like a mouse) */
@media (pointer: fine) {

    *,
    *::before,
    *::after {
        cursor: none !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* --- INCREDIBLE UNIQUE NAVIGATION MENU --- */
.main-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 800px;
    max-width: 95%;
    z-index: 1000;
    /* Deep Glassmorphism */
    background: rgba(15, 23, 42, 0.7);
    /* Deep dark blue/black slate */
    backdrop-filter: blur(40px) saturate(250%);
    -webkit-backdrop-filter: blur(40px) saturate(250%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 30px 60px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 40px rgba(59, 130, 246, 0.2);
    /* Outer blue glow */
    border-radius: 120px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 85px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    overflow: visible;
}

/* Animated Neon Border Illusion */
.main-header::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 122px;
    background: conic-gradient(from 0deg, transparent, transparent, var(--accent-color), #00ffcc, var(--primary-color), transparent, transparent);
    z-index: -1;
    animation: rotateGlow 6s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
    filter: blur(4px);
}

.main-header:hover::before {
    opacity: 1;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.main-header.scrolled {
    top: 15px;
    height: 75px;
    background: rgba(15, 23, 42, 0.85);
    /* Darker on scroll */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

/* Logo - Reimagined as a floating gem */
.logo-container {
    position: relative;
    padding: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)) brightness(1.2);
    /* Make logo pop on dark background */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo {
    transform: scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) brightness(1.4);
}

.scrolled .logo {
    height: 45px;
}

/* Navigation - The Dynamic Island Trick */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: relative;
    padding: 0.5rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle track */
}

/* The Magic :has() trick for out-of-this-world UX */
.nav-list:has(.nav-link:hover) .nav-link:not(:hover) {
    transform: scale(0.9);
    filter: blur(2px);
    opacity: 0.4;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f8fafc;
    /* Light text for dark menu */
    position: relative;
    padding: 0.8rem 1.6rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transform: scale(0.5) translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.nav-link:not(.btn-contact):hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    /* Pop out effect */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.nav-link:not(.btn-contact):hover::before {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.nav-link i {
    font-size: 0.8em;
    margin-left: 8px;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.has-submenu:hover .nav-link i {
    transform: rotate(180deg) scale(1.2) translateY(-2px);
    color: #00ffcc;
    /* Cyan highlight */
}

/* Extraterrestrial Contact Button */
.nav-link.btn-contact {
    margin-left: 1rem;
    padding: 0.8rem 2.5rem;
    background: linear-gradient(45deg, #FF3366, #FF9933);
    /* Vibrant Fiery gradient */
    color: #fff !important;
    border-radius: 100px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4);
    border: none;
    position: relative;
    overflow: visible;
}

.nav-link.btn-contact::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 105px;
    background: linear-gradient(45deg, #FF3366, #FF9933);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
    transition: opacity 0.4s, filter 0.4s;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.nav-link.btn-contact:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.nav-link.btn-contact:hover::before {
    opacity: 1;
    filter: blur(20px);
}

/* The Matrix-style Holographic Submenu */
.has-submenu {
    perspective: 1500px;
    position: relative;
}

.submenu-wrapper {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) rotateX(-20deg) translateY(30px) scale(0.9);
    transform-origin: top center;
    width: 700px;
    background: rgba(10, 15, 30, 0.8);
    /* Very dark transluscent */
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border-radius: 30px;
    box-shadow:
        0 40px 80px -10px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 40px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 2.5rem;
    z-index: 100;
    pointer-events: none;
    overflow: hidden;
}

/* Ambient backlight inside submenu */
.submenu-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(59, 130, 246, 0.1), rgba(0, 255, 204, 0.1), transparent);
    animation: rotateBacklight 10s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotateBacklight {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Invisible Bridge fixed by putting it on the parent */
.has-submenu::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -50%;
    width: 200%;
    height: 60px;
    background: transparent;
    z-index: 10;
}

.has-submenu:hover .submenu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) rotateX(0deg) translateY(0) scale(1);
    pointer-events: auto;
}

.submenu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Staggered Matrix Entry Effect */
.submenu-item {
    opacity: 0;
    transform: translateZ(-100px) translateY(20px) rotateX(-10deg);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.has-submenu:hover .submenu-item,
.has-submenu.active .submenu-item {
    opacity: 1;
    transform: translateZ(0) translateY(0) rotateX(0deg);
}

.has-submenu:hover .submenu-item:nth-child(1),
.has-submenu.active .submenu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.has-submenu:hover .submenu-item:nth-child(2),
.has-submenu.active .submenu-item:nth-child(2) {
    transition-delay: 0.15s;
}

.has-submenu:hover .submenu-item:nth-child(3),
.has-submenu.active .submenu-item:nth-child(3) {
    transition-delay: 0.2s;
}

.has-submenu:hover .submenu-item:nth-child(4),
.has-submenu.active .submenu-item:nth-child(4) {
    transition-delay: 0.25s;
}

.has-submenu:hover .submenu-item:nth-child(5),
.has-submenu.active .submenu-item:nth-child(5) {
    transition-delay: 0.3s;
}

.has-submenu:hover .submenu-item:nth-child(6),
.has-submenu.active .submenu-item:nth-child(6) {
    transition-delay: 0.35s;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    /* Barely visible */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Laser sweep effect on hover */
.submenu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.3), transparent);
    transform: skewX(-20deg);
    transition: 0s;
    z-index: 0;
}

.submenu-link:hover::before {
    left: 200%;
    transition: 0.7s ease-in-out;
}

.submenu-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 204, 0.4);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 204, 0.1) inset;
    transform: translateY(-5px) scale(1.03);
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.submenu-link:hover .icon-box {
    background: linear-gradient(135deg, #00ffcc, var(--accent-color));
    color: #fff;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    border-color: transparent;
}

.text-box {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.text-box .title {
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.submenu-link:hover .text-box .title {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.text-box .desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    /* Brighter for dark background */
    line-height: 1.4;
    transition: color 0.3s ease;
}

.submenu-link:hover .text-box .desc {
    color: #ffffff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #f8fafc;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full immersive height */
    overflow: hidden;
    margin-top: 0;
    /* Remove offset for floating header */
}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide Styling */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
    transform: scale(1.1);
    /* Zoom effect start */
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    /* Zoom effect end */
    z-index: 10;
}

/* Phase 2: 3D Overlay for readability */
.slide-overlay-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Radial gradient to darken edges but keep center visible for 3D content */
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

/* Ensure vanta container holds the canvas properly */
.vanta-container {
    background-color: #0f172a;
    /* Fallback color */
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centered */
    text-align: center;
    z-index: 20;
    width: 80%;
    max-width: 900px;
    color: white;
}

/* Typography & Animations */
.slide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    /* Clean white */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
    /* Delay */
}

.slide-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.5s;
    /* Longer delay */
}

/* Active State Animations */
.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Call to Action Button */
.slide-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-shadow: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease, opacity 0.8s ease-out 0.7s, transform 0.8s ease-out 0.7s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-btn:hover {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    transform: translateY(-5px);
    /* Lift effect */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Controls (Arrows) */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-control:hover {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 2rem;
}

.slider-control.next {
    right: 2rem;
}

/* Indicators (Dots) */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 30;
}

.indicator {
    width: 60px;
    /* Long dashes for premium look */
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 80px;
    /* Active one is longer */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-subtitle {
        font-size: 1.1rem;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .indicator {
        width: 30px;
    }

    .indicator.active {
        width: 45px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .submenu-wrapper {
        width: 100%;
        /* Full width on smaller screens if we keep hover */
        left: 0;
        transform: none;
    }
}

/* Removed duplicate mobile menu styles (consolidated at the bottom) */

/* Services Section - Enhanced */
/* Spectacular Services Section */
/* Spectacular Services Section (High-Tech Theme) */
.spectacular-services {
    padding: 10rem 2rem;
    background-color: #0f172a;
    /* Deep slate background matching the hero */
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
    overflow: hidden;
}

/* Background decoration: Tech Grid & Glows */
.spectacular-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.spectacular-services::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-header-premium .subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-header-premium .title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header-premium .title-bar {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 3px;
}

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
}

.premium-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5), -20px -20px 60px rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* very subtle light border */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Dynamic Hover Light Effect */
.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 600px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(59, 130, 246, 0.15), transparent 40%);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Hover Shine Effect */
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: 0.5s;
    z-index: 2;
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.5);
    /* Neon blue border on hover */
}

.premium-card:hover::before {
    left: 100%;
}

.card-content {
    position: relative;
    z-index: 2;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(59, 130, 246, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #3b82f6;
    /* Bright blue icon */
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.premium-card:hover .icon-circle {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

.premium-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    /* Crisp white for headings */
    margin-bottom: 1rem;
}

.premium-card p {
    color: #94a3b8;
    /* Light slate gray */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 10rem;
    color: rgba(59, 130, 246, 0.03);
    z-index: 1;
    transition: all 0.5s ease;
    transform: rotate(-15deg);
}

.premium-card:hover .card-bg-icon {
    transform: rotate(0deg) scale(1.2);
    color: rgba(59, 130, 246, 0.05);
}

.read-more {
    display: inline-flex;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    /* Slightly more visible dark blue */
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: #60a5fa;
    /* Lighter blue for dark background */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: all 0.3s ease;
    align-self: flex-start;
}

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

.read-more:hover {
    background: #3b82f6;
    /* Solid bright blue */
    color: white;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.5);
    /* Neon glow */
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid-premium {
        grid-template-columns: 1fr;
    }

    .section-header-premium .title {
        font-size: 2.2rem;
    }
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    /* Just in case */
}

.card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.card-link:hover {
    gap: 0.8rem;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments for Services */
@media (max-width: 768px) {
    .services-section {
        padding: 4rem 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Spectacular Section */
.cta-spectacular {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(89, 111, 164, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cta-content-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-description strong {
    color: white;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    position: relative;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    z-index: 1;
}

.btn-cta-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-cta-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Floating decorations */
.cta-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.1);
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(89, 111, 164, 0.1);
    bottom: -50px;
    right: -50px;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.2rem;
    }

    .cta-content-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Agency Trust Section */
.agency-trust-section {
    padding: 8rem 2rem;
    background: #0f172a;
    /* Deep tech slate */
    position: relative;
    overflow: hidden;
    color: white;
}

.container-trust {
    max-width: 1400px;
    margin: 0 auto;
    width: 90%;
}

.trust-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Text Side Styles */
.trust-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.trust-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
}

.highlight-text {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(59, 130, 246, 0.2);
    z-index: -1;
    border-radius: 5px;
}

.trust-intro {
    font-size: 1.1rem;
    color: #94a3b8;
    /* Light slate */
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 90%;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.trust-cta-wrapper {
    background: rgba(30, 41, 59, 0.7);
    /* translucent dark slate */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #60a5fa;
    /* bright cyan-blue */
}

.trust-closing {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.btn-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #3b82f6;
    /* bright blue */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.btn-trust:hover {
    gap: 1.2rem;
    text-decoration: underline;
}

/* Visual Side Styles */
.trust-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: blob-bounce 10s infinite alternate;
}

@keyframes blob-bounce {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

.visual-card {
    background: rgba(15, 23, 42, 0.8);
    /* Dark slate semi-transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Outer shadow + inner border */
    border-radius: 24px;
    padding: 2.5rem;
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(59, 130, 246, 0.2);
    /* Tech blue subtle border */
}

.main-visual-card {
    width: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-header {
    width: 60px;
    height: 60px;
    background: rgba(30, 41, 59, 0.9);
    color: #60a5fa;
    /* bright tech blue */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(59, 130, 246, 0.3);
}

.main-visual-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.main-visual-card p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.trust-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 0.2rem;
}

.secondary-visual-card {
    bottom: 50px;
    right: 0;
    width: 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    z-index: 3;
    animation: float 6s infinite ease-in-out;
    background: rgba(30, 41, 59, 0.9);
    /* Replaces #f8fafc */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.check-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.secondary-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.secondary-content p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

@media (max-width: 1024px) {
    .trust-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .trust-visual {
        height: 400px;
    }
}

/* Welcome Section */
.welcome-spectacular {
    padding: 6rem 1rem;
    background: linear-gradient(to right, #0f172a, #1e293b);
    color: white;
    position: relative;
    overflow: hidden;
}

.container-welcome {
    max-width: 1400px;
    margin: 0 auto;
    width: 90%;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text-col {
    position: relative;
    z-index: 2;
}

.welcome-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.welcome-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-lead {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

.welcome-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge-pill {
    background: rgba(59, 130, 246, 0.1);
    /* transparent blue */
    color: #60a5fa;
    /* light tech blue */
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-features-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card-welcome {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* very subtle light border */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.feature-card-welcome:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    border-color: #60a5fa;
    /* tech blue border on hover */
    background: rgba(30, 41, 59, 0.95);
}

.feature-icon-lg {
    font-size: 2rem;
    color: #60a5fa;
    /* bright tech cyan/blue */
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.5));
}

.feature-card-welcome h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-card-welcome p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ABOUT US PAGE SPECTACULAR STYLES --- */

/* About Hero Section */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    /* Offset for fixed header */
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.hero-desc {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Intro Section */
.section-spacing {
    padding: 8rem 2rem;
}

.grid-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--light-bg);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.intro-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.2;
}

.highlight-p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 600;
}

.about-img-box {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-img {
    width: 100%;
    display: block;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.about-img-box:hover .about-img {
    transform: scale(1.03);
}

/* Specialized Services for About Page */
.specialized-services {
    background: rgba(15, 23, 42, 0.6);
    text-align: center;
}

.section-center-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-center-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.spec-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-card {
    border: 2px solid var(--accent-color);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
}

.spec-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.spec-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.spec-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Team Section */
.team-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    /* Rich dark glass effect */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle glowing border */
    border-radius: 30px;
    padding: 4rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.team-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.team-text p {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.team-list {
    list-style: none;
    margin-top: 2rem;
}

.team-list li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #cbd5e1;
}

.team-list i {
    color: var(--accent-color);
}

.visual-frame {
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.team-photo-lg {
    width: 100%;
    display: block;
}

/* Mini CTA */
.cta-mini {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-mini::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-mini h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.btn-contact-lg {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(45deg, var(--accent-color), #00ffcc);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    border: none;
}

.btn-contact-lg:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 255, 204, 0.4);
    color: #ffffff;
}

@media (max-width: 768px) {

    .grid-intro,
    .team-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-wrapper {
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* --- SPECTACULAR WAREHOUSE PAGE STYLES --- */

/* Warehouse Hero */
.warehouse-hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    background: url('https://images.unsplash.com/photo-1553413077-190dd305871c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.warehouse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.8));
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.category-pill {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.warehouse-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.highlight-line {
    border-bottom: 5px solid var(--accent-color);
    padding-bottom: 5px;
}

.warehouse-subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Split Layout (Reuse but customize) */
.section-padding {
    padding: 8rem 2rem;
}

.feature-split {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.feature-split.reverse {
    flex-direction: row-reverse;
}

.feature-text-block h2 {
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.feature-text-block h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.feature-text-block p {
    font-size: 1.1rem;
    color: #cbd5e1;
    /* Lighter slate grey for better visibility */
    line-height: 1.7;
    margin-bottom: 2rem;
}

.icon-header-sm {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.warning-color {
    background: #fefce8;
    color: #eab308;
}

/* Check list */
.check-list-modern {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-list-modern li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1rem;
    color: #cbd5e1;
    /* Replaced dark #334155 */
}

.check-list-modern i {
    color: #10b981;
    margin-top: 4px;
}

/* Image Frames */
.image-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.visual-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover .visual-img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.temp-display {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.temp-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
}

/* Quality Grid */
.bg-light {
    background: rgba(15, 23, 42, 0.6);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.quality-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.quality-card.highlight {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.large-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.quality-card.highlight .large-icon {
    color: white;
}

.quality-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quality-card.highlight h3 {
    color: white;
}

.quality-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quality-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cap-item:hover {
    border-color: #eab308;
    transform: translateX(10px);
}

.cap-item i {
    font-size: 1.5rem;
    color: #eab308;
}

.cap-item span {
    font-weight: 600;
    color: #cbd5e1;
    /* Replaced dark #334155 */
    font-size: 1.1rem;
}

/* CTA Warehouse Box */
.cta-box-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 5rem 2rem;
    border-radius: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.cta-box-gradient h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-box-gradient p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-warehouse-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-warehouse-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .feature-split {
        flex-direction: column;
        gap: 2rem;
    }

    .feature-split.reverse {
        flex-direction: column;
    }

    .quality-grid {
        grid-template-columns: 1fr;
    }

    .warehouse-title {
        font-size: 2.5rem;
    }
}

/* --- SPECTACULAR CONSULTING PAGE STYLES --- */

/* Consulting Hero */
.consulting-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.consulting-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(17, 24, 39, 0.8), rgba(31, 41, 55, 0.85));
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-header {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gradient-text-hero {
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.5rem;
    font-weight: 300;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 4rem;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Intro Section */
.consulting-intro-section {
    padding: 10rem 2rem;
    background: rgba(30, 41, 59, 0.7);
    overflow: hidden;
}

.intro-container-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.intro-text-side {
    flex: 1;
}

.intro-text-side h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
}

.intro-text-side p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lead-intro {
    font-size: 1.3rem;
    color: #cbd5e1;
    /* Replaced dark #334155 */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.intro-image-side {
    flex: 1;
    position: relative;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 500px;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    z-index: 2;
    border: 8px solid #0f172a;
    /* Sleek dark border instead of white */
}

/* Solutions Grid */
.section-padding-lg {
    padding: 8rem 2rem;
    background: rgba(15, 23, 42, 0.6);
}

.section-badge-center {
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title-center {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8rem;
    color: #ffffff;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.consult-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.consult-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.consult-card:hover .card-gradient-overlay {
    transform: scaleX(1);
}

.consult-icon {
    width: 70px;
    height: 70px;
    background: rgba(89, 111, 164, 0.08);
    /* Using Brand Secondary */
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.consult-card:hover .consult-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(5deg);
}

.consult-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.consult-card p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1rem;
}

.consult-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
}

/* Strategic CTA */
.consulting-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    padding: 6rem 2rem;
    color: white;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.2), 0 -10px 40px rgba(0, 255, 204, 0.05);
}

.consulting-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(0, 255, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-text-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text-content p {
    font-size: 1.3rem;
    color: #cbd5e1;
}

.btn-consulting-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-color);
    color: white;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-consulting-primary:hover {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .intro-container-flex {
        flex-direction: column;
    }

    .image-stack {
        height: 400px;
    }

    .hero-header {
        font-size: 3rem;
    }

    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
}

/* Generic Block Container for standard sections */
.container-block {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    /* Ensures vertical stacking */
}

/* --- SPECTACULAR INTRO UPGRADE --- */

/* Background with Glass Morphism and Animated Gradient */
.consulting-intro-section {
    padding: 10rem 2rem;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

/* Add a subtle animated mesh gradient background */
.consulting-intro-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    z-index: 0;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.intro-container-flex {
    /* Ensure content is above background */
    position: relative;
    z-index: 2;
    background: rgba(30, 41, 59, 0.6);
    /* Darker slate background */
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle light border */
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    /* Premium deep shadow */
}

.intro-text-side h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    /* Bright silver gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Decorative underline for Title */
.intro-text-side h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 3px;
}

.lead-intro {
    font-size: 1.4rem;
    color: #ffffff;
    /* Bright white for maximum contrast */
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

.intro-text-side p {
    font-size: 1.15rem;
    color: #cbd5e1;
    /* Bright slate for high visibility */
    line-height: 1.8;
}

/* Image Stack Enhancement */
.image-stack {
    perspective: 1000px;
    /* 3D effect */
}

.img-back {
    /* Enhance shadow and border */
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.5s ease;
}

.img-front {
    /* Add a glowing border and stronger shadow */
    box-shadow: 20px 30px 80px rgba(59, 130, 246, 0.25);
    border: 8px solid white;
    transition: transform 0.5s ease;
}

/* Subtle Interactive Hover Effect */
.intro-image-side:hover .img-back {
    transform: translateX(-10px) translateY(-10px) rotate(-2deg);
}

.intro-image-side:hover .img-front {
    transform: translateX(10px) translateY(10px) rotate(2deg);
}

@media (max-width: 1024px) {
    .intro-container-flex {
        padding: 2rem;
    }

    .intro-text-side h2 {
        font-size: 2.5rem;
    }
}

/* --- SPECTACULAR SERVICES GRID: "THE PRISM" --- */

.solutions-grid-section {
    padding: 10rem 2rem;
    background: #0f172a;
    /* Dark Tech Background */
    position: relative;
    overflow: hidden;
    color: white;
}

/* Dynamic Aurora Background */
.solutions-grid-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 50%);
    animation: aurora-move 20s infinite alternate;
    z-index: 0;
    filter: blur(80px);
}

@keyframes aurora-move {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-20px, 20px) rotate(5deg);
    }
}

.section-badge-center {
    position: relative;
    z-index: 2;
    color: #60a5fa;
    /* Light Blue */
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.section-title-center {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 4rem;
    margin-bottom: 6rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* The 3D Grid */
.consulting-grid {
    position: relative;
    z-index: 2;
    perspective: 1500px;
    /* Deep 3D space */
}

/* THE SPECTACULAR CARD */
.consult-card {
    background: rgba(255, 255, 255, 0.03);
    /* Ultra sheer glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Neon Glow Border on Hover */
.consult-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    /* Border thickness */
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.consult-card:hover::after {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.consult-card:hover {
    transform: translateY(-20px) rotateX(5deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

/* Icon Evolution */
.consult-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(20px);
    /* 3D Lift */
}

.consult-card:hover .consult-icon {
    transform: translateZ(50px) scale(1.1) rotate(-10deg);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
}

/* Typography */
.consult-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transform: translateZ(10px);
    transition: transform 0.4s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.consult-card p {
    color: #cbd5e1;
    /* Light gray for dark bg */
    line-height: 1.7;
    transform: translateZ(5px);
    transition: transform 0.4s;
}

.consult-card:hover h3 {
    transform: translateZ(30px);
}

.consult-card:hover p {
    transform: translateZ(20px);
}

/* Decoration: Huge Background Watermark */
.consult-card .card-bg-watermark {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-20deg) translateZ(0);
    /* Behind everything */
    transition: all 0.5s ease;
    pointer-events: none;
}

.consult-card:hover .card-bg-watermark {
    transform: rotate(0deg) scale(1.2) translateZ(0);
    color: rgba(255, 255, 255, 0.05);
}

/* Featured Card Special Style */
.consult-card.featured {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* --- SPECTACULAR TRADING PAGE (COMERCIALIZADORA) --- */

.trading-body {
    background: #0b1120;
    /* Dark premium background */
    color: white;
}

/* Hero Parallax */
.trading-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1542744173-8e7e5341c447?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    transform: scale(1.1);
    animation: slow-zoom 20s infinite alternate;
}

@keyframes slow-zoom {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.15);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.9));
    z-index: 1;
}

.hero-content-trading {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1000px;
}

.hero-badge-glow {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.2);
}

.trading-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: white;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trading-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-glow-gold {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    text-transform: uppercase;
    font-weight: 800;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

.btn-glow-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(217, 119, 6, 0.5);
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #d97706;
}

.scroll-indicator-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, #d97706, transparent);
    z-index: 2;
}

/* Concept Section */
.concept-section {
    background: #0f172a;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.concept-text {
    z-index: 2;
    position: relative;
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.concept-label {
    display: block;
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.concept-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.concept-text h3 {
    font-size: 2rem;
    font-weight: 300;
    background: linear-gradient(90deg, #60a5fa, #eab308);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.concept-text p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stat-boxes {
    display: flex;
    gap: 2rem;
}

.visual-card-3d {
    position: relative;
    border-radius: 20px;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
}

.visual-card-3d:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.img-trading-main {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Ecosystem Grid */
.ecosystem-section {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, #0f172a, #0b1120);
}

.section-head-trading {
    text-align: center;
    margin-bottom: 5rem;
}

.section-head-trading h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-capsule {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-capsule:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(234, 179, 8, 0.5);
}

.capsule-icon {
    font-size: 2.5rem;
    color: #eab308;
    margin-bottom: 1.5rem;
}

.service-capsule h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-capsule ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-capsule li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.service-capsule li::before {
    content: '•';
    color: #eab308;
    position: absolute;
    left: 0;
}

/* Featured Capsule: Door to Door */
.service-capsule.featured-capsule {
    grid-column: 1 / -1;
    /* Spans full width on desktop */
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(217, 119, 6, 0.1));
    border: 1px solid #eab308;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.service-capsule.featured-capsule .capsule-icon {
    font-size: 4rem;
    margin-bottom: 0;
}

.service-capsule.featured-capsule h3 {
    font-size: 2rem;
}

/* CTA */
.trading-cta {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.cta-content-center {
    position: relative;
    z-index: 2;
}

.cta-content-center h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.btn-gold-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid #eab308;
    color: #eab308;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-gold-cta:hover {
    background: #eab308;
    color: black;
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.4);
}

@media (max-width: 1024px) {
    .trading-title {
        font-size: 3rem;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .service-capsule.featured-capsule {
        flex-direction: column;
        text-align: center;
    }
}

/* --- SPECTACULAR GESTORIA PAGE STYLES --- */

.gestoria-hero {
    position: relative;
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1596767355009-3ce17f9e5c46?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.gestoria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(89, 111, 164, 0.95), rgba(87, 122, 176, 0.85) 60%, rgba(200, 200, 255, 0.1));
}

.hero-content-split {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-text-side {
    width: 50%;
}

.hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-text-side h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 2rem;
}

.highlight-word {
    color: #eab308;
    /* Industrial Yellow highlight */
    position: relative;
}

.hero-text-side p {
    font-size: 1.2rem;
    max-width: 500px;
    line-height: 1.6;
}

.floating-doc-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-doc-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.floating-doc-card span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Curve SVG */
.curve-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve-divider svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 150px;
}

.curve-divider .shape-fill {
    fill: #f1f5f9;
}

/* Gestoria Services Grid */
.services-gestoria-section {
    padding: 8rem 2rem;
    background: #f1f5f9;
}

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

.header-center h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.gestoria-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.gestoria-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

.card-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.icon-overlay {
    position: absolute;
    bottom: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gestoria-card:hover .icon-overlay {
    bottom: 20px;
}

.card-body {
    padding: 3rem 2rem 2rem;
}

.card-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-body p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Facilities Section */
.facilities-gestoria {
    padding: 8rem 2rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.facilities-layout {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.facilities-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #ffffff;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.facilities-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.visual-img-lg {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.1);
}

/* CTA */
.gestoria-cta {
    background: var(--primary-color);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-block-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.btn-gestoria-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: #eab308;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-gestoria-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.4);
}

@media (max-width: 1024px) {
    .hero-content-split {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-text-side {
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-text-side h1 {
        font-size: 3rem;
    }

    .floating-doc-card {
        display: none;
    }

    .facilities-layout {
        flex-direction: column;
    }

    .gestoria-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SPECTACULAR LOGISTICS PAGE STYLES --- */

.logistics-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

/* Dynamic Map BG Effect */
.map-overlay-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vh;
    background: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    transform: translate(-50%, -50%);
    animation: rotateMap 200s linear infinite;
    pointer-events: none;
}

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

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

.hero-tracker-card {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 0.8rem;
    box-shadow: 0 0 10px #10b981;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.status-text {
    font-size: 0.9rem;
    color: #10b981;
    text-transform: uppercase;
    font-weight: 700;
}

.logistics-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
}

.text-stroke {
    -webkit-text-stroke: 2px white;
    color: transparent;
    transition: all 0.5s ease;
}

.logistics-hero:hover .text-stroke {
    color: white;
    -webkit-text-stroke: 0;
}

.logistics-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.h-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
}

.h-lbl {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 2px;
}

/* Styles for Timeline: The Logistics Route */
.section-padding-lg {
    padding: 8rem 2rem;
}

.timeline-logistics {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 5rem auto 0;
    padding-bottom: 5rem;
}

/* The connecting line */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 0;
    transform: translateY(-50%);
}

.timeline-step {
    position: relative;
    z-index: 1;
    width: 250px;
    text-align: center;
}

/* Alternate positioning to avoid overlap */
.timeline-step {
    top: -150px;
    /* Top items */
}

.timeline-step.bottom {
    top: 150px;
    /* Bottom items */
}

.step-marker {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    border: 5px solid white;
    box-shadow: 0 0 0 4px #e2e8f0;
}

.step-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.step-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Tech Section */
.tech-logistics-section {
    padding: 8rem 2rem;
    background: rgba(15, 23, 42, 0.6);
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #0f172a;
    border-radius: 40px;
    padding: 15px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 8px solid #334155;
    position: relative;
    overflow: hidden;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-header {
    background: var(--primary-color);
    padding: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.map-placeholder {
    height: 60%;
    background: #e2e8f0;
    position: relative;
}

/* Simulated Map */
.pin-start {
    position: absolute;
    top: 20%;
    left: 20%;
    color: #10b981;
}

.pin-end {
    position: absolute;
    bottom: 30%;
    right: 20%;
    color: #ef4444;
    font-size: 1.5rem;
}

.truck-moving {
    position: absolute;
    top: 20%;
    left: 20%;
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: moveTruck 4s linear infinite;
}

@keyframes moveTruck {
    0% {
        top: 20%;
        left: 20%;
    }

    100% {
        top: 70%;
        left: 80%;
    }
}

.tracking-info {
    padding: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.info-row .success {
    color: #10b981;
}

.tech-info h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
}

.tech-features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-features-list li {
    display: flex;
    gap: 1.5rem;
}

.tf-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
}

/* Wide CTA Banner */
.logistics-cta {
    padding: 6rem 2rem;
}

.cta-banner-wide {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.cta-txt h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.btn-logistics-action {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-logistics-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .timeline-logistics {
        flex-direction: column;
        padding-left: 2rem;
        margin-top: 0;
    }

    .timeline-line {
        width: 4px;
        height: 100%;
        left: 29px;
        top: 0;
        transform: none;
    }

    .timeline-step,
    .timeline-step.bottom {
        top: 0;
        width: 100%;
        text-align: left;
        padding-left: 3rem;
        margin-bottom: 2rem;
    }

    .step-marker {
        position: absolute;
        left: 0;
        margin: 0;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        margin-bottom: 3rem;
    }

    .cta-banner-wide {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* --- SPECTACULAR TRANSPORT PAGE STYLES --- */

/* Hero: The Road */
.transport-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('https://images.unsplash.com/photo-1542744173-8e7e5341c447?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

.transport-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #020617 90%);
    z-index: 1;
    pointer-events: none;
}

.road-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.2) 50%, rgba(15, 23, 42, 0.9));
    z-index: 1;
    backdrop-filter: contrast(1.1) brightness(0.9);
}

.hero-content-transport {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}

.badge-transport {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.5);
}

.transport-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: white;
}

.speed-text {
    font-style: italic;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    position: relative;
    display: inline-block;
}

.speed-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    transform: skewX(-20deg);
    z-index: -1;
}

.transport-lead {
    font-size: 1.5rem;
    max-width: 700px;
    color: #e2e8f0;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.hero-stats-transport {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.stat-item i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

/* Truck Silhouette Animation */
.truck-silhouette {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 300px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/2/29/Semi-truck-silhouette.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
    animation: driveTruck 20s linear infinite;
}

@keyframes driveTruck {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-200%);
    }
}

/* Fleet Grid */
.fleet-section {
    padding: 8rem 2rem;
    background: #111827;
    /* Dark Garage Theme */
    color: white;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fleet-card {
    background: #1f2937;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #374151;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.fleet-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.fleet-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-visual img {
    transform: scale(1.1);
}

.fleet-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.fleet-info {
    padding: 2rem;
}

.fleet-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.fleet-info p {
    color: #9ca3af;
    font-size: 1rem;
}

/* Integral Service Block */
.integral-transport-section {
    padding: 8rem 2rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.layout-split-transport {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.transport-text-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.highlight-p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.facilities-check-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
}

.facilities-check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #cbd5e1;
    /* Changed from dark #4b5563 */
}

.facilities-check-list i {
    color: var(--accent-color);
}

/* Visual Map Representation */
.map-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.location-point {
    position: absolute;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-align: center;
}

.location-point .loc-name {
    display: block;
    font-weight: 800;
    color: #ffffff;
}

.location-point .loc-desc {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

.location-point.usa {
    top: 30px;
    left: 30px;
}

.location-point.mx {
    bottom: 30px;
    right: 30px;
}

.route-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 4px;
    background: var(--accent-color);
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 1;
}

/* CTA */
.transport-cta {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
}

.transport-cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.btn-transport-primary {
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: white;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-transport-secondary {
    padding: 1rem 3rem;
    border: 2px solid white;
    color: white;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-transport-primary:hover,
.btn-transport-secondary:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .layout-split-transport {
        flex-direction: column;
    }

    .transport-title {
        font-size: 3rem;
    }

    .hero-stats-transport {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* --- ULTRA SPECTACULAR TRANSPORT REDESIGN --- */

/* 1. Hero Upgrade: Video-like feeling */
.transport-hero {
    background: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
}

/* 2. FLEET GALLARY: Full Image Cards */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.fleet-card {
    position: relative;
    height: 450px;
    /* Tall, premium cards */
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.fleet-visual {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.fleet-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.8;
}

.fleet-card:hover .fleet-visual img {
    transform: scale(1.1);
    opacity: 0.4;
    /* Darken on hover to show text */
}

/* Gradient Overlay for Text Readability */
.fleet-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
    z-index: 2;
}

.fleet-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 3;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-info {
    transform: translateY(0);
}

.fleet-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eab308;
    z-index: 3;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fleet-info h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.fleet-info p {
    color: #cbd5e1;
    font-size: 1.1rem;
    opacity: 0;
    /* Hidden initially */
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.fleet-card:hover .fleet-info p {
    opacity: 1;
    transform: translateY(0);
}

/* 3. INTEGRAL SECTION REDESIGN: Split Layout with Huge Image */
.integral-transport-section {
    background: #0f172a;
    /* Dark theme */
    color: white;
    position: relative;
}

.transport-map-visual {
    width: 100%;
    height: 500px;
    background: transparent;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.transport-map-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Add a glowing neon border to the image */
.transport-map-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 30px;
    background: linear-gradient(45deg, #eab308, transparent, #3b82f6) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    animation: neonPulse 3s infinite alternate;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), inset 0 0 10px rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.3);
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
    }

    100% {
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.6), 0 0 100px rgba(99, 102, 241, 0.4), inset 0 0 20px rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.8);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
    }
}

.transport-text-content h2 {
    color: white;
    font-size: 3.5rem;
}

.highlight-p {
    color: #94a3b8;
}

/* Remove the old map card styles to avoid conflict */
.map-card {
    display: none;
}


/* --- TRANSPORT ZIG-ZAG SHOWCASE --- */

.transport-showcase-section {
    padding: 8rem 2rem;
    background: #0f172a;
    /* Deep Navy/Black */
    color: white;
    overflow: hidden;
}

.showcase-header {
    margin-bottom: 6rem;
    text-align: center;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-visual {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-visual:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 50px 80px rgba(59, 130, 246, 0.25);
}

.img-fluid {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9);
}

.showcase-visual:hover .img-fluid {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.showcase-visual .floating-icon {
    position: absolute;
    bottom: -30px;
    /* Hidden initially or peeking */
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.showcase-visual:hover .floating-icon {
    bottom: 30px;
    /* PoP up on hover */
}

/* Neon Border on Image */
.showcase-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    pointer-events: none;
}

.showcase-info {
    flex: 1;
    padding: 3rem;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.showcase-info:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.showcase-info h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.showcase-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-color);
}

.showcase-info p {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    font-size: 1.1rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li i {
    color: #eab308;
    /* Gold checkmark */
    background: rgba(234, 179, 8, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
}

@media (max-width: 1024px) {

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .showcase-info h3 {
        font-size: 2rem;
    }
}

/* Safety fix for missing images */
.showcase-visual {
    min-height: 300px;
    background-color: #1e293b;
    /* Fallback color */
    display: flex;
}

/* --- SPECTACULAR CONTACT PAGE STYLES --- */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0f172a;
    color: white;
    margin-top: 80px;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.15), transparent 50%);
    z-index: 1;
    animation: drift 20s infinite alternate;
}

@keyframes drift {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.badge-contact {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-lead {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Interface Section */
.contact-interface-section {
    padding: 6rem 1rem;
    background: #0f172a;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-panel-strong {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Contact Info Styling */
.info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.info-intro {
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-glow {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover .icon-glow {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    transform: scale(1.1);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.detail-text span,
.detail-text a {
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 500;
}

.detail-text a:hover {
    color: var(--accent-color);
}

.social-links-contact {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Form Styling */
.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.form-header p {
    color: #94a3b8;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-field {
    position: relative;
    margin-bottom: 1rem;
}

.input-field.full-width {
    grid-column: span 2;
    margin-bottom: 3rem;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    resize: none;
}

.input-field textarea {
    height: 120px;
}

.input-field label {
    position: absolute;
    left: 3rem;
    top: 1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 1.2rem;
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Floating Label Animation */
.input-field input:focus~label,
.input-field input:not(:placeholder-shown)~label,
.input-field textarea:focus~label,
.input-field textarea:not(:placeholder-shown)~label {
    top: -1.5rem;
    left: 0;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.input-field input:focus~.input-icon,
.input-field textarea:focus~.input-icon {
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* Submit Button Spectacular */
.btn-submit-spectacular {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-submit-spectacular:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .input-group {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Map Visual Styles --- */
.map-visual {
    margin-top: 2rem;
    height: 250px;
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.map-placeholder {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
}

.map-icon {
    font-size: 3rem;
    color: var(--accent-color);
    animation: bounce 2s infinite;
}

.map-placeholder span {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- SPECTACULAR FOOTER STYLES --- */
.spectacular-footer {
    position: relative;
    background: #020617;
    /* Very dark blue/black */
    color: #94a3b8;
    padding-top: 6rem;
    padding-bottom: 2rem;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated Background Mesh */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    /* Prevents stretching */
    filter: brightness(0) invert(1);
    /* Make logo white */
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 300px;
}

/* Footer Columns */
.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h3 i {
    color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-link {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Social Icons */
.social-footer {
    margin-top: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon.facebook:hover {
    background: #1877F2;
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
    transform: translateY(-5px) rotate(5deg);
    border-color: #1877F2;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #94a3b8;
    /* Lighter grey for better visibility */
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .spectacular-footer {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-col h3 {
        justify-content: center;
    }

    .footer-link {
        justify-content: center;
    }
}

/* --- SPECTACULAR MAP SECTION --- */
.spectacular-map-section {
    position: relative;
    height: 500px;
    margin-top: 4rem;
    overflow: hidden;
    filter: grayscale(0.2) contrast(1.1);
    /* Cinematic look */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.spectacular-map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    transition: all 0.5s ease;
}

.map-overlay-card {
    position: absolute;
    top: 50px;
    left: 50px;
    background: rgba(15, 23, 42, 0.9);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 350px;
    z-index: 10;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 1s forwards 0.5s;
}

@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.map-pin-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulsePin 2s infinite;
}

@keyframes pulsePin {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.map-overlay-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.map-address {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-map-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.btn-map-action:hover {
    gap: 0.8rem;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .map-overlay-card {
        bottom: 20px;
        top: auto;
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* --- ULTIMATE RESPONSIVE & MOBILE MENU STYLES --- */

/* Mobile Menu Button Styling */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    font-size: 1.5rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.mobile-menu-btn:hover {
    background: rgba(59, 130, 246, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }

    .main-header {
        min-width: 0;
        width: 95%;
        padding: 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Header Adjustments */
    .main-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        height: 70px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 1rem !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 9999 !important;
    }

    .main-header.scrolled {
        top: 0 !important;
        border-radius: 0 !important;
    }

    .logo {
        height: 40px !important;
    }

    /* Mobile Menu Button Visible */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Navigation Overlay */
    .nav-list {
        position: fixed;
        top: 70px !important;
        /* Below header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px) !important;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        padding-bottom: 6rem !important;
        /* Extra bottom padding so items are not cut off */
        gap: 1.5rem;
        transform: translateX(100%);
        /* Hidden by default */
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        overflow-y: auto;
        overscroll-behavior: contain;
        /* Prevents scroll chaining to the body */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list.active {
        display: flex;
        transform: translateX(0);
        /* Slide in */
    }

    /* Mobile Links */
    .nav-link {
        font-size: 1.1rem;
        /* Larger touch targets */
        width: 80%;
        text-align: center;
        padding: 1rem;
        border-radius: 12px;
        color: #f8fafc;
    }

    .nav-link:hover {
        background: rgba(59, 130, 246, 0.15);
        transform: none;
    }

    /* Submenu on Mobile */
    .has-submenu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .submenu-wrapper {
        position: static;
        width: 90%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(30, 41, 59, 0.8);
        margin-top: 10px;
        border-radius: 12px;
        padding: 0;
        display: none;
        /* Hidden by default on mobile js toggle */
        flex-direction: column;
    }

    .has-submenu.active .submenu-wrapper {
        display: flex;
        /* Show when parent is active */
        animation: fadeIn 0.3s ease;
    }

    .submenu-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .submenu-link:last-child {
        border-bottom: none;
    }

    /* Custom Hero Slider Height */
    .hero-slider {
        height: 70vh !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Other Hero Section Adjustments */
    .contact-hero,
    .transport-hero,
    .gestoria-hero,
    .almacen-hero,
    .comercializadora-hero,
    .logistica-hero,
    .quienes-hero {
        height: auto;
        min-height: 65vh;
        margin-top: 70px;
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    /* Global Typography Scaling for Mobile */
    h1,
    .slide-title,
    .transport-title,
    .contact-title,
    .welcome-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        padding: 0 1rem;
    }

    h2,
    .section-header-premium .title,
    .cta-title,
    .team-text h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .slide-subtitle,
    .transport-lead,
    .contact-lead,
    .welcome-lead {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .slide-btn {
        padding: 0.8rem 2rem !important;
        font-size: 1rem !important;
    }

    /* Sections Padding */
    .welcome-spectacular,
    .spectacular-services,
    .contact-interface-section {
        padding: 3rem 1rem;
        /* Less padding */
    }

    /* Grids to Single Column */
    .welcome-grid,
    .services-grid-premium,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Text Adjustments */
    .welcome-title,
    .section-header-premium .title,
    .contact-title {
        font-size: 2rem;
    }

    .feature-card-welcome,
    .premium-card,
    .glass-panel {
        padding: 1.5rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Menu Alignment Fixes --- */
@media (max-width: 1024px) {

    /* Ensure submenu items are centered and don't shift on hover */
    .submenu-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
    }

    .submenu-link .icon-box {
        margin-bottom: 0.5rem;
        margin-right: 0;
        /* Remove right margin from desktop style */
    }

    .submenu-link .text-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .submenu-link:hover {
        transform: none !important;
        /* Prevent shifting */
        background: rgba(59, 130, 246, 0.05);
        /* Subtle highlight instead of shift */
        padding-left: 1rem !important;
        /* Override desktop hover padding shift */
    }
}

/* --- FINAL FIX FOR MOBILE MENU SHIFTING --- */
@media (max-width: 1024px) {

    .submenu-link,
    .submenu-link:hover,
    .submenu-link:active,
    .submenu-link:focus {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        transform: none !important;
        /* KILL ALL TRANSFORM */
        padding: 1rem !important;
        /* FIXED PADDING */
        margin: 0 !important;
        width: 100% !important;
    }

    /* Kill Icon Movement */
    .submenu-link:hover .icon-box,
    .submenu-link .icon-box {
        transform: none !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Ensure Text Stays Centered */
    .submenu-link .text-box,
    .submenu-link:hover .text-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .submenu-item {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .submenu {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
}

/* --- CRITICAL FIX FOR MOBILE SUBMENU POSITIONING --- */
@media (max-width: 1024px) {

    /* Force override all desktop positioning on hover */
    .has-submenu:hover .submenu-wrapper,
    .has-submenu:active .submenu-wrapper,
    .has-submenu.active .submenu-wrapper {
        position: static !important;
        transform: none !important;
        /* This stops the left shift */
        left: auto !important;
        top: auto !important;
        width: 90% !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 1rem !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Hide the little arrow pointer on mobile */
    .submenu-wrapper::before {
        display: none !important;
    }
}

/* =========================================
   MAGNETIC CURSOR & CUSTOM SCROLLBAR
   ========================================= */

@media (pointer: fine) {

    /* Base Cursor Elements */
    .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background-color: var(--primary-color);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate3d(-50%, -50%, 0);
        margin-left: -4px;
        margin-top: -4px;
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }

    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 2px solid rgba(59, 130, 246, 0.5);
        /* using an explicitly legible var/rgba */
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate3d(-50%, -50%, 0);
        margin-left: -20px;
        margin-top: -20px;
        transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    }

    /* Hover States for Interactive Elements */
    .cursor-dot.hover {
        width: 0px;
        height: 0px;
        opacity: 0;
    }

    .cursor-ring.hover {
        width: 60px;
        height: 60px;
        background-color: rgba(59, 130, 246, 0.1);
        border-color: var(--primary-color);
        margin-left: -30px;
        margin-top: -30px;
        backdrop-filter: blur(2px);
    }
}

/* Smooth Scrolling Class for HTML (used by Lenis implicitly or handled internally, keeping native behavior hidden) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* =========================================
   PAGE TRANSITION CURTAIN
   ========================================= */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    /* Deep corporate blue */
    z-index: 999999;
    /* Highest priority */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    /* Starts covering the screen */
    overflow: hidden;
}

.transition-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 5px;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 8px;
    opacity: 0;
    margin-top: 10px;
}