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

html,
body {
    font-family: "Poppins", sans-serif;
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    padding: 85px 0 50px;
    background: #ffffff;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* HERO IMAGE */

.hero-image-wrapper {
    margin-top: 30px;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    background-color: #f0f0f0;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 3px solid rgba(0, 105, 200, 0.1);
    border-top: 3px solid #0069C8;
    border-radius: 50%;
    animation: imageLoaderSpin 1s linear infinite;
    z-index: 0;
}

.hero-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Bottom fade (like screenshot) */
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 2;
}

/* Heading */
.hero-content h1 {
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000000;
}

.hero-content h1 span {
    color: #0069C8;
    /* blue highlight */
}

/* Description */
.hero-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 160%;
    color: #575757;
    letter-spacing: -2%;
    margin-bottom: 32px;
}

/* CTA Button */
.hero-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #0069C8;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

@keyframes imageLoaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-section {
        padding: 5px 0 20px;
        margin-top: 80px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-btn {
        font-size: 13px;
        padding: 10px 22px;
    }

    .hero-image-wrapper img {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper img {
        height: 220px;
    }
}

/* =========================
   HERO SECTION ENDS
========================= */



/* ===============================
   WEB SERVICES SECTION
================================ */
.web-services-section {
    background: radial-gradient(circle at top left, #0b3a53, #020617);
    padding: 100px 0;
    color: #e5e7eb;
    overflow: hidden;
    margin-bottom: 80px;
}

.services-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.web-services-section .services-left p span {
    color: #fff;
}

/* LEFT SIDE - Sticky stays while right scrolls */
.services-left {
    flex: 1;
    position: sticky;
}

.services-left h2 {
    font-size: clamp(30px, 4vw, 38px);
    /* Responsive font */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.services-left p {
    font-size: 18px;
    color: #d1d5db;
    max-width: 90%;
}

/* RIGHT SIDE - Scrollable Grid */
.services-right {
    flex: 1.2;
    max-height: 600px;
    /* Is height ke andar scroll hoga */
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    scrollbar-width: none;
    /* Firefox hide */
}

/* Hide scrollbar for Chrome/Safari */
.services-right::-webkit-scrollbar {
    display: none;
}

/* CARD STYLE */
.service-card {
    background: #ffffff;
    color: #0f172a;
    min-height: 380px;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 48px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #514F6E;
}

/* ===============================
   RESPONSIVE (All Devices)
================================ */

@media (max-width: 991px) {
    .services-layout {
        flex-direction: column;
        /* Stack vertically */
    }

    .services-left {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .services-right {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablets */
        max-height: none;
        /* Mobile/Tablet pe auto-scroll ki zarurat kam hoti hai */
        overflow: visible;
    }
}

@media (max-width: 600px) {
    .services-right {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .web-services-section {
        padding: 60px 0;
    }
}



/* OUR PROCESS STARTS */
:root {
    --accent-teal: #008080;
    --smooth-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-container2 {
    height: 400vh;
    /* Keeps height for desktop scroll effect */
    position: relative;
    background: #fff;
}

.sticky-box2 {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    overflow: visible;
}

.header-title2 {
    font-size: clamp(1.8rem, 5vw, 38px);
    font-weight: 800;
    text-align: center;
}

.text-subtitle2 {
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 30px;
}

/* Progress Bar - Centered and Responsive */
.progress-line-track2 {
    width: 80%;
    height: 3px;
    background: #f2f2f2;
    margin: 20px 0 40px 0;
    position: relative;
    border-radius: 10px;
}

.progress-line-fill2 {
    width: 0%;
    height: 100%;
    background: #121111;
    border-radius: 10px;
}

.steps-wrapper2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.step-inner2 {
    opacity: 0.1;
    transform: translateY(50px);
    transition: all 1s var(--smooth-ease);
}

.step-mask2.is-active .step-inner2 {
    opacity: 1;
    transform: translateY(0);
}

.big-number2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    color: transparent !important;
    -webkit-text-stroke: 2px #121111 !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


.progress-wrapper2 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: #eee;
    overflow: hidden;
}

.progress-bar-fill2 {
    width: 0%;
    height: 100%;
    background: #2dd4bf;
    /* Teal color from video */
    transition: width 0.2s ease-out;
}

.step-title2 {
    color: #222222 !important;
    font-size: 24.58px;
    font-weight: 600;
    line-height: 36.86px;
    letter-spacing: -1.11px;
}

.step-desc2 {
    color: #575757;
    font-size: 16px !important;
}


/* --- MOBILE & TABLET FIXES --- */
@media (max-width: 1024px) {
    .scroll-container2 {
        height: auto;
        /* Remove artificial height on mobile */
        padding: 60px 0;
    }

    .sticky-box2 {
        position: relative;
        /* Disable sticky on mobile */
        height: auto;
        overflow-x: hidden;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .steps-wrapper2 {
        display: flex !important; /* Changed for slider */
        grid-template-columns: none !important;
        gap: 0 !important;
        margin-top: 40px;
        padding: 0 !important;
        width: 100%;
    }

    .progress-line-track2 {
        display: none;
        /* Progress bar usually feels broken on mobile vertical scroll */
    }

    .step-mask2 {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 0 15px;
        box-sizing: border-box;
        scroll-snap-align: center;
    }

    .sticky-box2::-webkit-scrollbar {
        display: none;
    }

    .step-inner2 {
        opacity: 1 !important;
        /* Fully visible for mobile readability */
        transform: none !important;
        text-align: center;
        padding: 30px 20px;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #c1c1c1;
        height: 300px;
    }

    .big-number2 {
        font-size: 4rem !important;
        display: block;
        margin-bottom: 10px;
    }
}

/* --- SMALL MOBILE FIXES --- */
@media (max-width: 480px) {
    .big-number2 {
        font-size: 3rem !important;
    }

    .step-inner2 {
        padding: 20px 15px;
    }
}

/* OUR PROCESS ENDS */