﻿/* ==================== HOMEPAGE STYLES ==================== */
/* Page-specific styles for homepage */

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(40px + 68px); /* header-top (8px padding * 2 + ~24px content) + header-nav (16px padding * 2 + ~36px content) */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 760px;
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #2C4A6B;
    margin-bottom: 20px;
}

.hero-content > p {
    font-size: 18px;
    color: #2C4A6B;
    margin-bottom: 32px;
    max-width: 550px;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

.mobile-br {
    display: none;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature span:last-child {
    font-size: 16px;
    font-weight: 400;
    color: #2C4A6B;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    justify-content: center;
}

.hero-buttons .btn {
    width: 200px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Hero Reviews */
.hero-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 8px;
}

.stars img {
    width: 18px;
    height: 18px;
}

.hero-reviews span {
    font-size: 16px;
    font-weight: 700;
    color: #2C4A6B;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: linear-gradient(135deg, #FFC86B 0%, #E47719 100%);
    background-image: url('../images/png/background-tribals.png'), linear-gradient(135deg, #FFC86B 0%, #E47719 100%);
    background-size: cover;
    background-position: center;
    padding: 112px 0;
}

/* Steps Wrapper */
.steps-wrapper {
    display: flex;
    width: 100%;
    position: relative;
}

/* Step Card */
.step-card {
    position: relative;
    flex: 1;
    height: 310px;
    margin-left: -70px;
}

.step-card:first-child {
    margin-left: 0;
    z-index: 3;
}

.step-card:nth-child(2) {
    z-index: 2;
}

.step-card:last-child {
    z-index: 1;
}

.step-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* All cards have arrow pointing RIGHT */
/* First card - flat left, arrow right */
.step-card:first-child .step-card-inner {
    clip-path: polygon(
        0 0,
        calc(100% - 100px) 0,
        100% 50%,
        calc(100% - 100px) 100%,
        0 100%
    );
}

/* Middle card - notch left, arrow right */
.step-card:nth-child(2) .step-card-inner {
    clip-path: polygon(
        0 0,
        calc(100% - 100px) 0,
        100% 50%,
        calc(100% - 100px) 100%,
        0 100%,
        100px 50%
    );
}

/* Last card - notch left, arrow right */
.step-card:last-child .step-card-inner {
    clip-path: polygon(
        0 0,
        calc(100% - 100px) 0,
        100% 50%,
        calc(100% - 100px) 100%,
        0 100%,
        100px 50%
    );
}

.step-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.step-content {
    position: relative;
    z-index: 10;
    padding: 40px 50px 40px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-card:first-child .step-content {
    padding-left: 50px;
}

.step-card:nth-child(2) .step-content,
.step-card:last-child .step-content {
    padding-left: 120px;
}

.step-label {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.step-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 220px;
}

.step-icon {
    margin-top: auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 50px;
    height: 50px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: #FFFFFF;
    padding: 112px 0;
}

/* Services Grid - Container for rows */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Each row is a flex container for smooth animations */
.services-row {
    display: flex;
    gap: 24px;
    height: 400px;
}

/* Service Card Link Wrapper */
.service-card-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.service-card-link .service-card {
    cursor: pointer;
}

/* Service Card - Base styles with smooth image transition */
.service-card {
    background: #fff9ef;
    border: 1px solid rgba(2, 8, 7, 0.15);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 100%;
    flex: 1;
    min-width: 0;
    transform: translateY(0);
    will-change: flex, transform, box-shadow;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image - absolutely positioned for smooth transitions */
.service-card .service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 2;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content - uses padding to avoid image */
.service-card .service-card-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 180px;
    box-sizing: border-box;
    z-index: 1;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Big card - takes double flex space with side-by-side layout */
.service-card.is-big {
    flex: 2;
    box-shadow: 0 12px 28px rgba(255, 154, 47, 0.12),
                0 4px 10px rgba(0, 0, 0, 0.06);
}

.service-card.is-big .service-card-image {
    width: 50%;
    height: 100%;
    left: 0;
}

.service-card.is-big .service-card-content {
    width: 50%;
    margin-left: 50%;
    padding-top: 100px;
}

/* Row 2 big cards - image on right (use left: 50% for smooth animation) */
.service-card.is-big.row2 .service-card-image {
    left: 50%;
}

.service-card.is-big.row2 .service-card-content {
    margin-left: 0;
}

/* Spotlight lift effect */
.service-card.spotlight {
    transform: translateY(-6px);
    z-index: 5;
    box-shadow: 0 16px 32px rgba(255, 154, 47, 0.16),
                0 6px 12px rgba(0, 0, 0, 0.08);
}

.service-card-image {
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-content {
    padding: 32px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    background: #FFF9EF;
    overflow: hidden;
}

/* Hide Learn link on closed cards */
.service-card .service-link {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-card.is-big .service-link {
    opacity: 1;
    pointer-events: auto;
}

.service-card:not(.is-big) .service-category {
    font-size: 16px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 8px;
    padding-top: 20px;
}

.service-card.is-big .service-category {
    font-size: 16px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 8px;
}

.service-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 12px;
}

.service-card-content p {
    font-size: 16px;
    color: #1A2E44;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.service-link {
    font-size: 14px;
    font-weight: 500;
    color: #1A2E44;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.service-link span {
    font-size: 18px;
}

.service-card-link:hover .service-link {
    color: #FF9A2F;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
    background: linear-gradient(to right, #FFC86B 0%, #E47719 100%);
    background-image: url('../images/png/background-tribals.png'), linear-gradient(to right, #FFC86B 0%, #E47719 100%);
    background-size: cover;
    background-position: center;
    padding: 112px 0;
    text-align: center;
}

.why-choose-us .section-header {
    margin-bottom: 24px;
}

.why-choose-us .btn-white {
    margin-bottom: 80px;
    width: 200px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: #fff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
}

/* Tab Content */
.tab-content {
    text-align: left;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Review Card */
.review-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.review-image {
    width: 45%;
    min-height: 400px;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    width: 55%;
    padding: 131px 48px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.review-stars img {
    width: 20px;
    height: 20px;
}

.review-content h3 {
    font-size: 40px;
    font-weight: 400;
    color: #1A2E44;
    margin-bottom: 20px;
}

.review-text {
    font-size: 20px;
    color: #1A2E44;
    line-height: 1.5;
    margin-bottom: 32px;
    flex: 1;
}

.review-footer {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.review-author {
    display: flex;
    flex-direction: column;
    padding-right: 24px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #1A2E44;
}

.author-service {
    font-size: 16px;
    font-weight: 400;
    color: #2C4A6B;
}

.btn-orange-small {
    background: #2C4A6B;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-orange-small:hover {
    box-shadow: 0 4px 15px rgba(255, 154, 47, 0.4);
}

.slider-nav {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-items: flex-start;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.slider-arrow img {
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.4s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-arrow img:first-child {
    opacity: 1;
}

.slider-arrow img:last-child {
    opacity: 0;
}

.slider-arrow:hover img:first-child {
    opacity: 1;
}

.slider-arrow:hover img:last-child {
    opacity: 1;
}

/* Certification Card */
.certification-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.certification-image {
    width: 40%;
    min-height: 450px;
}

.certification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certification-content {
    width: 60%;
    padding: 48px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.certification-content h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 16px;
}

.certification-intro {
    font-size: 16px;
    color: #5A7A9A;
    line-height: 1.6;
    margin-bottom: 32px;
}

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.certification-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certification-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 4px;
}

.certification-text p {
    font-size: 14px;
    color: #5A7A9A;
    line-height: 1.5;
}

/* Benefits Card */
.benefits-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.benefits-image {
    width: 40%;
    min-height: 500px;
}

.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-content {
    width: 60%;
    padding: 48px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.benefits-content h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1A2E44;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 14px;
    color: #5A7A9A;
    line-height: 1.5;
    margin: 0;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: #FFFFFF;
    padding: 112px 0;
    overflow: hidden;
}

.gallery .section-header {
    margin-bottom: 80px;
}

.gallery-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-slider {
    width: 100%;
    overflow: visible;
}

.gallery-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.gallery-slide {
    flex: 0 0 calc(50% - 12px);
    height: 624px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    z-index: 10;
}

.gallery-arrow img {
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-arrow img:first-child {
    opacity: 1;
}

.gallery-arrow img:last-child {
    opacity: 0;
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-arrow:hover img:first-child {
    opacity: 1;
}

.gallery-arrow:hover img:last-child {
    opacity: 1;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: #1A2E44;
}

/* ===== CTA SECTION ===== */
.cta {
    position: relative;
    height: 342px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.65);
}

.cta .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text h2 {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 18px;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

/* ===== RESPONSIVE (Homepage) ===== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .services-row {
        height: auto;
        min-height: 280px;
    }

    .step-card {
        height: 280px;
        margin-left: -50px;
    }

    .step-card:first-child {
        margin-left: 0;
    }

    .step-content {
        padding: 32px 40px;
    }

    .step-card:nth-child(2) .step-content,
    .step-card:last-child .step-content {
        padding-left: 100px;
    }

    .step-content h3 {
        font-size: 20px;
    }

    .step-content p {
        font-size: 13px;
        max-width: 180px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
    }

    .step-icon img {
        width: 40px;
        height: 40px;
    }
}

/* Tablet Portrait */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content > p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        margin-bottom: 24px;
    }

    /* How It Works - Vertical arrows pointing DOWN */
    .how-it-works {
        padding: 80px 0;
    }

    .steps-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .step-card {
        margin-left: 0;
        height: auto;
        min-height: 220px;
        margin-top: -40px;
    }

    .step-card:first-child {
        margin-top: 0;
        z-index: 3;
    }

    .step-card:nth-child(2) {
        z-index: 2;
    }

    .step-card:last-child {
        z-index: 1;
    }

    /* Arrow pointing DOWN for first card */
    .step-card:first-child .step-card-inner {
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 75px),
            50% 100%,
            0 calc(100% - 75px)
        );
        border-radius: 12px 12px 0 0;
    }

    /* Notch at top, arrow pointing DOWN for middle card */
    .step-card:nth-child(2) .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    /* Notch at top, arrow pointing DOWN for last card */
    .step-card:last-child .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
        border-radius: 0 0 12px 12px;
    }

    .step-content {
        padding: 100px 30px 75px;
        gap: 5px;
    }

    .step-card:first-child .step-content {
        padding: 50px 30px 100px;
    }

    .step-card:nth-child(2) .step-content,
    .step-card:last-child .step-content {
        padding: 100px 30px 100px;
    }

    .step-content h3 {
        font-size: 22px;
    }

    .step-content p {
        max-width: 100%;
        padding-bottom: 10px;
    }

    /* Services Grid */
    .services {
        padding: 80px 0;
    }

    .services-grid {
        flex-direction: column;
        gap: 16px;
    }

    .services-row {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    /* Reset all cards to single column on mobile */
    .service-card,
    .service-card.is-big {
        flex: none !important;
        height: auto !important;
        min-height: 380px;
    }

    .service-card .service-card-image,
    .service-card.is-big .service-card-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 200px !important;
    }

    .service-card .service-card-content,
    .service-card.is-big .service-card-content {
        width: 100% !important;
        margin: 0 !important;
        padding-top: 200px !important;
    }

    .service-category {
        padding-top: 20px;
    }

    /* Why Choose Us */
    .why-choose-us {
        padding: 80px 0;
    }

    .why-choose-us .btn-white {
        margin-bottom: 48px;
    }

    .tabs {
        gap: 16px;
        flex-wrap: wrap;
    }

    .review-card {
        flex-direction: column;
    }

    .review-image,
    .review-content {
        width: 100%;
    }

    .review-image {
        min-height: 280px;
    }

    .review-content {
        padding: 40px 32px;
    }

    .review-content h3 {
        font-size: 28px;
    }

    .review-text {
        font-size: 16px;
    }

    /* Certification Card Responsive */
    .certification-card {
        flex-direction: column;
    }

    .certification-image,
    .certification-content {
        width: 100%;
    }

    .certification-image {
        min-height: 280px;
    }

    .certification-content {
        padding: 40px 32px;
    }

    .certification-content h3 {
        font-size: 28px;
    }

    .certification-item {
        gap: 12px;
    }

    .certification-item img {
        width: 22px;
        height: 22px;
    }

    .certification-item h4 {
        font-size: 18px;
    }

    .certification-item p {
        font-size: 14px;
    }

    /* Benefits Card Responsive */
    .benefits-card {
        flex-direction: column;
    }

    .benefits-image,
    .benefits-content {
        width: 100%;
    }

    .benefits-image {
        min-height: 280px;
    }

    .benefits-content {
        padding: 40px 32px;
    }

    .benefits-content h3 {
        font-size: 28px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item h4 {
        font-size: 16px;
    }

    .benefit-item p {
        font-size: 13px;
    }

    /* Gallery */
    .gallery {
        padding: 80px 0;
    }

    .gallery .section-header {
        margin-bottom: 48px;
    }

    .gallery-slide {
        flex: 0 0 calc(70% - 12px);
        height: 400px;
    }

    /* CTA */
    .cta {
        padding: 80px 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

/* Mobile Landscape / Large Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* How It Works */
    .how-it-works {
        padding: 60px 0;
    }

    .step-card {
        min-height: 200px;
        margin-top: -35px;
    }

    .step-card:first-child {
        margin-top: 0;
    }

    /* Smaller arrows for mobile */
    .step-card:first-child .step-card-inner {
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 75px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-card:nth-child(2) .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-card:last-child .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-content {
        padding: 100px 30px 75px;
        gap: 5px;
    }

    .step-card:first-child .step-content {
        padding: 50px 30px 100px;
    }

    .step-card:nth-child(2) .step-content,
    .step-card:last-child .step-content {
        padding: 100px 30px 100px;
    }

    .step-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .step-content p {
        font-size: 14px;
        padding-bottom: 10px;
    }

    /* Services */
    .services {
        padding: 60px 0;
    }

    .service-card-content {
        padding: 20px;
    }

    .service-category {
        padding-top: 20px;
    }

    .service-card-content h3 {
        font-size: 18px;
    }

    /* Why Choose Us */
    .why-choose-us {
        padding: 60px 0;
    }

    .tabs {
        gap: 12px;
    }

    .tab-btn {
        font-size: 13px;
    }

    .review-content {
        padding: 32px 24px;
    }

    .review-content h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .review-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    /* Certification Card Mobile */
    .certification-content {
        padding: 32px 24px;
    }

    .certification-content h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .certification-item h4 {
        font-size: 16px;
    }

    .certification-item p {
        font-size: 13px;
    }

    /* Benefits Card Mobile */
    .benefits-content {
        padding: 32px 24px;
    }

    .benefits-content h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .benefit-item {
        padding: 16px;
    }

    /* Gallery */
    .gallery {
        padding: 60px 0;
    }

    .gallery-slide {
        flex: 0 0 calc(100% - 12px);
        height: 320px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .gallery-dots {
        margin-top: 24px;
    }

    /* CTA */
    .cta {
        padding: 60px 0;
    }

    .cta-text h2 {
        font-size: 28px;
    }

    .cta-text p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 600px) {
    .hero-content > p {
        white-space: normal;
    }

    .mobile-br {
        display: block;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .mobile-br {
        display: block;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-content > p {
        font-size: 14px;
        margin-bottom: 20px;
        white-space: normal;
    }

    .hero-features {
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }

    .feature-icon img {
        width: 28px;
        height: 28px;
    }

    .feature span:last-child {
        font-size: 13px;
    }

    .hero-buttons {
        margin-bottom: 20px;
    }

    .stars img {
        width: 16px;
        height: 16px;
    }

    .hero-reviews span {
        font-size: 13px;
    }

    /* How It Works */
    .how-it-works {
        padding: 50px 0;
    }

    .step-card {
        min-height: 180px;
        margin-top: -30px;
    }

    .step-card:first-child {
        margin-top: 0;
    }

    /* Even smaller arrows */
    .step-card:first-child .step-card-inner {
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 75px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-card:nth-child(2) .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-card:last-child .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-content {
        padding: 100px 30px 75px;
        gap: 5px;
    }

    .step-card:first-child .step-content {
        padding: 50px 30px 100px;
    }

    .step-card:nth-child(2) .step-content,
    .step-card:last-child .step-content {
        padding: 100px 30px 100px;
    }

    .step-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .step-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 13px;
        line-height: 1.5;
        padding-bottom: 10px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
    }

    .step-icon img {
        width: 36px;
        height: 36px;
    }

    /* Services */
    .services {
        padding: 50px 0;
    }

    .service-card-image {
        height: 160px;
    }

    .service-card-content {
        padding: 16px;
    }

    .service-category {
        font-size: 11px;
        padding-top: 20px;
    }

    .service-card-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .service-card-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .service-link {
        font-size: 13px;
    }

    /* Why Choose Us */
    .why-choose-us {
        padding: 50px 0;
    }

    .why-choose-us .btn-white {
        margin-bottom: 32px;
    }

    .tabs {
        gap: 8px;
    }

    .tab-btn {
        font-size: 12px;
        padding: 6px 0;
    }

    .review-image {
        min-height: 220px;
    }

    .review-content {
        padding: 24px 20px;
    }

    .review-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .review-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .review-author {
        border-right: none;
        padding-right: 0;
    }

    .author-name,
    .author-service {
        font-size: 14px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    /* Certification Card Small Mobile */
    .certification-image {
        min-height: 220px;
    }

    .certification-content {
        padding: 24px 20px;
    }

    .certification-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .certification-list {
        gap: 16px;
    }

    .certification-item {
        gap: 10px;
    }

    .certification-item img {
        width: 20px;
        height: 20px;
    }

    .certification-item h4 {
        font-size: 15px;
    }

    .certification-item p {
        font-size: 12px;
    }

    /* Benefits Card Small Mobile */
    .benefits-image {
        min-height: 220px;
    }

    .benefits-content {
        padding: 24px 20px;
    }

    .benefits-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .benefits-grid {
        gap: 14px;
    }

    .benefit-item {
        padding: 14px;
    }

    .benefit-item h4 {
        font-size: 14px;
    }

    .benefit-item p {
        font-size: 12px;
    }

    /* Gallery */
    .gallery {
        padding: 50px 0;
    }

    .gallery .section-header {
        margin-bottom: 32px;
    }

    .gallery-slide {
        height: 280px;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }

    /* CTA */
    .cta {
        padding: 50px 0;
    }

    .cta-text h2 {
        font-size: 24px;
    }

    .cta-text p {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .feature span:last-child {
        font-size: 12px;
    }

    /* How It Works */
    .step-card {
        min-height: 170px;
        margin-top: -25px;
    }

    .step-card:first-child {
        margin-top: 0;
    }

    .step-card:first-child .step-card-inner {
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 75px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-card:nth-child(2) .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-card:last-child .step-card-inner {
        clip-path: polygon(
            0 0,
            50% 75px,
            100% 0,
            100% calc(100% - 74px),
            50% 100%,
            0 calc(100% - 75px)
        );
    }

    .step-content {
        padding: 100px 30px 75px;
        gap: 5px;
    }

    .step-card:first-child .step-content {
        padding: 50px 30px 100px;
    }

    .step-card:nth-child(2) .step-content,
    .step-card:last-child .step-content {
        padding: 100px 30px 100px;
    }

    .step-content h3 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 12px;
        padding-bottom: 10px;
    }

    .step-icon {
        width: 32px;
        height: 32px;
    }

    .step-icon img {
        width: 32px;
        height: 32px;
    }

    /* Services */
    .service-card-content h3 {
        font-size: 15px;
    }

    .service-card-content p {
        font-size: 12px;
    }

    /* Why Choose Us */
    .review-content h3 {
        font-size: 18px;
    }

    .review-text {
        font-size: 13px;
    }

    /* Gallery */
    .gallery-slide {
        height: 240px;
    }

    /* CTA */
    .cta-text h2 {
        font-size: 22px;
    }
}

