﻿@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,400&display=swap");

:root {
    --primary-color: #1a387f;
    --secondary-color: #003aaf56;
    --text-dark: #222;
    --text-muted: #666;
    --glass-bg: rgb(255, 255, 255);
    /* Slightly more opaque to pop on dark */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    /* overflow-x: hidden; */
    width: 100%;
    position: relative;
    background: #fff;
}



.box {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 15px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-105%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    transform: translateX(0);
}

.nav-link.dropdown-toggle::after {
    border: none !important;
    margin-left: 0 !important;
    content: '' !important;
}

.navbar {
    position: fixed;
    top: 50vh;
    width: 100px;
    height: 100px;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    padding: 0 !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    opacity: 0;
    transition: none !important;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .container {
    opacity: 1;
}

.navbar-brand,
.navbar-nav {
    opacity: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 48px;
    }

    .navbar {
        height: auto !important;
        min-height: 60px;
        padding: 10px 15px !important;
        border-radius: 30px !important;
        width: 92% !important;
    }
}

.mega-menu {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    border-radius: 24px;
    top: 80px !important;
    /* Increased from 80px to add gap */
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: all 0.3s ease;
}

.expertise-container {
    background: rgba(0, 0, 0, 0.03);
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    order: 3;
    display: none;
    z-index: 10;
}

@media(max-width: 991px) {
    .expertise-container {
        display: none !important;
    }

    .navbar>.container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: transparent !important;
        outline: none !important;
        box-shadow: none !important;
        z-index: 10001;
    }

    .navbar-toggler span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-color);
        transition: none !important;
        /* Managed by JS for perfect smoothness */
        margin: 0 auto;
        will-change: transform, opacity;
    }

    /* Premium Smooth Transition (User bezier reference) */
    .collapsing {
        transition: height 600ms cubic-bezier(0.17, 0.04, 0.03, 0.94) !important;
        height: 0;
        overflow: hidden;
        will-change: height;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        /* Reduced shadow for better performance on close */
        border: 1px solid rgba(0, 0, 0, 0.05);
        max-height: 80vh;
        overflow-y: auto;
        transform: translateZ(0);
        /* Force Hardware Acceleration */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: height, opacity;
    }
}

.expertise-carousel {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expertise-carousel i {
    font-size: 2.2rem;
    position: absolute;
    opacity: 0;
    display: none;
    margin: 0;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.mega-link i {
    font-size: 1.2rem;
    color: #333;
}

.mega-link:hover {
    color: var(--primary-color);
}


.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
}

#hero-three-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.lil-gui {
    display: none !important;
}

.about-section {
    background: #fff;
}

@keyframes backgroundGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-primary-gradient {
    background: linear-gradient(45deg, #9575CD, #B39DDB);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#about-canvas-container canvas {
    max-width: 100%;
    height: auto !important;
}

.min-vh-75 {
    min-height: 75vh;
}

.about-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Horizontal Scroll Section Styles */
.horizontal-scroll-container,
.scroll-wrapper,
.horizontal-slide {
    display: none;
}

.scroll-wrapper {
    width: 500%;
    /* Total slides * 100% */
    height: 100%;
    will-change: transform;
}

.horizontal-slide {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    position: relative;
    padding: 100px 50px;
}

.work-card {
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    background: #111;
    transition: transform 0.4s ease;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.work-info h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.work-info p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.intro-slide {
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
}




/* Uiverse Provided Styles */
.card {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 160px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 1rem;
    transform-origin: center;
}

@media(max-width: 768px) {
    .card {
        transform: scale(0.85);
    }
}

.music-bar {
    position: absolute;
    width: 90%;
    height: 50px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 #0d2626;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.music {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(149, 0, 255, 0.25);
    box-shadow: 0 8px 32px 0 #0d2626;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.music::after {
    content: "MVsoft Anthem";
    position: absolute;
    left: 45px;
    width: 130px;
    color: #fff;
    font-weight: 600;
}

.music::before {
    content: "Live Now";
    position: absolute;
    bottom: 0;
    left: 45px;
    width: 125px;
    color: #ffffffce;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.music-control {
    position: absolute;
    right: 0;
    border-radius: 30px;
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.music-control svg {
    cursor: pointer;
}

.music-control svg:active {
    transform: scale(0.9);
}

.bottom-bar {
    position: absolute;
    bottom: 10px;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-bar {
    position: absolute;
    left: 20px;
    width: 70%;
    height: 60px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 #0d2626;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.nav-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    padding: 6px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.nav-icons:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-icons svg,
.nav-icons i {
    transition: all 0.1s ease-in-out;
}

.nav-icons:hover svg,
.nav-icons:hover i {
    transform: translateY(-2px);
}

.nav-icons svg:active,
.nav-icons i:active {
    transform: scale(0.9);
}

.search-bar {
    position: absolute;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 #0d2626;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease-in-out;
}

.search-bar:hover {
    transform: translateY(-2px);
}

.search-bar svg,
.search-bar i {
    transition: all 0.1s ease-in-out;
    transition-delay: 0.1s;
}

.search-bar:hover svg,
.search-bar:hover i {
    transform: translateY(-2px);
}

.search-bar svg:active,
.search-bar i:active {
    transform: scale(0.9);
}




/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* SplitText Masking */
.split-parent {
    overflow: hidden;
    perspective: 1000px;
}

/* Media Queries */
@media(max-width:1600px) {
    .dropdown-menu {
        transform: none;
    }
}

@media(max-width:500px) {
    .dropdown-menu {
        transform: none;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        border-radius: 0;
        box-shadow: none;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px;
        padding: 15px !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .mega-menu h6 {
        padding: 12px;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 8px;
        margin-bottom: 5px !important;
        font-size: 0.95rem;
    }

    .mega-menu .collapse:not(.show) {
        display: none;
    }

    .mega-menu .mega-link {
        padding-left: 25px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-collapse .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        translate: none !important;
        rotate: none !important;
        scale: none !important;
        transform: none !important;
    }

    .nav-link::after {
        display: none !important;
        /* Hide the hover line on mobile as it's replaced by border-bottom */
    }

    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .dropdown-menu {
        transform: none !important;
        background: white !important;
        border: none !important;
        padding-left: 15px !important;
    }
}

/* === Tech Solutions Intro Section Styles === */

@font-face {
    font-family: "monument_extendedregular";
    src: url("https://www.yudiz.com/codepen/photography-banner/monumentextended-regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Extenda Trial 20 Micro";
    src: url("https://www.yudiz.com/codepen/photography-banner/Extenda-20Micro.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Extenda Trial 30 Deca";
    src: url("https://www.yudiz.com/codepen/photography-banner/Extenda-30Deca.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.info-section {
    height: 100svh;
    min-height: 780px;
    padding: 0 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
    user-select: none;
    background: #fff;
    overflow: hidden;
}

.info-section::before {
    content: "";
    border-radius: 197.5px 0px;
    opacity: 0.4;
    background: var(--primary-color, #f1e728);
    filter: blur(162px);
    height: 35%;
    width: 55%;
    position: absolute;
    top: -40%;
    left: -66%;
    transform: translate(50%, 50%);
    z-index: -1;
}

/* left part */
.left-part {
    padding: 20px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.left-part h1 {
    margin: 0;
    color: #222;
    font-family: "Extenda Trial 30 Deca";
    font-size: clamp(100px, 18.5vw, 282px);
    line-height: 0.75;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
}

.left-part h1 .text {
    color: #f1e728;
    display: block;
    height: 200px;
}

.left-part h1 .d-flex {
    display: flex;
    align-items: center;
}

.left-part h1 .char {
    transform: translateY(-515px);
}

.typed-cursor {
    display: none !important;
}

.left-part p {
    width: 72%;
    margin: 20px 0 0;
    color: #444;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 2;
    font-family: "monument_extendedregular";
    opacity: 0.8;
}

/* button */
.book-link {
    margin: 40px 0 0;
    padding: 0;
    border: 0;
    font-size: 56px;
    line-height: 1;
    color: #222;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    font-family: "Extenda Trial 20 Micro";
    font-weight: 300;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    position: relative;
    text-decoration: none;
}

.book-link .linktext {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.book-link .linktext::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transform: scaleX(1);
    transition: transform 250ms ease-in-out;
    transform-origin: 0 0;
}

.book-link:hover .linktext:before {
    transform: scaleX(0);
    transform-origin: 100% 100%;
}

.book-link .arrow {
    height: 36px;
    width: 36px;
    top: -5px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.book-link .arrow::before,
.book-link .arrow::after {
    position: absolute;
    content: "";
    background-color: #f1e728;
    transition: all ease-in-out 0.35s;
    transform-origin: 0 0;
    border-radius: 30px;
}

.book-link .arrow::before {
    height: 2px;
    width: 100%;
    top: 0;
    right: 0;
}

.book-link .arrow::after {
    width: 2px;
    height: 100%;
    top: 0;
    right: 0;
}

.book-link:hover .arrow::before {
    width: 65%;
}

.book-link:hover .arrow::after {
    height: 65%;
}

/* Refined Offering Section - MVsoft White Integration */
.offering-section {
    background: #fff;
    color: #222;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.offering-section .container {
    position: relative;
    z-index: 2;
}

.offering-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.offering-section .offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 58, 175, 0.05);
    color: #003aaf;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 58, 175, 0.1);
}

.offering-section .offer-badge svg {
    width: 20px;
    height: 20px;
    color: #003aaf;
}

.offering-section .offer-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #000;
    line-height: 1.05;
    margin: 0 auto;
    max-width: 1000px;
    letter-spacing: -0.03em;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.grid-offer {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .grid-offer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid-offer {
        grid-template-columns: repeat(2, 1fr);
        /* Keeping it 2x2 for prominent card look, or change to 4 if you prefer */
    }
}

.offering-card.light-card {
    position: relative;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 60px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 20px;
}

.offering-card.light-card::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    background: var(--secondary-color, #003aaf00);
    opacity: 1;
}

.offering-card.light-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 58, 175, 0.1);
    border-color: rgba(0, 58, 175, 0.2);
}

.offering-card.light-card .card-content {
    position: relative;
    z-index: 10;
    transition: transform 0.6s ease;
}

.offering-card.light-card h2 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #111;
    line-height: 1.2;
}

.offering-card.light-card p {
    color: #666;
    transition: 0.6s;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.offering-card.light-card:hover h2,
.offering-card.light-card:hover p,
.offering-card.light-card:hover ul,
.offering-card.light-card:hover li,
.offering-card.light-card:hover i,
.offering-card.light-card:hover span,
.offering-card.light-card:hover strong {
    color: #fff !important;
}

/* Clip Path Animations */
.offering-card.light-card:nth-child(1)::before {
    bottom: 0;
    right: 0;
    clip-path: circle(120px at 100% 100%);
}

.offering-card.light-card:nth-child(2)::before {
    bottom: 0;
    left: 0;
    clip-path: circle(120px at 0% 100%);
}

.offering-card.light-card:nth-child(3)::before {
    top: 0;
    right: 0;
    clip-path: circle(120px at 100% 0%);
}

.offering-card.light-card:nth-child(4)::before {
    top: 0;
    left: 0;
    clip-path: circle(120px at 0% 0%);
}

.offering-card.light-card:hover::before {
    clip-path: circle(150% at 50% 50%);
}

/* Background Image Circles */
.offering-card.light-card .circle {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    opacity: 0.1;
    transition: transform 1.2s ease, opacity 0.6s ease;
    filter: grayscale(100%);
}

.offering-card.light-card:hover .circle {
    opacity: 0.8;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@media screen and (min-width: 1200px) {
    .offering-card.light-card:nth-child(1) .card-content {
        padding-right: 150px;
    }

    .offering-card.light-card:nth-child(2) .card-content {
        padding-left: 150px;
    }

    .offering-card.light-card:nth-child(3) .card-content {
        padding-right: 150px;
    }

    .offering-card.light-card:nth-child(4) .card-content {
        padding-left: 150px;
    }
}

.offering-card.light-card:nth-child(1) .circle {
    background: url("../img/work/mvsoftoffwork13.png") no-repeat 50% 50% / cover;
    clip-path: circle(120px at 100% 100%);
}

.offering-card.light-card:nth-child(2) .circle {
    background: url("../img/work/mvsoftoffwork14.jpg") no-repeat 50% 50% / cover;
    clip-path: circle(120px at 0% 100%);
}

.offering-card.light-card:nth-child(3) .circle {
    background: url("../img/work/mvsoftoffwork15.jpg") no-repeat 50% 50% / cover;
    clip-path: circle(120px at 100% 0%);
}

.offering-card.light-card:nth-child(4) .circle {
    background: url("../img/work/mvsoftoffwork16.jpg") no-repeat 50% 50% / cover;
    clip-path: circle(120px at 0% 0%);
}

.offering-card.light-card:hover .circle {
    clip-path: circle(150% at 50% 50%);
}

.book-link .arrow span {
    background-color: #f1e728;
    height: 2px;
    width: 100%;
    display: inline-block;
    transform: rotate(-45deg) translate(-3px, -1px);
    transform-origin: right top;
    border-radius: 30px;
    position: relative;
    transition: all ease-in-out 0.35s;
    position: absolute;
    top: 0;
    left: 0;
}

.book-link .arrow span::before {
    background-color: #f1e728;
    content: "";
    height: 100%;
    width: 15px;
    left: -15px;
    top: 0;
    position: absolute;
}

/* right part */
.right-part {
    background-color: transparent;
    height: 588px;
    width: 588px;
    margin: 0 0 0 auto;
    margin-right: -14px;
    display: block;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.right-part::before {
    content: "";
    border-radius: 197.5px 0px;
    opacity: 0.4;
    background: #f1e728;
    filter: blur(112px);
    height: 35%;
    width: 55%;
    position: absolute;
    top: 50%;
    right: 33%;
    transform: translate(50%, -50%);
    z-index: -1;
}

.right-part .d-flex {
    height: 100%;
    gap: 24px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    position: relative;
}

.main-grid {
    position: relative;
}

/* Targetting .info-section .box to avoid conflict with existing .box in style.css */

.info-section .box {
    width: calc((100% / 3) - 16px);
    height: calc((100% / 3) - 16px);
    background-color: transparent;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #555555;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    color: #222;
    font-family: "monument_extendedregular";
    border-radius: 120px;
    position: absolute;
    animation: boxMove 30s infinite;
    margin: 0;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
}

.info-section .box:hover {
    border-color: #003aaf;
    box-shadow: 0 0 30px rgba(0, 58, 175, 0.3);
    z-index: 100;
}

/* Box nth-child */
.info-section .box:nth-child(1) {
    left: 0;
    top: 0;
    animation-name: box-1;
}

.info-section .box:nth-child(2) {
    left: calc(100% / 3);
    top: 0;
    animation-name: box-2;
}

.info-section .box:nth-child(3) {
    left: calc((100% / 3) * 2);
    top: 0;
    animation-name: box-3;
}

.info-section .box:nth-child(4) {
    left: 0;
    top: calc(100% / 3);
    animation-name: box-4;
}

.info-section .box:nth-child(5) {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    animation-name: box-5;
}

.info-section .box:nth-child(6) {
    left: 0;
    top: calc((100% / 3) * 2);
    animation-name: box-6;
}

.info-section .box:nth-child(7) {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
    animation-name: box-7;
}

.info-section .box:nth-child(8) {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
    animation-name: box-8;
}

/* 1st Child */
@keyframes box-1 {

    0%,
    90%,
    100% {
        left: 0;
        top: 0;
    }

    2.5%,
    12.5% {
        left: calc(100% / 3);
    }

    15%,
    25% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    27.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
    }

    29.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    /* Width 100% step removed */

    35.5%,
    37.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    40%,
    50% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    52.5%,
    62.5% {
        left: calc(100% / 3);
    }

    65%,
    75% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    77.5%,
    87.5% {
        top: calc(100% / 3);
    }
}

@keyframes box-2 {

    0%,
    90%,
    100% {
        left: calc(100% / 3);
    }

    2.5%,
    12.5% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    15%,
    17% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    /* Width 100% step removed */

    23%,
    25% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    27.5%,
    37.5% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    40%,
    50% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }

    52.5%,
    62.5% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    65%,
    75% {
        left: 0;
        top: calc(100% / 3);
    }

    77.5%,
    87.5% {
        left: 0;
        top: 0;
    }
}

@keyframes box-3 {

    0%,
    90%,
    100% {
        left: calc((100% / 3) * 2);
    }

    2.5%,
    12.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
    }

    4.5%,
    10.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    /* Width 100% step removed */

    15%,
    25% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    27.5%,
    37.5% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }

    40%,
    50% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    52.5%,
    62.5% {
        left: 0;
        top: calc(100% / 3);
    }

    65%,
    75% {
        left: 0;
        top: 0;
    }

    77.5%,
    87.5% {
        left: calc(100% / 3);
        top: 0;
    }
}

@keyframes box-4 {

    0%,
    90%,
    100% {
        top: calc(100% / 3);
    }

    2.5%,
    12.5% {
        left: 0;
        top: 0;
    }

    15%,
    25% {
        left: calc(100% / 3);
        top: 0;
    }

    27.5%,
    37.5% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    40%,
    42%,
    48%,
    50% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    /* Width 100% step removed */

    52.5%,
    62.5% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    65%,
    75% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }

    77.5%,
    87.5% {
        left: 0;
        top: calc((100% / 3) * 2);
    }
}

@keyframes box-5 {

    0%,
    90%,
    92%,
    98%,
    100% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    2.5%,
    12.5% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    15%,
    25% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }

    27.5%,
    37.5% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    40%,
    50% {
        left: 0;
        top: calc(100% / 3);
    }

    52.5%,
    62.5% {
        left: 0;
        top: 0;
    }

    65%,
    75% {
        left: calc(100% / 3);
        top: 0;
    }

    77.5%,
    87.5% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    /* Width 100% step removed */
}

@keyframes box-6 {

    0%,
    90%,
    100% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    2.5%,
    12.5% {
        left: 0;
        top: calc(100% / 3);
    }

    15%,
    25% {
        left: 0;
        top: 0;
    }

    27.5%,
    37.5% {
        left: calc(100% / 3);
        top: 0;
    }

    40%,
    50% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    52.5%,
    54.5%,
    60.5%,
    62.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    /* Width 100% step removed */

    65%,
    75% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    77.5%,
    87.5% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }
}

@keyframes box-7 {

    0%,
    90%,
    100% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }

    2.5%,
    12.5% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    15%,
    25% {
        left: 0;
        top: calc(100% / 3);
    }

    27.5%,
    37.5% {
        left: 0;
        top: 0;
    }

    40%,
    50% {
        left: calc(100% / 3);
        top: 0;
    }

    52.5%,
    62.5% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    65%,
    67%,
    73%,
    75% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
    }

    /* Width 100% step removed */

    77.5%,
    87.5% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }
}

@keyframes box-8 {

    0%,
    90%,
    100% {
        left: calc((100% / 3) * 2);
        top: calc((100% / 3) * 2);
    }

    2.5%,
    12.5% {
        left: calc(100% / 3);
        top: calc((100% / 3) * 2);
    }

    15%,
    25% {
        left: 0;
        top: calc((100% / 3) * 2);
    }

    27.5%,
    37.5% {
        left: 0;
        top: calc(100% / 3);
    }

    40%,
    50% {
        left: 0;
        top: 0;
    }

    52.5%,
    62.5% {
        left: calc(100% / 3);
        top: 0;
    }

    65%,
    75% {
        left: calc((100% / 3) * 2);
        top: 0;
    }

    77.5%,
    79.5%,
    85.5%,
    87.5% {
        left: calc((100% / 3) * 2);
        top: calc(100% / 3);
        width: calc((100% / 3) - 16px);
        border-radius: 100%;
    }

    /* Width 100% step removed */
}

/* Box Text */
.info-section .box span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    opacity: 1;
    z-index: 5;
    text-align: center;
    width: 90%;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

@media (max-width: 767px) {
    .info-section .box span {
        font-size: 9px;
        width: 95%;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    }
}


/* Box Background-Image */
.info-section .box .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 120px;
    overflow: hidden;
}

.info-section .box .bg-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.info-section .box .bg-img,
.info-section .box .bg-img img {
    height: 100%;
    width: 100%;
}

.info-section .box .bg-img img {
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Curve Line */
.bg-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 85px;
    z-index: -1;
    overflow: hidden;
    display: flex !important;
}

/* === Responsive Fixes for Tech Grid === */
@media (max-width: 1200px) {
    .info-section {
        height: auto;
        min-height: auto;
        padding: 100px 20px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .left-part {
        width: 100%;
        padding: 0;
        margin-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .left-part h1 {
        font-size: clamp(80px, 15vw, 180px);
    }

    .left-part p {
        width: 90%;
        margin: 30px auto;
    }

    .right-part {
        width: 588px;
        height: 588px;
        margin: 0 auto;
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .info-section {
        padding: 80px 15px;
    }

    .left-part h1 {
        font-size: clamp(60px, 18vw, 120px);
    }

    .right-part {
        transform: scale(0.7);
        margin: -80px auto 0;
    }
}

@media (max-width: 480px) {
    .left-part h1 {
        font-size: clamp(50px, 20vw, 90px);
    }

    .right-part {
        transform: scale(0.55);
        margin: -130px auto 0;
    }
}

.bg-line img {
    position: relative;
    flex-shrink: 0;
    animation: 26s linear infinite;
}

.bg-line img:nth-child(1) {
    animation-name: first-text;
}

.bg-line img:nth-child(2) {
    animation-name: second-text;
}

@keyframes first-text {
    50% {
        transform: translateX(-100%);
        opacity: 1;
    }

    50.05% {
        opacity: 0;
    }

    50.1% {
        transform: translateX(100%);
        opacity: 1;
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes second-text {
    50% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(-200%);
    }

    0% {
        transform: translateX(0%);
    }
}

/* Dash Circle */
.bg-dash-circle {
    position: absolute;
    bottom: -35px;
    right: -13px;
    z-index: -1;
    width: 180px;
    aspect-ratio: 1/1;
}

.bg-dash-circle img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    opacity: 0.3;
    animation: circle-rotate 25s linear infinite;
}

@keyframes circle-rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes circle-rotate-reverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Circle Line */
.bg-circle-h-line {
    bottom: 50px;
    left: -100px;
    z-index: -2;
    width: 250px;
    height: 250px;
    position: absolute;
}

.bg-circle-h-line img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    animation: circle-rotate-reverse 35s linear infinite;
}

.bg-circle-h-line img:nth-child(1) {
    top: 0;
    animation: top-ring-move 2.5s linear infinite;
}

.bg-circle-h-line img:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bg-circle-h-line img:nth-child(3) {
    bottom: 0;
    animation: bottom-ring-move 2.5s linear infinite;
}

@keyframes top-ring-move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes bottom-ring-move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

/*=== Responsive ===*/
@media screen and (min-width: 1500px) {
    .info-section {
        padding-left: 120px;
    }
}

@media screen and (min-width: 1400px) {
    .info-section {
        padding-left: 100px;
    }
}

@media screen and (max-width: 1199px) {
    .bg-line {
        height: 68px;
    }

    .right-part {
        height: 400px;
        width: 400px;
    }

    .info-section .d-flex {
        gap: 20px;
    }

    .info-section .box {
        width: 118px;
        height: 118px;
        font-size: 12px;
    }

    .left-part p {
        font-size: 14px;
        line-height: 1.8;
        width: 85%;
    }

    .left-part h1 .text {
        height: 132px;
    }

    .bg-dash-circle {
        width: 130px;
    }

    .bg-circle-h-line {
        width: 156px;
        height: 92px;
    }

    .book-link {
        font-size: 48px;
        gap: 24px;
    }

    .book-link .arrow {
        height: 28px;
        width: 28px;
    }
}

@media screen and (max-width: 767px) {
    .info-section {
        display: block;
        padding: 0;
        height: auto;
        min-height: unset;
    }

    .bg-line {
        height: 52px;
    }

    .left-part {
        padding: 80px 16px 60px;
    }

    .right-part {
        height: 334px;
        width: 334px;
        margin: 0 auto;
    }

    .left-part h1 .text {
        height: 88px;
    }

    .left-part p {
        font-size: 12px;
        width: 96%;
    }

    .info-section .box {
        width: 96px;
        height: 96px;
        font-size: 10px;
    }

    .book-link .arrow {
        height: 24px;
        width: 24px;
    }

    .book-link {
        font-size: 42px;
        gap: 20px;
        margin-top: 24px;
    }

    .bg-dash-circle {
        width: 80px;
    }

    .bg-circle-h-line {
        width: 126px;
        height: 65px;
    }
}

.text-primary-gradient {
    color: #1a387f;
    /* Fallback for older browsers */
    background: linear-gradient(135deg, #1a387f 0%, #003aaf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.about-section {
    background: #fff !important;
}

.about-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Masterpiece Grid Styles */
.masterpiece-grid {
    perspective: 1000px;
}

.work-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/10;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.8s ease;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.work-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif;
    color: #fff;
    letter-spacing: normal;
    text-transform: none;
}

.work-info p {
    font-size: 1rem;
    opacity: 1;
    color: #eee;
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

.work-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.work-card:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.work-card:hover .work-info {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .work-info {
        padding: 20px;
    }

    .work-info h3 {
        font-size: 1.4rem;
    }

    .work-info p {
        font-size: 0.9rem;
    }
}

/* Tech Grid Internal Styles */
.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    border-radius: 50%;
}

.bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.4s ease;
}

.info-section .box:hover .bg-img img {
    transform: scale(1.15);
    filter: brightness(0.8);
}

.info-section .box span {
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bg-line,
.bg-circle-h-line,
.bg-dash-circle {
    filter: invert(1) brightness(0.8);
    /* Make dark SVGs visible on white */
}

/* Experience Section Styles - Horizontal Scroll Pinning */
.experience-section {
    height: 100vh;
    width: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.page-experience-pin {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5vw;
}

.experience-giant-text {
    font-size: clamp(4rem, 15vw, 15rem);
    font-weight: 900;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 58, 175, 0.15) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    will-change: transform;
    line-height: 1;
    position: relative;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

/* Industry Solutions Section - Horizontal Layout */
.solutions-section {
    width: 100%;
    min-height: 100vh;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.solutions-section::before,
.solutions-section::after {
    display: none;
    /* Removed blobs for cleaner horizontal look */
}

.horizontal-solutions-container {
    display: flex;
    padding: 0 5vw;
    gap: 40px;
    height: 70vh;
    will-change: transform;
}

.industry-card {
    flex-shrink: 0;
    width: 450px;
    height: 100%;
    background: #fff;
    border-radius: 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(26, 56, 127, 0.15);
}

.industry-img {
    height: 50%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.industry-card:hover .industry-img img {
    transform: scale(1.1);
}

.industry-card .card-body {
    padding: 40px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.industry-card.featured .card-body {
    background: var(--primary-color);
    color: #fff;
}

.industry-card.featured .industry-content h3,
.industry-card.featured .industry-content p {
    color: #fff;
}

.industry-icon-overlay {
    position: absolute;
    top: -40px;
    right: 40px;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 5;
    color: var(--primary-color);
    transition: 0.4s;
}

.industry-card.featured .industry-icon-overlay {
    background: #fff;
    color: var(--primary-color);
}

.industry-card:hover .industry-icon-overlay {
    transform: scale(1.1) rotate(10deg);
}

.industry-icon-overlay i {
    font-size: 32px;
}

.industry-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.industry-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.7;
}

.industry-card.featured .industry-content p {
    opacity: 0.9;
}

.solutions-header-card {
    width: 500px;
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solutions-header-card h2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .industry-card {
        width: 85vw;
        padding: 40px 30px;
    }

    .solutions-header-card {
        width: 100vw;
        padding-right: 20px;
    }
}

.sticky-header {
    position: sticky;
    top: 100px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 56, 127, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .sticky-header {
        position: relative;
        top: 0;
        margin-bottom: 50px;
    }

    .industry-item {
        flex-direction: column;
        gap: 15px;
    }
}

/* Project Journey Roadmap */
.journey-section {
    padding: 120px 0;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 80px auto;
    padding: 60px 0;
}

/* The Road Line */
.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 100%;
    background: #f0f0f0;
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 1;
    overflow: hidden;
}

.roadmap-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    /* Animated by GSAP */
    background: var(--primary-color);
}

/* The Car */
.car-marker {
    position: absolute;
    left: 50%;
    top: 0;
    /* Animated */
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 50px;
    height: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car-body {
    width: 35px;
    height: 65px;
    background: var(--primary-color);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.car-body::before {
    /* Windshield */
    content: '';
    position: absolute;
    top: 12px;
    left: 4px;
    width: 27px;
    height: 12px;
    background: #a5d8ff;
    border-radius: 3px;
}

.car-body::after {
    /* Headlights */
    content: '';
    position: absolute;
    top: -3px;
    left: 4px;
    width: 27px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 -5px 15px #fff;
}

/* Steps */
.journey-step {
    position: relative;
    width: 100%;
    margin-bottom: 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.journey-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    width: 44%;
    padding: 45px;
    background: #fff;
    border-radius: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.2;
    transform: translateY(40px);
}

.journey-step.active .step-content {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--primary-color);
    box-shadow: 0 25px 60px rgba(26, 56, 127, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 4px solid #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #ddd;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    transition: 0.4s;
}

.journey-step.active .step-number {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 25px rgba(26, 56, 127, 0.2);
}

.step-content h3 {
    font-weight: 800;
    margin-bottom: 18px;
    color: #111;
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.step-content p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

.step-icon-box {
    width: 75px;
    height: 75px;
    background: rgba(26, 56, 127, 0.05);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: 0.4s;
}

.journey-step.active .step-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(10deg);
}

@media (max-width: 991px) {
    .roadmap-line {
        left: 40px;
        transform: none;
    }

    .car-marker {
        left: 40px;
        transform: translate(-50%, -50%);
    }

    .step-number {
        left: 40px;
        transform: translateX(-50%);
    }

    .step-content {
        width: 85%;
        margin-left: 80px;
        padding: 35px;
    }

    .journey-step:nth-child(even) {
        flex-direction: row;
    }

    .journey-step.active .step-number {
        transform: translateX(-50%) scale(1.2);
    }
}

/* 3D Scenery Elements for Journey Section */
.scenery-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.building-3d {
    position: absolute;
    width: 80px;
    height: 140px;
    perspective: 1000px;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    opacity: 0.6;
}

.building-body {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
}

.building-face {
    position: absolute;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.face-front {
    width: 100%;
    height: 100%;
    transform: translateZ(30px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
    gap: 5px;
}

.window {
    background: #e3f2fd;
    height: 15px;
    border-radius: 2px;
}

.face-side {
    width: 60px;
    height: 100%;
    left: 50%;
    background: #f8f8f8;
    transform: rotateY(90deg) translateZ(40px);
}

.face-top {
    width: 100%;
    height: 60px;
    background: #fafafa;
    transform: rotateX(90deg) translateZ(30px);
}

/* Positions for buildings around the road */
.b-1 {
    left: 10%;
    top: 5%;
}

.b-2 {
    right: 10%;
    top: 15%;
}

.b-3 {
    left: 5%;
    top: 30%;
}

.b-4 {
    right: 8%;
    top: 45%;
}

.b-5 {
    left: 12%;
    top: 60%;
}

.b-6 {
    right: 12%;
    top: 80%;
}

/* Animated Corporate People Icons */
.staff-member {
    position: absolute;
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.5;
    transition: 0.3s;
    z-index: 3;
}

@keyframes walks {
    0% {
        transform: translate(0, 0) scaleX(1);
    }

    100% {
        transform: translate(40px, 15px) scaleX(-1);
    }
}

.staff-1 {
    left: 20%;
    top: 10%;
    animation: walks 12s infinite alternate linear;
}

.staff-2 {
    right: 15%;
    top: 20%;
    animation: walks 15s infinite alternate-reverse linear;
}

.staff-3 {
    left: 18%;
    top: 40%;
    animation: walks 10s infinite alternate linear;
}

.staff-4 {
    right: 22%;
    top: 55%;
    animation: walks 14s infinite alternate-reverse linear;
}

.staff-5 {
    left: 25%;
    top: 75%;
    animation: walks 11s infinite alternate linear;
}

/* Working Culture Section */
.culture-section {
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 30px;
    margin-top: 60px;
}

.culture-item {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.culture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    filter: brightness(0.9);
}

.culture-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(26, 56, 127, 0.15);
    z-index: 10;
}

.culture-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.culture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.culture-item:hover .culture-overlay {
    transform: translateY(0);
    opacity: 1;
}

.culture-overlay h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.culture-overlay p {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0;
    line-height: 1.6;
}

/* Bento Sizing */
.culture-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.culture-item.tall {
    grid-row: span 2;
}

.culture-item.wide {
    grid-column: span 2;
}

/* Floating Animation - Micro Interactions */
.culture-item.animate-float {
    animation: cultureFloat 8s ease-in-out infinite;
}

@keyframes cultureFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.culture-tag {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 992px) {
    .culture-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 350px);
    }
}

@media (max-width: 991px) {
    .culture-item {
        height: 400px;
    }

    .culture-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .culture-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .culture-item {
        height: 350px;
    }

    .culture-item.large,
    .culture-item.wide,
    .culture-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .culture-overlay {
        padding: 30px;
    }
}

/* === Snaky Roadmap (Hot GSAP Design) === */
.roadmap-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 100px 0;
}

.snaky-road-svg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

#mainRoadPath,
#roadProgress,
.road-glow {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

#mainRoadPath {
    stroke-dashoffset: 0;
    opacity: 0.1;
}

.road-glow {
    filter: blur(10px);
    opacity: 0.5;
}

/* Environment (Trees) */
.roadmap-environment {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.road-greenery {
    position: absolute;
    object-fit: contain;
    opacity: 0;
    transform: scale(0);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    will-change: transform, opacity;
    z-index: 6;
}

.road-tree {
    width: 65px;
    height: 65px;
}

.road-greenery.active {
    opacity: 1;
    transform: scale(1);
}

/* Tree Positions based on 1000x950 SVG */
.tree-1 {
    top: 8%;
    left: 42%;
}

.tree-2 {
    top: 20%;
    left: 12%;
}

.tree-3 {
    top: 35%;
    right: 12%;
}

.tree-4 {
    top: 55%;
    left: 18%;
}

.tree-5 {
    top: 72%;
    right: 15%;
}

.tree-6 {
    top: 85%;
    left: 25%;
}

/* Journey Milestones */
.journey-milestone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 15;
}

.milestone-start {
    top: -40px;
}

.milestone-end {
    bottom: -60px;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #1a387f;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(26, 56, 127, 0.5);
    position: relative;
}

.milestone-dot::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(26, 56, 127, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.milestone-label {
    background: #fff;
    color: #1a387f;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    border: 1px solid rgba(26, 56, 127, 0.1);
}

.milestone-end .milestone-label {
    background: #1a387f;
    color: #fff;
    box-shadow: 0 10px 25px rgba(26, 56, 127, 0.3);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Snaky Car (3D Icon Upgrade) */
.snaky-car.snaky-bus {
    width: 80px;
    height: 100px;
}

.snaky-car {
    position: absolute;
    width: 60px;
    height: 80px;
    z-index: 10;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
    pointer-events: none;
}

.car-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car-3d-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 2;
}

.car-light-beams {
    position: absolute;
    bottom: -10px;
    left: -20px;
    /* Aligned with the front-left headlights of the stable 3D bus */
    width: 80px;
    height: 180px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.light-beam {
    width: 40px;
    height: 100%;
    background: conic-gradient(from 180deg at 50% 0%,
            rgba(255, 255, 200, 0.3) 0deg,
            rgba(255, 255, 200, 0) 45deg,
            rgba(255, 255, 200, 0) 315deg,
            rgba(255, 255, 200, 0.3) 360deg);
    filter: blur(15px);
    transform-origin: top center;
    transform: scaleX(2.2);
    /* Wide, steady beam */
    opacity: 0.8;
}

.light-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    filter: blur(5px);
    box-shadow: 0 0 20px #fff;
}

/* Step Cards Overlays */
.steps-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.journey-step-v2 {
    position: absolute;
    width: 320px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.journey-step-v2.active {
    opacity: 1;
    transform: translateY(0);
}

.step-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.step-card:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 30px 60px rgba(26, 56, 127, 0.15);
}

.step-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 56, 127, 0.1);
    color: #1a387f;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #111;
}

.step-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.step-icon {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(26, 56, 127, 0.3);
    transition: 0.4s;
}

.step-card:hover .step-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Step Illustrations */
.step-illustration {
    width: 120px;
    height: 120px;
    margin: -60px auto 1rem;
    position: relative;
    z-index: 5;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Lush Greenery Positions (Trees 1-10, Flowers 1-10) */
.tree-1 {
    top: 5%;
    left: 38%;
}

.tree-2 {
    top: 12%;
    left: 45%;
}

.tree-3 {
    top: 20%;
    left: 7%;
}

.tree-4 {
    top: 35%;
    right: 15%;
}

.tree-5 {
    top: 32%;
    right: 42%;
}

.tree-6 {
    top: 60%;
    right: 2%;
}

.tree-7 {
    top: 55%;
    right: 20%;
}

.tree-8 {
    top: 68%;
    right: 30%;
}

.tree-9 {
    top: 88%;
    right: 35%;
}

.tree-10 {
    top: 58%;
    right: 8%;
}

/* Step Positioning (User Custom) */
.step-1 {
    top: 12%;
    left: 20%;
}

.step-2 {
    top: 25%;
    right: 12%;
}

.step-3 {
    top: 55%;
    right: 30%;
}

.step-4 {
    top: 65%;
    left: 6%;
}

.step-4.active {
    transform: translateY(0);
}

.milestone-end {
    bottom: 60px;
}

@media (max-width: 991px) {
    .journey-step-v2 {
        width: 280px;
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 40px auto;
        opacity: 1;
        transform: none;
    }

    .snaky-road-svg {
        display: none;
    }

    .snaky-car {
        display: none;
    }

    .roadmap-environment {
        display: none;
    }

    .journey-milestone {
        display: none;
    }

    .steps-overlay {
        position: relative;
        height: auto;
    }
}

/* ==========================================================================
   Offering Section V2 (Dark, Clip-Path Design)
   ========================================================================= */
.offering-section-v2 {
    background-color: #111827;
    /* bg-gray-900 */
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
    color: #fff;
}

.offering-header {
    text-align: center;
    margin-bottom: 60px;
}

.offering-subtitle {
    color: #9ca3af;
    /* text-gray-400 */
    font-size: 1.125rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.offering-subtitle svg {
    width: 24px;
    height: 24px;
    color: #4f46e5;
}

.offering-title {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
}

.offering-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .offering-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.offering-card-v2 {
    position: relative;
    background-color: #1f2937;
    /* bg-gray-800 */
    padding: 3rem;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    /* Boxy look from snippet, or maybe slight radius? Snippet has no radius on card, just clip paths. I'll stick to strict snippet. */
}

/* Background Blue Layer (The hover reveal) */
.offering-card-v2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    transition: 0.6s ease;
    z-index: 1;
    /* Above image, below text */
    background-color: #4f46e5;
    /* indigo-600 */
}

.offering-card-v2:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
    transform: translateY(-5px);
}

/* Clip Path Positioning - Initial State (Corners) */
.offering-card-v2:nth-child(1)::before {
    bottom: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.offering-card-v2:nth-child(2)::before {
    bottom: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.offering-card-v2:nth-child(3)::before {
    top: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.offering-card-v2:nth-child(4)::before {
    top: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

/* Hover State - Expand to Fill */
.offering-card-v2:hover::before {
    clip-path: circle(150% at 100% 100%);
}

/* Text Stylings */
.offering-card-v2 .content-wrapper {
    position: relative;
    z-index: 5;
    /* Above everything */
    pointer-events: none;
}

/* Offsets for text to avoid overlapping the initial circle images */
.offering-card-v2:nth-child(1) .content-wrapper {
    margin-right: 25%;
    text-align: left;
}

.offering-card-v2:nth-child(2) .content-wrapper {
    margin-left: 25%;
    text-align: left;
}

.offering-card-v2:nth-child(3) .content-wrapper {
    margin-right: 25%;
    text-align: left;
}

.offering-card-v2:nth-child(4) .content-wrapper {
    margin-left: 25%;
    text-align: left;
}

@media (max-width: 991px) {
    .offering-card-v2 .content-wrapper {
        margin: 0 !important;
    }
}

.offering-card-v2 h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
    font-family: serif;
    /* "Playfair Display" fallback */
    font-weight: 400;
}

.offering-card-v2 p {
    color: #9ca3af;
    transition: 0.8s;
    line-height: 1.6;
}

.offering-card-v2:hover p {
    color: #fff;
}

/* Background Images in Circles */
.card-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: 0.6s ease;
}

.offering-card-v2:nth-child(1) .card-circle {
    background: url("../img/work/mvsoftoffwork13.png") no-repeat center center / cover;
    bottom: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.offering-card-v2:nth-child(2) .card-circle {
    background: url("../img/work/mvsoftoffwork14.jpg") no-repeat center center / cover;
    bottom: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.offering-card-v2:nth-child(3) .card-circle {
    background: url("../img/work/mvsoftoffwork15.jpg") no-repeat center center / cover;
    top: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.offering-card-v2:nth-child(4) .card-circle {
    background: url("../img/work/mvsoftoffwork16.jpg") no-repeat center center / cover;
    top: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}


/* MVsoft ANTIGRAVITY CSS ENGINE - REFINED */

/* Global Variables for Hero */
:root {
    --ring-x: 50;
    --ring-y: 50;
    --ring-interactive: 0;
    --ring-radius: 120;
    --ring-thickness: 550;
    --animation-tick: 0;
}

#welcome {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8faff;
    background-image: radial-gradient(circle at center, #ffffff 0%, #f0f4ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 100%;
}

/* Houdini Particle Ring Integration */
@supports (background: paint(ring-particles)) {
    #welcome {
        background-image: paint(ring-particles), radial-gradient(circle at center, #ffffff 0%, #f0f4ff 100%);
    }
}

@property --animation-tick {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --ring-radius {
    syntax: '<number> | auto';
    inherits: false;
    initial-value: 120;
}

@property --ring-x {
    syntax: '<number>';
    inherits: false;
    initial-value: 50;
}

@property --ring-y {
    syntax: '<number>';
    inherits: false;
    initial-value: 50;
}

@property --ring-interactive {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@keyframes ripple {
    0% {
        --animation-tick: 0;
    }

    100% {
        --animation-tick: 1;
    }
}

@keyframes ring {
    0% {
        --ring-radius: 140;
    }

    100% {
        --ring-radius: 220;
    }
}

#welcome {
    --particle-count: 90;
    --particle-rows: 22;
    --particle-size: 2.5;
    --particle-color: #1a387f;
    --particle-min-alpha: 0.15;
    --particle-max-alpha: 0.9;
    --seed: 450;
    animation: ripple 8s linear infinite, ring 6s ease-in-out infinite alternate;
    transition: --ring-x 2.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        --ring-y 2.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-bg-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 20;
}

.hero-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #1a387f;
    margin-bottom: 2rem;
    text-transform: uppercase;
    opacity: 0;
    /* Animated by GSAP */
}

.hero-tagline {
    font-size: 4.5rem;
    font-weight: 600;
    color: #121317;
    line-height: 1.1;
    margin-bottom: 3rem;
    max-width: 900px;
    opacity: 0;
    /* Animated by GSAP */
}

.hero-tagline .typewriter {
    display: block;
    color: #5f6368;
    font-size: 0.6em;
    font-weight: 400;
    min-height: 1.2em;
}

.typewriter::after {
    content: '|';
    animation: blink-cursor 0.8s infinite;
    margin-left: 4px;
    color: #1a387f;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    /* Animated by GSAP */
}

.btn-main {
    background: #121317;
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-main:hover {
    transform: translateY(-5px);
    background: #1a387f;
}

.btn-sec {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #121317;
    padding: 1.2rem 3rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

@media (max-width: 576px) {
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1.5rem;
    }

    .btn-main,
    .btn-sec {
        width: 100% !important;
        justify-content: center;
        padding: 1.1rem 2rem !important;
        font-size: 1rem !important;
    }
}

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.icon-actor {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    opacity: 0;
    /* Animated by GSAP */
}

.icon-actor:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 100px;
}

.icon-actor:nth-child(2) {
    top: 65%;
    left: 15%;
    width: 80px;
}

.icon-actor:nth-child(3) {
    top: 20%;
    right: 12%;
    width: 120px;
}

.icon-actor:nth-child(4) {
    top: 70%;
    right: 18%;
    width: 90px;
}

.icon-actor:nth-child(5) {
    top: 40%;
    left: 80%;
    width: 70px;
}

@media (max-width: 930px) {
    .hero-tagline {
        font-size: 2.5rem;
    }

    .icon-actor {
        width: 50px !important;
    }
}

/* === Premium Footer Styles === */
.footer-premium {
    background: #fff;
    color: #222;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-pitch {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    position: relative;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #1a387f;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 56, 127, 0.05);
    color: #1a387f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none !important;
}

.social-link:hover {
    background: #1a387f;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(26, 56, 127, 0.3);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    color: #666;
    font-size: 0.95rem;
    align-items: flex-start;
}

.footer-contact li i {
    color: #1a387f;
    font-size: 1.1rem;
    margin-top: 3px;
}

.btn-footer-cta {
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(26, 56, 127, 0.15);
    transition: all 0.3s ease;
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 56, 127, 0.25);
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #1a387f;
}

@media (max-width: 991px) {
    .footer-top {
        text-align: center;
    }

    .footer-pitch {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links li a:hover {
        transform: none;
    }
}

.btn-sec {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #121317;
    padding: 1.2rem 3rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.icon-actor {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    opacity: 0;
    /* Animated by GSAP */
}

.icon-actor:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 100px;
}

.icon-actor:nth-child(2) {
    top: 65%;
    left: 15%;
    width: 80px;
}

.icon-actor:nth-child(3) {
    top: 20%;
    right: 12%;
    width: 120px;
}

.icon-actor:nth-child(4) {
    top: 70%;
    right: 18%;
    width: 90px;
}

.icon-actor:nth-child(5) {
    top: 40%;
    left: 80%;
    width: 70px;
}

@media (max-width: 930px) {
    .hero-tagline {
        font-size: 2.5rem;
    }

    .icon-actor {
        width: 50px !important;
    }
}


.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #1a387f;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 56, 127, 0.05);
    color: #1a387f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none !important;
}

.social-link:hover {
    background: #1a387f;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(26, 56, 127, 0.3);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    color: #666;
    font-size: 0.95rem;
    align-items: flex-start;
}

.footer-contact li i {
    color: #1a387f;
    font-size: 1.1rem;
    margin-top: 3px;
}

.btn-footer-cta {
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(26, 56, 127, 0.15);
    transition: all 0.3s ease;
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 56, 127, 0.25);
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #1a387f;
}

@media (max-width: 991px) {
    .footer-top {
        text-align: center;
    }

    .footer-pitch {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links li a:hover {
        transform: none;
    }

    .footer-contact li {
        justify-content: center;
    }
}

/* === Horizontal Tech Section Styles === */
.tech-section {
    background: #fff;
    padding: 100px 0;
}

.tech-nav-wrapper {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.tech-nav-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.tech-nav-tabs::-webkit-scrollbar {
    display: none;
}

.tech-nav-btn {
    padding: 12px 25px;
    border: none;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-nav-btn:hover {
    background: rgba(26, 56, 127, 0.05);
    color: var(--primary-color);
}

.tech-nav-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(26, 56, 127, 0.2);
}

.tech-content-pane {
    display: none;
    opacity: 0;
}

.tech-content-pane.active {
    display: block;
    opacity: 1;
}

.tech-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.tech-card i {
    font-size: 3.5rem;
    transition: transform 0.3s ease;
}

.tech-card span {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tech-card i {
        font-size: 2.5rem;
    }

    .tech-nav-wrapper {
        justify-content: flex-start;
    }
}

/* Airplane Mode Button Styles */
:root {
    --am-hue: 223;
    --am-bg1: hsl(var(--am-hue), 10%, 90%);
    --am-bg2: hsl(var(--am-hue), 10%, 60%);
    --am-fg: hsl(var(--am-hue), 10%, 10%);
    --am-trans-dur: 0.3s;
}

.am,
.am__crack,
.am__input {
    border-radius: 50%;
}

.am,
.am__input {
    /* margin: auto; removed to allow placement */
    -webkit-tap-highlight-color: transparent;
}

.am {
    background-color: #ffffff;
    position: relative;
    width: 8em;
    height: 3.5em;
    display: inline-block;
    font-size: 20px;
    border-radius: 0.4em;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

/* Road markings (black boxes/dashes) */
.am::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right, #000000 50%, transparent 50%);
    background-size: 1.5em 100%;
    transform: translateY(-50%);
    opacity: 0.8;
    /* Increased visibility of center boxes */
}

.am__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.am__plane,
.am__plane-body,
.am__plane-body:before,
.am__plane-body:after,
.am__plane-engines,
.am__plane-engines:before,
.am__plane-engines:after,
.am__plane-fins,
.am__plane-fins:before,
.am__plane-fins:after,
.am__plane-wings,
.am__plane-wings:before,
.am__plane-wings:after,
.am__smoke {
    display: block;
    position: absolute;
}

.am__plane-body:before,
.am__plane-body:after,
.am__plane-engines:before,
.am__plane-engines:after,
.am__plane-fins:before,
.am__plane-fins:after,
.am__plane-wings:before,
.am__plane-wings:after {
    content: '';
}

.am__plane {
    filter: drop-shadow(0.2em 0.2em 0.2em hsla(0, 0%, 0%, 0.2));
    top: 50%;
    left: 15%;
    z-index: 3;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    will-change: transform;
}

.am__plane-body {
    background-image:
        radial-gradient(0.125em 0.125em at 75% 50%, hsl(0, 90%, 40%) 48%, hsla(0, 90%, 40%, 0) 50%),
        linear-gradient(#333 30%, #000 70%);
    border-radius: 1.5em 1em 1em 1.5em / 50% 50% 50% 50%;
    overflow: hidden;
    width: 2.8em;
    height: 0.4em;
    transform: translate(-50%, -50%);
}

.am__plane-body:before {
    border-radius: 50%;
    box-shadow: 0.1em 0 0 hsl(var(--am-hue), 10%, 10%) inset;
    left: 0.2em;
    width: 0.25em;
    height: 100%;
}

.am__plane-body:after {
    background-color: #222;
    top: 0.15em;
    right: 0;
    width: 1em;
    height: 0.1em;
}

.am__plane-engines {
    top: 50%;
    left: 0.3em;
}

.am__plane-engines:before,
.am__plane-engines:after {
    border-radius: 0.2em 0 0 0.2em / 50% 0 0 50%;
    width: 0.4em;
    height: 0.2em;
    transform-origin: 50% 0;
}

.am__plane-engines:before {
    background-image: linear-gradient(#333 20%, #000 80%);
    transform: translateY(-1em);
}

.am__plane-engines:after {
    background-image: linear-gradient(#111 20%, #333 80%);
    transform: translateY(1em) scaleY(-1);
}

.am__plane-fins {
    top: 50%;
    left: -1.2em;
}

.am__plane-fins:before,
.am__plane-fins:after {
    background-image: linear-gradient(53deg, #333 44%, #000);
    clip-path: polygon(100% 0, 30% 0, 0 100%, 25% 100%, 100% 0);
    width: 0.75em;
    height: 0.75em;
    transform-origin: 50% 0;
}

.am__plane-fins:after {
    transform: scaleY(-1);
}

.am__plane-wings {
    top: 50%;
    left: 0.1em;
}

.am__plane-wings:before,
.am__plane-wings:after {
    background-image: linear-gradient(63deg, #444 44%, #000);
    clip-path: polygon(100% 0, 20% 0, 0 100%, 25% 100%, 100% 0);
    width: 1em;
    height: 1.5em;
    transform-origin: 50% 0;
}

.am__plane-wings:after {
    transform: scaleY(-1);
}

.am__smoke {
    background-image: radial-gradient(hsl(0, 0%, 100%), hsla(0, 0%, 100%, 0));
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    top: calc(50% - 0.125em);
    left: calc(50% - 0.125em);
    width: 0.25em;
    height: 0.25em;
    z-index: 2;
}

.am__sr {
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
}

/* :focus(-visible) */
.am__input:focus {
    outline: transparent;
}

.am__input:focus~.am__crack {
    background-color: hsl(var(--am-hue), 90%, 70%);
    box-shadow: 0 0 0.5em hsla(var(--am-hue), 90%, 70%, 1);
}

@supports selector(:focus-visible) {
    .am__input:focus~.am__crack {
        background-color: hsl(0, 0%, 0%);
        box-shadow: 0 0 0.5em hsla(var(--am-hue), 90%, 70%, 0);
    }

    .am__input:focus-visible~.am__crack {
        background-color: hsl(var(--am-hue), 90%, 70%);
        box-shadow: 0 0 0.5em hsla(var(--am-hue), 90%, 70%, 1);
    }
}

/* :checked */
.am__input:checked {
    filter: grayscale(0);
    transform: scale(0.96);
}

.am__input:checked~.am__crack {
    opacity: 0.8;
}

/* :checked - Clicked State */
.am__input:checked~.am__plane {
    transition: none;
    left: 85%;
    /* Start takeoff from the right side */
    top: 50%;
    animation: planeTakeoffOrbital 1.2s forwards cubic-bezier(0.6, 0, 0.4, 1);
    z-index: 99;
}

@keyframes planeTakeoffOrbital {
    from {
        filter: drop-shadow(0.25em 0.25em 0.25em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(-50%, -50%, 0) translate3d(0, -2.5em, 0) rotate(0) translate3d(0, 2.5em, 0) scale(1);
    }

    30% {
        filter: drop-shadow(0.25em 0.25em 0.25em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(-50%, -50%, 0) translate3d(0, -2.5em, 0) rotate(-0.1turn) translate3d(0, 2.5em, 0) scale(0.96);
    }

    to {
        filter: drop-shadow(0.25em 0.25em 0.5em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(-50%, -50%, 0) translate3d(0, -2.5em, 0) rotate(-1turn) translate3d(0, 2.5em, 0) scale(1.5);
    }
}

/* :indeterminate */
.am__input:indeterminate~.am__plane {
    animation: none;
    left: 20%;
}

/* Hover Effect: Move plane from left to right */
.am:hover .am__plane {
    transform: translate3d(calc(5.6em - 50%), -50%, 0);
    /* 5.6em is the travel distance */
}

.am__input:checked+.am:hover .am__plane {
    transform: translate3d(-50%, -50%, 0);
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --am-bg1: hsl(var(--am-hue), 10%, 40%);
        --am-bg2: hsl(var(--am-hue), 10%, 10%);
        --am-fg: hsl(var(--am-hue), 10%, 90%);
    }
}

/* Animations */
@keyframes planeRunway {
    0% {
        left: 15%;
        transform: translateY(-1px);
    }

    100% {
        left: 75%;
        transform: translateY(1px);
    }
}

@keyframes planeTakeoffRight {
    0% {
        left: 20%;
        top: 50%;
        transform: rotate(0);
        scale: 1;
        opacity: 1;
    }

    30% {
        left: 40%;
        top: 50%;
        transform: rotate(-5deg);
        scale: 1.1;
        opacity: 1;
    }

    100% {
        left: 180%;
        top: -80%;
        transform: rotate(-25deg);
        scale: 2;
        opacity: 0;
    }
}

@keyframes planeLand {
    from {
        filter: drop-shadow(0.25em 0.25em 0.5em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(0, -2.5em, 0) rotate(1turn) translate3d(0, 2.5em, 0);
    }

    to {
        filter: drop-shadow(0.25em 0.25em 0.25em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(0, -2.5em, 0) rotate(2turn) translate3d(0, 2.5em, 0);
    }
}

@keyframes planeTakeOff {
    from {
        filter: drop-shadow(0.25em 0.25em 0.25em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(0, -2.5em, 0) rotate(0) translate3d(0, 2.5em, 0) scale(1);
    }

    30% {
        filter: drop-shadow(0.25em 0.25em 0.25em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(0, -2.5em, 0) rotate(0) translate3d(0, 2.5em, 0) scale(0.96);
    }

    to {
        filter: drop-shadow(0.25em 0.25em 0.5em hsla(0, 0%, 0%, 0.3));
        transform: translate3d(0, -2.5em, 0) rotate(1turn) translate3d(0, 2.5em, 0) scale(1);
    }
}

/* === Enhanced Tech Grid Mobile View === */
@media screen and (max-width: 767px) {
    .info-section .right-part {
        height: 400px !important;
        width: 400px !important;
        max-width: 100%;
        margin: 20px auto 0 !important;
    }

    .info-section .box {
        width: 120px !important;
        height: 120px !important;
    }

    .info-section .box span {
        font-size: 11px !important;
        line-height: 1.2 !important;
        width: 90% !important;
    }
}

@media screen and (max-width: 480px) {
    .info-section .right-part {
        transform: scale(0.85) !important;
        height: 400px !important;
        width: 400px !important;
        margin: -30px auto 0 !important;
    }
}

/* === Tablet View Enhancements === */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .info-section .right-part {
        transform: scale(1) !important;
        width: 550px !important;
        height: 550px !important;
        margin: 0 auto !important;
    }

    .info-section .box {
        width: 140px !important;
        height: 140px !important;
    }

    .info-section .box span {
        font-size: 14px !important;
        width: 90% !important;
    }
}