/* ============================================================
   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 {
    --cyan:   #009AB5;
    --yellow: #F8CC00;
    --text:   #111111;
    --gray:   #555555;
    --white:  #ffffff;
    --light:  #f8f9fa;
}

body { font-family: 'Open Sans', sans-serif; color: var(--gray); line-height: 1.6; }

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


/* ============================================================
   1. HERO
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 500px;
    background: url('/img/Main service feature.webp') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.48);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.hero-text { color: #fff; }

.hero-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px;
    font-family: 'Open Sans Condensed', sans-serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,.8);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 28px;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.hero-button {
    display: inline-block;
    background: var(--cyan);
    color: #fff;
    padding: 13px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease;
}
.hero-button:hover { background: #007a90; color: #fff; text-decoration: none; }


/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */
.services-cards-section {
    background: var(--light);
    padding: 50px 0 36px;
}

.services-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 36px;
}

.services-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 10px;
}

.services-main-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 8px;
    font-family: 'Open Sans Condensed', sans-serif;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray);
    margin: 0;
}

/* Grid — 4 columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* View all / less row */
.view-all-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 4px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: underline;
    transition: color .2s;
}
.view-all-link:hover { color: var(--cyan); }

/* ── Card ── */
.service-list-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,.1);
}

/* Card media */
.service-media {
     width: 100%;
    position: relative;
    overflow: hidden;
}

/* Image with side padding + rounded top — exact match to design */
.service-media > a:not(.arrow-btn) { display: block; }

.service-media img {
    display: block;
    width: calc(100% - 32px);   /* side padding */
    height: auto;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin: 40px 16px 0;
    transition: transform .35s ease;
}
.service-list-card:hover .service-media img { transform: scale(1.04); }

/* Yellow discount badge */
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--yellow);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.1;
    z-index: 2;
}

.pct-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background: #000;
    color: var(--yellow);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
}

/* Teal arrow button */
.arrow-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--cyan);
    color: #fff;
    width: 52px;
    height: 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    z-index: 2;
    transition: background .2s;
}
.arrow-btn:hover { background: #007a90; color: #fff; text-decoration: none; }

/* Card text */
.service-body {
    padding: 12px 14px 16px;
    flex: 1;
    text-align: left;
}

.service-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 5px;
    line-height: 1.3;
}
.service-body h3 a { color: inherit; text-decoration: none; }
.service-body h3 a:hover { color: var(--cyan); }

.service-body p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ============================================================
   3. CTA BANNER
   ============================================================ */
.cta-section {
    padding: 30px 20px;
    background: #fff;
    position: relative;
}

.cta-overlay { display: none; }

.cta-container { max-width: 100%; padding: 0; }

.cta-content {
    max-width: calc(100% - 60px);
    margin: 0 auto;
    background: url('/img/CTA.webp') center / cover no-repeat;
    border-radius: 40px;
    padding: 70px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-content::before,
.cta-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    border: 8px solid var(--yellow);
    z-index: 0;
}
.cta-content::before { top: -80px;    left: -80px; }
.cta-content::after  { bottom: -80px; right: -80px; }

.cta-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 12px;
}

.cta-title {
    position: relative;
    z-index: 1;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
    font-family: 'Open Sans Condensed', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.cta-text {
    position: relative;
    z-index: 1;
    font-size: 18px !important;
    color: #ffffff;
    line-height: 1.65;
    margin: 0 auto 28px !important;
    max-width: 580px;
    width: auto !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.cta-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: var(--cyan);
    color: #ffffff;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}
.cta-button:hover { background: #fff; color: #000; text-decoration: none; }


/* ============================================================
   4. ABOUT SLICE
   ============================================================ */
.about-slice {
    background: #fff;
    padding: 50px 0;
}

.about-slice__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
    box-sizing: border-box;
}

.about-slice__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}

.about-slice__content h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 18px;
    font-family: 'Open Sans Condensed', sans-serif;
}

.about-slice__content p {
    font-size: 15px;
    line-height: 1.8;
    color: #000;
    margin: 0 0 14px;
}
.about-slice__content p:last-child { margin-bottom: 0; }


/* ============================================================
   5. CONTACT SECTION
   ============================================================ */
.contact-cta {
    background: #fff;  
    padding: 50px 0 70px;
}

.contact-cta__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    align-items: start;
    box-sizing: border-box;
}

.contact-cta__heading {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--cyan);
    margin: 0 0 20px;
}

/* Info cards */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.contact-info-card {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 16px 20px;
    background: #fff;
}

.contact-cta__address {
    font-size: 15px;
    color: var(--cyan);
    font-weight: 700;
    margin: 0;
}

.contact-cta__phone {
    font-size: 16px;
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
}
.contact-cta__phone:hover { text-decoration: underline; }

/* Working hours with floating label */
.contact-info-card--hours {
    position: relative;
    padding-top: 28px;
    margin-top: 22px;
}
.contact-info-card--hours::before {
    content: "WORKING HOURS";
    position: absolute;
    top: -12px;
    left: 18px;
    background: #fff;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: .5px;
}

.contact-cta__hours {
    font-size: 14px;
    color: #000;
    margin: 0;
}

/* Form */
.contact-cta__form { width: 100%; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    color: #888;
}

.form-field input,
.form-field textarea {
    border: 1px solid var(--cyan);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    color: #000;
    background: #fafafa;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    transition: box-shadow .2s, background .2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #aaa; }
.form-field input:focus,
.form-field textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,154,181,.12);
}

.form-field--full { grid-column: 1 / -1; }

.form-actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-form-outline {
    display: inline-block;
    background: #fff;
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    border-radius: 25px;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s, color .25s;
    font-family: 'Open Sans', sans-serif;
}
.btn-form-outline:hover { background: var(--cyan); color: #fff; }

.btn-form-cyan {
    display: inline-block;
    background: var(--cyan);
    color: #fff;
    border: 1.5px solid var(--cyan);
    border-radius: 25px;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s, color .25s;
}
.btn-form-cyan:hover { background: #007a90; color: #fff; text-decoration: none; }

/* Alerts */
.contact-alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.contact-alert--success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.contact-alert--error   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .services-grid          { grid-template-columns: repeat(3, 1fr); }
    .about-slice__container { gap: 28px; }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-section   { min-height: 380px; padding: 60px 20px; }
    .hero-heading   { font-size: 34px; }
    .hero-subtitle  { font-size: 16px; }

    /* Services */
    .services-cards-section { padding: 36px 0 24px; }
    .services-main-title    { font-size: 24px; }
    .services-grid          { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-media img      { height: auto; }

    /* CTA */
    .cta-content   { max-width: 100%; border-radius: 24px; padding: 50px 20px; }
    .cta-title     { font-size: 28px; }
    .cta-text      { font-size: 15px !important; }

    /* About */
    .about-slice__container { grid-template-columns: 1fr; gap: 24px; }
    .about-slice__content h2 { font-size: 24px; }

    /* Contact */
    .contact-cta__container { grid-template-columns: 1fr; gap: 24px; }
    .form-row               { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .hero-heading   { font-size: 28px; }
    .hero-subtitle  { font-size: 15px; }
    .services-grid  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .service-media img { height: auto; margin: 14px 10px 0; width: calc(100% - 20px); }
    .cta-content::before, .cta-content::after { width: 120px; height: 120px; }
    .form-row       { grid-template-columns: 1fr; }
    .form-actions   { flex-direction: column; }
    .btn-form-outline,
    .btn-form-cyan  { text-align: center; width: 100%; }
}

@media (max-width: 400px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-heading  { font-size: 24px; }
}