/* ===========================================
   page-index.css — Index page-specific styles
   Consolidated from inline <style> blocks
   =========================================== */

/* --- Global overflow fix (prevents horizontal scroll) --- */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- Banner overlay --- */
.banner-content h2 {
    font-size: 82px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-item {
    position: relative;
    z-index: 1;
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* --- Why Choose Section --- */
.why-choose-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: 'Helvetica Neue', sans-serif;
    gap: 40px;
}

.why-choose-text {
    flex: 1 1 500px;
    max-width: 600px;
}

.why-choose-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.why-choose-text h2 span {
    color: #E04848;
}

.why-choose-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.why-choose-text ul {
    padding-left: 20px;
    color: #333;
    margin-bottom: 30px;
}

.why-choose-text ul li {
    margin-bottom: 10px;
}

.why-choose-image {
    flex: 1 1 400px;
    max-width: 500px;
}

.why-choose-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- Service Sections (page-wrapper) --- */
.service-section {
    padding: 50px 20px;
    background-color: #fefefe;
}

.testimonial-section {
    background-color: #f4f4f4;
    padding: 40px 20px;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.testimonial img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.cta-section {
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.page-wrapper {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #fff;
}

.page-wrapper .container {
    max-width: 1200px;
    margin: auto;
}

.page-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.page-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.page-wrapper img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.page-wrapper section {
    padding: 4rem 0;
}

.alt-bg {
    background-color: #F4F7FF;
}

.center {
    text-align: center;
}

/* --- Grid layout --- */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.grid.reverse {
    direction: rtl;
}

.grid.reverse>* {
    direction: ltr;
}

/* --- Feature lists --- */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: #E04848;
}

/* --- Testimonial grid --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* --- Content wrap --- */
h2,
h3,
h4,
h5,
h6 {
    font-size: 28px;
}

.content-wrap {
    margin: 20px;
}

.content-wrap h5 i {
    padding-right: 10px;
}

/* --- Location section --- */
.location-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px;
}

.content-wrap1,
.map-wrap {
    flex: 1 1 45%;
    min-width: 300px;
    box-sizing: border-box;
}

.map-wrap {
    padding-right: 20px;
}

.map-wrap iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   Mobile Responsive Overrides
   =========================================== */

@media (max-width: 767.98px) {
    .top-header {
        height: 55px !important;
    }

    .mean-bar {
        height: 55px !important;
        padding: 0px !important;
    }

    .banner-item {
        height: 310px !important;
    }

    .mobilhide {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grid.reverse {
        direction: ltr;
    }

    .why-choose-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .why-choose-text h2 {
        font-size: 28px;
    }

    .service-section .content {
        text-align: left;
    }

    .service-section .info-box {
        justify-content: flex-start;
    }

    .about-row-reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-img-col,
    .about-content-col {
        width: 100% !important;
    }

    .about-img-col {
        display: none;
    }

    #servicesgap {
        margin-top: 85px;
    }

    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 20px;
    }

    .content-wrap {
        margin: 10px;
    }

    .location-container {
        flex-direction: column;
    }

    .map-wrap {
        width: 100%;
    }

    .service-section {
        padding: 20px 10px;
        background-color: #fefefe;
    }

    .banner-content h1,
    .banner-content h2 {
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .services-area .ptb-100 .aos-init .aos-animate {
        margin-top: -100px;
    }
}