/* Variables */
body.site {
    --primary: #0d8eda;
    --secondary: #def3ff;
    --text-main: #059eff;
    --text-dark: #1a1a1a;
    --gray-light: #f9f9f9;
}

/* ========================================= GLOBAL OVERFLOW PREVENTION ========================================= */
html,
body {
    max-width: 100%;
}

.container-1200 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Global Home Utility Classes */
.section-padding {
    padding: 40px 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-4 {
    margin-top: 24px;
}

.section-title {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.section-title span {
    color: #29C3D4
}



/* Base Buttons */
.btn-primary {
    display: inline-block;
    background-color: #70cbff;
    color: #000000;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0482d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
    color: #ffffff;
}

/* ========================================= 1. HERO SLIDER ========================================= */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.slider {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: block;
    color: #fff;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.slide-content h2,
.slide-content h1 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    font-family: inherit !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.slide-content .btn-primary {
    display: inline-block;
    background-color: #58B2E0;
    color: #fff;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.slide-content .btn-primary:hover {
    background-color: #29C3D4;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(5, 158, 255, 0.3);
}

.slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #ffffff;
    font-size: 28px;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.slider__nav:hover {
    background: #58B2E0;
    color: #ffffff;
}

.slider__prev {
    left: 18px;
}

.slider__next {
    right: 18px;
}

.slider__dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #58B2E0;
    transform: scale(1.1);
}

/* ========================================= 2. SERVICES GRID ========================================= */
.sp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.sp-card-item {
    position: relative;
    display: block;
    border: 3px solid #7cbcd6;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(5, 158, 255, 0.15);
}

.sp-card-item img {
    width: 100%;
    object-fit: cover;
    display: block;
    padding: 10px;
}

.sp-card-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* "View All Services" link below the grid */
.sp-view-all {
    text-align: center;
    margin-top: 30px;
}

.sp-view-all a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #29C3D4;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}

.sp-view-all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #d2eeff;
}

.sp-view-all-icon svg {
    width: 16px;
    height: 16px;
}

.sp-view-all a:hover .sp-view-all-icon {
    background-color: #29C3D4;
    color: #ffffff;
}

.services-header-wrapper {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Inter', Arial, sans-serif;
    width: 100%;
}

.services-main-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.services-subtitle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 15px;
}

.header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.header-star {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .sp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sp-services-grid {
        grid-template-columns: 1fr;
    }

    .sp-card-item img {
        height: 220px;
    }
}

/* ========================================= 3. TRUST BANNER ========================================= */
.trust-banner-section {
    position: relative;
    background-color: #29C3D4;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Inter', Arial, sans-serif;
    margin-bottom: 50px;
}

.trust-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.trust-number {
    color: #58B2E0;
    font-size: 32px;
    font-weight: 700;
    margin: 0 5px;
    -webkit-text-stroke: 1px #ffffff;
}

.trust-badge {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #636363;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trust-badge svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    .section-title span {
        color: #ffffff;
    }

    .trust-banner-section {
        padding: 40px 15px;
    }

    .trust-text {
        font-size: 18px;
    }

    .trust-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .trust-text {
        font-size: 16px;
    }

    .trust-number {
        font-size: 22px;
    }

    .trust-badge {
        width: 40px;
        height: 40px;
        bottom: -20px;
    }

    .trust-badge svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================= 4. ABOUT US ========================================= */
.about-section {
    background: #58B2E0;
    color: #022036;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--secondary);
}

.about-image-wrapper {
    flex: 0.8;
}

.about-main-img {
    border-radius: 8px;
    width: 100%;
    height: 550px;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-box {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.feature-box:hover {
    border-color: #58B2E0;
}

.feature-box .icon {
    font-size: 24px;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E4F6FF;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-box .text h4 {
    margin: 0 0 8px;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.feature-box .text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #000000;
}

/* ========================================= 5. WHY CHOOSE US ========================================= */
.why-choose-section {
    background-color: #E4F6FF;
    padding: 60px 0;
    font-family: 'Inter', Arial, sans-serif;
}

.why-title {
    color: #000000;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.why-card {
    background-color: #ffffff;
    padding: 20px 20px;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-card-header {
    border-top: 2px solid #3DBFEA;
    border-bottom: 2px solid #3DBFEA;
    padding: 12px 0;
    margin-bottom: 20px;
}

.why-card-title {
    color: #3DBFEA;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
}

.why-card-body p {
    color: #000000;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 25px 20px;
    }
}

/* ========================================= 6. PATTERN CTA BANNER ========================================= */
.pattern-cta-section {
    position: relative;
    background-color: #29b9cd;
    padding: 60px 0;
    font-family: 'Inter', Arial, sans-serif;
    z-index: 1;
}

.pattern-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-corporate.webp');
    background-repeat: repeat;
    background-position: center;
    opacity: 1.08;
    z-index: -1;
}

.pattern-cta-content {
    max-width: 850px;
    margin: 0;
    text-align: left;
}

.pattern-cta-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.pattern-cta-text {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.btn-black {
    display: inline-block;
    background-color: #58B2E0;
    color: #ffffff;
    padding: 14px 35px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-black:hover {
    background-color: transparent;
    color: #111111;
}

/* ========================================= RESPONSIVE QUERIES ========================================= */
@media (max-width: 1024px) {
    .slider {
        height: 350px;
    }

    .about-image-wrapper {
        display: none;
    }

    .about-flex {
        padding: 30px;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .slider {
        height: 400px;
    }

    .slide-content h2,
    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .slide-content .btn-primary {
        padding: 12px 28px;
        font-size: 15px;
    }

    .about-flex {
        padding: 20px;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .pattern-cta-section {
        padding: 70px 0;
    }

    .pattern-cta-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-text {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .about-flex {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .pattern-cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .pattern-cta-section {
        padding: 50px 0;
    }

    .pattern-cta-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .pattern-cta-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .about-text {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 480px) {
    .pattern-cta-section {
        padding: 40px 0;
    }

    .pattern-cta-title {
        font-size: 24px;
    }

    .pattern-cta-text {
        font-size: 15px;
    }

    .btn-black {
        padding: 12px 30px;
        font-size: 15px;
    }
}