/* ============================================
   SERVICE PAGE - MODERN REDESIGN
   TaskMasters Brand Colors Applied - EDITORIAL SHARP CORNERS
   ============================================ */

/* ========== HERO SECTION - EDITORIAL LAYOUT ========== */
.hero-section {
    background: #F3F1DE;
    color: #1C1C1C;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* ===== ANIMATED GRID BACKGROUND ===== */
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image: 
        linear-gradient(rgba(61, 64, 91, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 64, 91, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMoveUpLeft 25s linear infinite;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

/* ===== GRID ANIMATION - Diagonal Up-Left Movement ===== */
@keyframes gridMoveUpLeft {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-60px, -60px);
    }
}

/* ===== HERO CONTAINER - Grid Layout ===== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    grid-template-areas:
        "badge badge"
        "title title"
        "subtitle description";
}

/* ===== TOP BADGE - LIGHT MODE: ORANGE | DARK MODE: GREEN ===== */
.hero-badge {
    grid-area: badge;
    justify-self: center;
    display: inline-block;
    background: #DF7A5F; /* ✅ ORANGE in light mode */
    border: 2px solid #1C1C1C;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #1C1C1C;
    font-family: var(--font-primary, 'Poppins', sans-serif);
}

/* ===== MAIN TITLE - Centered, HUGE ===== */
.hero-title {
    grid-area: title;
    text-align: center;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    margin-bottom: 60px;
    line-height: 0.95;
    color: #1C1C1C;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: -3px;
}

/* ===== SUBTITLE - Left side with YELLOW divider ===== */
.hero-subtitle {
    grid-area: subtitle;
    text-align: left;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #3D405B;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
    padding-right: 40px;
    border-right: 2px solid rgba(61, 64, 91, 0.2);
    position: relative;
}

/* ===== Accent line on divider - YELLOW in light mode ===== */
.hero-subtitle::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 0;
    width: 2px;
    height: 80px;
    background: #F2CC8F; /* ✅ YELLOW accent in light mode */
}

/* ===== DESCRIPTION + BUTTON - Right side ===== */
.hero-description {
    grid-area: description;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(28, 28, 28, 0.75);
    font-family: var(--font-secondary, 'Raleway', sans-serif);
    font-weight: 400;
    padding-left: 40px;
}

/* ===== CTA BUTTON - ORANGE on top, YELLOW shadow behind ===== */
.hero-cta {
    grid-area: description;
    align-self: end;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #F2CC8F; /* ✅ ORANGE button */
    color: #1C1C1C;
    padding: 18px 45px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    border: 2px solid #1C1C1C;
    margin-top: 20px;
    margin-left: 40px;
    isolation: isolate; /* ✅ CRITICAL - Creates new stacking context */
}

/* ✅ YELLOW SHADOW - Use ::before with proper z-index */
.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DF7A5F; /* ✅ YELLOW shadow */
    border: 2px solid #1C1C1C;
    transform: translate(-8px, 8px); /* ✅ Shadow LEFT and DOWN */
    transition: none;
    z-index: -1; /* ✅ Behind button (now works with isolation) */
}

/* ✅ Remove ::after */
.hero-cta::after {
    display: none;
}

/* ✅ HOVER: Only button moves */
.hero-cta:hover {
    transform: translate(-4px, 4px); /* ✅ Button moves toward shadow */
    background: #F2CC8F; /* ✅ Darker orange */
    color: #1C1C1C;
}

/* ✅ Shadow stays in place */
.hero-cta:hover::before {
    transform: translate(-8px, 8px); /* ✅ STAYS FIXED */
}

.hero-cta i,
.hero-cta span {
    position: relative;
    z-index: 1; /* ✅ Text/icon on top */
}

/* ===== RESPONSIVE - Stack on mobile ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        grid-template-areas:
            "badge"
            "title"
            "subtitle"
            "description"
            "button";
    }
    
    .hero-subtitle {
        text-align: center;
        padding-right: 0;
        border-right: none;
    }
    
    .hero-subtitle::after {
        display: none;
    }
    
    .hero-description {
        text-align: center;
        padding-left: 0;
        margin-bottom: 20px;
    }
    
    .hero-cta {
        grid-area: button;
        align-self: start;
        justify-self: center;
        margin-left: 0;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 0 30px;
        gap: 30px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 20px;
    }
    
    .hero-description {
        margin-bottom: 10px;
    }
}

/* ===== ACCESSIBILITY - Disable animation if user prefers ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none !important;
    }
}

/* ========== DARK MODE - GREEN COLORS ========== */
body.dark-mode .hero-section {
    background: linear-gradient(180deg, #2A2C3E 0%, #1C1C1C 100%);
    color: #F3F1DE;
}

body.dark-mode .hero-section::before {
    background-image: 
        linear-gradient(rgba(128, 178, 155, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 178, 155, 0.15) 1px, transparent 1px);
    opacity: 0.4;
}

/* DARK MODE: Badge - GREEN */
body.dark-mode .hero-badge {
    background: rgba(128, 178, 155, 0.15);
    border-color: rgba(128, 178, 155, 0.4);
    color: #80B29B;
}

/* DARK MODE: Title - Cream */
body.dark-mode .hero-title {
    color: #F3F1DE;
}

/* DARK MODE: Subtitle - Cream */
body.dark-mode .hero-subtitle {
    color: rgba(243, 241, 222, 0.9);
}

/* DARK MODE: Subtitle divider - GREEN */
body.dark-mode .hero-subtitle::after {
    background: #80B29B;
}

/* DARK MODE: Description - Cream */
body.dark-mode .hero-description {
    color: rgba(243, 241, 222, 0.85);
}

/* DARK MODE: CTA Button - GREEN on top, YELLOW shadow behind */
body.dark-mode .hero-cta {
    background: linear-gradient(135deg, #80B29B 0%, #6A9B84 100%); /* ✅ GREEN button */
    color: #1C1C1C;
}

body.dark-mode .hero-cta::before {
    background: #80B29B; /* ✅ YELLOW shadow */
    border-color: #1C1C1C;
}

body.dark-mode .hero-cta:hover {
    background: linear-gradient(135deg, #6A9B84 0%, #5A8A74 100%);
    color: #1C1C1C;
}


/* ========== BODY SECTION ========== */
.body-section {
    padding: 100px 0;
    background: #E1DFCC;
    position: relative;
}

/* ===== ADD ANIMATED GRID BACKGROUND - Same as Hero ===== */
.body-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image: 
        linear-gradient(rgba(61, 64, 91, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 64, 91, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMoveUpLeft 25s linear infinite;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

/* Make sure content is above the grid */
.body-section-content {
    position: relative;
    z-index: 2;
}

.body-section-title {
    position: relative;
    z-index: 2;
}

.body-section-subtitle {
    position: relative;
    z-index: 2;
}

.body-section:nth-child(even) {
    background: #F3F1DE;
}

.body-section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #3D405B;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* ===== TITLE UNDERLINE - YELLOW in light mode ===== */
.body-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: #F2CC8F; /* ✅ YELLOW */
    border-radius: 0;
}

.body-section-subtitle {
    font-size: 1.2rem;
    color: rgba(28, 28, 28, 0.7);
    margin-top: 10px;
    margin-bottom: 50px;
    text-align: center;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
}

.body-section-content {
    max-width: 1100px;
    margin: 0 auto;
}

.body-paragraph,
.body-section-content p {
    font-size: 1.15rem;
    line-height: 2;
    color: rgba(28, 28, 28, 0.85);
    margin-bottom: 35px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
}

/* Word hover effect */
.body-paragraph .hover-word,
.body-section-content p .hover-word {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    position: relative;
}

.body-paragraph .hover-word:hover,
.body-section-content p .hover-word:hover {
    transform: scale(1.2);
    color: #80B29B;
    font-weight: 600;
    z-index: 10;
}

/* ===== Bullet List Styling ===== */
.body-section-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 50px;
    background: #3D405B;
    border-radius: 0;
    padding: 50px 40px;
    box-shadow: 0 16px 48px rgba(61, 64, 91, 0.15);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(128, 178, 155, 0.2);
}

.body-section-content ul li {
    padding: 25px 30px 25px 75px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(243, 241, 222, 0.9);
    border-bottom: 1px solid rgba(243, 241, 222, 0.1);
    transition: all 0.3s ease;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
}

.body-section-content ul li:last-child {
    border-bottom: none;
}

.body-section-content ul li:hover {
    color: #80B29B;
    transform: translateX(12px);
    padding-left: 85px;
    background: rgba(128, 178, 155, 0.05);
}

/* ===== BULLET CHECKMARK - YELLOW background with ORANGE border ===== */
.body-section-content ul li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #1C1C1C; /* ✅ Dark text */
    background: #F2CC8F; /* ✅ YELLOW background */
    border: 1.5px solid #DF7A5F; /* ✅ ORANGE border (thinner) */
    font-weight: bold;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(242, 204, 143, 0.3); /* ✅ Yellow shadow */
    transition: all 0.3s ease;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.body-section-content ul li:hover::before {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(242, 204, 143, 0.5); /* ✅ Stronger yellow shadow */
}

@media (max-width: 768px) {
    .body-section {
        padding: 60px 20px;
    }
    
    .body-section-content ul {
        padding: 35px 25px;
        border-radius: 0;
    }
    
    .body-section-content ul li {
        padding: 20px 20px 20px 65px;
        font-size: 1rem;
    }
    
    .body-section-content ul li:hover {
        transform: translateX(8px);
        padding-left: 70px;
    }
    
    .body-section-content ul li::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        left: 15px;
    }
}

/* ========== DARK MODE - Keep GREEN ========== */
body.dark-mode .body-section,
body.dark-mode .cards-section {
    background: linear-gradient(180deg, #1C1C1C 0%, #2A2C3E 100%) !important;
}

body.dark-mode .body-section:nth-child(even) {
    background: linear-gradient(180deg, #1C1C1C 0%, #2A2C3E 100%) !important;
}

body.dark-mode .body-section-title,
body.dark-mode .cards-section-title {
    color: #F3F1DE;
}

/* ✅ DARK MODE: Title underline stays GREEN */
body.dark-mode .body-section-title::after {
    background: #80B29B !important; /* ✅ GREEN in dark mode */
}

body.dark-mode .body-paragraph,
body.dark-mode .body-section-content p,
body.dark-mode .body-section-subtitle,
body.dark-mode .cards-section-subtitle {
    color: rgba(243, 241, 222, 0.8);
}

/* ✅ DARK MODE: Bullet checkmarks stay GREEN */
body.dark-mode .body-section-content ul li::before {
    background: #80B29B !important; /* ✅ GREEN background */
    border: 1.5px solid #80B29B !important; /* ✅ GREEN border (same color) */
    box-shadow: 0 4px 12px rgba(128, 178, 155, 0.3) !important;
}

body.dark-mode .body-section-content ul li:hover::before {
    box-shadow: 0 6px 18px rgba(128, 178, 155, 0.5) !important;
}




/* ========== CARDS SECTION ========== */
.cards-section {
    background: #e9e7d5;
    padding: 100px 0;
    overflow: visible;
}

.cards-section .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===== NEW LAYOUT - Cards Top, Title Bottom ===== */
.cards-section .row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* ===== CARDS ROW - Top Section (Horizontal) ===== */
.cards-carousel-wrapper {
    position: relative;
    padding: 0;
    height: auto;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    order: 1;
    width: 100%;
}

/* ===== HORIZONTAL ROW LAYOUT - ALL CENTERED ===== */
.cards-vertical-carousel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    perspective: none;
    animation: none;
    will-change: auto;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Individual Card Wrapper - NO TILT */
.feature-card-wrapper {
    min-height: auto;
    transform: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    flex: 0 1 calc(33.333% - 20px);
    max-width: 400px;
    min-width: 320px;
}

.feature-card-wrapper:hover {
    transform: translateY(-5px);
    z-index: 10;
}

/* Feature Card Styling */
.feature-card {
    background: #3D405B;
    border-radius: 0;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid #1C1C1C;
    box-shadow: 0 4px 12px rgba(61, 64, 91, 0.15);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* ===== TOP ACCENT LINE - ORANGE in Light Mode ===== */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #DF7A5F; /* ✅ CHANGED: Orange in light mode */
    transform: scaleX(1);
    transform-origin: left;
    transition: none;
}

.feature-card-wrapper:hover .feature-card {
    box-shadow: 0 8px 24px rgba(61, 64, 91, 0.25);
    border-color: #F2CC8F; /* ✅ CHANGED: Yellow border on hover */
}

.feature-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #DF7A5F; /* ✅ CHANGED: Orange title in light mode */
    margin-bottom: 18px;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.feature-card .card-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(243, 241, 222, 0.85);
    margin-bottom: 0;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
}

/* ===== TITLE/DESCRIPTION - PERFECTLY CENTERED ===== */
.cards-title-wrapper {
    position: relative;
    padding: 0;
    order: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.cards-title-sticky {
    position: relative;
    top: auto;
    padding: 40px 60px;
    background: transparent;
    border-radius: 0;
    border: none;
    max-width: 1200px;
    width: 100%;
}

/* ===== HUGE TITLE - CENTERED ===== */
.cards-section-title {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 900;
    color: #3D405B;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 0;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: -3px;
    line-height: 1;
    width: 100%;
}

/* ===== REMOVE TITLE UNDERLINE ===== */
.cards-section-title::after {
    display: none;
}

/* ===== LARGE SUBTITLE ===== */
.cards-section-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: rgba(28, 28, 28, 0.7);
    margin-bottom: 0;
    text-align: center;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
    line-height: 1.7;
    width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .feature-card-wrapper {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 991px) {
    .cards-section-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
    
    .cards-section .container-fluid {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .cards-section {
        padding: 60px 20px;
    }
    
    .cards-section .container-fluid {
        padding: 0 20px;
    }
    
    .cards-vertical-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card-wrapper {
        flex: 0 1 auto;
        width: 100%;
        max-width: 500px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .cards-title-sticky {
        padding: 40px 20px;
    }
    
    .cards-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
        letter-spacing: -2px;
        line-height: 1.1;
    }
    
    .cards-section-subtitle {
        font-size: 1.1rem;
    }
}

/* ========== DARK MODE - GREEN COLORS ========== */
body.dark-mode .cards-section {
    background: linear-gradient(180deg, #1C1C1C 0%, #2A2C3E 100%) !important;
}

/* ✅ DARK MODE: Main card border - GREEN */
body.dark-mode .feature-card {
    background: #3D405B;
    border-color: #80B29B !important; /* ✅ CHANGED: GREEN border (was #F2CC8F yellow) */
}

/* ✅ DARK MODE: Card accent line - GREEN */
body.dark-mode .feature-card::before {
    background: #80B29B !important;
}

/* ✅ DARK MODE: Card hover border - GREEN */
body.dark-mode .feature-card-wrapper:hover .feature-card {
    border-color: #80B29B !important;
}

/* ✅ DARK MODE: Card title - GREEN */
body.dark-mode .feature-card .card-title {
    color: #80B29B !important;
}

body.dark-mode .cards-section-title {
    color: #F3F1DE;
}

body.dark-mode .cards-section-subtitle {
    color: rgba(243, 241, 222, 0.8);
}
w


/* ========== CTA SECTION - BRUTALIST EDITORIAL (CLEAN VERSION) ========== */
.cta-section {
    padding: 0;
    padding-top: 40px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.cta-section.cta-bg-light {
    background: #cbc9b9;
    color: #1C1C1C;
}

.cta-section.cta-bg-dark {
    background: #3D405B;
    color: #F3F1DE;
}

.cta-section.cta-bg-primary {
    background: #DF7A5F;
    color: #F3F1DE;
}

/* Asymmetric Grid Layout */
.cta-content {
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 70vh;
}

/* Left Side - Main CTA */
.cta-main-area {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Corner Accent */
.cta-main-area::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 120px;
    height: 120px;
    border: 1px solid currentColor;
    opacity: 0.2;
    border-right: none;
    border-bottom: none;
}

/* ✅ CTA LABEL - YELLOW underline in Light Mode */
.cta-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 3px solid #F2CC8F; /* ✅ YELLOW divider line */
    width: fit-content;
    font-family: var(--font-primary, 'Poppins', sans-serif);
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 0.95;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: -3px;
    max-width: 600px;
}

.cta-description {
    font-size: 1.15rem;
    margin-bottom: 50px;
    line-height: 1.8;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
    max-width: 550px;
    padding-left: 30px;
    border-left: 4px solid #80B29B;
}

/* ✅ CTA BUTTON - ORANGE with YELLOW shadow in Light Mode */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 55px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid;
    width: fit-content;
    isolation: isolate;
    z-index: 1;
}

/* ✅ LIGHT MODE: Button - ORANGE */
.cta-bg-light .cta-button {
    background: #DF7A5F; /* ✅ ORANGE button */
    color: #1C1C1C;
    border-color: #1C1C1C;
}

.cta-bg-dark .cta-button,
.cta-bg-primary .cta-button {
    background: #F3F1DE;
    color: #1C1C1C;
    border-color: #1C1C1C;
}

/* ✅ LIGHT MODE: Button Shadow - YELLOW with lower opacity */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(242, 204, 143, 0.6); /* ✅ YELLOW shadow with 60% opacity */
    transform: translate(-8px, -8px);
    transition: transform 0.3s ease;
    z-index: -1;
    border: 1px solid #1C1C1C;
}

.cta-button:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.cta-button:hover::before {
    transform: translate(-4px, -4px);
}

.cta-button i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Right Side - Image Placeholder Box */
.cta-side-area {
    background: rgba(0, 0, 0, 0.05);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-side-area::before {
    display: none;
}

/* Bottom Corner Accent */
.cta-side-area::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    border: 1px solid currentColor;
    opacity: 0.2;
    border-left: none;
    border-top: none;
}

.cta-image-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1/1;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Styling */
.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder Text */
.placeholder-text {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.3;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    pointer-events: none;
}

.cta-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-image-placeholder img + .placeholder-text {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-content {
        grid-template-columns: 1fr;
    }
    
    .cta-main-area {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 80px 40px;
    }
    
    .cta-side-area {
        padding: 80px 40px;
        min-height: 500px;
        display: none;
    }
    
    .cta-image-placeholder {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cta-main-area,
    .cta-side-area {
        padding: 60px 30px;
    }
    
    .cta-main-area::before,
    .cta-side-area::after {
        width: 80px;
        height: 80px;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 0.95rem;
    }
    
    .cta-side-area {
        min-height: 400px;
    }
}

/* ========== DARK MODE - GREEN ========== */

/* ✅ DARK MODE: CTA Label - GREEN underline */
body.dark-mode .cta-label {
    border-bottom-color: #80B29B !important; /* ✅ GREEN divider line */
}

/* ✅ DARK MODE: CTA Headline - CREAM WHITE */
body.dark-mode .cta-headline {
    color: #F3F1DE !important; /* ✅ Cream white */
}

/* ✅ DARK MODE: Button - GREEN */
body.dark-mode .cta-bg-light .cta-button {
    background: #80B29B !important; /* ✅ GREEN button */
    color: #1C1C1C !important;
    border-color: #1C1C1C !important;
}

/* ✅ DARK MODE: Button Shadow - GREEN with lower opacity */
body.dark-mode .cta-button::before {
    background: rgba(128, 178, 155, 0.5) !important; /* ✅ GREEN shadow with 50% opacity */
    border-color: #1C1C1C !important;
}

body.dark-mode .cta-section.cta-bg-light {
    background: #1C1C1C;
    color: #F3F1DE;
}

body.dark-mode .cta-main-area {
    border-right-color: rgba(243, 241, 222, 0.1);
}

body.dark-mode .cta-side-area {
    background: rgba(243, 241, 222, 0.05);
}

body.dark-mode .cta-description {
    color: rgba(243, 241, 222, 0.85);
}

/* ========== TESTIMONIAL SECTION ========== */
.testimonial-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.testimonial-section.testimonial-bg-light {
    background: #F3F1DE;
    color: #1C1C1C;
}

.testimonial-section.testimonial-bg-dark {
    background: linear-gradient(135deg, #3D405B 0%, #2A2C3E 100%);
    color: #F3F1DE;
}

.testimonial-section.testimonial-bg-primary {
    background: linear-gradient(135deg, #DF7A5F 0%, #C66850 100%);
    color: #F3F1DE;
}

.testimonial-content {
    max-width: 950px;
    margin: 0 auto;
}

/* ===== TESTIMONIAL BADGE - YELLOW in Light Mode ===== */
.testimonial-badge {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    margin-bottom: 35px;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* ✅ LIGHT MODE: Badge - YELLOW with low opacity */
.testimonial-bg-light .testimonial-badge {
    background: rgba(242, 204, 143, 0.25); /* ✅ YELLOW with low opacity */
    color: #3D405B;
    border: 1px solid rgba(242, 204, 143, 0.4); /* ✅ YELLOW border */
}

.testimonial-bg-dark .testimonial-badge,
.testimonial-bg-primary .testimonial-badge {
    background: rgba(242, 204, 143, 0.2); /* ✅ YELLOW with low opacity */
    color: #F3F1DE;
    border: 1px solid rgba(242, 204, 143, 0.3); /* ✅ YELLOW border */
}

.testimonial-quote-icon {
    font-size: 4rem;
    opacity: 0.2;
    margin-bottom: 25px;
    color: #80B29B;
}

.testimonial-quote {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    line-height: 1.8;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 45px 0;
    padding: 0;
    border: none;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
}

.testimonial-author {
    margin-top: 35px;
}

/* ✅ AUTHOR NAME - ORANGE */
.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    color: #DF7A5F; /* ✅ ORANGE in light mode */
}

.author-details {
    font-size: 1.05rem;
    opacity: 0.75;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 20px;
    }
}

/* ========== DARK MODE - GREEN BADGE ========== */

/* Main Background - Always dark in dark mode */
body.dark-mode .testimonial-section.testimonial-bg-light {
    background: #1C1C1C !important;
    color: #F3F1DE !important;
}

body.dark-mode .testimonial-section.testimonial-bg-dark {
    background: linear-gradient(135deg, #2A2C3E 0%, #1C1C1C 100%) !important;
    color: #F3F1DE !important;
}

body.dark-mode .testimonial-section.testimonial-bg-primary {
    background: linear-gradient(135deg, #3D405B 0%, #2A2C3E 100%) !important;
    color: #F3F1DE !important;
}

/* ✅ DARK MODE: Badge - GREEN with low opacity */
body.dark-mode .testimonial-bg-light .testimonial-badge {
    background: rgba(128, 178, 155, 0.2) !important; /* ✅ GREEN with low opacity */
    color: #80B29B !important; /* ✅ GREEN text */
    border: 1px solid rgba(128, 178, 155, 0.3) !important; /* ✅ GREEN border */
}

body.dark-mode .testimonial-bg-dark .testimonial-badge,
body.dark-mode .testimonial-bg-primary .testimonial-badge {
    background: rgba(128, 178, 155, 0.15) !important; /* ✅ GREEN with low opacity */
    color: #80B29B !important; /* ✅ GREEN text */
    border: 1px solid rgba(128, 178, 155, 0.3) !important; /* ✅ GREEN border */
}

/* Quote Icon - Green accent */
body.dark-mode .testimonial-quote-icon {
    color: #80B29B !important;
    opacity: 0.3 !important;
}

/* Quote Text - Cream color */
body.dark-mode .testimonial-quote {
    color: rgba(243, 241, 222, 0.9) !important;
}

/* ✅ DARK MODE: Author Name - ORANGE (stays the same) */
body.dark-mode .author-name {
    color: #80B29B !important; /* ✅ GREEN in dark mode */
}

/* Author Details - Slightly transparent cream */
body.dark-mode .author-details {
    color: rgba(243, 241, 222, 0.7) !important;
    opacity: 1 !important;
}

/* Optional: Add subtle grid background */
body.dark-mode .testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(243, 241, 222, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 241, 222, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0.5;
}

body.dark-mode .testimonial-content {
    position: relative;
    z-index: 1;
}



/* ========== FAQ SECTION - MINIMAL CLEAN DESIGN ========== */
.faq-section {
    padding: 120px 0;
    background: #E1DFCC;
    position: relative;
}

/* Grid Background Pattern */
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(61, 64, 91, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 64, 91, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* ===== Grid Layout - Left: Title | Divider | Right: FAQ Items ===== */
.faq-header-area {
    display: grid;
    grid-template-columns: 35% 1px 1fr;
    gap: 0;
    align-items: start;
    position: relative;
}

/* ===== Left Side - Title & Subtitle Block ===== */
.faq-title-block {
    position: relative;
    padding-right: 60px;
    position: sticky;
    top: 120px;
}

/* ✅ FAQ SECTION LABEL - ORANGE in Light Mode */
.faq-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #DF7A5F; /* ✅ ORANGE - much more readable! */
    margin-bottom: 20px;
    display: block;
    font-family: var(--font-primary, 'Poppins', sans-serif);
}


.faq-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #3D405B;
    margin: 0 0 20px 0;
    line-height: 1.1;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: -2px;
    padding: 0;
}

.faq-section-title::after {
    display: none;
}

/* Subtitle Below Title */
.faq-subtitle-block {
    padding: 0;
    border: none;
    margin-top: 0;
}

.faq-section-subtitle {
    font-size: 1.05rem;
    color: rgba(28, 28, 28, 0.65);
    margin: 0;
    line-height: 1.7;
    font-family: var(--font-secondary, 'Raleway', sans-serif);
    text-align: left;
}

/* ===== VERTICAL DIVIDER ===== */
.faq-divider {
    width: 2px;
    height: 100%;
    min-height: 250px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 50px 0 80px;
    display: block;
}

/* ===== Right Side - FAQ Items ===== */
.faq-grid-wrapper {
    display: block;
    padding-left: 100px;
}

.faq-column {
    margin-top: 0 !important;
}

.faq-accordion {
    max-width: none;
    margin: 0;
}

/* ===== FAQ Item ===== */
.faq-accordion .accordion-item {
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
    margin-bottom: 0;
    margin-left: -60px;
    padding-left: 60px;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:last-child {
    border-bottom: 0px solid rgba(61, 64, 91, 0.25);
}

.faq-accordion .accordion-item:hover {
    transform: none;
    background: rgba(0, 0, 0, 0.03);
}

/* ===== REMOVED - Number Badge ===== */
.faq-accordion .accordion-item::before {
    display: none;
}

/* ===== FAQ Button - Clean Design ===== */
.faq-accordion .accordion-button {
    background: transparent;
    color: #3D405B;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 25px 50px 25px 0;
    border: none;
    box-shadow: none;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    text-align: left;
}

/* ✅ FAQ OPEN STATE - ORANGE in Light Mode */
.faq-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #DF7A5F; /* ✅ ORANGE when open */
    box-shadow: none;
}
/* ✅ FAQ HOVER - YELLOW in Light Mode */
.faq-accordion .accordion-button:hover {
    color: #DF7A5F; /* ✅ ORANGE on hover */
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* ===== Simple V Arrow (Chevron Down) ===== */
.faq-accordion .accordion-button::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.3s ease;
    background-image: none;
}

/* ===== Rotate Arrow When Open ===== */
.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: translateY(-40%) rotate(-135deg);
}

/* ===== FAQ Answer Body ===== */
.faq-accordion .accordion-body {
    background: transparent;
    padding: 0 50px 30px 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(28, 28, 28, 0.75);
    font-family: var(--font-secondary, 'Raleway', sans-serif);
    border-top: none;
}

/* Remove decorative element */
.faq-decoration {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .faq-header-area {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .faq-divider {
        display: none;
    }
    
    .faq-title-block {
        padding-right: 0;
        padding-bottom: 40px;
        border-bottom: 2px solid rgba(61, 64, 91, 0.25);
        position: relative;
        top: auto;
    }
    
    .faq-grid-wrapper {
        padding-left: 0;
    }
    
    .faq-accordion .accordion-item {
        margin-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-container {
        padding: 0 20px;
    }
    
    .faq-accordion .accordion-button {
        font-size: 1rem;
        padding: 20px 40px 20px 0;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 40px 25px 0;
    }
    
    .faq-accordion .accordion-button::after {
        width: 10px;
        height: 10px;
    }
}

/* ===== DARK MODE - GREEN ===== */
body.dark-mode .faq-section {
    background: #1C1C1C;
}

/* ✅ DARK MODE: FAQ Label - GREEN */
body.dark-mode .faq-section-label {
    color: #80B29B !important; /* ✅ GREEN in dark mode */
}

body.dark-mode .faq-section-title {
    color: #F3F1DE;
}

body.dark-mode .faq-section-subtitle {
    color: rgba(243, 241, 222, 0.8);
}

body.dark-mode .faq-divider {
    background: rgba(243, 241, 222, 0.3);
}

body.dark-mode .faq-accordion .accordion-item {
    border-color: rgba(243, 241, 222, 0.25);
}

body.dark-mode .faq-accordion .accordion-button {
    color: #F3F1DE;
}

/* ✅ DARK MODE: FAQ Label - GREEN */
body.dark-mode .faq-section-label {
    color: #80B29B !important; /* ✅ GREEN in dark mode */
}

/* ✅ DARK MODE: FAQ Open & Hover - GREEN */
body.dark-mode .faq-accordion .accordion-button:not(.collapsed),
body.dark-mode .faq-accordion .accordion-button:hover {
    color: #80B29B !important; /* ✅ GREEN when open/hover in dark mode */
}

body.dark-mode .faq-accordion .accordion-item:hover {
    background: rgba(128, 178, 155, 0.05); /* ✅ Subtle GREEN background on hover */
}

/* ========== DARK MODE SUPPORT ========== */
body.dark-mode .body-section,
body.dark-mode .cards-section {
    background: linear-gradient(180deg, #1C1C1C 0%, #2A2C3E 100%) !important; /* ✅ Black top, Dark blue bottom - Straight vertical */
}

body.dark-mode .body-section:nth-child(even) {
    background: linear-gradient(180deg, #1C1C1C 0%, #2A2C3E 100%) !important; /* ✅ Same gradient for consistency */
}



body.dark-mode .body-section-title,
body.dark-mode .cards-section-title {
    color: #F3F1DE;
}


body.dark-mode .body-paragraph,
body.dark-mode .body-section-content > p,
body.dark-mode .body-section-subtitle,
body.dark-mode .cards-section-subtitle {
    color: rgba(243, 241, 222, 0.8);
}


body.dark-mode .feature-card {
    background: #3D405B;
    border-color: #F2CC8F;
}


body.dark-mode .cta-section.cta-bg-light {
    background: #1C1C1C;
    color: #F3F1DE;
}


body.dark-mode .cta-main-area {
    border-right-color: rgba(243, 241, 222, 0.1);
}


body.dark-mode .cta-side-area {
    background: rgba(243, 241, 222, 0.05);
}


body.dark-mode .cta-stat-card {
    border-color: rgba(243, 241, 222, 0.3);
}


body.dark-mode .faq-section::before {
    background-image: 
        linear-gradient(rgba(243, 241, 222, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 241, 222, 0.03) 1px, transparent 1px);
}




/* ============================================
   SERVICE PAGE HERO SECTION - DARK MODE
   ============================================ */

/* Hero Background - Keep dark gradient */
body.dark-mode .hero-section {
  background: linear-gradient(180deg, #2A2C3E 0%, #1C1C1C 100%) !important; /* ✅ Dark blue top, Black bottom - Straight vertical */
  color: #F3F1DE !important;
}

/* Animated Grid Background - Lighter for visibility */
body.dark-mode .hero-section::before {
  background-image: 
    linear-gradient(rgba(128, 178, 155, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 178, 155, 0.15) 1px, transparent 1px) !important;
  opacity: 0.4 !important;
}

/* Floating Geometric Elements - Adjust opacity */
body.dark-mode .hero-geometric {
  border-color: rgba(128, 178, 155, 0.4) !important;
}

/* Square 1 - Green */
body.dark-mode .hero-geometric-1 {
  background: rgba(128, 178, 155, 0.08) !important;
  border-color: rgba(128, 178, 155, 0.4) !important;
}

/* Triangle 1 - Orange accent */
body.dark-mode .hero-geometric-2 {
  background: rgba(223, 122, 95, 0.12) !important;
  border-color: rgba(223, 122, 95, 0.4) !important;
}

/* Circle 1 - Green */
body.dark-mode .hero-geometric-3 {
  background: rgba(128, 178, 155, 0.1) !important;
  border-color: rgba(128, 178, 155, 0.4) !important;
}

/* Square 2 - Orange */
body.dark-mode .hero-geometric-4 {
  background: rgba(223, 122, 95, 0.1) !important;
  border-color: rgba(223, 122, 95, 0.4) !important;
}

/* Line Element 1 - Green gradient */
body.dark-mode .hero-geometric-5 {
  background: linear-gradient(90deg, transparent, rgba(128, 178, 155, 0.5), transparent) !important;
}

/* Line Element 2 - Orange gradient */
body.dark-mode .hero-geometric-6 {
  background: linear-gradient(90deg, transparent, rgba(223, 122, 95, 0.5), transparent) !important;
}

/* Rectangle - Green */
body.dark-mode .hero-geometric-7 {
  background: rgba(128, 178, 155, 0.08) !important;
  border-color: rgba(128, 178, 155, 0.35) !important;
}

/* Cursor Glow - Enhanced for dark mode */
body.dark-mode .hero-cursor-glow {
  background: radial-gradient(circle, rgba(128, 178, 155, 0.4) 0%, rgba(128, 178, 155, 0.2) 40%, transparent 70%) !important;
}

/* Hero Badge - Green accent */
body.dark-mode .hero-badge {
  background: rgba(128, 178, 155, 0.15) !important;
  border-color: rgba(128, 178, 155, 0.4) !important;
  color: #80B29B !important;
}

/* Hero Title - Cream */
body.dark-mode .hero-title {
  color: #F3F1DE !important;
}

/* Hero Subtitle - Slightly transparent cream */
body.dark-mode .hero-subtitle {
  color: rgba(243, 241, 222, 0.9) !important;
  opacity: 1 !important; /* Override the 0.9 opacity */
}

/* Hero Description - Light cream */
body.dark-mode .hero-description {
  color: rgba(243, 241, 222, 0.85) !important;
  opacity: 1 !important; /* Override the 0.85 opacity */
}

/* Hero CTA Button - Green */
body.dark-mode .hero-cta {
  background: linear-gradient(135deg, #80B29B 0%, #6A9B84 100%) !important;
  color: #1C1C1C !important;
  box-shadow: 0 8px 24px rgba(128, 178, 155, 0.3) !important;
}


body.dark-mode .hero-cta:hover {
  box-shadow: 0 12px 32px rgba(128, 178, 155, 0.5) !important;
  color: #1C1C1C !important;
}
/* ===== CTA Video Styling ===== */
.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hide placeholder text when video exists */
.cta-image-placeholder:has(video) .placeholder-text {
    display: none;
}

/* Optional: Add subtle border/effect to video */
.cta-image-placeholder video {
    border: none;
}

/* Dark Mode - Adjust video brightness if needed */
body.dark-mode .cta-video {
    opacity: 0.9;
}
