/* ======================= Global Styles & Variables ======================= */
:root {
    --color-dark-slate: #2A3D45;
    --color-muted-brown: #7A6C5D;
    --color-light-tan: #DDC9B4;
    --color-white: #FFFFFF;
    --color-off-white: #F4F4F4;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-off-white);
    color: var(--color-dark-slate);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    color: var(--color-dark-slate);
    line-height: 1.2;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--color-muted-brown); text-decoration: none; transition: var(--transition-speed); }
a:hover { color: var(--color-dark-slate); }
img { max-width: 100%; height: auto; display: block; }
section { padding: 6rem 0; overflow-x: hidden;}
.text-center { text-align: center; }

/* ======================= Reusable Components ======================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-muted-brown);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-dark-slate);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark-slate);
    border-color: var(--color-light-tan);
}

.btn-secondary:hover {
    background-color: var(--color-light-tan);
    color: var(--color-dark-slate);
    transform: translateY(-3px);
}

/* ======================= Header ======================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color var(--transition-speed), padding var(--transition-speed);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark-slate);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-muted-brown);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.menu-toggle { display: none; }

/* ======================= 1. Hero Section ======================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(rgba(42, 61, 69, 0.7), rgba(42, 61, 69, 0.7)), url('images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 5rem 3rem;
    max-width: 800px;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-light-tan);
}

/* ======================= 2. About Section ======================= */
.about-section { background-color: var(--color-white); }

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper { position: relative; }

.about-image-wrapper img:first-child {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: 0px;
    width: 50%;
    border-radius: 10px;
    border: 5px solid var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ======================= 3. Services Section ======================= */
/* ==========================================================================
   ======================= SERVICES SLIDER STYLES ===========================
   ========================================================================== */

/* Remove old grid styles for services to avoid conflicts */
.services-grid {
    display: none; /* This class is no longer used in the new HTML structure */
}

.slider-container {
    position: relative;
    margin-top: 3rem;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
}

.services-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Inherit styles from .service-card and add slider-specific styles */
.service-slide {
    flex: 0 0 100%; /* Default: 1 slide visible on mobile */
    min-width: 0;
    margin: 0 1rem;
    /* We keep the original .service-card styles like background, border-radius, etc. */
}

/* Slider Navigation Buttons */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    line-height: 45px;
    text-align: center;
    color: var(--color-dark-slate);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all var(--transition-speed);
}

.slider-button:hover {
    background-color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-button.prev {
    left: -20px;
}

.slider-button.next {
    right: -20px;
}

.slider-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Slider Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-light-tan);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.slider-dot.current-slide {
    background-color: var(--color-muted-brown);
    transform: scale(1.2);
}

/* Responsive adjustments for the slider */
@media (min-width: 768px) {
    .service-slide {
        flex-basis: calc(50% - 2rem); /* 2 slides visible on tablets */
    }
}

@media (min-width: 992px) {
    .service-slide {
        flex-basis: calc(33.333% - 2rem); /* 3 slides visible on desktop */
    }
}
/* ======================= 4. Why Us Section ======================= */
.why-us-section {
    background: linear-gradient(to right, var(--color-dark-slate), #3a505a);
    color: var(--color-white);
}

.why-us-section .section-title { color: var(--color-white); }

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.why-us-item h3 { color: var(--color-light-tan); }
.why-us-item p { color: var(--color-off-white); opacity: 0.9; }

.why-us-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--color-light-tan);
}

/* ======================= 5. Positions Section ======================= */
.positions-section { background-color: var(--color-white); }

.positions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.position-card {
    background: var(--color-off-white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--color-muted-brown);
    transition: all var(--transition-speed);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.position-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.position-header { margin-bottom: 0; }
.position-card h3 { margin-bottom: 0.25rem; }
.position-header span { color: var(--color-muted-brown); font-weight: bold; }
.position-card p { flex-grow: 1; margin: 0; }
.position-card a { font-weight: bold; white-space: nowrap; }

/* ======================= 6. Reviews Section ======================= */
.reviews-section {
    background-color: var(--color-light-tan);
    overflow: hidden;
}

.reviews-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.review-quote {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3.5rem;
}

.review-quote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 5rem;
    color: var(--color-muted-brown);
    opacity: 0.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.review-author strong { font-size: 1.1rem; }
.review-author span { color: var(--color-dark-slate); opacity: 0.8; }
.review-image-wrapper img {
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
    max-height: 500px;
}

/* ======================= 7. CTA Section ======================= */
.cta-section { background-color: var(--color-muted-brown); }

.cta-container {
    text-align: center;
    color: var(--color-white);
}

.cta-title { font-size: 2.8rem; color: var(--color-white); }
.cta-container p { max-width: 600px; margin: 1rem auto 2rem; opacity: 0.9; }

.cta-buttons .btn-primary {
    background-color: var(--color-white);
    color: var(--color-dark-slate);
}
.cta-buttons .btn-primary:hover {
    background-color: var(--color-light-tan);
}
.cta-buttons .btn-secondary {
    color: var(--color-white);
    border-color: var(--color-white);
}
.cta-buttons .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-dark-slate);
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; }


/* ==========================================================================
   ======================= MISSION PAGE STYLES ==============================
   ========================================================================== */

/* ======================= 1. Mission Hero Section ======================= */
.mission-hero-section {
    padding: 10rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(122, 108, 93, 0.85), rgba(122, 108, 93, 0.85)), url('images/mission-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

.mission-hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.mission-hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ======================= 2. Core Mission Section ======================= */
.core-mission-section {
    background-color: var(--color-white);
}
.core-mission-section .section-intro {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ======================= 3. Pillars Section ======================= */
/* ==========================================================================
   ======================= PILLARS TABS STYLES ==============================
   ========================================================================== */

/* Remove old grid styles to avoid conflicts */
.pillars-grid, .pillar-card {
    display: none; /* These classes are no longer used in the new HTML */
}

.pillars-tabs-container {
    margin-top: 3rem;
}

/* Tab Navigation Styling */
.pillar-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--color-light-tan);
}

.pillar-tab-btn {
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-muted-brown);
    background: none;
    border: none;
    border-bottom: 4px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed);
    transform: translateY(2px); /* Aligns with parent border */
}

.pillar-tab-btn:hover {
    color: var(--color-dark-slate);
}

.pillar-tab-btn.active {
    color: var(--color-dark-slate);
    border-color: var(--color-muted-brown);
}

/* Tab Content Styling */
.pillar-tabs-content {
    position: relative;
    min-height: 400px; /* Adjust as needed to prevent layout shifts */
}

.pillar-content-panel {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    
    /* For smooth transitions */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.pillar-content-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.pillar-content-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.pillar-content-text h3 {
    color: var(--color-muted-brown);
    margin-bottom: 1rem;
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
    .pillar-content-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pillar-content-image {
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .pillar-tabs-nav {
        flex-wrap: wrap; /* Allows buttons to wrap on small screens */
    }

    .pillar-tab-btn {
        flex-grow: 1; /* Makes buttons fill the space */
    }
    .pillar-tabs-content
    {
        min-height: 800px;
    }
}
/* ======================= 4. Human-Centric Section ======================= */
.human-centric-section { background: var(--color-white); }
.human-centric-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 4rem;
}
.human-centric-images {
    position: relative;
    height: 500px;
}
.human-centric-images .primary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.human-centric-images .secondary-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    border-radius: 10px;
    border: 5px solid var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ======================= 5. DEI Section ======================= */
.dei-section {
    background: var(--color-dark-slate);
    color: var(--color-off-white);
}
.dei-section .section-title { color: var(--color-white); }
.dei-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.dei-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.dei-images img {
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dei-images img:first-child { margin-top: -30px; }
.dei-images img:last-child { margin-top: 30px; }
.dei-images:hover img {
    transform: scale(0.95);
}
.dei-images img:hover {
    transform: scale(1.05);
}


/* ======================= 6. Future Vision Section ======================= */
.vision-section {
    background-color: var(--color-off-white);
    position: relative;
    overflow: hidden;
}
.vision-section .container { position: relative; z-index: 2; }
.vision-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.timeline-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(42, 61, 69, 0.1);
}
.timeline-item h3 {
    border-bottom: 2px solid var(--color-light-tan);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.vision-bg-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

/* ======================= 7. Mission CTA Section ======================= */
.mission-cta-section {
    background-color: var(--color-light-tan);
    padding: 5rem 0;
}
.mission-cta-title {
    color: var(--color-dark-slate);
    font-size: 2.8rem;
}
.mission-cta-section p {
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: var(--color-dark-slate);
}
.mission-cta-section .btn-primary {
    background-color: var(--color-dark-slate);
    color: var(--color-white);
}
.mission-cta-section .btn-primary:hover {
    background-color: var(--color-muted-brown);
}

/* ======================= Mission Page Responsive Design ======================= */
@media (max-width: 992px) {
    .human-centric-container { grid-template-columns: 1fr; }
    .human-centric-images { height: 400px; margin-bottom: 2rem; }
    .dei-container { grid-template-columns: 1fr; }
    .vision-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mission-hero-title { font-size: 2.8rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .human-centric-images { height: 350px; }
    .dei-images { grid-template-columns: 1fr; }
    .dei-images img:first-child, .dei-images img:last-child { margin-top: 0; }
}

/* ==========================================================================
   ==================== FOR EMPLOYERS PAGE STYLES ===========================
   ========================================================================== */

/* ======================= 1. Employer Hero Section ======================= */
.employer-hero-section {
    padding: 8rem 0;
    position: relative;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 80vh;
}
.employer-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(90deg, rgba(42, 61, 69, 0.95) 0%, rgba(42, 61, 69, 0.4) 100%), url('images/employer-bg.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.employer-hero-section .container {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    margin-left: calc( (100% - 1200px) / 2 ); /* Align with container start */
}
.employer-hero-title {
    color: var(--color-white);
    font-size: 3.2rem;
}
.employer-hero-subtitle {
    color: var(--color-light-tan);
    font-size: 1.1rem;
    margin: 1.5rem 0 2rem;
}

/* ======================= 2. Challenge Section ======================= */
.challenge-section { background-color: var(--color-off-white); }
.challenge-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.challenge-image img {
    border-radius: 10px;
    box-shadow: -15px 15px 0px var(--color-light-tan);
}

/* ======================= 3. Process Section ======================= */
.process-section { background-color: var(--color-white); }
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}
.process-timeline::before { /* Timeline line */
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background-color: var(--color-light-tan);
}
.process-step {
    text-align: center;
    padding-top: 80px;
    position: relative;
}
.process-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: 0 0 0 4px var(--color-muted-brown);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-light-tan);
    transition: transform var(--transition-speed);
}
.process-step:hover .process-icon {
    transform: translateX(-50%) scale(1.1);
}

/* ======================= 4. Services Overview Section ======================= */
/* ==========================================================================
   ====== REDESIGNED SERVICES OVERVIEW SECTION (FLEX ACCORDION) ========
   ========================================================================== */

.services-overview-section { 
    background-color: var(--color-off-white); 
}

.solutions-flex-container {
    display: flex;
    width: 100%;
    margin-top: 3rem;
    gap: 1rem;
    height: 500px; /* Define a fixed height for the container */
}

.solution-panel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    color: var(--color-white);
    cursor: pointer;
    
    /* Core flex properties for the accordion effect */
    flex: 1; 
    
    /* Smooth transition for the flex property */
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.solution-panel:hover {
    flex: 5; /* The hovered panel expands to take more space */
    transform: translateY(-5px);
}

/* Background image and gradient overlay */
.solution-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    /* The change is in the line below */
    background-image: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 70%), var(--bg-image);
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.solution-panel:hover::before {
    transform: scale(1.05);
}

.solution-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.solution-panel h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Default vertical state for collapsed panels */
    writing-mode: vertical-rl;
    transform: rotate(180deg) translateX(-10px);
    white-space: nowrap;
}

.solution-panel p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    
    /* Hide paragraph by default */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s; /* Delay the appearance */
}

/* Expanded state for content */
.solution-panel:hover h3 {
    writing-mode: horizontal-tb;
    transform: rotate(0deg) translateX(0);
}

.solution-panel:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Fallback for smaller screens */
@media (max-width: 768px) {
    .solutions-flex-container {
        flex-direction: column; /* Stack panels vertically */
        height: auto; /* Allow height to be determined by content */
        gap: 1.5rem;
    }

    .solution-panel {
        flex-basis: 250px; /* Give each panel a fixed height */
        flex-grow: 1;
        transition: transform 0.3s ease;
    }

    .solution-panel:hover {
        flex: 1; /* Disable the expanding effect */
        transform: scale(1.02); /* Add a subtle scale effect instead */
    }

    /* Make all content visible by default on mobile */
    .solution-panel h3 {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-size: 1rem;
    }

    .solution-panel p {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.8rem;
    }

    .solution-content {
        padding: 1.5rem;
    }
}

/* ======================= 5. Tech & Data Section ======================= */
.tech-data-section {
    background-image: url('images/tech-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
}
.tech-data-container {
    background: rgba(42, 61, 69, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(221, 201, 180, 0.2);
}
.tech-data-section .section-title { color: var(--color-white); }
.tech-data-section p { font-size: 1.1rem; }

/* ======================= 6. Success Story Section ======================= */
.success-story-section { background-color: var(--color-white); }
.success-story-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}
.success-story-image img {
    border-radius: 10px;
    object-fit: cover;
}
.client-quote {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-light-tan);
    padding-left: 1.5rem;
}
.client-info { margin-bottom: 2rem; }
.success-metrics {
    display: flex;
    gap: 3rem;
}
.metric-item {
    text-align: center;
}
.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-muted-brown);
}
.metric-label {
    display: block;
    color: var(--color-dark-slate);
}

/* ======================= 7. Consultation CTA Section ======================= */
.consult-cta-section { background-color: var(--color-muted-brown); }
.consult-cta-container {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.consult-cta-content {
    text-align: center;
    color: var(--color-white);
    max-width: 700px;
}
.consult-cta-title {
    color: var(--color-white);
    font-size: 2.5rem;
}
.consult-cta-section p { margin: 1rem 0 2rem; }
.consult-cta-section .btn-primary {
    background-color: var(--color-white);
    color: var(--color-dark-slate);
    transform: scale(1.05);
}
.consult-cta-section .btn-primary:hover {
    background-color: var(--color-light-tan);
    transform: scale(1.1);
}

/* ================== For Employers Page Responsive Design ================== */
@media (max-width: 992px) {
    .employer-hero-section .container { margin: 0 auto; max-width: 100%; text-align: center; }
    .challenge-container { grid-template-columns: 1fr; }
    .challenge-image { max-width: 500px; margin: 0 auto; }
    .process-timeline { grid-template-columns: 1fr 1fr; row-gap: 5rem; }
    .process-timeline::before { display: none; } /* Hide line on tablet */
    .success-story-container { grid-template-columns: 1fr; }
    .success-story-image { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .employer-hero-title { font-size: 2.5rem; }
    .process-timeline { grid-template-columns: 1fr; }
    .success-metrics { flex-direction: column; gap: 1.5rem; align-items: center; }
}

/* ==========================================================================
   ==================== FOR CANDIDATES PAGE STYLES ==========================
   ========================================================================== */

/* ======================= 1. Candidate Hero Section ======================= */
.candidate-hero-section {
    padding: 10rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    background-image: linear-gradient(rgba(42, 61, 69, 0.7), rgba(42, 61, 69, 0.7)), url('images/candidate-bg.webp');
    background-size: cover;
    background-position: center;
}
.candidate-hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
}
.candidate-hero-subtitle {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 1rem auto 2rem;
    color: var(--color-light-tan);
}

/* ======================= 2. Approach Section ======================= */
/* ==========================================================================
   ====== REDESIGNED CANDIDATE APPROACH SECTION (INTERWOVEN) ========
   ========================================================================== */

.approach-section { 
    background-color: var(--color-white); 
    overflow: hidden; /* Recommended for layouts with offset elements */
}

.approach-interwoven-container {
    display: grid;
    /* Create a three-column grid. The center column is 1.5 times wider. */
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2.5rem;
    align-items: center; /* Vertically center the grid track */
}

.approach-text-content {
    /* Optional: Add a decorative border for emphasis */
    border-left: 4px solid var(--color-light-tan);
    padding-left: 2rem;
}

.approach-image-start,
.approach-image-end {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(42, 61, 69, 0.1);
    overflow: hidden; /* Ensures the image respects the border-radius */
    transition: transform 0.4s ease;
}

.approach-image-start:hover,
.approach-image-end:hover {
    transform: scale(1.03);
}

.approach-image-start img,
.approach-image-end img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Create the vertical offset for a dynamic look */
.approach-image-start {
    align-self: start; /* Aligns this item to the top of the grid cell */
}

.approach-image-end {
    align-self: end; /* Aligns this item to the bottom of the grid cell */
}

/* Responsive design for tablets and mobile */
@media (max-width: 992px) {
    .approach-interwoven-container {
        /* Switch to a single column layout */
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .approach-text-content {
        /* Center the text and remove side border for a cleaner stack */
        text-align: center;
        border-left: none;
        padding-left: 0;
        /* Optional: Add a top border instead */
        border-top: 4px solid var(--color-light-tan);
        padding-top: 2rem;
        /* Place the text between the two images */
        order: 2; 
    }

    .approach-image-start {
        order: 1; /* First image appears on top */
        max-width: 500px;
        margin: 0 auto;
    }
    
    .approach-image-end {
        order: 3; /* Second image appears at the bottom */
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ======================= 3. Pledge Section ======================= */
.pledge-section {
    background-color: var(--color-dark-slate);
    color: var(--color-off-white);
}
.pledge-section .section-title { color: var(--color-white); }
.pledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.pledge-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(221, 201, 180, 0.2);
    transition: background-color var(--transition-speed);
}
.pledge-card:hover {
    background: rgba(255, 255, 255, 0.1);
}
.pledge-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}
.pledge-card h3 { color: var(--color-light-tan); }
.pledge-card p { opacity: 0.9; }

/* ======================= 4. Journey Section ======================= */
.journey-section { background-color: var(--color-white); }
.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}
.journey-timeline::before { /* The vertical line */
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-light-tan);
    border-radius: 2px;
}
.journey-step {
    padding-left: 60px;
    margin-bottom: 2.5rem;
    position: relative;
}
.journey-step:last-child { margin-bottom: 0; }
.journey-step::before { /* The circle on the timeline */
    content: '';
    position: absolute;
    left: 6px;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-muted-brown);
    border: 4px solid var(--color-white);
    box-shadow: 0 0 0 3px var(--color-muted-brown);
}

/* ======================= 5. Candidate Testimonials ======================= */
/* ==========================================================================
   ============== CANDIDATE TESTIMONIALS (3D CAROUSEL) STYLES =============
   ========================================================================== */

/* Remove old grid styles to avoid conflicts */
.testimonials-grid {
    display: none;
}

.testimonial-carousel {
    position: relative;
    margin-top: 4rem;
    height: 450px; /* Define height for the 3D scene */
}

.carousel-scene {
    position: relative;
    width: 500px; /* Width of the front-facing panel */
    height: 100%;
    margin: 0 auto;
    perspective: 1200px; /* This creates the 3D space */
}

.carousel-rotor {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d; /* Crucial for nesting 3D elements */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back of the panels when they rotate away */
}

/* We reuse the original .testimonial-card styles for the content */
.testimonial-card {
    height: 100%; /* Ensure card fills the panel */
}
.testimonial-card img 
{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Carousel Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 2px solid var(--color-light-tan);
    color: var(--color-dark-slate);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed);
}

.carousel-button:hover {
    background-color: var(--color-light-tan);
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

/* Responsive Fallback for mobile devices */
@media (max-width: 768px) {
    .testimonial-carousel {
        height: auto; /* Let content define height */
    }
    
    .carousel-scene {
        width: 100%;
        perspective: none; /* Disable 3D on mobile */
        overflow-x: scroll; /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory; /* Smooth snapping */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .carousel-rotor {
        position: relative;
        display: flex; /* Line up panels horizontally */
        width: max-content; /* Allow track to be wider than the viewport */
        transform: none !important; /* Override JS transform */
        transition: none;
    }
    
    .carousel-panel {
        position: static; /* Override absolute positioning */
        width: 80vw; /* Each panel takes up 80% of the viewport width */
        margin-right: 1rem;
        scroll-snap-align: center; /* Snap panels to the center */
        backface-visibility: visible;
    }
    
    /* Hide desktop navigation buttons on mobile */
    .carousel-button {
        display: none;
    }
}

/* ======================= 6. Focus Industries Section ======================= */
.focus-industries-section { background-color: var(--color-white); }
.industry-gallery {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    height: 350px;
}
.industry-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.industry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}
.industry-item span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}
.industry-item:hover { flex-grow: 2.5; }
.industry-item:hover span {
    transform: translateY(0);
    opacity: 1;
}

/* ======================= 7. Next Step CTA Section ======================= */
.next-step-section {
    background-color: var(--color-light-tan);
    padding: 6rem 0;
}
.next-step-container {
    background-image: url('images/next-bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 4rem;
}
.next-step-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}
.next-step-title { font-size: 2.5rem; }
.next-step-section .btn-secondary {
    border-color: var(--color-dark-slate);
}

/* ================== For Candidates Page Responsive Design ================== */
@media (max-width: 992px) {
    .approach-container { grid-template-columns: 1fr; }
    .approach-image-gallery { max-width: 500px; margin: 0 auto 3rem; height: 400px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .industry-gallery { grid-template-columns: 1fr 1fr; height: auto; }
    .industry-item { min-height: 200px; }
    .industry-item span { opacity: 1; transform: translateY(0); }
    .industry-item:hover { flex-grow: 1; }
}

@media (max-width: 768px) {
    .candidate-hero-title { font-size: 2.8rem; }
    .journey-timeline::before { left: 10px; }
    .journey-step { padding-left: 40px; }
    .journey-step::before { left: -4px; width: 25px; height: 25px; }
    .industry-gallery { grid-template-columns: 1fr; }
    .next-step-container { padding: 1.5rem; }
    .next-step-content { padding: 2rem; }
}

/* ==========================================================================
   ====================== POSITIONS PAGE STYLES =============================
   ========================================================================== */

/* ======================= 1. Positions Hero Section ======================= */
.positions-hero-section {
    padding: 8rem 0;
    background-image: linear-gradient(rgba(122, 108, 93, 0.8), rgba(122, 108, 93, 0.8)), ;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}
.positions-hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
}
.positions-hero-subtitle {
    max-width: 800px;
    margin: 1rem auto 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ======================= 2. Search & Filter Bar Section ======================= */
.search-section {
    padding: 2rem 0;
    background-color: var(--color-off-white);
    position: sticky;
    top: 70px; /* Adjust based on header height */
    z-index: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.search-bar {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr auto;
    gap: 1rem;
    align-items: center;
}
.search-bar input, .search-bar select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--color-light-tan);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
}
.search-bar .btn {
    padding: 14px 30px;
    width: 100%;
}

/* ======================= 3. Job Listings Section ======================= */
.job-listings-section { background-color: var(--color-white); }
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.job-card {
    background: var(--color-white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.job-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.job-card-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.job-card-header h3 { font-size: 1.3rem; margin-bottom: 0; }
.job-card-header span { color: var(--color-muted-brown); }
.job-card p { flex-grow: 1; color: #555; }
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
.job-tag {
    background-color: var(--color-light-tan);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--color-dark-slate);
}
.btn-details { font-weight: bold; }

/* ======================= 4. Roles by Function Section ======================= */
.roles-by-function-section { background-color: var(--color-off-white); }
.function-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.function-card {
    height: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: var(--color-white);
}
.function-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%), var(--bg-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.function-card:hover::before {
    transform: scale(1.05);
}
.function-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}
.function-card-content h3 { color: var(--color-white); }

/* ======================= 5. Application Process Section ======================= */
.application-process-section { background-color: var(--color-white); }
.process-steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}
.process-step-item {
    text-align: center;
    position: relative;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-light-tan);
    color: var(--color-dark-slate);
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-secondary);
}

/* ======================= 6. Get Noticed Section ======================= */
/* ==========================================================================
   ====== REDESIGNED GET NOTICED SECTION (INTERACTIVE TABS) STYLES ======
   ========================================================================== */

/* Remove old list styles to avoid conflicts */
.get-noticed-content ul {
    display: none;
}

.get-noticed-section { 
    background-color: var(--color-off-white); 
}
.get-noticed-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column - Visuals */
.get-noticed-visuals {
    position: relative;
    height: 550px; /* Set a fixed height */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
.visual-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.visual-item.active {
    opacity: 1;
}
.visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column - Tabs */
.get-noticed-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0 1.5rem;
    border-bottom: 2px solid var(--color-light-tan);
}
.get-noticed-tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-muted-brown);
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all var(--transition-speed);
}
.get-noticed-tab-btn:hover {
    background-color: var(--color-light-tan);
}
.get-noticed-tab-btn.active {
    background-color: var(--color-white);
    color: var(--color-dark-slate);
    box-shadow: 0 -4px 10px -5px rgba(0,0,0,0.1);
}

.get-noticed-tabs-content {
    position: relative;
    min-height: 180px; /* Prevent layout shift */
    margin-bottom: 5rem;
}
.get-noticed-content-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.get-noticed-content-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.get-noticed-content-panel h4 {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .get-noticed-container {
        grid-template-columns: 1fr; /* Stack the columns */
    }
    .get-noticed-visuals {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ======================= 7. Talent Network CTA Section ======================= */
.talent-network-cta-section {
    background-color: var(--color-dark-slate);
    color: var(--color-white);
    padding: 6rem 0;
}
.talent-network-title {
    color: var(--color-white);
    font-size: 2.8rem;
}
.talent-network-cta-section p {
    max-width: 600px;
    margin: 1rem auto 2rem;
    opacity: 0.9;
}
.talent-network-cta-section .btn-primary {
    background-color: var(--color-light-tan);
    color: var(--color-dark-slate);
}
.talent-network-cta-section .btn-primary:hover {
    background-color: var(--color-white);
}

/* ================== Positions Page Responsive Design ================== */
@media (max-width: 992px) {
    .search-bar { grid-template-columns: 1fr 1fr; }
    .search-bar select { grid-column: 1 / 2; }
    .search-bar button { grid-column: 2 / 3; }
    .function-grid { grid-template-columns: 1fr 1fr; }
    .process-steps-container { grid-template-columns: 1fr 1fr; }
    .get-noticed-container { 
        
        /* grid-template-columns: 1fr;  */
        display: block;
    
    }
    .get-noticed-image { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .positions-hero-title { font-size: 2.5rem; }
    .search-bar { grid-template-columns: 1fr; }
    .job-grid { grid-template-columns: 1fr; }
    .function-grid { grid-template-columns: 1fr; }
    .process-steps-container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ======================== REVIEWS PAGE STYLES =============================
   ========================================================================== */

/* ======================= 1. Reviews Hero Section ======================= */
.reviews-hero-section {
    padding: 10rem 0;
    text-align: center;
    background: linear-gradient(rgba(42, 61, 69, 0.8), rgba(42, 61, 69, 0.8)), ;
    background-size: cover;
    background-attachment: fixed;
    color: var(--color-white);
}
.reviews-hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
}
.reviews-hero-subtitle {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.2rem;
}

/* ======================= 2. Trust Metrics Section ======================= */
.trust-metrics-section { background-color: var(--color-off-white); }
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.metric-item-card {
    background-color: var(--color-white);
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.metric-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--color-muted-brown);
}
.metric-description {
    font-size: 1.1rem;
    margin: 0.5rem 0 0;
    color: var(--color-dark-slate);
}

/* ======================= 3. Employer Testimonials Section ======================= */
/* ==========================================================================
   ====== REDESIGNED TESTIMONIALS (SPLIT VIEW SYNC SLIDER) STYLES ======
   ========================================================================== */

/* Remove old testimonial styles */
.employer-testimonials-section, .testimonial-slider-container {
    padding: 0;
    background: var(--color-dark-slate);
}

.testimonial-split-slider {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 80vh;
    height: 100%;
}

/* Left Column: Visuals */
.testimonial-split-visuals {
    position: relative;
    overflow: hidden; /* This is key for the vertical slide effect */
}
.visual-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--bg-image);
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.visual-slide.is-active {
    transform: translateY(0);
}
.visual-slide.is-prev {
    transform: translateY(-100%);
}

/* Right Column: Content */
.testimonial-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: linear-gradient(to bottom right, rgba(42, 61, 69, 0.8), rgba(58, 80, 90, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.testimonial-split-content .section-title {
    color: var(--color-white);
    text-align: left;
    margin-bottom: 2rem;
}
.content-slider-track {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
    color: var(--color-off-white);
}
.content-slide.is-active {
    opacity: 1;
    transform: translateY(0);
}
.testimonial-author-info img 
{
    width: 300px;
    height: 300px;
}

/* Navigation */
.split-slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    color: var(--color-light-tan);
}
.slider-counter {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
}
.current-index { font-size: 1.8rem; }
.split-nav-btn {
    background: none;
    border: 2px solid var(--color-muted-brown);
    color: var(--color-light-tan);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.split-nav-btn:hover {
    background-color: var(--color-muted-brown);
    color: var(--color-white);
}
.slider-buttons { display: flex; gap: 1rem; }

/* Responsive */
@media (max-width: 992px) {
    .testimonial-split-slider {
        grid-template-columns: 1fr; /* Stack the columns */
    }
    .testimonial-split-visuals {
        height: 400px;
    }
    .testimonial-split-content {
        padding: 3rem;
    }
}

/* ======================= 4. Candidate Success Stories Section ======================= */
.candidate-stories-section { background-color: var(--color-white); }
.story-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.story-item:last-child { margin-bottom: 0; }
.story-item:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}
.story-item:nth-child(even) .story-image { grid-column: 2; }
.story-item:nth-child(even) .story-content { grid-column: 1; }
.story-image img {
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-content h3 { color: var(--color-muted-brown); }
.story-content footer {
    font-weight: bold;
    margin-top: 1rem;
    font-family: var(--font-secondary);
}

/* ======================= 5. Video Testimonials Section ======================= */
.video-testimonials-section { background-color: var(--color-off-white); }
.video-player-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-player-wrapper::after { /* Play button */
    content: '▶';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--color-white);
    background: rgba(42, 61, 69, 0.7);
    width: 100px; height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}
.video-player-wrapper:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-muted-brown);
}
.video-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.video-gallery img {
    border-radius: 10px;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.video-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ======================= 6. Why They Trust Us Section ======================= */
.why-trust-us-section { background-color: var(--color-white); }
.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}
.trust-feature-item {
    border-top: 4px solid var(--color-light-tan);
    padding-top: 2rem;
}

/* ======================= 7. Leave Review CTA Section ======================= */
.leave-review-cta-section { background-color: var(--color-light-tan); }
.leave-review-container { text-align: center; padding: 5rem 0; }
.leave-review-title {
    color: var(--color-dark-slate);
    font-size: 2.8rem;
}
.leave-review-content p {
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.leave-review-content .btn-primary {
    background-color: var(--color-dark-slate);
    color: var(--color-white);
}
.leave-review-content .btn-primary:hover {
    background-color: var(--color-muted-brown);
}

/* ================== Reviews Page Responsive Design ================== */
@media (max-width: 992px) {
    .testimonials-container { grid-template-columns: 1fr; }
    .story-item, .story-item:nth-child(even) { grid-template-columns: 1fr; }
    .story-item:nth-child(even) .story-image { grid-column: 1; }
    .story-image { max-width: 500px; margin: 0 auto 2rem; }
}

@media (max-width: 768px) {
    .reviews-hero-title { font-size: 2.8rem; }
    .trust-features-grid { grid-template-columns: 1fr; }
    .video-gallery { flex-wrap: wrap; }
}

/* ==========================================================================
   ======================= INDUSTRIES PAGE STYLES ===========================
   ========================================================================== */

/* ======================= 1. Industries Hero Section ======================= */
.industries-hero-section {
    padding: 10rem 0;
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--color-white);
}
.industries-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(42, 61, 69, 0.9) 0%, transparent 70%), ;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.industries-hero-section .container {
    max-width: 600px;
}
.industries-hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
}
.industries-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-light-tan);
}

/* ======================= 2. Why Specialization Matters Section ======================= */
.why-specialize-section { background-color: var(--color-white); }
.why-specialize-section .section-title {
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-light-tan);
}

/* ======================= 3. Core Industries Grid Section ======================= */
/* ==========================================================================
   ====== REDESIGNED INDUSTRIES (DIAGONAL SLICE SLIDER) STYLES ======
   ========================================================================== */

/* Remove old grid styles */
/* ==========================================================================
   ====== REDESIGNED INDUSTRIES (DIAGONAL SLICE SLIDER) STYLES ======
   ========================================================================== */

/* Remove old grid styles */
.industry-grid-section, .industry-grid, .industry-card {
    background: none;
    display: block;
}

.industry-slider-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
}

/* Left Pane: Visuals */
.slider-image-pane {
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark-slate);
}
.image-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--bg);
    opacity: 0;
}
.image-slide.is-active {
    opacity: 1;
    z-index: 2;
}
.image-slide.is-exiting {
    opacity: 1;
    z-index: 3;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    animation: diagonal-slice-out 0.9s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes diagonal-slice-out {
    0% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
    }
}

/* Right Pane: Content */
.slider-content-pane {
    background-color: var(--color-off-white);
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.content-slide-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.content-slide {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.content-slide.is-active {
    opacity: 1;
    transform: translateY(0);
}
.content-slide h3 {
    font-size: 2.5rem;
    color: var(--color-muted-brown);
}
/* BETTER PRACTICE: Control paragraph color here instead of inline HTML */
.content-slide p {
    color: var(--color-muted-brown);
}

/* Navigation */
.industry-slider-nav {
    margin-top: 2rem;
}
.slider-progress-bar {
    height: 3px;
    background-color: var(--color-light-tan);
    margin-bottom: 1.5rem;
}
.progress-bar-inner {
    height: 100%;
    width: 0; /* JS will update this */
    background-color: var(--color-muted-brown);
    transition: width 0.5s ease;
}
.slider-nav-buttons {
    display: flex;
    gap: 1rem;
}
.industry-nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-light-tan);
    background: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-dark-slate);
    cursor: pointer;
    transition: all var(--transition-speed);
}
.industry-nav-btn:hover {
    background-color: var(--color-light-tan);
}

/* ================== FIXED RESPONSIVE STYLES ================== */
/* Tablet Breakpoint */
@media (max-width: 992px) {
    .industry-slider-container {
        grid-template-columns: 1fr; /* Stack the columns */
    }
    .slider-image-pane {
        height: 400px;
    }
    .slider-content-pane {
        padding: 3rem 2rem;
    }
    .content-slide h3 {
        font-size: 2.2rem; /* Slightly smaller for tablet */
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .slider-image-pane {
        height: 300px; /* Reduced height for phones */
    }
    .slider-content-pane {
        padding: 2.5rem 1.5rem; /* Reduced padding for more space */
    }
    .content-slide h3 {
        font-size: 1.8rem; /* Further reduced font size */
    }
    .content-slide p {
        font-size: 0.8rem; /* Slightly smaller text for balance */
    }
    .industry-nav-btn {
        width: 45px; /* Smaller buttons */
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ======================= 4. Industry Case Study Section ======================= */
.industry-case-study-section { background-color: var(--color-white); }
.case-study-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.case-study-tag {
    display: inline-block;
    background-color: var(--color-light-tan);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-dark-slate);
}
.case-study-content blockquote {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-muted-brown);
}
.case-study-client { font-weight: bold; }
.case-study-image img {
    border-radius: 10px;
}

/* ======================= 5. Emerging Sectors Section ======================= */
.emerging-sectors-section {
    background-color: var(--color-dark-slate);
    color: var(--color-white);
    padding: 5rem 0;
}
.emerging-sectors-section .section-title { color: var(--color-white); }
.emerging-sectors-section .section-intro { max-width: 700px; }
.emerging-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: 2rem;
}
.emerging-list span {
    padding: 10px 20px;
    border: 1px solid var(--color-muted-brown);
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition-speed);
}
.emerging-list span:hover {
    background-color: var(--color-muted-brown);
    color: var(--color-white);
}

/* ======================= 6. Market Insights Section ======================= */
.market-insights-section { background-color: var(--color-off-white); }
.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.insight-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed);
}
.insight-card:hover { transform: translateY(-5px); }
.insight-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.insight-content { padding: 2rem; }
.insight-content h4 { margin-bottom: 0.5rem; }
.insight-content a { font-weight: bold; display: inline-block; margin-top: 1rem; }

/* ======================= 7. Industry CTA Section ======================= */
.industry-cta-section { background-color: var(--color-muted-brown); }
.industry-cta-section .container {
    color: var(--color-white);
    padding: 5rem 0;
}
.industry-cta-title {
    color: var(--color-white);
    font-size: 2.8rem;
}
.industry-cta-section p {
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.industry-cta-section .btn-primary {
    background-color: var(--color-white);
    color: var(--color-dark-slate);
}
.industry-cta-section .btn-primary:hover {
    background-color: var(--color-light-tan);
}

/* ================== Industries Page Responsive Design ================== */
@media (max-width: 992px) {
    .industries-hero-section .container { max-width: 100%; }
    .case-study-container { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .industries-hero-title { font-size: 2.8rem; }
    .industry-grid { grid-template-columns: 1fr; }
    .industry-card-content { transform: translateY(0); }
    .industry-card-content p { opacity: 0.9; }
}

/* ======================= Footer ======================= */
.site-footer-main {
    background-color: var(--color-dark-slate);
    color: var(--color-off-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 { color: var(--color-light-tan); margin-bottom: 1rem; }
.footer-logo { font-family: var(--font-secondary); font-size: 1.8rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--color-off-white); opacity: 0.8; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(221, 201, 180, 0.2); padding-top: 2rem; opacity: 0.7; }

/* ======================= Animations ======================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}
.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* ======================= Responsive Design ======================= */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    section { padding: 4rem 0; }
    .about-container { grid-template-columns: 1fr; }
    .about-image-wrapper { max-width: 500px; margin: 0 auto 3rem; }
    .reviews-section .container { grid-template-columns: 1fr; }
    .review-image-wrapper { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 70%; height: 100vh;
        background-color: var(--color-dark-slate);
        transition: right var(--transition-speed);
        padding-top: 6rem;
    }
    .main-nav.active { right: 0; }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .main-nav a { color: var(--color-white); }
    .menu-toggle {
        display: block;
        background: none; border: none;
        font-size: 1.8rem;
        color: #7A6C5D;
        cursor: pointer;
        z-index: 1001;
    }
    .position-card { flex-direction: column; align-items: flex-start; }
    .position-card p { margin-top: 1rem; }
    .position-card a { margin-top: 1rem; }
    .why-us-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
}

/* ==========================================================================
   ======================= LEGAL & UTILITY PAGE STYLES ======================
   ========================================================================== */

/* Hero Section for Legal Pages */
.legal-hero-section {
    padding: 6rem 0;
    background-color: var(--color-dark-slate);
    text-align: center;
    color: var(--color-white);
}
.page-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-light-tan);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content Section for Legal Pages */
.legal-content-section {
    background-color: var(--color-white);
    padding: 5rem 0;
}
.legal-content-container {
    max-width: 800px; /* Optimal for readability */
}
.last-updated {
    font-style: italic;
    color: var(--color-muted-brown);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-light-tan);
    padding-bottom: 2rem;
}
.legal-content-container article {
    margin-bottom: 2.5rem;
}
.legal-content-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-dark-slate);
}
.legal-content-container p {
    line-height: 1.8;
}
.legal-content-container ul {
    list-style: none;
    padding-left: 0;
}
.legal-content-container ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.8;
}
.legal-content-container ul li::before {
    content: '•';
    color: var(--color-muted-brown);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* ==========================================================================
   ======================= THANK YOU PAGE STYLES ============================
   ========================================================================== */

.utility-page-body {
    background: linear-gradient(to bottom right, var(--color-dark-slate), #3a505a);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.thank-you-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thank-you-box {
    max-width: 600px;
    width: 100%;
    text-align: center;
    color: var(--color-white);
    
    /* Glass morphism effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    /* On-load animation */
    animation: fadeInAndScale 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInAndScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thank-you-box h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--color-white);
    margin: 1.5rem 0 1rem;
}

.thank-you-box p {
    color: var(--color-light-tan);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.thank-you-box .btn-primary {
    background-color: var(--color-light-tan);
    color: var(--color-dark-slate);
}
.thank-you-box .btn-primary:hover {
    background-color: var(--color-white);
}

/* Checkmark Animation Styling */
.checkmark-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.checkmark-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.checkmark-circle {
    stroke-dasharray: 166; /* Circumference of the circle */
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--color-muted-brown);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48; /* Length of the checkmark path */
    stroke-dashoffset: 48;
    stroke-width: 4;
    stroke: var(--color-light-tan);
    stroke-linecap: round;
    animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards; /* Delayed start */
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}