/* =========================================
   SERVICE PAGE CUSTOM STYLES (MATCHED TO IMAGE)
   ========================================= */
:root {
    --bg-light-blue: #F0F7FC;
    --card-bg: #F4F8FA;
}

/* Typography & Layout Utilities */
.section-padding {
    padding: 40px 0;
    background-color: #D2EEFF;
}

.section-padding-top {
    padding-top: 0px;
}

.section-padding-bottom {
    padding-bottom: 40px;
    padding-top: 40px;
    background-color: #D2EEFF;
}

.section-title {
    color: #000000;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-left {
    text-align: left;
    /* padding-left: 20px; */
    padding-right: 20px;
}

.mt-4 {
    margin-top: 30px;
}

.sp-subtitle {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

/* Base Primary Button */
.btn-primary {
    display: inline-block;
    background-color: #206C86;
    color: #fff;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #2AB0DD;
    box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
    color: #000000;
}

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

.service-page-hero .hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

/* 2. Services Slider Section */
.sp-services-section {
    background-color: #ffffff;
}

.sp-header {
    margin-bottom: 30px;
}

.sp-desc {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.sp-slider-window {
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px 0;
}

.sp-slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.sp-card-wrapper {
    flex: 0 0 calc(100% / 4);
    box-sizing: border-box;
}

/* Service Card Design */
.sp-service-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.sp-service-card {
    background: #D2EEFF;
    border: 1px solid #eef2f5;
    border-radius: 4px;
    padding: 35px 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-service-card:hover {
    box-shadow: 0 10px 20px rgba(5, 158, 255, 0.1);
    transform: translateY(-5px);
}

.sp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.sp-card-icon {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.sp-card-number {
    font-size: 55px;
    font-weight: 800;
    color: #07669C;
    line-height: 0.8;
}

.sp-card-content h3 {
    font-size: 20px;
    margin: 0 0 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.sp-card-content p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sp-read-more {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.sp-read-more .arrow {
    color: var(--primary);
    margin-right: 6px;
    font-size: 16px;
    transition: transform 0.3s;
}

.sp-service-card:hover .sp-read-more {
    color: var(--primary);
}

.sp-service-card:hover .sp-read-more .arrow {
    transform: translate(2px, 2px);
}

/* Slider Controls */
.sp-slider-controls {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.sp-control-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sp-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-dot {
    width: 6px;
    height: 6px;
    background: #dcdcdc;
    border-radius: 50%;
    display: block;
}

.sp-dot.active {
    background: var(--primary);
    width: 18px;
    border-radius: 10px;
}

.sp-slider-line {
    flex-grow: 1;
    height: 2px;
    background: #eeeeee;
    margin: 0 20px;
}

.sp-control-right {
    display: flex;
    gap: 8px;
}

.sp-nav-btn {
    width: 32px;
    height: 32px;
    background: #70CBFF;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s;
}

.sp-nav-btn:hover {
    background: #0482d6;
}

.container-1200A {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.sp-hero-section {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.sp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.sp-hero-content {
    max-width: 700px;
    text-align: left;
    color: #ffffff;
    z-index: 2;
}

.hero-main-title {
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 1.7);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-sub-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.7);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-call-btn {
    display: inline-block;
    background-color: #206C86;
    color: #ffffff;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
}

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

/* Hero responsive */
@media (max-width: 991px) {
    .hero-main-title {
        font-size: 36px;
    }
    .sp-info-col{
        text-align: left;
    }
}

@media (max-width: 768px) {
    .sp-hero-section {
        min-height: 300px !important;
        text-align: center;
    }

    .sp-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-main-title {
        font-size: 28px;
    }

    .hero-main-title br {
        display: none;
    }

    .hero-sub-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* =========================================
   LIGHT BLUE WRAPPER (CTA + Info)
   ========================================= */
.sp-light-blue-bg {
    background: linear-gradient(to right, #2AB0DD, #2BA4CD);
}

.sp-cta-content {
    max-width: 650px;
}

.sp-cta-content p {
    color: #ffffff;
    line-height: 1.7;
    font-size: 15px;
    margin-top: 15px;
}

.sp-info-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.sp-info-image-wrapper {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 0 20px 20px;
}

.sp-info-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 250px 250px 0 0;
    position: relative;
    z-index: 2;
}

.sp-info-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: 18px;
    left: 18px;
    border: 2px solid var(--primary);
    border-radius: 250px 250px 0 0;
    z-index: 1;
}

.sp-info-text p {
    color: #000000;
    line-height: 1.8;
    margin-top: 20px;
    font-size: 15px;
}

/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.sp-contact-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.sp-contact-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.sp-form .input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.sp-form .input-grid1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.sp-form input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease;
    outline: none;
}

.sp-form input:focus {
    border-bottom-color: #07669C;
}

.full-width-input {
    margin-bottom: 40px;
}

.submit-btn-new {
    background-color: #206C86;
    color: #fff;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-btn-new:hover {
    background-color: #2AB0DD;
    box-shadow: 0 5px 15px rgba(7, 102, 156, 0.2);
}

.sp-info-col {
    padding-left: 40px;
    border-left: 1px solid #f0f0f0;
}

.contact-detail-group {
    margin-bottom: 35px;
}

.contact-detail-group h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-detail-group p,
.contact-detail-group a {
    font-size: 18px;
    font-weight: 600;
    color: #2AB0DD;
    text-decoration: none;
    line-height: 1.4;
}

/* Contact responsive */
@media (max-width: 991px) {
    .sp-contact-box {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sp-info-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding-top: 40px;
    }
}

@media (max-width: 600px) {
    .sp-form .input-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   INFO GRID RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .sp-info-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .sp-info-text .section-title {
        text-align: center;
    }

    .sp-info-image-container {
        display: flex;
        justify-content: center;
    }

    .sp-contact-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .sp-info-col {
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 40px;
        text-align: left;
    }

    .contact-title,
    .contact-detail-group {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .service-page-hero {
        height: 250px;
    }

    .service-page-hero .hero-title {
        font-size: 36px;
    }

    .sp-card-wrapper {
        flex: 0 0 100%;
    }

    .sp-slider-controls {
        flex-direction: column;
        gap: 20px;
    }

    .sp-slider-line {
        display: none;
    }

    .sp-form .input-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sp-contact-box {
        padding: 30px 20px;
        gap: 40px;
    }
}

/* =========================================
   SERVICES CARD GRID
   ========================================= */

/* Default: 3 columns on desktop */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    justify-items: center;
}

/* Card Styling */
.sp-clean-card {
    text-decoration: none;
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.sp-clean-card:hover {
    transform: translateY(-5px);
}

.card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid #206C86;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content-overlay {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.card-branding {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    padding: 4px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-service-title {
    color: white;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    text-transform: uppercase;
}

/* View All Toggle Button */
.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.expand-toggle-btn {
    background: transparent;
    border: none;
    color: #07669C;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.expand-toggle-btn:hover {
    color: #2AB0DD;
}

.btn-icon {
    display: inline-block;
    transition: transform 0.4s ease;
    background: #F0F7FC;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
}

.expand-toggle-btn.is-active .btn-icon {
    transform: rotate(180deg);
}

.view-all-text-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.arrow-icon {
    transition: transform 0.2s;
}

/* =========================================
   CARDS GRID — RESPONSIVE BREAKPOINTS
   ========================================= */

/* iPad Pro landscape (1024px) — 3 cols, fixed height */
@media (max-width: 1024px) {
    .services-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .card-image-box {
        height: 160px;
        aspect-ratio: unset;
    }
    .card-branding {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* iPad Pro portrait / tablet landscape (991px) — 3 cols, fixed height */
@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .card-image-box {
        height: 150px;
        aspect-ratio: unset;
    }
    .card-branding {
        font-size: 11px;
        padding: 3px 10px;
    }

    .text-left {
        padding-left: 20px;
    }
}

/* iPad mini portrait (768px) — 2 cols, fixed height */
@media (max-width: 768px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .card-image-box {
        height: 170px;
        aspect-ratio: unset;
        border-radius: 12px;
        border-width: 2px;
    }
    .card-branding {
        font-size: 13px;
        padding: 4px 12px;
    }
}

/* Small phones (480px and below) — single column */
@media (max-width: 480px) {
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .card-image-box {
        height: 200px;
        aspect-ratio: unset;
        border-radius: 12px;
    }
    .card-branding {
        font-size: 13px;
        padding: 4px 14px;
    }
}

.sp-cta-section {
    background: linear-gradient(to bottom, #2AB0DD 0%, #2BA4CD 100%) !important;
}