/* ───────────────────────────  services.css  ───────────────────────────
   Page-specific styles for services.php
   Mobile-first, no horizontal overflow, scroll-reveal ready
   ------------------------------------------------------------------ */

/* 0. Colour palette & variables */
:root{
    --gold:        #d4af37;
    --gold-dark:   #b88700;
    --text:        #111;
    --muted:       #6f6f6f;
    --bg:          #fff;
    --card-bg:     #fafafa;
    --shadow:      0 8px 18px rgba(0,0,0,.06);
    --container:   1200px;
}

/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;  /* prevent sideways scroll */
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Layout helpers */
.container {
    max-width: var(--container);
    margin: auto;
    padding: 0 1rem;
}

.section-pad {
    padding: 3.5rem 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 2rem;
}

/* 1. Banner */
.banner {
    position: relative;
    overflow: hidden;
    height: clamp(450px, 50vh, 550px);
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}
.banner-overlay h1 {
    font-size: clamp(1.8rem, 5.5vw, 2.6rem);
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
}

/* 2. Service grid */
.service-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.service-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.service-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: .6rem;
    color: var(--text);
}
.service-card p {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.4;
}

/* 3. Why-CTA section */
.why-cta {
    background: #f9f9f9;
}
.why-cta .container {
    text-align: center;
    padding: 3rem 1rem;
}
.why-cta h2 {
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--text);
}
.ticks {
    list-style: none;
    margin: 1rem auto 2rem;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr));
}
.ticks li {
    position: relative;
    padding-left: 2rem;
    text-align: left;
    font-weight: 500;
    color: var(--text);
}
.ticks li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* 4. Global CTA (reuse .cta class) */
.cta {
    position: relative;
    background: url('/images/hero.jpg') center/cover fixed;
    color: #fff;
    text-align: center;
    isolation: isolate;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: -1;
}
.cta .container {
    padding: 4rem 1rem;
    max-width: 900px;
    margin: auto;
}
.cta h2 {
    font-size: clamp(2rem,5vw,2.8rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--gold-dark);
}
.cta p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}
.cta .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    padding: .9rem 2.4rem;
    border-radius: 50px;
    transition: transform .2s ease, box-shadow .3s ease;
}
.cta .btn::after {
    content: '→';
    transition: transform .3s ease;
}
.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(212,175,55,.4);
}
.cta .btn:hover::after {
    transform: translateX(4px);
}

/* 5. Responsive tweaks ---------------------------------------------- */
@media (max-width: 480px) {
    .section-pad { padding: 2.5rem 1rem; }
    .banner { height: clamp(450px, 50vh, 450px); }
    .service-card img { height: 120px; }
    .cta .container { padding: 3rem 1rem; }
    .cta h2 { font-size: 2rem; }
    .cta p { font-size: 1rem; }
}

@media (max-width: 360px) {
    .service-grid,
    .ticks {
        gap: .8rem;
        grid-template-columns: repeat(auto-fit, minmax(min(200px,100%),1fr));
    }
    .banner-overlay h1 { font-size: 1.5rem; }
}
