/* ==============================================
   PT Green Solution Lestari - Modern Styles
   ============================================== */

/* Header: Akan didesain ulang */

/* Hero Section: Akan didesain ulang */

/* ==============================================
   WHY SUSTAINABILITY SECTION - Dribbble Style
   ============================================== */
.why-sustainability-section {
    padding: 100px 0;
    background: var(--white);
}

.why-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.why-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gsl-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.why-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Three Column Cards Layout */
.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Base Card Style */
.why-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
}

.why-card:hover {
    transform: translateY(-5px);
}

/* Light Green Cards (Left & Right) */
.why-card-green {
    background: #f0fdf4;
}

.why-card-green:hover {
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
}

/* Featured Card (Middle - White with Green Border) */
.why-card-featured {
    background: var(--white);
    border-left: 4px solid #22C55E;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    justify-content: space-between;
}

.why-card-featured:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Card Icon */
.why-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    margin-bottom: 24px;
}

.why-card-icon-bottom {
    margin-bottom: 0;
    margin-top: auto;
    background: #22C55E;
}

/* Card Content */
.why-card-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gsl-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.why-card-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .why-sustainability-section {
        padding: 60px 0;
    }

    .why-header {
        margin-bottom: 40px;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

    .why-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .why-card {
        min-height: auto;
        padding: 28px 24px;
    }
}

/* ==============================================
   ABOUT SECTION - 2 Column Overlapping Images
   ============================================== */
.about-section {
    padding: 60px 0 200px;
    /* Reduced top padding */
    background: #ffffff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    /* Top align text */
}

/* Overlapping Images Container */
.about-images {
    position: relative;
    min-height: 480px;
    padding: 0;
}

/* Back Image (Left, behind) - Wider size */
.about-img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 420px;
    /* Increased width */
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    z-index: 1;
}

.about-img-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Front Image (Right, overlapping) - Same size */
.about-img-front {
    position: absolute;
    top: 160px;
    left: 240px;
    /* Adjusted overlap */
    width: 420px;
    /* Increased width */
    height: 420px;
    background: #fff;
    padding: 0;
    border: 10px solid #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.about-img-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Content Side */
.about-content {
    padding-left: 0;
    padding-top: 0;
}

.about-subtitle {
    display: block;
    font-size: 1rem;
    /* Increased from 0.8rem */
    font-weight: 600;
    color: #5a6b52;
    /* Green color */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    /* Smaller font */
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

.about-description {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Button - Outline Style */
.about-btn {
    display: inline-block;
    padding: 14px 42px;
    border: 1.5px solid #5a6b52;
    border-radius: 50px;
    background: transparent;
    /* Outline style */
    color: #5a6b52;
    /* Green text */
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.about-btn:hover {
    background: #4a5942;
    color: #fff;
    border-color: #4a5942;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 89, 66, 0.15);
}

/* About Section Container Padding */
.about-section .container {
    padding: 0 48px;
    max-width: 100%;
}

/* Responsive - About Section */
@media (max-width: 1200px) {
    .about-img-back {
        width: 320px;
        height: 320px;
    }

    .about-img-front {
        width: 280px;
        height: 280px;
        left: 160px;
        top: 120px;
    }

    .about-images {
        min-height: 450px;
    }
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        min-height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-img-back {
        left: 0;
        width: 280px;
        height: 280px;
    }

    .about-img-front {
        width: 240px;
        height: 240px;
        left: 140px;
        top: 100px;
    }

    .about-content {
        padding-left: 0;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }

    .about-images {
        min-height: 320px;
    }

    .about-img-back {
        width: 200px;
        height: 200px;
    }

    .about-img-front {
        width: 180px;
        height: 180px;
        left: 100px;
        top: 80px;
        border-width: 8px;
    }

    .about-title {
        font-size: 2rem;
    }
}

/* ==============================================
   SECTION 3 - VIDEO INSIGHTS (Dark Green)
   ============================================== */
.video-insights-section {
    position: relative;
    padding: 80px 0 60px;
    overflow: visible;
    color: #fff;
    margin-bottom: 60px;
    /* Reduced from 180px */
}

/* Override padding for this section to match Services */
.video-insights-section .container {
    max-width: 100%;
    padding: 0 48px;
}

.video-insights-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.video-insights-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 28, 11, 0.75) 0%, rgba(13, 40, 18, 0.65) 100%);
    /* Lower opacity to show photo */
    z-index: -1;
}

.video-insights-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.video-insights-content {
    padding-right: 40px;
}

.video-insights-subtitle {
    display: block;
    font-size: 1rem;
    /* Increased from 0.85rem */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.video-insights-title {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.video-insights-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 400;
    max-width: 500px;
}

/* Right Media (Overlapping) */
.video-insights-media {
    position: relative;
}

.video-card {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(120px);
    /* Significant overlap into next section */
    background: #fff;
    padding: 12px;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.video-card:hover img {
    transform: scale(1.05);
}

/* Play Button */
.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-play svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    /* Optical centering */
}

.btn-play:hover {
    background: #fff;
    color: var(--gsl-primary);
    /* Green play icon on hover */
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .video-insights-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .video-insights-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .video-insights-desc {
        margin: 0 auto;
    }

    .video-card {
        max-width: 600px;
        margin: 0 auto;
        transform: translateY(0);
        /* Remove overlap on mobile/tablet */
        height: 400px;
    }

    .video-insights-section {
        padding: 100px 0;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .video-card {
        height: 300px;
        border-radius: 16px;
    }

    .video-insights-title {
        font-size: 2rem;
    }

    .btn-play {
        width: 60px;
        height: 60px;
    }

    .btn-play svg {
        width: 24px;
        height: 24px;
    }
}

/* ==============================================
   CTA BANNER SECTION - Sustainable Future
   ============================================== */
.cta-banner-section {
    padding: 40px 0 60px;
    /* Reduced spacing */
    background: #fff;
    overflow: visible;
}

.cta-banner-section .container {
    max-width: 100%;
    padding: 0 48px;
}

.cta-banner-card {
    position: relative;
    background: #f6ecd4;
    /* Updated cream color */
    margin: 0 80px;
    border-radius: 24px;
    padding: 60px 80px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Changed from flex-end */
    overflow: visible;
}

/* Plant Image - Left Side */
.cta-banner-plant {
    position: absolute;
    left: -150px;
    /* Strong negative margin to fix gap */
    bottom: -40px;
    /* Shift down */
    width: 440px;
    /* Slightly larger */
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.cta-banner-plant img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
    /* Removed rotation */
}

/* Content - Right Side */
/* Content - Right Side */
.cta-banner-content {
    max-width: 800px;
    /* Increased from 600px */
    text-align: left;
    max-width: 800px;
    text-align: left;
    margin-left: 280px;
    /* Increased margin to fix overlap with image */
    z-index: 3;
    /* Ensure content is above image */
}

.cta-banner-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-banner-desc {
    font-size: 1rem;
    color: #1a1a1a;
    /* Black text */
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 700px;
    /* Wider for 2 lines */
}

.cta-banner-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1.5px solid #5a6b52;
    /* Olive border */
    border-radius: 50px;
    background: transparent;
    color: #4a5942;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-banner-btn:hover {
    background: #4a5942;
    color: #fff;
    border-color: #4a5942;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 89, 66, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .cta-banner-card {
        padding: 50px 60px;
    }

    .cta-banner-plant {
        width: 260px;
        left: -30px;
    }

    .cta-banner-content {
        max-width: 65%;
    }
}

@media (max-width: 768px) {
    .cta-banner-section {
        padding: 60px 0 80px;
    }

    .cta-banner-section .container {
        padding: 0 24px;
    }

    .cta-banner-card {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
        justify-content: center;
    }

    .cta-banner-plant {
        position: relative;
        left: 0;
        bottom: 0;
        width: 200px;
        margin-bottom: 20px;
    }

    .cta-banner-plant img {
        transform: rotate(0deg);
    }

    .cta-banner-content {
        max-width: 100%;
        text-align: center;
    }

    .cta-banner-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==============================================
   SERVICES SLIDER SECTION - Modern Cards
   ============================================== */
.services-section-modern {
    padding: 20px 0 20px;
    /* Reduced padding for tighter spacing */
    background: #fff;
    overflow: hidden;
}

/* Override container padding for this section */
.services-section-modern .container {
    max-width: 100%;
    padding: 0 48px;
    /* More padding for left/right spacing */
}

.services-title-modern {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 40px 0;
    text-align: left;
    padding-left: 0;
}

.service-slider-container {
    position: relative;
    padding: 0;
    overflow: visible;
    margin: 0;
}

.service-slider {
    padding-bottom: 50px !important;
    overflow: visible !important;
}

/* Fixed width for slides when using slidesPerView: 'auto' */
.service-slider .swiper-slide {
    width: calc((100% - 48px) / 4);
    /* 4 cards with 16px gaps */
}

@media (max-width: 1199px) {
    .service-slider .swiper-slide {
        width: calc((100% - 40px) / 3);
        /* 3 cards */
    }
}

@media (max-width: 767px) {
    .service-slider .swiper-slide {
        width: calc((100% - 16px) / 2);
        /* 2 cards */
    }
}

@media (max-width: 575px) {
    .service-slider .swiper-slide {
        width: 85%;
        /* 1.x cards visible */
    }
}

.service-card-modern {
    position: relative;
    width: 100%;
    height: 520px;
    /* Taller rectangular shape */
    border-radius: 16px;
    overflow: hidden;
    background: #e5e7eb;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card-modern:hover .service-card-bg {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    /* Regular/normal weight */
    color: #fff;
    margin: 0;
    line-height: 1.3;
    max-width: 70%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.service-card-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card-btn svg {
    width: 18px;
    height: 18px;
}

.service-card-modern:hover .service-card-btn {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

/* Swiper Pagination Customization */
.service-pagination {
    text-align: center;
    margin-top: 30px;
    position: relative !important;
    bottom: auto !important;
}

.service-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.service-pagination .swiper-pagination-bullet-active {
    background: #374151;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-card-modern {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .service-card-modern {
        height: 400px;
    }

    .service-card-title {
        font-size: 1.1rem;
    }

    .service-card-btn {
        width: 36px;
        height: 36px;
    }
}

/* ==============================================
   PORTFOLIO SECTION - Modern Layout (Media & Blogs Style)
   ============================================== */
.portfolio-section-modern {
    padding: 80px 0;
    background: #fff;
}

/* Override container padding to match other sections */
.portfolio-section-modern .container {
    max-width: 100%;
    padding: 0 48px;
}

.portfolio-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.portfolio-title-modern {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.portfolio-see-all-btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #1a1a1a;
    border-radius: 50px;
    background: transparent;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-see-all-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.portfolio-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-img-wrapper {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card-modern:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

.portfolio-date {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: -8px;
    /* Tighter spacing */
    display: block;
}

.portfolio-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.portfolio-read-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #1a1a1a;
    border-radius: 50px;
    background: transparent;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 8px;
}

.portfolio-read-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .portfolio-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .portfolio-grid-modern {
        grid-template-columns: 1fr;
    }

    .portfolio-img-wrapper {
        height: 240px;
    }
}

/* =========================================
   FAQ Section Modern (Cloned)
   ========================================= */
.faq-section-modern {
    background-color: #0d2a1f;
    /* Dark Green */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.faq-main-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 60px;
    color: #fff;
}

.faq-content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 80px;
    align-items: start;
}

/* Vertical Tabs (Left) */
.faq-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
}

.faq-tab {
    background: transparent;
    border: none;
    text-align: left;
    padding: 14px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    /* Inactive text color */
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.faq-tab:hover {
    color: #fff;
}

.faq-tab.active {
    background: #fff;
    color: #0d2a1f;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Middle: Accordion */
.faq-accordion-group {
    display: none;
    /* Hide inactive groups */
    flex-direction: column;
    gap: 0;
}

.faq-accordion-group.active {
    display: flex;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accordion Header/Question */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 24px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #a5d6a7;
    /* Light green hover */
}

/* Icon Circle */
.faq-icon {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #fff;
}

.faq-item.active .faq-icon {
    background: #fff;
    color: #0d2a1f;
    border-color: #fff;
    transform: rotate(180deg);
}

/* Answer Body */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-left: 52px;
    /* Align with text start */
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Arbitrary max height for animation */
    padding-bottom: 24px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Background Image - Right */
.faq-bg-image {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 600px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: overlay;
    /* Blend with green bg */
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 100%);
}

.faq-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .faq-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .faq-tab {
        white-space: nowrap;
        width: auto;
    }

    .faq-bg-image {
        opacity: 0.3;
        right: -200px;
    }
}

/* =========================================
   Floating Pill Header Redesign
   ========================================= */
.header-modern {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 6px 20px;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease, top 0.4s ease, background 0.4s ease;
}

.header-modern.header-hidden {
    transform: translate(-50%, -200%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    /* ULTRA SLIM - matching top definition */
}

/* Logo Adjustments */
.logo-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-primary {
    font-size: 1.1rem;
    /* Slightly smaller logo */
    font-weight: 700;
    color: #0f172a;
    /* Slate-900 */
    letter-spacing: -0.02em;
}

.logo-secondary {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    /* Grey Text */
}

/* Navigation - Centered Pill Content */
.nav-modern {
    display: none;
    /* Mobile first */
}

@media (min-width: 992px) {
    .nav-modern {
        display: block;
    }

    .nav-menu-modern {
        display: flex;
        align-items: center;
        gap: 8px;
        /* Compact Gap */
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-menu-modern a {
        color: #475569;
        /* Slate-600 */
        font-weight: 500;
        font-size: 0.9rem;
        /* Smaller Font */
        padding: 8px 16px;
        /* Specific padding control */
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        white-space: nowrap;
    }

    .nav-menu-modern a:hover {
        color: #15803d;
        /* Green-700 */
    }

    .nav-menu-modern a.active {
        color: #15803d;
        /* Green-700 */
        font-weight: 700;
    }

    /* Active Dot Indicator */
    .nav-menu-modern a.active::after {
        content: '';
        position: absolute;
        bottom: 4px;
        /* Position inside padding */
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: #15803d;
        border-radius: 50%;
    }
}

/* Contact Button (Pill Style) */
.btn-contact-modern {
    background: #ecfdf5;
    color: #166534;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-contact-modern:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn-modern {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn-modern span {
    width: 24px;
    height: 2px;
    background: #0d2a1f;
    /* Dark menu toggle on white */
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .mobile-menu-btn-modern {
        display: none;
    }
}

/* Ensure mobile menu works with floating header */
.mobile-menu-modern {
    top: 80px;
    /* Adjust based on floating position */
    border-radius: 20px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(13, 42, 31, 0.98);
}

.mobile-menu-modern.active {
    transform: translateX(-50%) translateY(0);
}