﻿body {
    font-family: 'Poppins', sans-serif;
}

html, body {
    overflow-x: hidden;
}



:root {
    --home-max-width: 1200px;
    --home-gutter-desktop: 0px;
    --home-gutter-mobile: 16px;
}

.home-page-main .home-content-shell {
    max-width: var(--home-max-width) !important;
    margin-left: auto;
    margin-right: auto;
    width: min(var(--home-max-width), calc(100% - (var(--home-gutter-desktop) * 2)));
    padding-left: 0;
    padding-right: 0;
}

.home-page-main .hero-inner.home-content-shell,
.home-page-main .journey-cards-container.home-content-shell,
.home-page-main .content.home-content-shell,
.stats-container,
.stats-orange-line {
    width: min(var(--home-max-width), calc(100% - (var(--home-gutter-desktop) * 2)));
    margin-left: auto;
    margin-right: auto;
}
 



.hero-section {
    padding-top:300px;
    padding-bottom:300px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* VIDEO BACKGROUND */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* DARK OVERLAY (MATCH IMAGE DEPTH) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(5, 10, 25, 0.45);
}

/* MAIN LAYOUT */
.hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

/* LEFT CONTENT */
.hero-left {
    max-width: 900px;
    color: #ffffff;
}

    /* HEADING */
    .hero-left h1 {
        font-size: 75px;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 20px;
    }

        /* ORANGE TEXT */
        .hero-left h1 span {
            color: #fe982c;
        }

    /* PARAGRAPH */
    .hero-left p {
        font-size: 18px;
        line-height: 1.8;
        color: #ffffff;
        margin-bottom: 30px;
        max-width: 800px;
    }

/* BUTTON */
.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s ease;
    border-radius: 30px;
}

    .hero-btn:hover {
        background: #fe982c;
        border-color: #fe982c;
        color: #000;
    }

/* RIGHT SIDE (EMPTY VISUAL SPACE LIKE IMAGE) */
.hero-right {
    flex: 1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-left h1 {
        font-size: 42px;
    }
}

@media (max-width: 576px) {
    .hero-inner {
        flex-direction: column;
        justify-content: center;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-left h1 {
        font-size: 34px;
    }

    .hero-right {
        display: none;
    }
}



/* Stats Section */

.stats-section {
    position: relative;
    margin-top: -80px; /* KEY: overlaps hero */
    z-index: 10;
    display: flex;
    justify-content: center;
}
/* Centered bottom line */
.stats-orange-line {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: #fe982c;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(254, 152, 44, 0.35);
}

.stats-container {
    background: #ffffff;
    border-radius: 34px 34px 0 0;
    padding:30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Individual Stat Box */
.stat-box {
    flex: 1;
    text-align: center;
    position: relative;
}

    /* Divider Lines */
    .stat-box:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 40%;
        width: 1px;
        background: #e6e6e6;
    }

    /* Number */
    .stat-box h2 {
        font-size: 42px;
        font-weight: 800;
        color: #0b1320;
        margin-bottom: 8px;
    }

    /* Description */
    .stat-box p {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

/* Responsive */
@media (max-width: 992px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-box {
        flex: 1 1 45%;
    }

        .stat-box:not(:last-child)::after {
            display: none;
        }
}

@media (max-width: 576px) {
    .stat-box {
        flex: 1 1 100%;
    }

    .stats-section {
        margin-top: -40px;
    }
}

/*  Services Section  */
.services-section{
    margin-top:40px;
    margin-bottom:40px;
}
/* 1. SECTION HEADINGS */
    .services-section h1 {
        font-size: 72px;
    }

    .services-section h1 span {
        color: #ff7a00; /* Matching the orange in the image */
    }

/* 2. THE GRID & CARDS */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 20px;
    
    padding: 10px;
}

.service-tab {
    background: #f8f8f8; /* Very light grey/white background */
    border: 1px solid #f0f0f0;
    border-radius: 30px; /* Highly rounded corners from image */
    padding: 40px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .service-tab img {
        width: 50px;
        height: auto;
        margin-bottom: 15px;
        /* This filter makes a black icon appear orange (#ff7a00) */
        filter: invert(53%) sepia(88%) saturate(1800%) hue-rotate(350deg) brightness(100%) contrast(105%);
    }

    .service-tab h6 {
        
        font-size: 1rem;
        color: #000;
        margin: 0;
        line-height: 1.2;
    }
    .service-tab h6 b {
        font-weight:800;
        font-size: 1rem;
        color: #000;
        margin: 0;
        line-height: 1.2;
    }

    /* 3. ACTIVE STATE (The Orange Card) */
    .service-tab.active {
        background-color: #ff7a00;
        border-color: #ff7a00;
        
        transform: translateY(-5px); /* Slight lift effect */
    }

        .service-tab.active h6 {
            color: #fff; /* Text turns white */
        }

        .service-tab.active img {
            /* This filter turns the icon completely white */
            filter: brightness(0) invert(1);
        }

/* 4. CONTENT AREA (Right Side) */
#detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#detail-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6c757d;
}

/* 5. TECH STACK ICONS */
.tech-stack-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

    .tech-stack-wrapper img {
        height: 35px; /* Size of technology logos */
        width: auto;
        object-fit: contain;
    }

/* 6. BUTTON STYLE */
.btn-read-more {
    border: 2px solid #fe982c;
    color: #000;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    background: transparent;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

    .btn-read-more:hover {
        background: #fe982c;
        color: #fe982c;
    }

/*.btn-outline-orange {
    border: 2px solid #fe982c;
    color: #fe982c;

    background: transparent;
    transition: 0.3s ease;
}

    .btn-outline-orange:hover {
        background: #fe982c;
        color: #ffffff;
    }*/
.btn-outline-orange {
    border: 2px solid #fe982c;
    color: #fe982c;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 12px 35px;
}

    .btn-outline-orange:hover {
        background: #fe982c;
        color: #fff !important;
        border-color: #fe982c;
        text-decoration: none;
    }
/* 7. SWIPER NAVIGATION ARROWS */
.swiper-button-next, .swiper-button-prev {
    color: #ff7a00;
    background: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top:auto;
}

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 18px;
        font-weight: bold;
    }

.serviceSwiper {
    padding-bottom: 60px;
}

.custom-dots {
    bottom: 10px !important;
    text-align: center;
}

    .custom-dots .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #999;
        opacity: 1;
        margin: 0 6px !important;
        transition: all 0.3s ease;
    }

    .custom-dots .swiper-pagination-bullet-active {
        background: #fe982c;
        width: 22px;
        border-radius: 10px;
    }

/*.service-arrows {
    
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    display: flex;
    gap: 12px;
    z-index: 4;
}

.service-arrows .custom-arrow {
    position: static;
    margin-top: 0px;
}
*/
/* 8. RESPONSIVENESS */
@media (max-width: 992px) {
    .service-grid {
        margin-top: 20px;
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    .service-arrows {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
    }
}

@media (max-width: 576px) {
    .service-grid {
        margin-top: 20px;
        grid-template-columns: 1fr; /* 1 column on phones */
    }

    .service-arrows {
        bottom: -34px;
        gap: 10px;
    }

    .service-arrows .custom-arrow {
        width: 40px;
        height: 40px;
    }
}

/* Industry Section */

.industries-section{
    margin-top:30px;
}


/* Accordion Styling */
.industry-accordion {
    border-top: 5px solid #eee;
}

.accordion-item-custom {
    border-bottom: 5px solid #eee;
    padding: 30px 0;
    transition: all 0.4s ease;
}

.accordion-header-custom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.industry-name {
    font-size: 1.8rem;
    font-weight: 800;
    width: 30%;
    margin: 0;
    transition: all 0.4s ease;
}

/*.industry-short-desc {
    width: 60%;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;*/
    /* Hidden by default, shown when active */
    /*display: none;
}*/
.industry-short-desc {
    width: 60%;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 28px;
    overflow: hidden;
    opacity: 0.7;
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(5px);
}

/* Toggle Icon (+ / -) */
.icon-toggle {
    width: 30px;
    height: 30px;
    position: relative;
}

    .icon-toggle::before, .icon-toggle::after {
        content: '';
        position: absolute;
        background-color: #000;
        transition: 0.3s;
    }

    /* Horizontal Line */
    .icon-toggle::before {
        width: 24px;
        height: 4px;
        top: 13px;
        right: 0;
    }

    /* Vertical Line (Makes it a Plus) */
    .icon-toggle::after {
        width: 4px;
        height: 24px;
        top: 3px;
        right: 10px;
    }
.accordion-item-custom {
    border-bottom: 5px solid #eee;
    padding: 30px 0;
    transition: background 0.4s ease, padding 0.4s ease, transform 0.4s ease;
}

    .accordion-item-custom.active {
        transform: translateX(10px);
    }

/* ACTIVE STATE */
        .accordion-item-custom.active .industry-name {
            color: #ff7a00;
            transform: translateX(10px);
        }

/*.accordion-item-custom.active .industry-short-desc {
    display: block;
}*/
.accordion-item-custom.active .industry-short-desc {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.accordion-item-custom.active .icon-toggle::after {
    transform: rotate(90deg);
    opacity: 0; /* Hides vertical line to make it a Minus */
}

.accordion-item-custom.active .icon-toggle::before {
    background-color: #ff7a00; /* Minus sign turns orange */
}

/* Journey Section */

/* Header Background */
.journey-header {
    background: url('/img-icon-banner-footer/pak-f/banner1.jpg') no-repeat center center;
    background-size: cover;
    min-height: 350px;
}


.heading-spacing {
    line-height: 1.5;
}
/* Overlap Container */
.journey-cards-container {
    margin-top: -120px; /* Pulls the cards up into the dark area */
    padding-bottom: 80px;
}

/* Individual Cards */
.journey-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

    .journey-card:hover {
        transform: translateY(-10px);
    }

/* Icon Blob Style */
.icon-blob-wrapper {
    width: 100px;
    height: 100px;
    border: 4px solid #f0f0f0;
    background: #ffffff; /* Very light orange tint */
    border-radius: 50%; /* You can use border-radius: 40% 60% 70% 30% / 40% 50% 60% 50% for a blob shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

    .icon-blob-wrapper img {
        width: 40px;
        height: auto;
        filter: invert(62%) sepia(85%) saturate(452%) hue-rotate(345deg) brightness(101%) contrast(101%); /* Matches #fe982c */
    }

/* Explore Button */
.btn-explore {
    border: 2px solid #fe982c;
    color: #fe982c;
    background: transparent;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

    .btn-explore:hover {
        background: #fe982c;
        color: #fff !important;
        border-color: #fe982c;
        text-decoration: none;
    }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .journey-cards-container {
        margin-top: -50px;
    }
}


/* Blogs Section (Pinned Scroll) */
.blog-section {
    background: #ffffff;
    padding: 0;
}

.blog-section.pinned-scroll-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.blog-section.pinned-scroll-section.is-pinned {
    position: sticky;
    top: 0;
    z-index: 4;
}

.blog-section.pinned-scroll-section .home-content-shell {
    height: 100%;
}

.blog-section.pinned-scroll-section .blog-layout {
    display: flex;
    gap: 56px;
    align-items: flex-start;
    height: 100%;
    padding: 64px 0;
}

.blog-section.pinned-scroll-section .blog-left {
    flex: 0 0 40%;
    min-width: 320px;
}

.blog-section.pinned-scroll-section .sticky-wrapper {
    position: sticky;
    top: 92px;
    padding-right: 12px;
}

.blog-left h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #101010;
}

.blog-left h1 span {
    color: #fe982c;
}

.blog-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #6f6f6f;
    margin-bottom: 30px;
    max-width: 530px;
}

.btn-blog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 999px;
    border: 2px solid #fe982c;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-blog:hover {
    background: #fe982c;
    border-color: #fe982c;
    color: #ffffff;
}

.section-tag {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #717171;
    margin-bottom: 10px;
}

.blog-section.pinned-scroll-section .blog-right {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.blog-section.pinned-scroll-section .blog-scroll-container {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: auto;
    padding-right: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-section.pinned-scroll-section .blog-scroll-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ======================================================
   BLOG CARD STYLE
====================================================== */

.blog-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-post-card {
    margin-bottom: 38px;
}

/* Image wrapper */
.blog-image-wrap {
    overflow: hidden;
    border-radius: 25px;
}

    .blog-image-wrap img {
        width: 100%;
        display: block;
        transition: transform 0.6s ease;
    }

/* hover effect */
.blog-post-card:hover img {
    transform: scale(1.07);
}

/* Title */
.blog-post-card h3 {
    font-size: 1.2rem;
    font-weight:900;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height:30px;
    color: #111;
    transition: 0.3s ease;
}

.blog-post-card:hover h3 {
    color: #fe982c;
}

/* Date */
.blog-post-date {
    font-size: 14px;
    color: #777;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 991px) {
    .blog-section.pinned-scroll-section {
        height: auto;
        overflow: visible;
    }

    .blog-section.pinned-scroll-section.is-pinned {
        position: relative;
        top: auto;
    }

    .blog-section.pinned-scroll-section .home-content-shell {
        height: auto;
    }

    .blog-section.pinned-scroll-section .blog-layout {
        display: block;
        height: auto;
        padding: 48px 0;
        gap: 0;
    }

    .blog-section.pinned-scroll-section .blog-left,
    .blog-section.pinned-scroll-section .blog-right {
        width: 100%;
        min-width: 0;
        height: auto;
    }

    .blog-section.pinned-scroll-section .sticky-wrapper {
        position: static;
        top: auto;
        padding-right: 0;
        margin-bottom: 28px;
    }

    .blog-section.pinned-scroll-section .blog-scroll-container {
        height: auto;
        overflow: visible;
        padding-right: 0;
    }
}
/* Testemonials  */

/* =========================
   TESTIMONIAL SECTION BASE
========================= */

.testimonial-section {
    position: relative;
    padding: 84px 0 120px;
    background-image: url('/img-icon-banner-footer/pak-f/test.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

    .testimonial-section .content {
        position: relative;
        z-index: 2;
        text-align: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
    }

    /* =========================
   HEADER
========================= */

    .testimonial-section .section-label {
        color: rgba(255,255,255,0.85);
        letter-spacing: 2px;
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .testimonial-section .section-title {
        font-size: 56px;
        font-weight: 800;
        margin-bottom: 42px;
        line-height: 1;
        color: #fff;
    }

        .testimonial-section .section-title span {
            color: #ff7a00;
        }

    /* =========================
   SWIPER WRAPPER
========================= */

    .testimonial-section .swiper {
        padding-top: 22px;
        padding-bottom: 46px;
    }

    /* =========================
   CARD DESIGN
========================= */

    .testimonial-section .card {
        width: 360px;
        max-width: 92%;
        height: 430px;
        background: #ffffff;
        color: #333;
        border-radius: 8px;
        padding: 38px 24px 30px;
        position: relative;
        transition: all 0.6s cubic-bezier(.22,.9,.3,1);
    }

    /* Quote */
    .testimonial-section .card-quote {
        font-size: 0.98rem;
        line-height: 1.65;
        color: #6b6b6b;
        margin-bottom: 20px;
    }

    /* Divider */
    .testimonial-section .card-divider {
        height: 1px;
        background: #eee;
        margin: 14px 0 18px;
    }

    /* Author */
    .testimonial-section .card-author {
        display: flex;
        padding-top:20px;
        align-items: center;
        justify-content:center;
        gap: 12px;
    }

    .testimonial-section .author-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #252034;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 700;
    }

    .testimonial-section .author-info .name {
        color: #ff7a00;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .testimonial-section .author-info .role {
        color: #919191;
        font-size: 0.82rem;
    }

    /* =========================
   3D SLIDE EFFECTS
========================= */

    .testimonial-section .swiper-slide .card {
        transform: scale(0.93);
        opacity: 0.95;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

    .testimonial-section .swiper-slide-active .card {
        transform: scale(1) translateY(-8px);
        box-shadow: 0 30px 50px rgba(0,0,0,0.28);
        z-index: 3;
    }

    .testimonial-section .swiper-slide-prev .card {
        transform: perspective(1000px) rotateY(10deg) scale(0.98);
    }

    .testimonial-section .swiper-slide-next .card {
        transform: perspective(1000px) rotateY(-10deg) scale(0.98);
    }

    /* Hide far slides */
    .testimonial-section .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) .card {
        opacity: 0;
        transform: scale(0.85);
        pointer-events: none;
    }

    /* =========================
   PAGINATION (FIXED + CLEAN)
========================= */

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 20px;
    height: 8px;
    background: #fe982c;
    border-radius: 20px;
    transform: scale(1.2);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .testimonial-section .section-title {
        font-size: 44px;
    }

    .testimonial-section .card {
        width: 320px;
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .testimonial-section {
        padding: 36px 0 60px;
    }

        .testimonial-section .section-title {
            font-size: 28px;
        }

        .testimonial-section .swiper-slide .card {
            transform: none !important;
            opacity: 1 !important;
        }

        .testimonial-section .swiper-pagination {
            margin-top: 12px;
        }
}
.testimonialSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}
/*ToolKit section */

/* ── Section wrapper ── */
/*.toolkit-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #fff;
}*/

/* ── Heading ── */
/*.toolkit-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin-bottom: 6px;
}

.toolkit-title {
    font-size: 55px;
    font-weight: 900;
    color: #111;
    margin-bottom: 40px;
}

    .toolkit-title span {
        color: #f90;
    }*/

/* ── Slider container (clips the overflow) ── */
/*.toolkit-section .slider-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}*/

    /* Fade edges */
/*.toolkit-section .slider-container::before,
.toolkit-section .slider-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
        z-index: 2;
        pointer-events: none;
    }*/



/* ── Sliding track ── */
/*.toolkit-section .slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: slide-left 50s linear infinite;
}*/

/* Second row slides in opposite direction */
/*.toolkit-section .slider-container:nth-of-type(2) .slider-track {
    animation: slide-right 50s linear infinite;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}*/

/* Pause on hover */
/*.toolkit-section .slider-container:hover .slider-track {
    animation-play-state: paused;
}*/

/* ── Individual logo card ── */
/*.toolkit-section .slider-item {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;*/
    /*transition: box-shadow 0.2s, border-color 0.2s;*/
    /*padding: 16px;
}

.toolkit-section .slider-item:hover {*/
        /*box-shadow: 0 4px 18px rgba(0,0,0,0.08);*/
        /*border-color: #f90;
    }

.toolkit-section .slider-item img {
        max-width: 100%;
        max-height: 56px;
        object-fit: contain;
    }

@media (max-width: 991px) {
    .home-page-main .home-content-shell {
        padding-left: var(--home-gutter-mobile);
        padding-right: var(--home-gutter-mobile);
    }

    .home-page-main .home-content-shell,
    .home-page-main .hero-inner.home-content-shell,
    .home-page-main .journey-cards-container.home-content-shell,
    .home-page-main .content.home-content-shell {
        width: calc(100% - (var(--home-gutter-mobile) * 2));
    }

    .stats-container,
    .stats-orange-line {
        width: calc(100% - (var(--home-gutter-mobile) * 2));
    }

    .blog-scroll-container {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}*/
 

/*After Service Section*/
.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

.agency-background-pic {
    background-color: #f8f8f8;
}

.about-parent-div {
    padding-top: 120px;
    padding-bottom: 170px;
}

.home-line1 {
    opacity: 1;
    border: 1px solid rgb(235, 151, 58);
}

.about-paragraph-text {
    font-size: 16px;
    color: gray;
    text-align: justify;
}

.about-slider-container {
    border: 1px solid red;
    overflow-x: auto;
}


.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0 90px;
    
    flex-wrap: nowrap;
}

.logo-box {
    width: 149.25px;
    height: 100px;
    background-color: white;
    border: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

    .logo-box:hover {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .logo-box img {
        max-width: 80%;
        max-height: 60%;
        object-fit: contain;
    }

@media (max-width: 600px) {
    .logo-box {
        width: 140px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .large-heading {
        font-size: 1.8rem;
    }
}

.large-heading {
    font-size: 2rem;
    font-weight: 700;
    color: black;
}

.slider-container {
    overflow: hidden;
    /*    white-space: nowrap;*/
    box-sizing: border-box;
    margin-top: 10px;
    width: 100%;
}

.slider-track {
    display: inline-flex;
    gap: 10px;
    animation: scroll 30s linear infinite;
}


.slider-item {
    /*    padding: 0 2rem;*/
    border-bottom: 2px solid rgb(229, 229, 229);
    margin-left: 0px;
    font-size: 30px;
    width: max-content !important;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slider-container:nth-child(2) .slider-track {
    animation: scroll-reverse 35s linear infinite;
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}
/* Container to hold the stacked images */
.image-stack-container {
    position: relative;
    height: 500px; /* Adjust height based on your design */
    width: 100%;
}

/* Base style for image containers to ensure zoom stays inside */
.img-wrapper {
    overflow: hidden;
    border-radius: 8px; /* Optional: adds rounded corners */
}

/* Positioning the large background image */
.main-img-pos {
    width: 90%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

/* Positioning the smaller foreground image */
.sub-img-pos {
    height:60%;
    width: 80%;
    position: absolute;
    left: 0;
    bottom: -250px;
    z-index: 2;
    border: 6px solid #fff; /* Creates the white frame look in your screenshot */
}

/* The Zoom Effect */
.custom-zoom {
    transition: transform 0.5s ease;
    cursor: pointer;
    width: 100%;
    display: block;
}

    .custom-zoom:hover {
        transform: scale(1.1); /* Zooms in by 10% */
    }

/* Responsive fix for small screens */
@media (max-width: 768px) {

    .image-stack-container {
        padding-top:25px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .main-img-pos, .sub-img-pos {
        position: static;
        width: 100%;
        border: none;
    }
}
/* Initial hidden state */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

    /* When visible */
    .animate-on-scroll.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Optional: different delays for stagger effect */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}


/* Toolkit Section */

.toolkit-section {
    margin: 0 auto;
    padding-top:80px;
    padding-bottom:130px;
    overflow: hidden;
}

.site-heading {
    margin-bottom: 60px;
}

.title {
    font-weight: 600;
    font-size: 42px;
    line-height: 1.2;
}
.title span {
    color: #f90;
}

.sub-heading {
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #df0a0a 0%, #0b57e3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.site-heading .devider {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #fe982c;
    position: relative;
    left: 10px;
    vertical-align: middle;
}

    .site-heading .devider::before {
        content: "";
        position: absolute;
        left: -15px;
        top: 0;
        width: 10px;
        height: 2px;
        background: #fe982c;
    }

/* Slider */

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.second-row {
    margin-top: 5px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 3px;
    width: max-content;
}

    .slider-wrapper.scroll-left {
        animation: scrollLeft 30s linear infinite;
    }

    .slider-wrapper.scroll-right {
        animation: scrollRight 30s linear infinite;
    }

.tool-item {
    flex: 0 0 207px;
    width: 207px;
    height: 73px;
    background: #ffffff;
    border: 1px solid #dddddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* First row: right to left */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Second row: left to right */
@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.slider-container:hover .slider-wrapper {
    animation-play-state: paused;
}

.client-avatar h4 {
    margin-top: 25px;
}

/* ===============================
   MOBILE / TABLET OPTIMIZATION
   Add this at the end of your CSS
================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.home-page-main .home-content-shell,
.home-page-main .hero-inner.home-content-shell,
.home-page-main .journey-cards-container.home-content-shell,
.home-page-main .content.home-content-shell,
.stats-container,
.stats-orange-line {
    width: calc(100% - 32px);
    max-width: var(--home-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Tablet */
@media (max-width: 991px) {
    body {
        font-size: 15px;
    }

    .hero-section {
        height: auto;
        min-height: 680px;
        padding: 150px 0 120px;
    }

    .hero-inner {
        align-items: center;
    }

    .hero-left {
        max-width: 100%;
    }

        .hero-left h1 {
            font-size: 48px;
            line-height: 1.15;
        }

        .hero-left p {
            font-size: 16px;
            line-height: 1.7;
            max-width: 100%;
        }

    .stats-section {
        margin-top: -60px;
    }

    .stats-container {
        border-radius: 24px 24px 0 0;
        padding: 28px 18px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-box {
        flex: 1 1 calc(50% - 20px);
    }

        .stat-box::after {
            display: none !important;
        }

        .stat-box h2 {
            font-size: 34px;
        }

    .services-section h1,
    .testimonial-section .section-title {
        font-size: 42px;
        line-height: 1.15;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .industry-name {
        width: 35%;
        font-size: 1.45rem;
    }

    .industry-short-desc {
        width: 55%;
    }

    .journey-header {
        min-height: 280px;
    }

    .journey-cards-container {
        margin-top: -70px;
        padding-bottom: 56px;
    }

    .about-parent-div {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .image-stack-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .main-img-pos,
    .sub-img-pos {
        position: static;
        width: 100%;
        height: auto;
        border: 0;
    }

    .toolkit-section {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .title {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .home-page-main .home-content-shell,
    .home-page-main .hero-inner.home-content-shell,
    .home-page-main .journey-cards-container.home-content-shell,
    .home-page-main .content.home-content-shell,
    .stats-container,
    .stats-orange-line {
        width: calc(100% - 24px);
    }

    .hero-section {
        min-height: 620px;
        padding: 120px 0 90px;
    }

    .hero-overlay {
        background: rgba(5, 10, 25, 0.58);
    }

    .hero-inner {
        display: flex;
        justify-content: center;
        text-align: left;
    }

    .hero-left h1 {
        font-size: 36px;
        line-height: 1.18;
        margin-bottom: 16px;
    }

    .hero-left p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .hero-btn,
    .btn-outline-orange,
    .btn-read-more,
    .btn-explore,
    .btn-blog {
        width: auto;
        max-width: 100%;
        padding: 11px 24px;
        font-size: 14px;
    }

    .stats-section {
        margin-top: -42px;
    }

    .stats-container {
        padding: 24px 16px;
        border-radius: 22px 22px 0 0;
    }

    .stat-box {
        flex: 1 1 100%;
        padding: 8px 0;
    }

        .stat-box h2 {
            font-size: 32px;
            margin-bottom: 4px;
        }

        .stat-box p {
            font-size: 13px;
            margin-bottom: 0;
        }

    .services-section {
        margin-top: 34px;
        margin-bottom: 34px;
    }

        .services-section h1,
        .blog-left h1,
        .testimonial-section .section-title {
            font-size: 32px;
            line-height: 1.15;
        }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-tab {
        border-radius: 20px;
        padding: 28px 14px;
    }

    #detail-title {
        font-size: 1.65rem;
    }

    #detail-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tech-stack-wrapper {
        gap: 14px;
    }

        .tech-stack-wrapper img {
            height: 30px;
        }

    .accordion-item-custom {
        padding: 22px 0;
        transform: none !important;
    }

    .accordion-header-custom {
        gap: 14px;
        align-items: flex-start;
    }

    .industry-name {
        width: auto;
        flex: 1;
        font-size: 1.25rem;
    }

    .industry-short-desc {
        width: 100%;
        font-size: 0.95rem;
        line-height: 1.65;
        text-align: left;
        max-height: 0;
        margin-top: 12px;
    }

    .accordion-header-custom {
        flex-wrap: wrap;
    }

    .icon-toggle {
        flex: 0 0 30px;
    }

    .accordion-item-custom.active .industry-short-desc {
        max-height: 600px;
    }

    .accordion-item-custom.active .industry-name {
        transform: none;
    }

    .journey-header {
        min-height: 240px;
    }

    .journey-cards-container {
        margin-top: -45px;
        padding-bottom: 44px;
    }

    .journey-card {
        border-radius: 22px;
        padding: 30px 20px;
    }

    .blog-section.pinned-scroll-section .blog-layout {
        padding: 42px 0;
    }

    .blog-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .blog-post-card {
        margin-bottom: 30px;
    }

    .blog-image-wrap {
        border-radius: 18px;
    }

    .blog-post-card h3 {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .testimonial-section {
        padding: 44px 0 64px;
    }

        .testimonial-section .card {
            width: 100%;
            max-width: 100%;
            height: auto;
            min-height: 360px;
            padding: 28px 20px;
        }

        .testimonial-section .card-quote {
            font-size: 0.92rem;
            line-height: 1.6;
        }

    .toolkit-section {
        padding-top: 46px;
        padding-bottom: 64px;
    }

    .site-heading {
        margin-bottom: 34px;
    }

    .title {
        font-size: 28px;
        line-height: 1.2;
    }

    .sub-heading {
        font-size: 13px;
    }

    .tool-item {
        flex-basis: 150px;
        width: 150px;
        height: 58px;
    }

    .slider-wrapper.scroll-left,
    .slider-wrapper.scroll-right {
        animation-duration: 22s;
    }

    .about-parent-div {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .large-heading {
        font-size: 1.55rem;
        line-height: 1.25;
    }

    .about-paragraph-text {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .logo-wrapper {
        gap: 12px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 50px;
        scrollbar-width: none;
    }

        .logo-wrapper::-webkit-scrollbar {
            display: none;
        }

    .logo-box {
        flex: 0 0 132px;
        width: 132px;
        height: 84px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 38px;
        height: 38px;
    }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 14px;
        }
}

/* Small phones */
@media (max-width: 380px) {
    .hero-left h1 {
        font-size: 31px;
    }

    .services-section h1,
    .blog-left h1,
    .testimonial-section .section-title {
        font-size: 28px;
    }

    .stat-box h2 {
        font-size: 28px;
    }

    .tool-item {
        flex-basis: 132px;
        width: 132px;
    }
}
