:root {
    --primary-color: #c6e8ff;
    --secondary-color: #F7F7F7;
    --std-color: #0A5B9C;
    --std-padding: 0px 30px;
}

/*section-1*/
.Aboutsection-1 {
    padding-top: 60px;
    background-color: #eef7fd;
}

.heading {
    font-size: 5rem;
    font-weight: bold;
    color: var(--std-color);
    line-height: 1;
    margin: 0;
}

.outer-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-view {
    display: none;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.about-row,
.us-row {
    display: flex;
    align-items: center;
    gap: 350px;
}

.about-row h1 {
    margin-top: -250px;
    font-weight: bold;
    animation: slideInLeft 1s ease-in-out forwards;
}

.us-row h1 {
    margin-top: -450px;
    font-weight: bold;
    animation: slideInLeft 1s ease-in-out forwards;
}

.image-1,
.image-2 {
    width: 300px;
    height: 350px;
    border: 4px solid white;
    border-radius: 20px;
    background: linear-gradient(#A6CFE2, #679FB8);
    box-shadow: 4px 4px 10px rgba(128, 128, 128, 0.5);
}

.image-1 {
    animation: slideInTop 1s ease-in-out forwards;
}

.image-2 {
    position: absolute;
    left: 120px;
    top: 120px;
    animation: slideInBottom 1s ease-in-out forwards;
}

.right-section {
    max-width: 450px;
    text-align: justify;
    animation: slideInRight 1s ease-in-out forwards;
}

.welcome-text {
    color: var(--std-color);
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 10px;
    padding-top: 15px;
}

.right-section p {
    font-size: 18px;
    color: #333;
}

.explore-btn {
    background-color: white;
    border: 2px solid var(--std-color);
    font-size: 18px;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.explore-btn a {
    color: black;
}

.explore-btn:hover {
    background-color: var(--std-color);
    color: white;
    box-shadow: 4px 4px 10px #8fc6e0;
}

.explore-btn:hover a {
    color: white;
}

.copper {
    color: var(--std-color);
    font-weight: bold;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInTop {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*responsive*/
/*larger screens*/
@media (min-width:1700px) and (max-width:2600px) {
    .right-section p {
        font-size: 20px;
    }

    .outer-container {
        max-width: 100%;
        margin: auto;
    }

    .right-section {
        max-width: 650px !important;
    }
}

@media (min-width: 1400px) {
    .outer-container {
        flex-direction: row;
        /* Ensure row layout */
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 11px;
    }

    .about-row,
    .us-row {
        gap: 80px;
        flex-direction: row;
    }

    .about-row {
        gap: 130px;
        flex-direction: row;
    }

    .right-section {
        max-width: 400px;
    }

    .image-1,
    .image-2 {
        width: 250px;
        height: 330px;
    }

    .right-section {
        max-width: 380px;
    }
}

/* Small laptop */
@media (max-width: 1400px) {
    .Aboutsection-1 {
        width: 100%;
    }

    .left-section {
        width: 45%;
        box-sizing: border-box;
        padding: 10px;
    }

    .outer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 90px;
        box-sizing: border-box;
    }

    .about-row,
    .us-row {
        gap: 0px;
        flex-direction: row;
    }

    .right-section {
        max-width: 45%;
        box-sizing: border-box;
        padding: 10px;
    }

    .image-1,
    .image-2 {
        width: 280px;
        height: 280px;
        box-sizing: border-box;
    }
}

/* Small laptop & large tablet */
@media (max-width: 1200px) {
    .Aboutsection-1 {
        width: 100%;
    }

    .about-row h1 {
        margin-top: -250px;
        font-weight: bold;
        font-size: 3.6rem;
    }

    .us-row h1 {
        margin-top: -450px;
        font-weight: bold;
        font-size: 3.6rem;
    }

    .left-section {
        width: 30%;
        box-sizing: border-box;
        padding: 10px;
    }

    .outer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 90px;
        box-sizing: border-box;
    }

    .about-row,
    .us-row {
        gap: 0px;
        flex-direction: row;
    }

    .right-section {
        max-width: 42%;
        box-sizing: border-box;
        padding: 10px;
    }

    .image-1,
    .image-2 {
        width: 200px;
        height: 250px;
        box-sizing: border-box;
    }

    .image-2 {
        margin-left: -50px;
    }

    .right-section p {
        font-size: 16px;
        color: #333;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .outer-container {
        flex-direction: row;
        /* Ensure row layout */
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

    .us-row {
        flex-direction: row;
        /* Ensure row layout */
        align-items: center;
        gap: 50px;
    }

    .about-row {
        flex-direction: row;
        /* Ensure row layout */
        align-items: center;
        gap: 50px;
    }

    .image-1,
    .image-2 {
        width: 180px;
        height: 250px;
    }

    .image-2 {
        left: 70px;
        top: 100px;
    }

    .right-section {
        max-width: 45%;
        text-align: flex-start;
    }

    .right-section p {
        font-size: 16px;
    }

    .about-row h1 {
        font-size: 3rem;
        margin-top: -200px;
        font-weight: bold;
    }

    .us-row h1 {
        font-size: 3rem;
        margin-top: -400px;
        font-weight: bold;
    }
}

/* Tablet */
@media screen and (max-width: 992px) {
    .outer-container {
        display: none;
        /* Hide the desktop layout on mobile */
    }

    .mobile-view {
        display: flex;
        /* Show the mobile layout */
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

    .mobile-view .mobile-images {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        margin-left: -50px;
    }

    .left-section {
        width: 50%;
    }

    .heading {
        font-size: 2.5rem;
        padding-bottom: 10px;
    }

    .image-1,
    .image-2 {
        width: 140px;
        height: 180px;
    }

    .image-2 {
        margin-left: 10px;
        margin-top: -50px;
    }

    .image-1 {
        margin-right: 50px;
        margin-top: 30px;
    }

    .right-section {
        max-width: 100%;
        /* Make text take more space */
        text-align: center;
        padding-top: 50px;
        align-items: center;
    }

    .right-section p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .about-row h1,
    .us-row h1 {
        font-size: 2.5rem;
        /* Reduce heading size */
        margin-top: 0;
        text-align: center;
    }
}

/*mobile screen*/
@media screen and (max-width: 768px) {
    .outer-container {
        display: none;
        /* Hide the desktop layout on mobile */
    }

    .mobile-view {
        display: flex;
        /* Show the mobile layout */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mobile-view .mobile-images {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-left: -50px;
    }

    .left-section {
        width: 50%;
    }

    .image-1,
    .image-2 {
        width: 100%;
        height: auto;
    }

    .image-2 {
        margin-left: 10px;
        margin-top: -50px;
    }

    .image-1 {
        margin-right: 50px;
        margin-top: 10px;
    }

    .right-section {
        max-width: 100%;
        /* Make text take full width */
        text-align: center;
        padding-top: 40px;
    }

    .right-section p {
        font-size: 0.9rem;
    }
}

/*small mobile screen*/
@media screen and (max-width: 576px) {
    .outer-container {
        display: none;
        /* Hide the desktop layout on mobile */
    }

    .mobile-view {
        display: flex;
        /* Show the mobile layout */
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

    .mobile-view .mobile-images {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        margin-left: -50px;
    }

    .heading {
        font-size: 2.5rem;
        padding-bottom: 10px;
    }

    .image-1,
    .image-2 {
        width: 100% !important;
        height: 200px !important;
    }

    .image-2 {
        margin-left: -20px;
        margin-top: -50px;
    }

    .image-1 {
        margin-right: 50px;
        margin-top: 10px;
    }

    .right-section {

        max-width: 95%;
        text-align: center;
    }

    .right-section p {
        font-size: 14px;
    }

    .about-row h1,
    .us-row h1 {
        font-size: 2rem;
        margin-top: 0;
        text-align: center;
    }
}

/*end of section-1*/

/*section-2*/
.second-section {
    text-align: center;
    background-color: #eef7fd;
    padding-top: 70px;
}

.card-icon-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    /* White background */
    border-radius: 50%;
    /* Makes it a circle */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    /* Centers and adds spacing */
    box-shadow: 4px 4px 10px #8fc6e0;
    /* Soft shadow */
}

.main-heading {
    font-size: 30px;
    font-weight: bold;
    color: #000;
}

.sub-heading {
    font-size: 30px;
    font-weight: bold;
}

.highlight {
    color: var(--std-color);
    /* Blue color to match the image */
}

.description {
    font-size: 18px;
    color: #333;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}

/* Cards Container */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Individual Card */
.card {
    background: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    box-shadow: 4px 4px 10px #8fc6e0;
    text-align: justify;
    width: 300px;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--std-color);
    text-align: center;
}

.card-text {
    font-size: 18px;
    color: #333;
    text-align: center;
    white-space: normal;
    line-height: 1.5;
}

/*responsive*/
@media (min-width:1700px) and (max-width:2600px) {
    .description {
        font-size: 20px;
    }

    .card {
        width: 400px;
    }

    .card-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 1400px) {
    .description {
        max-width: 85%;
        font-size: 18px;
    }

    .cards {
        gap: 15px;
    }

    .card {
        width: 320px;
    }
}

/*For max-width: 1200px */
@media screen and (max-width: 1200px) {
    .main-heading {
        font-size: 30px;
    }

    .sub-heading {
        font-size: 30px;
    }

    .description {
        font-size: 16px;
        max-width: 100%;
    }

    .card {
        width: 300px !important;
        padding: 18px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .second-section {
        padding-top: 0px;
    }

    .main-heading {
        font-size: 30px;
    }

    .sub-heading {
        font-size: 30px;
    }

    .cards {
        flex-wrap: wrap;
        /* Allow cards to wrap */
        gap: 20px;
    }

    .card {
        width: 30%;
        /* Two cards per row */
    }
}

@media screen and (max-width: 992px) {
    .second-section {
        padding-top: 0px;
    }

    .main-heading {
        font-size: 30px;
    }

    .sub-heading {
        font-size: 30px;
    }

    .description {
        font-size: 14px;
        text-align: justify;
    }

    .cards {
        flex-wrap: wrap;
        gap: 15px;
    }

    .card {
        width: 48%;
        /* Two cards per row */
    }
}

@media screen and (max-width: 768px) {
    .second-section {
        padding-top: 0px !important;
    }

    .main-heading {
        padding: 0px;
        font-size: 30px;
    }

    .sub-heading {
        font-size: 30px;
    }

    .description {
        font-size: 14px;
    }

    .cards {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
    }

    .card {
        width: 80%;
        /* Larger cards */
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .second-section {
        padding-top: 0px !important;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .sub-heading {
        font-size: 1.5rem;
    }

    .description {
        font-size: 14px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

/*end of section-2*/

/*Aboutsection-3*/
/* General Section Styling */
.Aboutsection-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 50px;
    background-color: #eef7fd;
}

/* Left Side Image Container */
.left-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 600px;
    height: 500px;
    background-image: url("/assests/images/section3-left-bg.webp");
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    box-shadow: 4px 4px 15px rgba(128, 128, 128, 0.3);
    position: relative;
    overflow: hidden;
    transition: height 0.5s ease;
}

/* Purifier Image */
.purifier-img {
    width: 300px;
    height: auto;
    transition: transform 0.5s ease;
}

/* Hexagon Container (Inside Image) */

/* Hexagon Container (Inside Image) */
.hexagon-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}

/* Hexagon Wrapper (For text positioning) */
.hex-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    transition: transform 0.5s ease;
}

/* Left Side Hexagons */
.hex1 {
    top: 5%;
    left: 10%;
}

.hex2 {
    top: 35%;
    left: 5%;
}

.hex3 {
    bottom: 5%;
    left: 7%;
}

/* Right Side Hexagons */
.hex4 {
    top: 5%;
    right: 10%;
}

.hex5 {
    top: 35%;
    right: 5%;
}

.hex6 {
    bottom: 5%;
    right: 5%;
}

/* Hexagon Shape */
.hexagon {
    width: 80px;
    height: 90px;
    background-color: white;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

/* Hexagon Icons */
.hexagon img {
    width: 50px;
    height: auto;
    transform: rotate(-90deg);
}

/* Hexagon Text (Positioned Below) */
.hex-group p {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-top: 5px;
}

/* When hiding, move the hexagons in different directions */
/* Hexagon animations (sliding in from different directions) */
.left-hexagons {
    transform: translateX(-200%);
    /* Move further left to completely hide */
}

.right-hexagons {
    transform: translateX(200%);
    /* Move further right to completely hide */
}

/* Right Side Text Content */
.right-side {
    max-width: 500px;
    text-align: left;
}

.choose-heading {
    font-size: 30px;
    font-weight: bold;
    color: #000;
}

.Aboutsection-3 .right-side p {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    text-align: justify;
}

.highlight {
    color: var(--std-color);
    font-weight: bold;
}

/*responsive*/
@media (min-width:1700px) and (max-width:2600px) {
    .Aboutsection-3 .right-side p {
        font-size: 20px;
    }

    .hex-group p {
        font-size: 16px;
    }
}

@media screen and (max-width: 1400px) {
    .Aboutsection-3 {
        gap: 40px;
        padding: 40px;
    }

    .image-container {
        width: 550px;
        height: 450px;
    }

    .purifier-img {
        width: 250px;
    }

    .hexagon {
        width: 70px;
        height: 80px;
    }

    .choose-heading {
        font-size: 30px;
    }

    .Aboutsection-3 .right-side p {
        font-size: 18px;
    }

    .hex6 {
        bottom: 5%;
        right: 5%;
    }

    ;

    .hex3 {
        bottom: 5%;
        right: 5%;
    }

    ;

    .hex-group p {
        font-size: 0.5rem !important;
        font-weight: bold;
        color: white;
        margin-top: 5px;
    }
}

@media screen and (max-width: 1200px) {
    .Aboutsection-3 {
        gap: 30px;
        padding: 30px;
    }

    .image-container {
        width: 450px;
        height: 400px;
    }

    .purifier-img {
        width: 180px;
    }

    .hexagon {
        width: 65px;
        height: 65px;
    }

    .choose-heading {
        font-size: 30px;
    }

    .Aboutsection-3 .right-side p {
        font-size: 16px;
    }

    .hex6 {
        bottom: 0%;
        right: 5%;
    }

    ;

    .hex3 {
        bottom: 0% !important;
        right: 5%;
    }

    ;

    .hex-group p {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 1024px) {
    .Aboutsection-3 {
        flex-direction: row;
        gap: 20px;
        padding: 30px;
        align-items: center;
    }

    .right-side {
        max-width: 80%;
        text-align: center;
    }

    .image-container {
        width: 450px;
        height: 380px;
    }

    .purifier-img {
        width: 220px;
    }

    .hexagon {
        width: 60px;
        height: 70px;
    }

    .choose-heading {
        font-size: 30px;
    }

    .Aboutsection-3 .right-side p {
        font-size: 16px;
        text-align: start;
    }

    .hexagon img {
        width: 50px;
        height: auto;
        transform: rotate(-90deg);
    }

    /* Hexagon Text (Positioned Below) */
    .hex-group p {
        font-size: 0.75rem;
        font-weight: bold;
        color: white;
        margin-top: 5px;
    }

    .hex3 {
        bottom: 5%;
        left: 10%;
    }

    ;

    .hex6 {
        bottom: 5%;
        right: 10%;
    }
}

/* ✅ For max-width: 992px */
@media screen and (max-width: 992px) {
    .Aboutsection-3 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .image-container {
        width: 400px;
        height: 350px;
    }

    .purifier-img {
        width: 220px;
    }

    .hexagon {
        width: 55px;
        height: 65px;
    }

    .choose-heading {
        font-size: 20px;
    }

    .right-side {
        max-width: 100%;
        text-align: center;
    }

    .Aboutsection-3 .right-side p {
        font-size: 14px;
        text-align: justify;
    }

    .purifier-img {
        width: 200px;
        height: auto;
        transition: transform 0.5s ease;
    }
}

@media screen and (max-width: 768px) {
    .Aboutsection-3 {
        padding: 20px;
        flex-direction: column;
    }

    .image-container {
        width: 70vw;
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .purifier-img {
        width: 50%;
        height: auto;
    }

    .hexagon {
        width: 20px;
        height: 40px;
    }

    .hexagon img {
        width: 10px;
        height: auto;
        transform: rotate(-90deg);
    }

    /* Hexagon Text (Positioned Below) */
    .hex-group p {
        font-size: 0.5rem;
    }

    .choose-heading {
        font-size: 1.4rem;
    }

    .right-side {
        text-align: center;
        width: 100%;
        /* Ensure text takes full width */
    }

    .Aboutsection-3 .right-side p {
        font-size: 14px;
        text-align: center;
        text-align: justify;
    }

    .purifier-img {
        width: 140px;
        height: auto;
        transition: transform 0.5s ease;
    }
}

/* ✅ For max-width: 576px (Large Mobiles) */
@media screen and (max-width: 576px) {
    .Aboutsection-3 {
        padding: 15px;
        flex-direction: column;
    }

    .image-container {
        width: 70vw;
        height: auto;
    }

    .purifier-img {
        width: 70%;
        height: auto;
    }

    .hexagon {
        width: 30px;
        height: 30px;
    }

    .hexagon img {
        width: 10px;
        height: auto;
        transform: rotate(-90deg);
    }

    /* Hexagon Text (Positioned Below) */
    .hex-group p {
        font-size: 0.5rem;
    }

    .choose-heading {
        font-size: 1.3rem;
    }

    .Aboutsection-3 .right-side p {
        font-size: 14px;
        text-align: justify;
    }

    .purifier-img {
        width: 140px;
        height: auto;
        transition: transform 0.5s ease;
    }
}