body {
    /* CHANGED: Switched to the light mint background */
    background-color: #124170; 
    font-family: sans-serif;
    /* CHANGED: Switched to dark text for readability on the light background */
    color: #124170;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.is-hidden {
    display: none !important;
}

/* MODIFIED: Button styles are reversed for the new light theme */
.primary {
    /* A deep blue button now stands out as primary */
    background-color: #DDF4E7; 
    color: #124170; /* Light mint text for contrast */
    font-weight: bold;
}

.secondary {
    /* An outline button works well as a secondary action */
    background-color: transparent;
    color: #fff; 
    border: 1px solid #fff; 
}

/* --- Header --- */
header {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* CHANGED: Header background is now light mint */
    background-color: #124170;
    transition: top 0.4s ease-in-out;
}

header.is-hidden {
    top: -150px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1350px;
    /* CHANGED: Border color switched to a subtle dark version */
    border-bottom: 1px solid #26667F; 
    padding-bottom: 20px;
    color: #FFFFFF;
}

nav .logo {
    width: 110px;
    object-fit: contain;
}

.logo img {
    width: 100%;
    height: auto;
    /* NOTE: You will likely need a dark version of the logo asset for it to be visible on the new light background. */
}

nav ul {
    display: flex;
    gap: 20px;
}

nav .buttons {
    display: flex;
    gap: 10px;
}

/* --- Main Content --- */
main {
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
    padding-top: 70px;
}

section {
    padding: 60px 0;
}

h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
/* MODIFIED: Text color updated */
p { font-size: 1.1rem;  }
.stat { font-size: 5rem; font-weight: 600; margin-top: 2rem; }
.stat-label { font-size: 1.1rem; color: #26667F; }

/* --- CTA Section (Largely Unchanged) --- */
/* This section already uses a gradient of the new palette colors, which looks great! */
.cta-wrapper {
    background-color: #DDF4E7; 
    width: 100%;
}
.cta {
    max-width: 1250px; margin: 120px auto; padding: 100px 50px 250px 50px;
    border-radius: 24px; text-align: center; position: relative; overflow: hidden;
    background-image:
        linear-gradient(to bottom, #DDF4E7 30%, rgba(255, 255, 255, 0)),
        url('../assets/images/beach.webp');
    background-size: cover; background-position: center;
}
.cta h2 {
    font-family: "Georgia", "Times New Roman", serif; font-size: 3rem; font-weight: 400; margin: 0 0 16px 0;
    /* MODIFIED: Ensure text is white */
    color: #124170;
}
.cta p {
    max-width: 450px; margin: 0 auto 32px; font-size: 1.1rem; line-height: 1.6; color: #124170;
}
/* MODIFIED: This button is on a dark background, so it needs the "light" primary style */
.cta .primary {
    padding: 16px 32px; border-radius: 30px; font-size: 1rem; font-weight: bold;
    background-color: #124170;
    color: #DDF4E7;
}

/* --- Footer (Largely Unchanged) --- */
/* The dark footer provides a nice, solid end to the page. */
footer {
    /* CHANGED: Background updated to light mint as requested */
    background-color: #DDF4E7; 
    padding: 80px 50px 40px; 
    /* CHANGED: Text color switched to dark for readability */
    color: #26667F; 
    font-size: 0.9rem;
}

.footer-content { max-width: 1350px; margin: 0 auto; }
.footer-links {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(18, 65, 112, 0.2);
}
.footer-logo {
    display: flex; align-items: start; gap: 8px; font-weight: bold; color: #124170;;
}
.footer-logo img { width: 100px; height: 100px; object-fit: contain; margin-top: -20px;}
.footer-links h4 { color: #124170; font-weight: bold; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.legal { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; }
.legal ul { display: flex; gap: 24px; }

.hamburger-menu,
.close-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* On desktop, this wrapper just helps group the links and buttons */
.nav-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

/* Prevent body scrolling when the mobile menu is open */
body.no-scroll,
html.no-scroll {
    overflow: hidden;
}


/* --- START: Mobile Styles for Navbar --- */
@media screen and (max-width: 992px) {
    nav {
        padding: 0px 20px 20px 15px;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        /* Give it a z-index to stay on top of the menu */
        position: relative;
        z-index: 2001;
    }


    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #FFFFFF;
        border-radius: 3px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
    
    .hamburger-menu.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Transform the wrapper into the dropdown menu */
    .nav-content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        /* Position it below the header (adjust 90px if your header height is different) */
        top: 60px; 
        left: 0;
        width: 100%;
        height: calc(100vh - 120px); /* Fill the rest of the screen */
        
        /* Change background to match the navbar */
        background-color: #124170; 
        
        padding: 0px 70px 40px 30px;
        box-sizing: border-box;
        z-index: 2000;
        
        /* Animate it by scaling down from the top for a dropdown effect */
        transform-origin: top;
        transform: scaleY(0);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);

        color: #FFFFFF;
    }
    
    /* This class will be toggled by JS to show/hide the menu */
    .nav-content-wrapper.is-open {
        transform: scaleY(1);
        padding: 0px 30px 40px 30px;
    }

    /* Restyle the nav links for the vertical, left-aligned layout */
    .nav-content-wrapper ul {
        flex-direction: column;
        /* Align items to the start (left) */
        align-items: flex-start; 
        width: 100%;
        gap: 0; /* Remove gap, use padding/border on items instead */
    }

    .nav-content-wrapper li {
        width: 100%;
        border-bottom: 1px solid #FFFFFF;
    }
    
    .nav-content-wrapper li a {
        /* Make text dark to be readable on the light background */
        color: #FFFFFF;
        font-size: 1.2rem;
        font-weight: 500;
        display: block; /* Make the whole area clickable */
        padding: 20px 0;
    }

    /* Restyle the buttons to be in a row at the bottom */
    .nav-content-wrapper .buttons {
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }
    
    .nav-content-wrapper .buttons button {
        /* Let buttons share the space */
        flex: 1;
        padding: 14px;
        font-size: 1rem;
    }
    
    /* Ensure buttons use the correct style for a light background */
    .nav-content-wrapper .primary {
        background-color: #FFFFFF;
        color: #124170;
    }

    .nav-content-wrapper .secondary {
        background-color: transparent;
        color: #FFFFFF;
        border: 1px solid #FFFFFF;
    }

    main {
        padding-top: 20px;
    }
}

@media screen and (max-width: 992px) {
    footer {
        /* Adjust padding for a better mobile feel */
        padding: 60px 30px;
    }

    .footer-logo {
        position: absolute;
        margin-top: -60px;
    }

    /* 2. Create the new grid layout for the main links */
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 40px 20px;
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Target the 4th div ('Use cases') and make it span the full width */
    .footer-links div:nth-child(4) {
        grid-column: 1 / -1; /* Span from the first to the last column line */
    }

    /* 3. Restructure the entire bottom (legal) section */
    .legal {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap onto new lines */
        justify-content: space-between;
        align-items: center;
        margin-top: 40px;
        padding-top: 20px;
        /* This creates the first horizontal rule */
        border-top: 1px solid rgba(18, 65, 112, 0.2);
    }

    /* 4. Use 'order' to visually rearrange the copyright, social, and policy links */
    .legal .copyright {
        order: 1; /* First item */
    }
    
    .legal .legal-social {
        order: 2; /* Second item */
    }

    .legal .legal-links {
        order: 3; /* Third item */
        width: 100%; /* Make it take the full width to force it onto a new line */
        margin-top: 20px;
        padding-top: 20px;
        /* This creates the second horizontal rule */
        border-top: 1px solid rgba(18, 65, 112, 0.2);
    }

    /* Align the final "Terms of use" / "Privacy policy" links */
    .legal .legal-links ul {
        justify-content: flex-start; /* Align to the left */
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .cta {
        /* Make the CTA smaller on mobile */
        max-width: 100%;
        padding: 60px 25px;
    }
}

@media screen and (max-width: 768px) {
    .agency-growth {
        padding: 0px !important; /* Adjust padding for mobile */
    }

    .growth-container {
        grid-template-columns: 1fr; /* Stack the columns earlier */
        height: auto; /* Let height be determined by content */
        max-width: 500px; /* Constrain width for a better look on tablets */
    }

    .growth-content {
        padding: 40px; /* Ensure consistent padding */
        text-align: center; /* Center-align the text */
    }

    .growth-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .growth-buttons {
        justify-content: center; /* Center the buttons */
    }

    .growth-image-wrapper {
        /* Remove the fade effect, as it doesn't make sense in a stacked layout */
        -webkit-mask-image: none;
        mask-image: none;
        height: 300px; /* Give the image a defined height */
    }

    .recruiters-hero h1 {
        font-size: 1.5rem !important;
    }
}

/* --- START: Carousel Hero Section --- */
:root {
    --text-color: #E0E0E0;
    --primary-text: #FFFFFF;
    --span-color: #B0B0B0;
    /* CHANGED: Grayed card color as requested */
    --card-gray-bg: #26667F;
}

/* Container for the hero section */
.recruiters-hero {
    /* CHANGED: Background color as requested */
    background-color: #124170;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; 
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    padding: 0; /* Override default section padding */
}

.recruiters-hero .content-wrapper { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
    max-width: 800px; 
    margin-top: 0px;
}

.recruiters-hero h1 { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 700; color: var(--primary-text); margin: 0; }
.recruiters-hero h1 span { font-family: 'Playfair Display', serif; font-weight: 400; color: var(--span-color); }
/* Overriding the theme's p styles */
.recruiters-hero .content-wrapper p { font-size: 1.1rem; line-height: 1.6; margin: 1.5rem 0; color: #E0E0E0; max-width: 500px; margin-left: auto; margin-right: auto; }
.recruiters-hero .buttons { display: flex; justify-content: center; gap: 1rem; }
/* Using unique class names to avoid conflicts */
.recruiters-hero .hero-btn-primary { background-color: #FFFFFF; color: #000000; padding: 12px 24px; border-radius: 50px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; border: none; }
.recruiters-hero .hero-btn-primary:hover { background-color: #DDDDDD; }
.recruiters-hero .hero-btn-secondary { background-color: #DDF4E7; color: #124170; border: 1px solid #444; padding: 12px 24px; border-radius: 50px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.recruiters-hero .hero-btn-secondary:hover { background-color: #fff; color: #124170;}


.carousel-container { 
    position: absolute; 
    width: 100%; 
    height: 1300px; 
    top: -150px; 
    left: 0; 
    perspective: 1500px; 
    margin-top: -200px;
}

.carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1),
                background-color 1.2s ease;
}

/* State Classes */
.grayed-out {
    background-color: var(--card-gray-bg);
    z-index: 1;
}
.grayed-out img, .grayed-out .card-info {
    opacity: 0;
}

.visible {
    background-color: transparent;
    z-index: 5;
}
.visible img, .visible .card-info {
    opacity: 1;
}

.carousel-card img, .carousel-card .card-info {
    transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.carousel-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.card-info { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.card-info .name { position: absolute; top: 16px; left: 16px; font-size: 0.9rem; font-weight: 500; background-color: rgba(0,0,0,0.5); padding: 2px 8px; border-radius: 6px; }
.card-info .metric { font-size: 1.7rem; font-weight: bold; display: block; }
.card-info .unit { font-size: 0.8rem; opacity: 0.8; }
.visible .card-info { box-shadow: 0 0 40px 10px var(--glow-color); }


/* --- Specific Position Classes --- */

/* Slide 1 Positions */
.pos-s1-left { transform: translate(-120%, 70%) scale(1); }
.pos-s1-right { transform: translate(120%, 90%) scale(1); }

/* Slide 2 Positions */
.pos-s2-left-up { transform: translate(-180%, -80%) scale(1); }
.pos-s2-left-center-sml { transform: translate(-220%, 0%) scale(0.5); }
.pos-s2-mid-bottom { transform: translate(0%, 90%) scale(1); }
.pos-s2-right-up-sml { transform: translate(100%, -40%) scale(0.5); }

/* Slide 3 Positions */
.pos-s3-top-left { transform: translate(-200%, -90%) scale(1.1); }
.pos-s3-bottom-left { transform: translate(-160%, 90%) scale(1); }
.pos-s3-bottom-right { transform: translate(150%, 80%) scale(1); }

/* Grayed-out placeholder positions */
.pos-gray-1 { transform: translate(0%, -100%) scale(0.4); }
.pos-gray-2 { transform: translate(200%, 0%) scale(0.4); }
.pos-gray-3 { transform: translate(0%, 100%) scale(0.4); }
.pos-gray-4 { transform: translate(-150%, 0%) scale(0.4); }

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px); /* Controls how high the card floats */
  }
}

.card-content-wrapper {
    position: relative;
    width: 110%;
    height: 110%;
    animation: floatAnimation 6s ease-in-out infinite; /* Apply the animation */
}

.card-content-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stagger the animations for a natural wave effect */
.carousel-card:nth-child(2) .card-content-wrapper { animation-delay: -1s; }
.carousel-card:nth-child(3) .card-content-wrapper { animation-delay: -2s; }
.carousel-card:nth-child(4) .card-content-wrapper { animation-delay: -3s; }
.carousel-card:nth-child(5) .card-content-wrapper { animation-delay: -4s; }
.carousel-card:nth-child(6) .card-content-wrapper { animation-delay: -5s; }

.how-it-works {
    background-color: #124170;
    color: #ffffff;
    padding: 120px 0;
    position: relative;
    scroll-margin-top: 80px; /* For anchor links to account for fixed header */
}

.works-content-section {
    scroll-margin-top: 100px;
    min-height: 600px;
    width: 100%;
    max-width: 1350px;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 0px;
}

.works-center-pane,
.works-right-pane {
    position: relative;
}

.works-content-card,
.works-description {
    scroll-margin-top: 100px;
}

/* Update step navigation to be proper links */
.works-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.works-step:hover {
    color: rgba(255, 255, 255, 0.9);
}

.works-step.active {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Ensure content cards and descriptions are properly spaced */
.works-content-card {
    transform: translateY(20px);
    transition: all 0.5s ease;
    min-height: 400px;
}

.works-description {
    transform: translateY(20px);
    transition: all 0.5s ease;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 40px;
    min-height: auto;
}

#step-1-desc,
#step-2-desc,
#step-3-desc,
#step-4-desc,
#step-5-desc {
    min-height: auto;
}

.works-description.active {
    opacity: 1;
    transform: translateY(0);
    min-height: auto;
}
.works-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Section */
.works-header {
    text-align: start;
    margin-bottom: 80px;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.works-header h2 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 24px 0;
    line-height: 1.2;
    width: 100%;
    max-width: 900px;
}

.works-header h2 span {
    color: #67C090;
    font-weight: 400;
}

.works-header p {
    color: #67C090;
    margin: 0;
    font-size: 2.5rem;
    align-self: end;
    margin-bottom: 20px;
}

/* Content Container - 3 columns */
.works-content-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
}

/* Center Image Content */
.works-center-pane {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.works-content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

.content-image {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img,
.content-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Right Description */
.works-right-pane {
    display: flex;
    flex-direction: column;
}

.works-description {
    transition: all 0.5s ease;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
}

.works-description h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: "Georgia", "Times New Roman", serif;
}

.works-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 400px;
}

/* Left Navigation - Simplified */
.works-left-pane {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
    margin-top: 130px;
    margin-bottom: -120px;
}

.works-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.works-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
}

.works-step.active {
    border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    min-width: 30px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    order: 1;
}

.works-step.active .step-title {
    font-weight: 600;
    color: #ffffff;
}

.works-step::after {
    content: "";
    width: 8px;
    height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin-left: 20px; /* Gap between text and dot */
    order: 2;
}

.works-step.active::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #67C090;
    border-radius: 50%;
    margin-left: 20px; /* Gap between text and dot */
    order: 2;
}

/* Right Content Cards */
.works-right-pane {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.works-content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: all 0.5s ease;
    min-height: 400px;
}

.works-content-card.active {
    opacity: 1;
    transform: translateY(0);
}

.content-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    font-family: "Georgia", "Times New Roman", serif;
}

.content-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px 0;
    max-width: 500px;
}

/* Form Styles */
.content-form {
    max-width: 500px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h4 {
    font-size: 1.1rem;
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.9);
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.role-input, .link-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.role-input::placeholder, .link-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    min-width: 60px;
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-note {
    text-align: center;
}

.form-note span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Recruiter Stats */
.recruiter-stats {
    max-width: 500px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-badge {
    background: #67C090;
    color: #124170;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.recruiter-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #67C090, #26667F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.recruiter-info {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 600;
    font-size: 1.1rem;
}

.title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.recruiter-metrics {
    display: flex;
    gap: 30px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #67C090;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Interview Process */
.interview-process {
    max-width: 500px;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 6px;
    flex-shrink: 0;
}

.timeline-item.active .timeline-marker {
    background: #67C090;
}

.timeline-content h5 {
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.timeline-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .works-content-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .works-left-pane {
        position: static;
    }
    
    .works-header h2 {
        font-size: 2.5rem;
    }
    
    .works-content-card {
        min-height: auto;
    }
    
    .content-header h3 {
        font-size: 1.8rem;
    }
    
    .works-steps {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .works-step {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        text-align: center;
    }
}

/* --- Earning Calculator Section (Dark Theme Update) --- */
.earning-calculator {
    /* CHANGED: New background and text colors */
    background-color: #124170;
    padding: 120px 30px;
    color: #FFFFFF; /* White text */
    text-align: center;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
}

.hours-output {
    font-size: 6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.calculator-subtitle {
    font-size: 1.1rem;
    /* CHANGED: Lighter text color for subtitles */
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 60px 0px;
}

.slider-wrapper span {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.slider-container {
    flex-grow: 1;
}

/* --- NEW: Progress Bar Slider Styling --- */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 16px; /* Increased height for a bolder look */
    background: transparent; /* Track background is handled by ::-webkit-slider-runnable-track */
    outline: none;
    cursor: pointer;
}

/* Track for Webkit (Chrome, Safari) */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 16px;
    border-radius: 8px;
    /* This gradient creates the fill effect using a CSS variable */
    background: linear-gradient(to right, 
        #DDF4E7 var(--progress-percent, 0%), 
        rgba(255, 255, 255, 0.2) var(--progress-percent, 0%)
    );
}

/* Thumb (the draggable handle) for Webkit */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px; /* Same as track height */
    height: 16px; /* Same as track height */
    border-radius: 50%;
    background: #000; /* White thumb */
    border: none;
    /* Hides the thumb inside the track */
}

/* Styles for Firefox (similar logic) */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
}
input[type="range"]::-moz-range-progress {
    height: 16px;
    border-radius: 8px;
    background: #DDF4E7; /* The fill color */
}
input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    border: none;
}


.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    padding-top: 40px;
    /* CHANGED: Lighter border color */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.potential-column p {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.potential-output {
    font-size: 5rem;
    font-weight: 700;
    margin: 10px 0 0 0;
    line-height: 1;
}

.potential-output span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 10px;
}

.stats-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    padding-left: 40px;
    /* CHANGED: Lighter border color */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}
.stat-item span:first-child {
    color: rgba(255, 255, 255, 0.7);
}


.calculator-cta {
    margin-top: 60px;
    padding: 20px;
    /* CHANGED: Lighter border color */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.calculator-cta p {
    margin: 0;
    max-width: 80%;
    color: white;
}

#earning-display {
    font-size: 80px;
    font-weight: 700;
    margin: 10px 0 0 0;
    line-height: 1;
    color: #fff;
}

#rewards-display {
    color: #fff;
}

.promo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.promo-content {
    max-width: 1350px;
    width: 100%;
    height: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    color: #fff;
    background-color: #26667F;
    border-radius: 10px;
}

.promo-content-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    min-height: 400px;
    flex-wrap: wrap;
}

.promo-content h2 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 24px 0;
    line-height: 1.2;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.promo-content p {
    margin: 0 auto;
    text-align: center;
    text-justify: center;
    width: 100%;
    max-width: 600px;
}

.promo-content-images {
    width: 100%;
    height: 100%;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-content-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* --- Agency Growth Section --- */
.agency-growth {
    background-color: #124170;
    color: #FFFFFF;
    padding: 140px 30px;
    overflow: hidden; /* Recommended when using masks that go to the edge */
}

.growth-container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    /* This creates the layout where the left side is larger */
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 60px;
    background-color: #fff;
    color: #124170;
    border-radius: 12px;
    height: 600px;
}

.growth-content {
    padding: 40px;
}

.growth-content h2 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.growth-content p {
    font-size: 1.1rem;
    max-width: 450px;
    margin: 0 0 32px 0;
}

.growth-buttons {
    display: flex;
    gap: 15px;
}

.primary-dark {
    background-color: #124170;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.secondary-dark {
    background-color: transparent;
    color: #124170;
    border: 1px solid #124170;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .growth-image-wrapper {
        /* This is the magic for the fade effect */
        -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
        mask-image: linear-gradient(to left, black 70%, transparent 100%);
    }
}

.growth-image-wrapper {
    height: 100%;
}

.growth-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
}

/* --- Blog Preview Section --- */
.blog-preview {
    padding: 120px 20px;
    background-color: #DDF4E7;
    /* No background color, uses the page default */
}

.blog-container {
    max-width: 1350px;
    margin: 0 auto;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.blog-header h2 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #124170;
    margin: 0;
}

.all-articles-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #124170;
    border-radius: 20px;
    text-decoration: none;
    color: #0D2C4A;
    font-weight: 500;
    transition: all 0.3s ease;
}

.all-articles-btn:hover {
    background-color: #124170;
    border-color: #adb5bd;
    color: #ffffff;
}

.all-articles-btn svg path {
    transform: rotate(315deg); /* Flips the arrow */
    transform-origin: center;
    stroke: #495057; /* Set the default arrow color */
    transition: stroke 0.3s ease;
}

.all-articles-btn:hover svg path {
    stroke: #ffffff; /* Make the arrow white on hover */
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    height: 400px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: #124170;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 65, 112, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(18, 65, 112, 0.1);
}

.blog-card-large {
    padding: 32px;
    justify-content: space-between;
}

.blog-card-large .card-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.blog-card-large .card-content span {
    font-size: 0.9rem;
    color: #495057;
}

.arrow-icon-companies {
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #26667F;
    color: #ffffff;
    font-size: 1.5rem;
    margin-top: 24px;
    opacity: 1 !important; /* Add this line to ensure it's always visible */
    transition: transform 0.3s ease;
}

.blog-card-small .card-content {
    padding: 24px;
}

.blog-card-small {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card-small h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.read-more-link {
    font-weight: 600;
    color: #124170;
}

.blog-card-small img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-small .card-footer {
    padding: 16px 24px;
    margin-top: auto;
    font-size: 0.9rem;
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-card-large {
        grid-column: 1 / -1; /* Make the large card span full width */
    }

    .blog-card {
        height: auto;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    /* --- Hero & Carousel Container --- */
    .recruiters-hero {
        /* Reduce the height for the more compact animation */
        height: 500px;
        min-height: auto;
        display: flex; /* Added to help with vertical centering */
        align-items: center;
        overflow: hidden;
    }

    .carousel-container {
        top: -50px; /* Nudge the whole animation up a bit */
        perspective: 900px;
        height: 900px; 
    }

    /* --- 1. Make the cards smaller --- */
    .carousel-card {
        width: 150px;
        height: 180px;
        border-radius: 8px;
    }
    
    .card-info .metric { font-size: 1.2rem; }
    .card-info .unit { font-size: 0.7rem; }
    .card-info .name { font-size: 0.8rem; padding: 1px 6px; }

    /* --- 2. Re-adjusted animation positions for 500px height --- */

    /* Slide 1 Positions (Reduced vertical movement) */
    .pos-s1-left { transform: translate(-80%, 20%) scale(1); }
    .pos-s1-right { transform: translate(80%, 40%) scale(1); }

    /* Slide 2 Positions (Significantly reduced vertical movement) */
    .pos-s2-left-up { transform: translate(-100%, -60%) scale(1); }
    .pos-s2-left-center-sml { transform: translate(-130%, -10%) scale(0.5); }
    .pos-s2-mid-bottom { transform: translate(0%, 50%) scale(1); }
    .pos-s2-right-up-sml { transform: translate(90%, -30%) scale(0.5); }

    /* Slide 3 Positions (Brought in vertically) */
    .pos-s3-top-left { transform: translate(-110%, -70%) scale(1.1); }
    .pos-s3-bottom-left { transform: translate(-90%, 50%) scale(1); }
    .pos-s3-bottom-right { transform: translate(90%, 40%) scale(1); }

    /* Grayed-out placeholder positions */
    .pos-gray-1 { transform: translate(0%, -80%) scale(0.4); }
    .pos-gray-2 { transform: translate(120%, 0%) scale(0.4); }
    .pos-gray-3 { transform: translate(0%, 80%) scale(0.4); }
    .pos-gray-4 { transform: translate(-90%, 0%) scale(0.4); }
}

/* --- Responsive Styles for Calculator Section --- */
@media screen and (max-width: 768px) {
    .earning-calculator {
        /* Reduce vertical padding on mobile */
        padding: 80px 20px;
    }

    .hours-output {
        /* Decrease font size for smaller screens */
        font-size: 4.5rem;
    }

    .potential-output {
        /* Decrease font size for smaller screens */
        font-size: 4rem;
    }

    .calculator-grid {
        /* Change the grid to a single column */
        grid-template-columns: 1fr;
        gap: 30px; /* Adjust the gap between stacked items */
    }

    .stats-column {
        /* Remove the side border and padding */
        padding-left: 0;
        border-left: none;
        
        /* Add a top border to separate it from the content above */
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .calculator-cta {
        /* Stack the CTA content vertically */
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .calculator-cta p {
        /* Allow the text to use the full width */
        max-width: 100%;
    }
}

/* Caret (arrow) styling */
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.has-dropdown {
    position: relative;
    cursor: pointer;
}

.has-dropdown.is-open > a .caret {
    transform: rotate(180deg);
}

/* ADD THIS RULE for the dropdown menu */
.has-dropdown.is-open > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(18, 65, 112, 0.1);
    min-width: 200px;
    z-index: 2001;
    padding: 8px 0;
    list-style: none;
    margin-top: 10px; /* Space between nav link and dropdown */
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #124170;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: rgba(221, 244, 231, 0.5); /* Light mint hover effect */
}


/* --- START: Mobile Styles for Dropdown (Accordion) --- */
@media screen and (max-width: 992px) {
    /* Reset desktop dropdown styles */
    .dropdown-menu {
        display: block; /* Make it part of the layout flow */
        position: static;
        background-color: transparent;
        box-shadow: none;
        min-width: 100%;
        margin-top: 0;
        padding: 0;
        /* Hide with max-height for transition */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .has-dropdown.is-open > .dropdown-menu {
        max-height: 300px; /* Animate open */
    }

    /* Indent submenu items */
    .dropdown-menu li a {
        padding-left: 20px;
        font-size: 1rem;
        font-weight: 400;
        color: #FFFFFF; /* Use softer text color for submenu */
    }

    /* Point caret down on mobile */
    .caret {
         transform: rotate(0deg); /* Reset from desktop hover */
    }
    
    .has-dropdown > a .caret {
        position: absolute;
        right: 0;
        top: 28px;
        transform: rotate(-90deg); /* Points right */
    }

    .has-dropdown.is-open > a .caret {
        transform: rotate(90deg); /* Points down */
    }
    
    .has-dropdown > a {
        position: relative; /* Needed to position the caret */
    }

    .works-steps {
    /* Change the direction from row back to column */
        flex-direction: column;

        /* Center the items now that they are in a column */
        align-items: center;
        
        /* Add a gap between the stacked items */
        gap: 20px;
    }
    
}

@media screen and (max-width: 468px) {
    .growth-container {
        grid-template-columns: 1fr; /* Stack columns */
        height: auto; /* Let height adjust */
    }

    .works-container {
        padding: 0;
    }

    .works-steps {
        grid-template-columns: 1fr;
        padding: 0;
        margin-bottom: 20px;
    }

    .content-image {
        height: 150px;
    }

    #step-2,
    #step-4{
        min-height: 300px;
    }

    .works-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        padding: 10px;
    }

    .works-header h2 {
        font-size: 2rem;
    }
}

.legal-social img {
    width: 20px;
    height: 20px;
}