/* =========================================
   SERVICES LIST PAGE  (sl- prefix)
   ========================================= */

/* ── Hero ── */
.sl-hero-section {
    width: 100%;
    min-height: 460px;
    position: relative;
    background-image: url('../img/service page hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.sl-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.sl-hero-heading {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0 0 16px;
    font-family: "Trebuchet MS", sans-serif;
}

.sl-hero-subheading {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 28px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.sl-hero-btn {
    display: inline-block;
    background: #1f425d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.sl-hero-btn:hover {
    background: #2AB0DD;
    color: #ffffff;
}

/* ── Services Section ── */
.sl-services-section {
    background: #E8F5FF;
    padding: 60px 20px;
    text-align: center;
}

.sl-services-header {
    margin-bottom: 30px;
}

.sl-services-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px;
    font-family: "Trebuchet MS", sans-serif;
}

.sl-services-subtitle {
    font-size: 18px;
    color: #6d6d6d;
    margin: 0;
    font-weight: 500;
}

.sl-accent {
    color: #1f425d;
}

/* ── Services Grid: 4 columns ── */
.sl-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* ── Service Card ── */
.sl-service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.sl-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.sl-card-img-link {
    display: block;
    text-decoration: none;
}

/* Image area with badge */
.sl-card-image {
    width: 100%;
    height: 200px;
    border-radius: 13px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
}

.sl-service-card:hover .sl-card-image {
    transform: scale(1.02);
}

/* Numbered badge */
.sl-card-badge {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #1f425d;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 2;
}

.sl-card-badge span {
    font-size: 15px;
    font-weight: 700;
    color: #1f425d;
    line-height: 1;
}

/* Title */
.sl-card-title {
    display: block;
    margin: 36px 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    line-height: 1.3;
    font-family: "Trebuchet MS", sans-serif;
    transition: color 0.2s ease;
}

.sl-card-title:hover {
    color: #1f425d;
    text-decoration: none;
}

/* Description */
.sl-card-desc {
    font-size: 14px;
    color: #6d6d6d;
    line-height: 1.55;
    margin: 0 0 10px;
    flex: 1;
}

/* Details link */
.sl-card-details {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease;
}

.sl-card-details:hover {
    color: #1f425d;
}

.sl-arrow {
    font-size: 16px;
    transition: transform 0.25s ease;
    display: inline-block;
}

.sl-card-details:hover .sl-arrow {
    transform: translateX(4px);
}

/* View All button */
.sl-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.sl-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    transition: color 0.2s ease;
    font-family: "Trebuchet MS", sans-serif;
}

.sl-view-all-btn:hover {
    color: #1f425d;
}

.sl-btn-arrow {
    font-size: 18px;
}

/* ── CTA Banner ── */
.sl-cta-section {
    background-color: #1f425d;
    padding: 40px 20px;
}

.sl-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sl-cta-text {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    font-family: "Trebuchet MS", sans-serif;
}

.sl-cta-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-top: 6px;
}

.sl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2AB0DD;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease;
    flex-shrink: 0;
}

.sl-cta-btn:hover {
    background: #ffffff;
    color: #1f425d;
}

/* ── Contact Section ── */
.sl-contact-section {
    padding: 60px 0;
    background: #E8F5FF;
}

.sl-contact-heading {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px;
    color: #000000;
    text-transform: uppercase;
    font-family: "Trebuchet MS", sans-serif;
}

.sl-contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

/* Info cards */
.sl-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sl-info-card {
    background: #1f425d;
    color: #ffffff;
    padding: 18px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.sl-info-card a {
    color: #ffffff;
    text-decoration: none;
}

.sl-info-card a:hover {
    color: rgba(255,255,255,0.8);
}

.sl-info-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sl-hours-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
}

.sl-hours-value {
    font-size: 15px;
    font-weight: 600;
}

/* Contact form */
.sl-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sl-form-group input,
.sl-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Trebuchet MS", sans-serif;
    background: #ffffff;
    color: #333333;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.sl-form-group input:focus,
.sl-form-group textarea:focus {
    outline: none;
    border-color: #1f425d;
}

.sl-form-group textarea {
    resize: vertical;
}

.sl-form-submit {
    text-align: left;
}

.sl-submit-btn {
    background: #1f425d;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.25s ease;
    font-family: "Trebuchet MS", sans-serif;
}

.sl-submit-btn:hover {
    background: #2AB0DD;
}

/* Alerts */
.sl-alert {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.sl-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sl-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.sl-alert ul {
    margin: 6px 0 0 16px;
    padding: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .sl-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sl-hero-heading {
        font-size: 34px;
    }

    .sl-hero-subheading {
        font-size: 16px;
    }

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

    .sl-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .sl-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sl-hero-section {
        min-height: 340px;
    }

    .sl-hero-heading {
        font-size: 26px;
    }

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

    .sl-form-row {
        grid-template-columns: 1fr;
    }
}
