/* ============================================================
   SERVICE INDEX PAGE — service.css
   Matches the design screenshot exactly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Open+Sans:wght@400;500;700&display=swap');

/* ── Tokens ── */
:root {
    --primary:       #54B930;   /* primary green */
    --secondary:     #FBB040;   /* secondary orange */
    --bg-light:      #FFEDD2;   /* background (updated) */
    --grad-1:        #FFF1DB;   /* gradient start */
    --grad-2:        #FBB040;   /* gradient end */
    --container-max: 1200px;
    --container-pad: 20px;
}




.text-cyan { color: var(--cyan) !important; }


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-text {
    text-align: center;
}

.hero-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-heading {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-heading {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 24px;
    }
}

/* ===== Services Section - full background ===== */
.services-section {
    background: #efefef;
    padding: 50px 0;
}

/* ===== Header: icon + title + subtitle ===== */
.services-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

/* Icon square box */
.services-header > span {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 2px solid #f0a03c;
    border-radius: 8px;
    background: #fdf3e3;
    color: #f0a03c;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-header .section-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}

.services-header p {
    margin: 0;
    font-size: 13px;
    color: #000;
}

/* ===== Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card-link {
    display: block;
}

/* Image wrapper - sirf rounding, koi border/title nahi (wo image ka part hai) */
.service-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.service-image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.service-card-link:hover img {
    transform: scale(1.05);
}

/* ===== Hover Overlay (halves slide + center button) ===== */
.service-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.overlay-half {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgb(255 246 255 / 94%);
    transition: transform 0.45s ease;
}

.overlay-top {
    top: 0;
    transform: translateY(-101%);
}

.overlay-bottom {
    bottom: 0;
    transform: translateY(101%);
}

.overlay-btn {
    position: relative;
    z-index: 2;
    background: #f0a03c;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.service-card-link:hover .overlay-top,
.service-card-link:hover .overlay-bottom {
    transform: translateY(0);
}

.service-card-link:hover .overlay-btn {
    opacity: 1;
    transform: scale(1);
}

/* ===== View All Button ===== */
.srv-toggle-wrap {
    text-align: center;
    margin-top: 35px;
}

.srv-toggle-btn {
    display: inline-block;
    background: #f0a03c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.srv-toggle-btn:hover {
    background: #d88c2a;
    color: #fff;
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .services-grid {
        gap: 16px;
    }

    .services-header .section-title {
        font-size: 20px;
    }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .services-section {
        padding: 40px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .services-header {
        margin-bottom: 25px;
    }

    .services-header > span {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .services-header .section-title {
        font-size: 18px;
    }

    .services-header p {
        font-size: 12px;
    }
}

/* ===== Responsive: 520 ===== */
@media (max-width: 520px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-header .section-title {
        font-size: 17px;
    }

    .srv-toggle-wrap {
        margin-top: 25px;
    }
}


/* ===== CTA Banner Section ===== */
.cta-banner-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.55);   /* dark overlay */
    background-blend-mode: multiply;
    padding: 45px 0;
        margin-bottom: 40px;
        margin-top: 40px;
}

.cta-banner-section .container-1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-banner-section h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

/* Orange pill button */
.cta-banner-btn {
    display: inline-block;
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: #fff;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-banner-btn:hover {
    background: white;
    color: #000;
    border: 2px solid var(--primary);
    transform: translateY(-2px);
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .cta-banner-section h2 {
        font-size: 22px;
    }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .cta-banner-section {
        padding: 35px 0;
    }

    .cta-banner-section .container-1200 {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 18px;
    }

    .cta-banner-section h2 {
        font-size: 20px;
    }
}

/* ===== Responsive: 480 ===== */
@media (max-width: 480px) {
    .cta-banner-section h2 {
        font-size: 17px;
    }

    .cta-banner-btn {
        padding: 11px 26px;
        font-size: 13px;
    }
}


