/* Hero Section (Replaced by Video Hero) */
/* .hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 120px;
    background-color: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-section h1 {
    color: var(--color-text-light);
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    width: 45%;
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3a4b60 0%, #2b3949 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image::after {
    content: 'Hero Image Placeholder';
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
} */

/* Full-Width Video Hero */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.video-hero video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Hero Video Loading Optimization */
/* Hero Video Visibility - Visible by default to show poster */
.hero-video {
    opacity: 1;
}

.hero-video.loaded {
    opacity: 1;
}


.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.video-hero .hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1180px;
    padding: 0 20px;
    color: #fff;
    margin: 0 auto;
}

/* Hero Content Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.video-hero .hero-content h1 {
    opacity: 0;
    /* Star invisible */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.video-hero .hero-content p {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.8s;
}

.video-hero .hero-content .hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.1s;
}

.video-hero .hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.video-hero .hero-content p {
    font-size: 18px;
    max-width: 600px;
    opacity: .9;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn.primary {
    background: #ffc107;
    padding: 14px 28px;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
}

.btn.outline {
    border: 2px solid #fff;
    padding: 14px 28px;
    border-radius: 8px;
    color: #fff;
    background: transparent;
}

@media(max-width:768px) {
    .video-hero .hero-content {
        padding: 0 24px
    }

    .video-hero .hero-content h1 {
        font-size: 40px
    }
}

/* Cinematic Hero Video Styles */
.hero-video-frame {
    position: relative;
    border-radius: 28px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .03));
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}

.hero-video-glass {
    backdrop-filter: blur(12px);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Removes bottom space */
}

.hero-vignette {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .06), rgba(0, 0, 0, .55));
    pointer-events: none;
}

/* Services Section */
/* Services Section - Premium SaaS Refactor */
.services-section {
    background-color: var(--color-bg-light);
    position: relative;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Enforce Strict Grid Spacing (Video Spec) */
.services-section .grid-3 {
    gap: 32px;
}

/* Services Swiper Override */
.swiper-slide.service-card {
    width: 280px;
    /* Fixed visual width as requested */
    height: auto;
    /* Allow content to dictate height, but flexbox usually matches height */
    flex-shrink: 0;
}

/* Ensure equal height in swiper */
.swiper-wrapper {
    align-items: stretch;
    transition-timing-function: linear !important;
    /* Critical for continuous smooth scroll */
}

.swiper-slide {
    height: auto;
}

.section-title {
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    color: #020617;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.services-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #475569;
}

/* Service Card - ManekTech Reference Match (Ultra Soft) */
/* -------------------------------------------------------------------------- */
/*                 Hire Developers Style (Redesign + Demo Config)              */
/* -------------------------------------------------------------------------- */

/* Tabs Navigation */
/* Tabs Navigation */
.service-tabs-container {
    margin-bottom: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    /* Hide vertical scrollbar arrows */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    position: relative;
    z-index: 50;
    /* Ensure clickable */
    text-align: center;
    /* Center align the tabs container */
}

.service-tabs-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.service-tabs {
    display: inline-flex;
    /* Use inline-flex to center content if container is text-center */
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
    /* Subtle line matching tech */
    position: relative;
    z-index: 51;
}

.service-tabs li {
    font-size: 18px;
    font-weight: 500;
    color: #94a3b8;
    /* Inactive: Light gray */
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
    transition: color 0.3s;
    z-index: 52;
    pointer-events: auto !important;
    /* Force clickable */
}

.service-tabs li:hover {
    color: #64748b;
}

.service-tabs li.active {
    color: #0f172a;
    /* Active: Dark */
    font-weight: 700;
}

/* Animated Yellow Underline */
.service-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #f59e0b;
    /* Yellow */
    border-radius: 4px 4px 0 0;
    animation: fadeIn 0.3s ease;
}

/* Swiper Container */
.servicesSwiper {
    width: 100%;
    overflow: hidden;
    padding: 20px 5px 40px 5px !important;
    /* Bottom pad for pagination */
}

/* Rich Card Styling */
/* Rich Card Styling */
.service-card-rich {
    /* Auto width for slider stream */
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    background: #f9fafb;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    gap: 24px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start;
    height: auto;
    flex-shrink: 0;
    /* Don't shrink */
}



.service-card-rich .card-icon-col {
    flex-shrink: 0;
}

.service-card-rich .rich-icon {
    font-size: 40px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    /* Slate-100 */
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 8px;
    /* Padding for the image inside the box */
}



/* Flex Columns */
.card-icon-col {
    flex-shrink: 0;
}

.rich-icon {
    font-size: 40px;
}

.card-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content-col h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.card-content-col .experience {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 500;
}

.card-content-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: auto;
}

.cv-btn {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #ecfdf5;
    color: #10b981;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Swiper Pagination Customization */
/* (Hidden per video, but kept for fallback if needed) */
.swiper-pagination {
    display: none;
}



/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #f59e0b;
    opacity: 1;
}

/* Standard icon size - REMOVED (Legacy) */

.service-card:hover .service-icon {
    background-color: rgba(2, 6, 23, 0.03);
    /* Background stays same */
    color: var(--color-accent);
    /* Icon color intensifies */
}

/* -------------------------------------------------------------------------- */
/*                        Tech Stack Slider (ManekTech Clone)                  */
/* -------------------------------------------------------------------------- */

/* Section Header & Layout */
.tech-section .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.tech-section .section-subtitle {
    text-align: center;
    margin: 0 auto 60px auto;
    /* Airy spacing */
    max-width: 800px;
}

/* Tabs Navigation */
/* Tabs Navigation */
.tech-tabs-container {
    margin-bottom: 60px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 100;
    /* Increased to stay above arrows */
    pointer-events: auto;
}

.tech-tabs,
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 51;
}

.tech-tabs::-webkit-scrollbar,
.service-tabs::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1200px) {

    .tech-tabs,
    .service-tabs {
        justify-content: flex-start;
        padding-bottom: 5px;
    }
}

.tech-tabs li {
    font-size: 18px;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
    transition: color 0.3s;
    z-index: 101;
    pointer-events: auto;
    user-select: none;
}

.tech-tabs li:hover {
    color: #64748b;
    /* Hover darkens */
}

.tech-tabs li.active {
    color: #0f172a;
    /* Active: Dark color */
    font-weight: 700;
    /* Active: Bold */
}

/* Animated Yellow Underline */
.tech-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Sit on the border line */
    left: 0;
    width: 100%;
    height: 4px;
    /* Thick bar */
    background-color: #f59e0b;
    /* Yellow */
    border-radius: 4px 4px 0 0;
    animation: fadeIn 0.3s ease;
}

/* Slider Wrapper */
.arrow-slider-wrapper {
    position: relative;
    max-width: 100%;
    /* Full width container */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Tech Swiper */
.techSwiper {
    width: 100%;
    overflow: hidden;
    padding: 30px 10px 50px 10px !important;
    /* Top pad for shadow, Bottom for shadow */
}

/* Tech Cards (ManekTech Style: White, Shadow, Rounded) */
.tech-card {
    background: #ffffff;
    /* White background */
    border-radius: 16px;
    /* Rounded corners */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    /* Soft shadow */
    width: 180px !important;
    /* Fixed width for "auto" slider to look consistent */
    max-width: 180px !important;
    height: 180px;
    /* Square-ish or fixed height */
    display: flex;
    flex-direction: column !important;
    /* Force column stack */
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: none;
    /* No hard borders */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    /* Don't shrink in flex container */
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.tech-card i {
    font-size: 64px;
    /* Large Logos */
    transition: transform 0.3s;
    margin-bottom: 10px;
}

/* Image override for consistency */
.tech-card img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
    margin-bottom: 10px !important;
}

.tech-card span {
    font-size: 16px;
    /* Label under logo */
    font-weight: 600;
    color: #334155;
    text-align: center;
    white-space: nowrap;
    /* Prevent "Chromeca st" wrap */
}

/* Override Arrows for Tech Section if needed */
.tech-prev:hover,
.tech-next:hover {
    background: #f59e0b;
    color: #fff;
}

/* Custom Mobile Tech Slider Styles */
.mobile-tech-slider-container {
    display: none;
    /* Controlled by JS */
    position: relative;
    max-width: 1100px;
    margin: 60px auto;
    /* Increased to 60px to push arrows further down */
    padding: 0 60px;
}

.mobile-tech-slider-viewport {
    overflow: hidden;
    padding: 20px 0 50px;
    cursor: grab;
}

/* Premium Carousel Upgrades */
.mobile-tech-slider-viewport {
    overflow: hidden;
    position: relative;
    cursor: grab;
    touch-action: pan-y;
    padding: 20px 0;
}

.mobile-tech-slider-viewport:active {
    cursor: grabbing;
}

.mobile-tech-slider-track {
    display: flex;
    gap: 40px;
    will-change: transform;
    user-select: none;
    transform: translate3d(0, 0, 0);
    /* GPU Accelerated */
}

.mobile-tech-item-card {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.mobile-tech-item-card:hover {
    transform: translateY(-10px);
}

.mobile-tech-icon-circle {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.mobile-tech-icon-circle img,
.mobile-tech-icon-circle i {
    max-width: 65px;
    max-height: 65px;
    font-size: 60px;
    object-fit: contain;
    color: #334155;
}

.mobile-tech-name {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

.tech-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #111;
    cursor: pointer;
    z-index: 10;
    transition: all .35s cubic-bezier(.22, .61, .36, 1);
}

.tech-prev {
    left: -30px;
}

.tech-next {
    right: -30px;
}

.tech-arrow:hover {
    background: #ffb703;
    color: #000;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 18px 40px rgba(255, 183, 3, 0.45);
}

.tech-arrow:active {
    transform: translateY(-50%) scale(.95);
}

.tech-arrow::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 183, 3, 0.4);
    opacity: 0;
    transition: .4s;
}

.tech-arrow:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-tech-slider-container {
        padding: 0 10px;
    }

    .tech-arrow {
        display: none;
        /* Use swipe on mobile */
    }

    .mobile-tech-item-card {
        flex: 0 0 150px;
    }

    .mobile-tech-icon-circle {
        width: 120px;
        height: 120px;
    }
}

/* Typography */
.service-card h3 {
    font-size: 20px;
    /* 20px Bold */
    font-weight: 700;
    color: #020617;
    /* Dark Slate */
    margin-bottom: 12px;
}

.service-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Learn More Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--color-accent);
    transform: translateX(4px);
    /* Arrow animation */
}

/* Why Choose Us Section */
.why-us-content ul {
    list-style: none;
    margin-top: 20px;
}

.why-us-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--color-text-body);
}

.why-us-content li span {
    color: var(--color-accent);
    margin-right: 15px;
    font-weight: bold;
    font-size: 18px;
}

.why-us-image {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    height: 350px;
    border-radius: 8px;
    position: relative;
    border: 1px solid #ddd;
}

/* Tech Stack Section */
.tech-grid {
    margin-top: 50px;
}

.tech-item {
    padding: 25px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-item:hover {
    border-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
/*                        Mega Menu - Generic Grid Layout                      */
/* -------------------------------------------------------------------------- */
.mega-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 10px 0;
}

.mega-category h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-category h4 i {
    color: #ef4444;
    /* icon red color from image */
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.mega-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-category ul li {
    margin-bottom: 12px;
}

.mega-category ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.mega-category ul li a::before {
    content: "•";
    color: #f59e0b;
    /* Yellow bullet point */
    margin-right: 8px;
    font-size: 12px;
    opacity: 0.8;
}

.mega-category ul li a:hover {
    color: #f59e0b;
    /* Hover Yellow */
    padding-left: 4px;
}

/* Contact Box Custom */
.mega-contact-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.mega-contact-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-contact-box h4 i {
    color: #ef4444;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-row i {
    font-size: 20px;
    margin-top: 4px;
}

.contact-row div {
    display: flex;
    flex-direction: column;
}

.contact-row span {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-row a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.contact-row a:hover {
    color: #f59e0b;
}

/* Responsive */
@media (max-width: 900px) {
    .mega-grid-layout {
        grid-template-columns: 1fr 1fr;
    }
}

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