/* =========================================
   SERVICE PAGE CUSTOM STYLES (MATCHED TO IMAGE)
   ========================================= */
:root {
    --bg-light-blue: #F0F7FC; /* The exact light blue background from the image */
    --card-bg: #F4F8FA; /* Very faint blue for the cards */
}

/* Typography & Layout Utilities */
.section-padding { padding: 80px 0; }
.section-padding-top { padding-top: 80px; }
.section-padding-bottom { padding-bottom: 80px; }

.section-title {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}
.text-left { text-align: left; }
.mt-4 { margin-top: 30px; }

.sp-subtitle {
    color: var(--primary);
    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: var(--primary);
    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: #0482d6;
    box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
}

/* 1. Hero Section */
.service-page-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-page-hero .hero-title {
    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);
    padding: 0 10px;
    box-sizing: border-box;
}

/* Service Card Design matching Image */
.sp-service-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}
.sp-service-card {
    background: var(--card-bg);
    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; /* White circle from image */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.sp-card-number {
    font-size: 55px;
    font-weight: 800;
    color: var(--secondary); /* Light faded blue */
    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: #666;
    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); /* Down-right diagonal push */
}

/* Perfect Slider Controls (Button - Dots - Line - Arrows) */
.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;
}
/* The separating line from the image */
.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: var(--primary);
    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; }

/* =========================================
   3 & 4. LIGHT BLUE WRAPPER (CTA + Arch Info)
   ========================================= */
.sp-light-blue-bg {
    background-color: var(--bg-light-blue);
}

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

/* Info Grid */
.sp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

/* Arch Image Styling (Offset Border left & bottom) */
.sp-info-image-wrapper {
    position: relative;
    max-width: 450px;
    padding-bottom: 20px;
    padding-left: 20px;
}
.sp-info-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 250px 250px 0 0;
    position: relative;
    z-index: 2;
}
.sp-info-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 0;
    left: 0;
    border: 2px solid var(--primary);
    border-radius: 250px 250px 0 0;
    z-index: 1;
}

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

/* =========================================
   5. CONTACT FORM SECTION
   ========================================= */
.sp-contact-section {
    background-color: #ffffff; /* Must be white behind the box */
}

.sp-contact-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    background: #ffffff;
    padding: 50px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

/* Form Styling */
.sp-form .input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.sp-form input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.3s;
    outline: none;
}
.sp-form input:focus { border-bottom-color: var(--primary); }
.sp-form input::placeholder { color: #888; }
.full-width-input { margin-bottom: 40px; }

.submit-btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 16px;
    border-radius: 2px;
}

/* Contact Info Column */
.sp-info-col {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.contact-detail-group { margin-bottom: 30px; }
.contact-detail-group h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}
.contact-detail-group .primary-text {
    margin: 0;
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .sp-card-wrapper { flex: 0 0 calc(100% / 2); }
    
    .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; }
    .contact-title, .contact-detail-group { text-align: center; }
}

@media (max-width: 767px) {
    .service-page-hero { height: 250px; }
    .service-page-hero .hero-title { font-size: 36px; }
    
    .sp-card-wrapper { flex: 0 0 100%; }
    
    /* Modify Slider controls to stack gracefully on mobile */
    .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; }
}