/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #123b63;
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

.residential-page {
    width: 100%;
    overflow: hidden;
}

.wifi-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.wifi-hero {
    width: 100%;
    min-height: 380px;
    background: linear-gradient(
        100deg,
        #eaf8ff 0%,
        #dff3ff 48%,
        #ffffff 100%
    );
    overflow: hidden;
}

.wifi-hero-grid {
    min-height: 380px;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: stretch;
}

.wifi-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px 30px 55px 50px;
    position: relative;
    z-index: 2;
}

.wifi-red-line {
    width: 42px;
    height: 6px;
    background: #f52245;
    border-radius: 4px;
    margin-bottom: 18px;
}

.wifi-hero-content h1 {
    color: #0b3f70;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 20px;
}

.wifi-hero-content h1 span {
    color: #087cf0;
}

.wifi-hero-content p {
    max-width: 600px;
    color: #24547b;
    font-size: 18px;
    line-height: 1.5;
}

.wifi-hero-image {
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.wifi-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   SOLUTION SECTION
========================================================= */

.wifi-solution {
    background: #ffffff;
    padding: 70px 40px;
}

.wifi-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 55px;
    align-items: center;
}

.wifi-image-box {
    position: relative;
}

.wifi-decorated-image {
    position: relative;
    padding: 0;
}

.wifi-decorated-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 12px;
}

.decor-red {
    position: absolute;
    width: 78px;
    height: 78px;
    background: #f52245;
    border-radius: 18px;
    left: -14px;
    top: -12px;
    z-index: 1;
}

.decor-blue {
    position: absolute;
    width: 60px;
    height: 60px;
    border-left: 5px solid #00a9f4;
    border-bottom: 5px solid #00a9f4;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    border-radius: 0 0 0 8px;
}

.wifi-text-content {
    position: relative;
}

.section-top-line {
    display: block;
    width: 42px;
    height: 5px;
    background: #f52245;
    border-radius: 4px;
    margin-bottom: 13px;
}

.wifi-text-content h2 {
    color: #0b467c;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 14px;
}

.wifi-text-content p {
    color: #24547b;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.wifi-text-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BENEFITS SECTION
========================================================= */

.wifi-benefits {
    background: #eaf8ff;
    padding: 60px 40px 70px;
}

.wifi-benefits-heading {
    margin-bottom: 30px;
}

.wifi-benefits-heading h2 {
    color: #0b467c;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 12px;
}

.wifi-benefits-heading p {
    max-width: 900px;
    color: #24547b;
    font-size: 16px;
    line-height: 1.5;
}

.wifi-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wifi-benefit-card {
    background: #ffffff;
    border-radius: 9px;
    padding: 25px 20px;
    min-height: 205px;
    display: flex;
    gap: 15px;
    border: 1px solid rgba(10, 90, 150, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wifi-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 72, 125, 0.10);
}

.benefit-icon {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #087ff2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 25px;
}

.benefit-content {
    flex: 1;
    min-width: 0;
}

.benefit-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.benefit-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #087ff2;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content h3 {
    color: #0b467c;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.benefit-content p {
    color: #24547b;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   FINAL SECTION
========================================================= */

.wifi-final-section {
    background: #ffffff;
    padding: 65px 40px 75px;
}

.wifi-final-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.wifi-final-image img {
    height: 285px;
    object-fit: cover;
    border-radius: 12px;
}

.wifi-final-section .wifi-text-content h2 {
    font-size: 31px;
}

.wifi-final-section .wifi-text-content p {
    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1450px) {

    .wifi-hero-content {
        padding-left: 0;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .wifi-hero-grid {
        grid-template-columns: 50% 50%;
    }

    .wifi-hero-content {
        padding: 45px 25px 45px 30px;
    }

    .wifi-hero-content h1 {
        font-size: 40px;
    }

    .wifi-solution-grid,
    .wifi-final-grid {
        gap: 15px;
    }

    .wifi-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   TABLET / SMALL
========================================================= */

@media (max-width: 767px) {

    .wifi-container {
        width: 100%;
    }


    /* HERO */

    .wifi-hero {
        min-height: auto;
    }

    .wifi-hero-grid {
        grid-template-columns: 1fr;
    }

    .wifi-hero-content {
        padding: 40px 15px 30px;
    }

    .wifi-hero-content h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .wifi-hero-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .wifi-hero-image {
        min-height: 260px;
        height: 260px;
    }

    .wifi-hero-image img {
        min-height: 260px;
        height: 260px;
    }


    /* SOLUTION */

    .wifi-solution {
        padding: 15px;
    }

    .wifi-solution-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wifi-decorated-image img {
        height: 250px;
    }

    .decor-red {
        width: 62px;
        height: 62px;
        left: -7px;
        top: -8px;
        border-radius: 14px;
    }

    .decor-blue {
        width: 48px;
        height: 48px;
        right: 8px;
        bottom: 8px;
        border-width: 4px;
    }

    .wifi-text-content h2 {
        font-size: 27px;
    }

    .wifi-text-content p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* BENEFITS */

    .wifi-benefits {
        padding:15px ;
    }

    .wifi-benefits-heading {
        margin-bottom: 25px;
    }

    .wifi-benefits-heading h2 {
        font-size: 27px;
    }

    .wifi-benefits-heading p {
        font-size: 15px;
    }

    .wifi-benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wifi-benefit-card {
        min-height: auto;
        padding: 22px 18px;
    }

    .benefit-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .benefit-content h3 {
        font-size: 17px;
    }

    .benefit-content p {
        font-size: 14px;
        line-height: 1.5;
    }


    /* FINAL */

    .wifi-final-section {
        padding: 15px;
    }

    .wifi-final-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wifi-final-image img {
        height: 240px;
    }

    .wifi-final-section .wifi-text-content h2 {
        font-size: 27px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .wifi-hero-content {
        padding-top: 15px;
    }

    .wifi-hero-content h1 {
        font-size: 30px;
    }

    .wifi-hero-image,
    .wifi-hero-image img {
        min-height: 220px;
        height: 220px;
    }

    .wifi-solution,
    .wifi-benefits,
    .wifi-final-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .wifi-text-content h2,
    .wifi-benefits-heading h2,
    .wifi-final-section .wifi-text-content h2 {
        font-size: 24px;
    }

    .wifi-benefit-card {
        gap: 12px;
    }

    .benefit-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .benefit-title-row {
        align-items: flex-start;
    }

    .benefit-number {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 11px;
    }

}