
/* =========================================
   AMEERPET APARTMENT SAFETY NET SECTION
   PV SAFETY NETS
========================================= */

.ambattur-apartment-section {
    width: 100%;
    padding: 70px 20px;
    background: #f5f8fc;
    overflow: hidden;
}

.ambattur-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================
   MAIN GRID
========================================= */

.ambattur-section-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 34px;
    align-items: start;
}


/* =========================================
   IMAGE SIDE
========================================= */

.ambattur-image-wrap {
    width: 100%;
    height: 800px;
    min-height: 800px;
    position: relative;
}

.ambattur-image-card {
    position: relative;
    width: 100%;
    height: 800px;
    min-height: 800px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(20, 35, 55, 0.16);
}

.ambattur-image-card img {
    width: 100%;
    height: 800px;
    min-height: 800px;
    max-height: 800px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

.ambattur-image-card:hover img {
    transform: scale(1.04);
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.ambattur-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.03),
            transparent 42%,
            rgba(0, 0, 0, 0.28)
        );

    pointer-events: none;
}


/* =========================================
   TOP SAFETY BADGE
========================================= */

.ambattur-safe-badge {
    position: absolute;
    top: 20px;
    right: 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 15px;

    background: rgba(255, 255, 255, 0.96);
    border-radius: 13px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(10px);

    animation: ambatturFloat 4s ease-in-out infinite;

    z-index: 5;
}

.badge-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1262d6;
    color: #ffffff;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 800;
}

.ambattur-safe-badge strong,
.ambattur-location-badge strong {
    display: block;

    font-size: 13px;
    line-height: 1.2;

    color: #102a52;
}

.ambattur-safe-badge small,
.ambattur-location-badge small {
    display: block;

    margin-top: 3px;

    font-size: 10px;
    line-height: 1.2;

    color: #55708f;
}


/* =========================================
   LOCATION BADGE
========================================= */

.ambattur-location-badge {
    position: absolute;

    left: 20px;
    bottom: 92px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 11px 15px;

    background: rgba(255, 255, 255, 0.96);
    border-radius: 13px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);

    backdrop-filter: blur(10px);

    z-index: 5;
}

.ambattur-location-badge > span {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1262d6;

    font-size: 16px;
}


/* =========================================
   IMAGE FEATURES
========================================= */

.ambattur-image-features {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    padding: 12px 15px;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 14px;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);

    backdrop-filter: blur(10px);

    z-index: 5;
}

.image-feature {
    display: flex;
    align-items: center;
    gap: 7px;

    min-width: 0;
}

.image-feature > span {
    flex: 0 0 auto;

    font-size: 17px;
    color: #1262d6;
    font-weight: 800;
}

.image-feature strong {
    display: block;

    font-size: 11px;
    line-height: 1.2;

    color: #102a52;
}

.image-feature small {
    display: block;

    margin-top: 2px;

    font-size: 9px;
    line-height: 1.2;

    color: #667b96;
}


/* =========================================
   CONTENT SIDE
========================================= */

.ambattur-content {
    background: #ffffff;

    border-radius: 18px;

    padding: 34px 34px 32px;

    box-shadow: 0 12px 35px rgba(20, 35, 55, 0.08);

    overflow: hidden;
}

.ambattur-label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #1466d7;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.ambattur-label span {
    width: 65px;
    height: 2px;

    background: #1466d7;

    display: inline-block;
}


/* =========================================
   CONTENT HEADINGS
========================================= */

.ambattur-content h2 {
    margin: 0;

    color: #10264d;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -1.5px;

    font-weight: 800;
}

.ambattur-content h2 span {
    display: block;

    color: #1970e8;
}

.ambattur-content h3 {
    margin: 17px 0 20px;

    color: #263b5b;

    font-size: 18px;

    line-height: 1.45;

    font-weight: 700;
}

.ambattur-content > p {
    color: #43556d;

    font-size: 14px;

    line-height: 1.75;

    margin: 0 0 15px;
}

.ambattur-content strong {
    color: #1c3f70;

    font-weight: 700;
}


/* =========================================
   SERVICES
========================================= */

.ambattur-services {
    margin: 22px 0;
    padding: 20px;

    background: linear-gradient(
        135deg,
        #f7faff,
        #eef5ff
    );

    border: 1px solid rgba(20, 98, 214, 0.08);

    border-radius: 14px;
}

.ambattur-services h4 {
    margin: 0 0 15px;

    color: #1262d6;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 800;
}

.ambattur-service-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 11px 18px;
}

.ambattur-service-item {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    padding: 9px;

    border-radius: 10px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.ambattur-service-item:hover {
    background: rgba(255, 255, 255, 0.8);

    transform: translateY(-2px);
}

.ambattur-service-item span {
    flex: 0 0 21px;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1466d7;

    color: #ffffff;

    border-radius: 50%;

    font-size: 11px;

    font-weight: 800;

    margin-top: 1px;
}

.ambattur-service-item p {
    margin: 0;

    color: #263c5d;

    font-size: 12.5px;

    line-height: 1.5;
}


/* =========================================
   CTA
========================================= */

.ambattur-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 22px;

    padding: 16px 21px;

    background:
        linear-gradient(
            135deg,
            #1262d6,
            #0b57c5
        );

    color: #ffffff;

    border-radius: 30px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(18, 98, 214, 0.24);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ambattur-cta b {
    font-size: 23px;

    line-height: 1;

    transition: transform 0.3s ease;
}

.ambattur-cta:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 16px 30px rgba(18, 98, 214, 0.3);
}

.ambattur-cta:hover b {
    transform: translateX(5px);
}


/* =========================================
   SCROLL ANIMATION
========================================= */

.ambattur-image-wrap,
.ambattur-content {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.ambattur-image-wrap.ambattur-show,
.ambattur-content.ambattur-show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   FLOAT ANIMATION
========================================= */

@keyframes ambatturFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================
   TOP SEO HEADING
========================================= */

.ambattur-top-heading {
    text-align: center;

    max-width: 900px;

    margin: 0 auto 45px;
}

.ambattur-top-heading span {
    display: inline-block;

    margin-bottom: 10px;

    color: #1466d7;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.ambattur-top-heading h2 {
    margin: 0;

    color: #10264d;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1px;
}

.ambattur-top-heading h2 strong {
    color: #1970e8;

    font-weight: 800;
}

.ambattur-top-heading p {
    margin: 14px auto 0;

    max-width: 720px;

    color: #596b83;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .ambattur-section-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .ambattur-image-wrap {
        width: 100%;

        height: 360px;

        min-height: 360px;
    }

    .ambattur-image-card {
        width: 100%;

        height: 360px;

        min-height: 360px;
    }

    .ambattur-image-card img {
        width: 100%;

        height: 360px;

        min-height: 360px;

        max-height: 360px;
    }

    .ambattur-content {
        padding: 30px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .ambattur-apartment-section {
        padding: 42px 14px;
    }

    .ambattur-top-heading {
        margin-bottom: 30px;
    }

    .ambattur-top-heading h2 {
        font-size: 30px;
    }

    .ambattur-top-heading p {
        font-size: 13px;

        padding: 0 8px;
    }

    .ambattur-section-grid {
        gap: 20px;
    }


    /* IMAGE */

    .ambattur-image-wrap {
        width: 100%;

        height: 400px;

        min-height: 400px;
    }

    .ambattur-image-card {
        width: 100%;

        height: 400px;

        min-height: 400px;

        border-radius: 15px;
    }

    .ambattur-image-card img {
        width: 100%;

        height: 400px;

        min-height: 400px;

        max-height: 400px;

        object-fit: cover;

        object-position: center;
    }


    /* TOP BADGE */

    .ambattur-safe-badge {
        top: 12px;

        right: 12px;

        padding: 8px 11px;

        gap: 7px;
    }

    .badge-icon {
        width: 29px;
        height: 29px;

        font-size: 12px;
    }

    .ambattur-safe-badge strong,
    .ambattur-location-badge strong {
        font-size: 11px;
    }

    .ambattur-safe-badge small,
    .ambattur-location-badge small {
        font-size: 8px;
    }


    /* LOCATION */

    .ambattur-location-badge {
        left: 12px;

        bottom: 76px;

        padding: 8px 11px;

        gap: 7px;
    }

    .ambattur-location-badge > span {
        width: 25px;
        height: 25px;

        font-size: 14px;
    }


    /* IMAGE FEATURES */

    .ambattur-image-features {
        left: 10px;
        right: 10px;

        bottom: 10px;

        padding: 9px;

        gap: 4px;

        border-radius: 11px;
    }

    .image-feature {
        gap: 4px;
    }

    .image-feature > span {
        font-size: 13px;
    }

    .image-feature strong {
        font-size: 8px;
    }

    .image-feature small {
        font-size: 7px;
    }


    /* CONTENT */

    .ambattur-content {
        padding: 25px 20px;

        border-radius: 15px;
    }

    .ambattur-content h2 {
        font-size: 34px;
    }

    .ambattur-content h3 {
        font-size: 16px;

        line-height: 1.5;
    }

    .ambattur-content > p {
        font-size: 13px;

        line-height: 1.7;
    }


    /* SERVICES */

    .ambattur-services {
        padding: 15px;

        margin: 20px 0;
    }

    .ambattur-service-list {
        grid-template-columns: 1fr;

        gap: 7px;
    }

    .ambattur-service-item {
        padding: 7px;
    }

    .ambattur-service-item p {
        font-size: 12px;

        line-height: 1.5;
    }


    /* CTA */

    .ambattur-cta {
        font-size: 12px;

        padding: 14px 16px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .ambattur-image-wrap {
        height: 245px;

        min-height: 245px;
    }

    .ambattur-image-card {
        height: 245px;

        min-height: 245px;
    }

    .ambattur-image-card img {
        height: 245px;

        min-height: 245px;

        max-height: 245px;
    }

    .ambattur-image-features {
        padding: 7px;
    }

    .image-feature > span {
        font-size: 11px;
    }

    .image-feature strong {
        font-size: 7px;
    }

    .image-feature small {
        font-size: 6px;
    }
}
