/* =========================================
   Global Styles
   ========================================= */



body.service-page-body {
     font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 12%);
    overflow-x: hidden;
}

:root {
  --timeline-grey: #e6ecf5;
  --primary-blue: #0d6efd;
  --dark-navy: #0b1536;
  --text-muted: black;
  --light-bg: #f8faff;
  --border-soft: #edf2f7;
}



.custom-container {
    /* max-width: 1000px; */
    margin: 0 auto;
}

.layout-wrapper {
    position: relative;
    width: 100%;
}

/* =========================================
   Image Box & Cutouts (Shared)
   ========================================= */
.image-box {
    position: relative;
    /* width: 100%; */
    /* height: 500px; */
    border-radius: 20px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Faking the inverted corners with background-matching shapes */


/* =========================================
   Desktop Layout: Glassmorphism Overlay
   ========================================= */
.stats-card {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    backdrop-filter: blur(12px);           /* Frosted glass blur */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25); /* Subtle light border */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
}

.stats-grid1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.stat-item {
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Inner borders for the desktop 2x2 grid */
.cell-1 { border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.cell-2 { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.cell-3 { border-right: 1px solid rgba(255, 255, 255, 0.2); }

/* Typography */
.stat-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Helps text pop on glass */
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

/* =========================================
   Custom Blue Interlocking Icon
   ========================================= */
.custom-brand-icon {
    position: relative;
    width: 55px;
    height: 55px;
}

.icon-circle-main {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: #007aff;
    border-radius: 50%;
    z-index: 2;
}

.icon-circle-offset {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: transparent;
    border: 4px solid #007aff;
    border-radius: 50%;
    z-index: 1;
}

/* =========================================
   NEW: Paragraph / Description Section
   ========================================= */
.description-section {
    margin-top: 60px; /* Space between the image/card and the text */
    /* text-align: center; */
    /* padding: 0 15px; */
}

.desc-title {
    font-size: 40px;
    font-weight: 600;
    color: #27cac9;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.desc-text {
    font-size: 18px;
    line-height: 1.7;
     color: black;  
    /* max-width: 850px;  */
    margin: 0 auto;
}







/* =========================================
   Mobile Layout (Stacked + Gradient Card)
   ========================================= */
@media (max-width: 768px) {
    .image-box {
        height: 250px; /* Shorter image on mobile */
    }

    .corner-cutout {
        width: 35px;
        height: 35px;
    }

    /* Change from absolute overlay to stacked relative element */
    .stats-card {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 15px; /* Spacing below the image */
        
        /* Apply the metallic/frosted solid gradient seen in the mobile screenshot */
        background: linear-gradient(180deg, #e2e6eb 0%, #bac0c7 50%, #e2e6eb 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    /* Change grid to 1 Column */
    .stats-grid1 {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 40px 20px;
    }

    /* Update borders for mobile 1x4 stack */
    .cell-1, .cell-2, .cell-3 {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .stat-value {
        font-size: 3.5rem; /* Larger text for mobile impact */
    }
    
    .stat-label {
        font-size: 1.1rem;
    }

    /* Mobile adjustments for the paragraph */
    .description-section {
        margin-top: 40px;
    }

    .desc-title {
        font-size: 1.5rem;
    }

    .desc-text {
        font-size: 18px;
        text-align: center; /* Keeps it neatly stacked on mobile */
    }
}





/* =========================================
   Top Section: Benefits Content
   ========================================= */
.section-title {
    color: black;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #e6f0ff;
    color: #27cac9;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

/* =========================================
   Desktop Timeline Mechanics
   ========================================= */
.timeline-wrapper {
    position: relative;
    padding-top: 10px; 
}

/* 1. The Horizontal Line */
.timeline-track {
    position: absolute;
    top: 18px; /* Perfectly aligns through the center of the nodes */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--timeline-grey);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 15px; /* Replaces bootstrap g-4 to keep tight control */
}

/* 2. Mechanics Container (Connects without gaps) */
.timeline-mechanics {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 0; /* Forces connector to touch the card directly */
}

/* 3. The Nodes */
.node {
    width: 16px;
    height: 16px;
    background-color: var(--timeline-grey);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Active Highlight Node */
.node.active {
    background-color: #ffffff;
    border: 1px solid var(--timeline-grey);
    width: 32px;
    height: 32px;
    margin-top: -8px; 
    margin-bottom: -8px; /* Normalizes height to keep baseline identical */
}

.node.active .inner-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

/* 4. The Vertical Connector (Touches node and card perfectly) */
.vertical-connector {
    width: 1px;
    height: 40px; 
    background-color: var(--timeline-grey);
    z-index: 2;
}

/* =========================================
   Card Design
   ========================================= */
.process-card-new {
    background-color: var(--light-bg);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 35px 25px;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 4; /* Must be higher than timeline to cover lines on mobile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

.card-header-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* Double Semi-Circle Icon */
.badge-icon {
    display: flex;
    gap: 2px;
}

.half-circle {
    width: 16px;
    height: 32px;
    background-color: #27cac9;
}

.half-circle.left {
    border-radius: 32px 0 0 32px;
}

.half-circle.right {
    border-radius: 32px 0 0 32px; 
    opacity: 0.8;
}

/* Badge Pill */
.step-badge {
    background-color: #ffffff;
    color: var(--dark-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.card-title {
    color: var(--dark-navy);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Mobile & Tablet: Vertical Centered Timeline
   ========================================= */
@media (max-width: 991px) {
    
    .section-title { font-size: 30px; }
    
    .timeline-wrapper {
        padding-top: 0;
    }

    /* Keep the horizontal line at the very top */
    .timeline-track {
        top: 16px;
    }

    /* Generate a continuous central vertical line */
    .timeline-wrapper::before {
        content: '';
        position: absolute;
        top: 16px; /* Starts exactly at the horizontal line */
        bottom: 0; /* Goes to the bottom of the section */
        left: 50%;
        width: 1px;
        background-color: var(--timeline-grey);
        transform: translateX(-50%);
        z-index: 1;
    }

    /* Hide the individual connectors, the ::before line handles it */
    .vertical-connector {
        display: none;
    }

    /* Hide nodes 2, 3, and 4 to match mobile design image */
    .timeline-item:not(:first-child) .node {
        display: none;
    }

    /* Spacing between the vertically stacked items */
    .timeline-item {
        margin-bottom: 35px; /* This exposes the vertical line between cards */
    }

    /* Spacing between the top node and the first card */
    .timeline-item:first-child .timeline-mechanics {
        margin-bottom: 35px;
    }

    /* Ensure cards are centered and cover the vertical line */
    .process-card-new {
        margin: 0 auto;
        max-width: 420px; /* Keep them neat on tablets and phones */
    }
}


.custom-container {
 
    margin: 0 auto;
    padding: 20px;
}

/* =========================================
   Images Styling
   ========================================= */
.image-wrapper {
    width: 100%;
    /* Fixed height ensures all images align perfectly regardless of original dimensions */
    height: 240px; 
    border-radius: 16px;
    overflow: hidden;
    /* Optional: Subtle shadow to match standard modern UI aesthetics */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
}

.custom-img {
    width: 100%;
    height: 100%;
    /* Object-fit cover ensures the image fills the box without stretching */
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Optional gentle hover effect */
.image-wrapper:hover .custom-img {
    transform: scale(1.03);
}

/* =========================================
   Text Styling
   ========================================= */
.description-text {
    font-size: 18px;
    line-height: 1.7;
    color: black; /* Soft grey matching the image */
    margin: 0;
    text-align: justify; /* Aligns both left and right edges smoothly */
    padding-top: 10px;
}

/* =========================================
   Responsive Adjustments
   ========================================= */

/* Tablet & Mobile Adjustments */
@media (max-width: 768px) {
    .image-wrapper {
        height: 280px; /* Make images slightly taller on mobile for better visibility */
    }
    
    .description-text {
        font-size: 0.9rem;
        text-align: left; /* Justify can look weird on very small screens */
    }
}

@media (max-width: 576px) {
    .image-wrapper {
        height: 220px;
    }
}


.social-proof-section {
            background-color: #ffffff;
            padding: 40px 20px;
            width: 100%;
        }

        .content-wrapper {
            max-width: 1305px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 40px;
        }

        /* =========================================
           Trustpilot Block Styles
           ========================================= */
        .trust-block {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0; /* Prevents Trustpilot block from shrinking */
            z-index: 10;
            background: #ffffff; /* Ensures scrolling logos slide behind it cleanly on smaller screens */
        }

        /* Overlapping Avatars */
        .avatar-group {
            display: flex;
        }

        .avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid #ffffff;
            object-fit: cover;
            margin-left: -16px;
            background-color: #e9ecef;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            position: relative;
        }

        .avatar:first-child { margin-left: 0; z-index: 4; }
        .avatar:nth-child(2) { z-index: 3; }
        .avatar:nth-child(3) { z-index: 2; }
        .avatar:nth-child(4) { z-index: 1; }

        .trustpilot-brand {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .trustpilot-text {
            font-size: 1.15rem;
            font-weight: 700;
            color: #000032;
            line-height: 1;
        }

        .trustpilot-stars {
            color: #ff3722;
            font-size: 1.35rem;
            line-height: 1;
            letter-spacing: 2px;
            margin-top: 4px;
        }

        /* =========================================
           Animated Logos Block (Marquee)
           ========================================= */
        .logos-carousel {
            flex-grow: 1;
            overflow: hidden;
            /* Optional: Creates a fade-out effect on the left and right edges */
            -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
            mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        }

        .logos-track {
            display: flex;
            width: max-content;
            /* 20s controls the speed. Change to 15s for faster, 30s for slower */
            animation: scroll-left 20s linear infinite; 
        }

        /* Pause animation when user hovers over the logos */
        .logos-carousel:hover .logos-track {
            animation-play-state: paused;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 50px; /* Space between individual logos */
            padding-right: 50px; /* Crucial: Matches gap so the loop is perfectly seamless */
        }

        .company-logo svg {
            height: 32px;
            width: auto;
            fill: #1a1a1a;
            display: block;
        }

        /* The Animation Keyframes */
        @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }
            100% {
                /* Shifts exactly half the width of the track (one full logo group) */
                transform: translateX(-50%); 
            }
        }

        /* =========================================
           Responsive Breakpoints
           ========================================= */
        @media (max-width: 991px) {
            .content-wrapper {
                flex-direction: column;
                gap: 30px;
            }
            
            .logos-carousel {
                width: 100%; /* Take full width on mobile/tablet */
                -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
                mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            }
        }

        @media (max-width: 768px) {
            .social-proof-section {
                padding: 30px 15px;
            }
            .trust-block {
                flex-direction: column;
                text-align: center;
                gap: 12px;
            }
            .avatar-group {
                justify-content: center;
            }
            .company-logo svg {
                height: 28px;
            }
            .logo-group {
                gap: 40px;
                padding-right: 40px;
            }
        }



        .faq-section-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.custom-container-new {
    /* background-color: #f7f9ff; */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); 
    max-width: 90%;
}

/* =========================================
   Typography & Headers
   ========================================= */
.faq-title {
    color: #1a1e2d; 
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* =========================================
   Custom Accordion Styling - FIXING BOOTSTRAP DEFAULTS
   ========================================= */

/* Remove outer borders completely */
.custom-accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-bg: transparent;
}

.custom-accordion .accordion-item {
    border: none !important; /* Forces outer border removal */
    border-bottom: 1px solid #e2e8f0 !important; /* Keeps only the bottom line */
    background-color: transparent !important;
}

/* Default Accordion Button Styling */
.custom-accordion .accordion-button {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1e2d;
    background-color: transparent !important; /* Forces transparent background always */
    padding: 1.25rem 0; /* Aligns text perfectly to the left */
    box-shadow: none !important; /* Removes focus rings */
}

/* OVERRIDE: Active/Open Button State */
.custom-accordion .accordion-button:not(.collapsed) {
    color: #27cac9 !important; /* Turns text blue */
    background-color: transparent !important; /* STOPS the default blue background */
    box-shadow: none !important;
}

/* Remove default Bootstrap arrow */
.custom-accordion .accordion-button::after {
    display: none !important; 
}

/* Add Custom Double Chevron Icons */
.custom-accordion .accordion-button::before {
    content: '';
    position: absolute;
    right: 0;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* Closed State: Double Chevron Right (Dark) */
.custom-accordion .accordion-button.collapsed::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1e2d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='13 17 18 12 13 7'%3E%3C/polyline%3E%3Cpolyline points='6 17 11 12 6 7'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Open State: Double Chevron Down (Blue) */
.custom-accordion .accordion-button:not(.collapsed)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1e2d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 13 12 18 17 13'%3E%3C/polyline%3E%3Cpolyline points='7 6 12 11 17 6'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Accordion Body Text */
.custom-accordion .accordion-body {
    padding: 0 0 1.5rem 0; 
    color: black; 
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   Right Side Image Styling
   ========================================= */
.faq-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.faq-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    min-height: 400px;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 991px) {
    .faq-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem !important;
    }

    .pe-lg-5 {
        padding-right: 0 !important;
    }

    .faq-image-wrapper {
        margin-top: 1rem;
    }
    
    .faq-img {
        min-height: 300px;
    }
}


 .facts-section {
  padding: 50px 20px;
  background: #fff;
}

.facts-container {
  max-width: 1486px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.fact-box {
  flex: 1 1 180px;
  text-align: center;
}

.fact-box h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.fact-box p {
  font-size: 18px;
  color: black;
  margin: 0;
}