/* ====================================================== */
/*  GLOBAL FONT SETTINGS                                  */
/* ====================================================== */
body {
    font-family: "Plus Jakarta Sans", sans-serif;
}


/* ====================================================== */
/*  SERVICES HERO SECTION STYLES                          */
/* ====================================================== */
.services-hero-section {
    background-color: #121212; /* Very dark grey background */
     padding: 100px max(20px, calc((100% - 1150px) / 2));
    overflow: hidden; /* Ensures the illustration doesn't create scrollbars */
}

.services-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    align-items: center;
    gap: 60px;
}

/* --- Left Column: Text Content --- */
.hero-text-content {
    /* Styles for the text part */
}

.hero-tag {
    display: inline-block;
    color: #ccff00; /* Vibrant Lime Yellow */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-text-content h1 {
    font-size: 3.8rem; /* Large, impactful headline */
    font-family: "Plus Jakarta Sans", sans-serif;;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 25px 0;
}

/* This class is already in your CSS, but included here for completeness */
.highlight-text {
    color: #ccff00; /* Vibrant Lime Yellow */
    
}

.hero-text-content p {
    font-size: 1.4rem;
    color: #b0b0b0; /* Light grey for readability */
    line-height: 1.7;
    max-width: 500px; /* Constrain line length */
}

/* --- Right Column: Illustration --- */
.hero-illustration {
    text-align: center; /* Center the image within the column */
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
}

/* ====================================================== */
/*  RESPONSIVE DESIGN FOR SERVICES HERO                   */
/* ====================================================== */
@media (max-width: 992px) {
    .services-hero-container {
        /* On tablets and smaller, stack the columns */
        grid-template-columns: 1fr; 
        text-align: center;
    }

    .hero-text-content p {
        /* Center the paragraph by removing the max-width and letting auto margins work */
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-illustration {
        /* Add space between the text and the illustration when stacked */
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .services-hero-section {
        padding: 80px 20px;
    }
    
    .hero-text-content h1 {
        /* Reduce headline size for mobile phones */
        font-size: 2.8rem;
    }
}

/* --- Stacking Cards Section Container --- */
#detailed-services {
    position: relative;
    /* Ensure the container is tall enough for scrolling */
    padding: 100px max(20px, calc((100% - 1150px) / 2));
    background-color: var(--bg-darker); /* Or #111 */
    /* OVERFLOW MUST BE VISIBLE FOR STICKY TO WORK */
    overflow: visible; 
}

.stacking-cards-container {
    position: relative;
    width: 100%;
    /* Bottom margin ensures the last card creates space */
    margin-bottom: 100px;
}

/* --- GLOBAL CARD STYLES --- */
.card {
    /* STICKY MAGIC */
    position: sticky; 
    position: -webkit-sticky; /* Safari support */
    
    width: 90%; 
    max-width: 1100px;
    height: 60vh; /* Fixed viewport height helps stacking uniformity */
    min-height: 500px;
    margin: 0 auto 40px auto; /* Margin bottom creates the scroll distance */
    
    background-color: #252525; /* Darker grey per your image */
    border: 1px solid #333;
    border-radius: 20px; /* High radius for the 'card' look */
    
    display: flex;
    overflow: hidden;
    transform-origin: center top;
    
    /* Strong shadow to separate the stacked cards visually */
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5); 
    will-change: transform, top; 
}

/* --- STACKING OFFSETS (The "Deck" Effect) --- */
/* This is what creates the "Ridges" at the top */
.card:nth-of-type(1) { top: 100px; }
.card:nth-of-type(2) { top: 130px; } /* +30px */
.card:nth-of-type(3) { top: 160px; } /* +30px */
.card:nth-of-type(4) { top: 190px; } /* +30px */
.card:nth-of-type(5) { top: 220px; } /* +30px */
.card:nth-of-type(6) { top: 250px; } /* +30px */

/* Content Styling */
.card-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
}

.card-content h2 {
    font-weight: 500;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.card-content p {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 500px;
}

/* The Green Line */
.separator {
    width: 450px; /* Length of the line */
    height: 2px; /* Thickness */
    background-color: #D2FF1D; /* Bright Green - Visible on dark bg */
    margin-top: 25px;
    margin-bottom: 25px;
    max-width: 450px;
}

/* List Styling */
.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.card-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #999;
}

/* Learn More Link */
.learn-more {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.learn-more span {
    color: #D2FF1D;
    font-size: 1.2rem;
    margin-left: 10px;
}

/* Image Styling */
.card-image {
    flex: 1;
    background-color: #000;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 992px) {
    
    #detailed-services {
        padding: 50px 10px;
    }

    .card {
        /* On mobile, we replicate the screenshot exact look */
        flex-direction: column; 
        
        /* Make card tall enough to fill screen, ensuring stack effect works */
        height: 75vh; 
        min-height: 500px;
        width: 95%; /* Make it wider on mobile */
        
        margin-bottom: 20px; /* Less space between scroll snap */
        border-radius: 25px; /* Rounded top looks like the screenshot */
        
        /* Re-assert Sticky just in case */
        position: sticky !important;
        position: -webkit-sticky !important;
    }

    /* 
       MOBILE OFFSETS:
       To get the "Ridges" visible in your screenshot, the top values
       must be distinct.
    */
    .card:nth-of-type(1) { top: 60px !important; }
    .card:nth-of-type(2) { top: 90px !important; } /* Visible ridge of card 1 behind */
    .card:nth-of-type(3) { top: 120px !important; }
    .card:nth-of-type(4) { top: 150px !important; }
    .card:nth-of-type(5) { top: 180px !important; }

    .card-content {
        padding: 30px;
        justify-content: flex-start; /* Align to top */
        padding-top: 60px; /* Space for the "Ridges" of previous cards visually */
        text-align: left;
    }

    /* MATCHING YOUR SCREENSHOT: Hide image, focus on text */
    .card-image {
        display: none; 
    }

    .card-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    .separator {
        width: 280%; /* Full width line as per mobile design sometimes */
        max-width: 280px;
    }
}
/* ====================================================== */
/*  THE PROCESS SECTION STYLES (WITH WAVY LINE)           */
/* ====================================================== */
.process-section {
    padding: 100px max(20px, calc((100% - 1150px) / 2));
    background-color: #121212;
    position: relative; /* Required for the SVG positioning */
    overflow: hidden;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Give more space to steps */
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2; /* Ensure content is above the SVG */
}

/* --- The Wavy Line SVG --- */
.wavy-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 100%;
    z-index: 1;
    stroke: #ccff00; /* Vibrant Lime Yellow */
    opacity: 0.2; /* Make it subtle */
}

/* --- Left Column --- */
.process-left .section-tag {
    color: #ccff00;
    font-weight: 700;
}
.process-left h2 {
    font-size: 3.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* --- Right Column --- */
.process-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}
.process-step:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #777;
    flex-shrink: 0;
}
.step-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
}
.step-text p {
    font-size: 1.4rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .process-container {
        grid-template-columns: 1fr; /* Stack the columns */
        text-align: center;
    }
    .process-left {
        margin-bottom: 40px;
    }
    .process-right {
        text-align: left;
    }
    .wavy-line {
        /* Adjust SVG for stacked layout */
        width: 150%;
        top: 60%;
        opacity: 0.1;
    }
}
@media (max-width: 768px) {
    .process-left h2 {
        font-size: 2.5rem;
    }
}
/* ====================================================== */
/*  SERVICES FAQ SECTION STYLES                           */
/* ====================================================== */
.services-faq-section {
     padding: 100px max(20px, calc((100% - 1150px) / 2));
    background-color: #1a1a1a; /* Dark grey background */
}

.services-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr; /* 33% for title, 66% for questions */
    gap: 60px;
}

/* --- Left Column --- */
.faq-left-column .section-tag {
    color: #ccff00;
    font-weight: 700;
}
.faq-left-column h2 {
    font-size: 3.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* --- Right Column (Accordion) --- */
.faq-item {
    border-bottom: 1px solid #333; /* Separator line */
}
.faq-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}
.faq-header span {
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
}
.faq-header i {
    font-size: 1.4rem;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Active / Hover States */
.faq-header.active span,
.faq-header:hover span {
    color: #ccff00;
}
.faq-header.active i {
    transform: rotate(45deg);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-bottom 0.4s ease-out;
}
.faq-panel p {
    color: #b0b0b0;
    line-height: 1.7;
    padding: 0 0 30px 0;
    margin: 0;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .services-faq-container {
        grid-template-columns: 1fr; /* Stack the columns */
    }
    .faq-left-column {
        text-align: center;
        margin-bottom: 40px;
    }
}