/* Services Page Specific Styles */

/* Common helpers */
.container { max-width: 1400px; margin: 0 auto; }
.section-padding { padding: var(--section-padding) 5%; }
.accent-text { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 15px; display: block; }
.text-center { text-align: center; }

/* =====================
   PAGE HEADER BANNER
   ===================== */
.page-header {
    height: clamp(300px, 50vh, 500px);
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 0 5%;
}

.page-header h1 {
    font-size: clamp(32px, 6vw, 60px);
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

/* =====================
   SECTION TITLE
   ===================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 { font-size: clamp(26px, 3vw + 8px, 40px); margin-bottom: 15px; }
.section-title p { color: #666; font-size: 15px; max-width: 600px; margin: 0 auto; }

/* =====================
   CATEGORY NAV
   ===================== */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px 5%;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 68px;
    z-index: 100;
}

.cat-link {
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.5vw, 18px);
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.cat-link:hover,
.cat-link.active {
    border-color: var(--primary);
    color: var(--primary);
}

/* =====================
   CATEGORY SECTION
   ===================== */
.category-title {
    margin-bottom: 55px;
}

.category-title h2 {
    font-size: clamp(26px, 3vw, 45px);
    margin-bottom: 12px;
}

.category-title p {
    font-size: 15px;
    color: #666;
}

/* =====================
   SERVICE DETAIL BLOCK
   ===================== */
.service-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}

.service-detail-block.reverse .sd-img {
    order: 2;
}

.sd-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.sd-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-detail-block:hover .sd-img img {
    transform: scale(1.04);
}

.sd-content h3 {
    font-size: clamp(24px, 2.5vw, 35px);
    margin-bottom: 18px;
}

.sd-content p {
    color: #666;
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 15px;
}

/* Info Grid */
.sd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 35px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 25px;
}

.sd-benefits h4, .sd-process h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
}

.sd-benefits ul li, .sd-process ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-benefits ul li i {
    color: var(--primary);
    flex-shrink: 0;
}

/* =====================
   MINI SERVICES
   ===================== */
.mini-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.ms-card {
    padding: 38px 30px;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.ms-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.ms-icon {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 18px;
}

.ms-card h3 {
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 12px;
}

.ms-card p {
    color: #666;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more:hover { color: var(--primary); }
.read-more i { transition: transform 0.3s ease; }
.read-more:hover i { transform: translateX(5px); }

/* =====================
   SPECIALIZED GRID
   ===================== */
.specialized-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.spec-card {
    position: relative;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.spec-card:hover {
    transform: translateY(-10px);
}

.spec-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.spec-card:hover img {
    transform: scale(1.08);
}

.spec-content {
    padding: 28px;
}

.spec-content h3 {
    font-size: clamp(18px, 1.8vw, 22px);
    margin-bottom: 12px;
}

.spec-content p {
    color: #666;
    margin-bottom: 18px;
    font-size: 14px;
}

/* CTA Banner */
.cta-banner { padding: 40px 5%; }
.cta-content {
    padding: 90px 5%;
    text-align: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.cta-text { position: relative; z-index: 2; color: var(--white); }
.cta-text h2 { font-size: clamp(26px, 4vw, 50px); color: var(--white); margin-bottom: 18px; }
.cta-text p { font-size: clamp(14px, 1.5vw, 18px); margin-bottom: 35px; color: rgba(255,255,255,0.8); }

/* Newsletter */
.newsletter-form { display: flex; margin-top: 18px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 5px; }
.newsletter-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--white); font-family: var(--font-body); font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { background: transparent; border: none; color: var(--primary); font-size: 18px; transition: color 0.3s ease; padding: 0 5px; }
.newsletter-form button:hover { color: var(--white); }

/* =====================
   RESPONSIVE — 991px
   ===================== */
@media (max-width: 991px) {
    .service-detail-block {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .service-detail-block.reverse .sd-img {
        order: 0;
    }

    .sd-img img {
        height: 360px;
    }

    .specialized-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .category-nav {
        gap: 10px;
        padding: 18px 5%;
    }

    .mini-services-grid {
        gap: 25px;
    }
}

/* =====================
   RESPONSIVE — 768px
   ===================== */
@media (max-width: 768px) {
    .sd-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mini-services-grid {
        grid-template-columns: 1fr;
    }

    .specialized-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sd-img img {
        height: 280px;
    }

    .service-detail-block {
        margin-bottom: 60px;
    }

    .cta-content {
        padding: 60px 5%;
    }
}

/* =====================
   RESPONSIVE — 480px
   ===================== */
@media (max-width: 480px) {
    .specialized-grid {
        grid-template-columns: 1fr;
    }

    .category-nav {
        gap: 8px;
        padding: 15px 4%;
        top: 60px;
    }

    .cat-link {
        font-size: 12px;
        padding: 6px 14px;
    }

    .sd-img img {
        height: 240px;
    }
}
