/* Section 1 */
.hero {
    display: flex;
    background-color: #111827;
    flex-direction: row; /* Desktop default */
    align-items: stretch;
    margin-top: -2px;
}

.hero-wrapper {
    display: flex;
    width: 70%;
    flex-direction: column;
    margin-left: 9%;
}

.hero-left-box {
    flex: 1;
    background-color: #E6007E;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-left-box h1 {
    font-size: clamp(1rem, 2.5vw, 100rem);
    margin-top: 29%;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 1.3vw, 100rem);
}

.hero-left-box h2 {
    font-size: clamp(.1rem, 1.4vw, 100rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: clamp(1.5rem, 3vw, 100rem);
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: clamp(.1rem, 1vw, 100rem);
}

.hero-button {
    padding: clamp(0.5rem, .7vw, 100rem) clamp(1rem, 1.5vw, 100rem);
    font-size: clamp(.1rem, .85vw, 100rem);
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    width: auto;
}

.btn-call {
    background-color: white;
    color: #E6007E;
    border: 2px solid white;
}

.btn-call:hover {
    background-color: #E6007E; 
    color: white;              
    border-color: 2px solid #E6007E;     
}

.btn-online {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-online:hover {
    background-color: white;  
    color: #E6007E;           
    border-color: #E6007E;    
}

.hero-right-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-right-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Mobile override */
@media (max-width: 768px) {
    .hero {
        flex-direction: column; /* Stack */
    }

    .hero-left-box {
        order: 2;
        align-items: flex-start;
    }

    .hero-right-box {
        order: 1;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 15%;
        margin-top: 10%;
    }

    .hero-button {
        display: block;
        width: 40%;
    }
    .hero-wrapper {
        display: flex;
        flex-direction: column;
        margin: 0;


    }
    .hero-wrapper {
        width: 90%;
        margin-left: 5%;
    }
    
.hero-left-box h1 {
    margin-top: 15%;
    margin-bottom: 5%;
    font-size: clamp(1rem, 8.6vw, 100rem);
}
.hero-left-box h2 {
    font-size: clamp(.1rem, 5.3vw, 100rem);
    margin-bottom: 0;
}

.hero-button {
    padding: clamp(0.7rem, .7vw, 100rem) clamp(1rem, 1.5vw, 100rem);
    font-size: clamp(.01rem, 4vw, 100rem);
    border-radius: 9999px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    width: auto;
}

}


/* Section 2 */

/* What We Do Section Styles - Desktop First */
.what-we-do-section {
    display: flex;
    padding-top: clamp(2rem, 7vw, 100rem);
    color: #ffffff;
    align-items: center;
    justify-content: center;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    width: 80%;
    background: linear-gradient(113deg, rgba(0, 113, 221, 0.10) 0%, rgba(230, 0, 126, 0.10) 100%);
    border-radius: 3%;
}
.services-container {
    padding: 6.5% 6% 5% 6%;
}

.what-we-do-intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(.1rem, 2.5vw, 100rem);
    margin-bottom: clamp(2rem, 3.5vw, 100rem);
}

.what-we-do-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.water {
    width: 90%;
}
.sub-header-icon {
    display: flex;
    align-items: center;
    gap: clamp(.1rem, 1.8vw, 100rem);
    margin-bottom: 11%;
}

.what-we-do-text h1 {
    color: #E6007E;
    font-size: clamp(.01rem, 1.95vw, 100rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(.1rem, 1.4vw, 100rem);
}

.what-we-do-text h2 {
    color: #00165E;
    font-size: clamp(.01rem, 1.37vw, 100rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: clamp(.1rem, .9vw, 100rem);
}

.what-we-do-text p {
    color: #5B5B5B;
    font-size: clamp(0.01rem, 1.1vw, 100rem);
    line-height: 1.4;
    width: 90%;
}

.what-we-do-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;

}

.what-we-do-image img {
    border-radius: 8%;
    width: 92%;
    height: auto;
    object-fit: cover;
}

        .service-boxes {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: clamp(.1rem, 1.2vw, 100rem);
            margin-top: 2%;
        }

        .service-box {
            background-color: #FFFFFF;
            padding: 4% 4% 5% 4%;
            border-radius: 7%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            border: 1px solid rgba(230, 0, 126, 0.10);
            box-shadow: 0 0 30px rgba(214, 2, 119, 0.09); /* darker pink shadow */
        }




.icon4 img {
    width: clamp(1.5rem, 2.7vw, 100rem);
    height: clamp(1.5rem, 2.7vw, 100rem);
    object-fit: contain; /* keeps proportions without stretching */
    display: block; /* removes whitespace from inline images */
  }

.service-box h1 {
    color:#00165E;
    font-size: clamp(.01rem, 1.4vw, 100rem);
    font-weight: bold;
}

.service-box h2 {
    color: #323031;
    font-size: clamp(.01rem, 1.1vw, 100rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.service-box p {
    color: #5B5B5B;
    font-size: clamp(0.01rem, 1.12vw, 100rem);
    line-height: 1.3;
    margin-bottom: clamp(.1rem, 2vw, 100rem);
}

.btn-read-more {
    font-size: clamp(0.1rem, .8vw, 100rem);
    background-color: #E6007E;
    color: white;
    border: none;
    padding: clamp(0.5rem, 1vw, 100rem) clamp(1rem, 2vw, 100rem);
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    border: clamp(.1px, .15vw, 100rem) solid #E6007E;  
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: #FFFFFF;
    border: clamp(.1px, .15vw, 100rem) solid #E6007E;  
}

/* For screens up to 1024px - 2 boxes per row */


/* For mobile view - stack elements vertically */
@media (max-width: 768px) {
    .services-wrapper {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .what-we-do-section{
        margin: 0;
        padding: 0;
    }
    .what-we-do-text {
        margin-left: 5%;
        margin-top: 10%;
        width: 87%;
    }

    .what-we-do-intro {
        flex-direction: column;
        align-items: flex-start;
    }

   
    .service-boxes {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem; /* Space for the scrollbar */
        scroll-snap-type: x mandatory;
        margin-left: 5%;
    }

    .service-box {
        border-radius: 2rem;
        scroll-snap-align: start;
        min-width: clamp(.1rem, 70vw, 100rem);
        padding: 8%;
    }
    .what-we-do-text h1 {
        font-size: clamp(.1rem, 6.5vw, 100rem);
        margin-bottom: 5%;
    }
    .what-we-do-text h2 {
        font-size: clamp(.1rem, 5vw, 100rem);
        line-height: 1.2;
        margin-bottom: 5%;
    }
    .what-we-do-text p {
        width: 100%;
        font-size: clamp(.1rem, 4vw, 100rem);
    }
    .btn-read-more {
        padding: clamp(0.5rem, 3vw, 100rem) clamp(.1rem, 6vw, 100rem);
        font-size: clamp(.1rem, 3vw, 100rem);
        margin-top: 5%;
    }
    .what-we-do-image img {
        width: 90%;
    }
    .what-we-do-image {
       display: flex;
       width: 100%;
       justify-content: center;
    }
    .service-box h1 {
        font-size: clamp(0.01rem, 5vw, 100rem);
    }
    .service-box h2 {
        font-size: clamp(0.01rem, 4.3vw, 100rem);
    }
    .service-box p {
        font-size: clamp(0.01rem, 4.2vw, 100rem);
    }
    .services-container {
        padding: 10% 0;
    }
    .icon4 img {
        width: clamp(1.5rem, 10vw, 100rem);
        height: clamp(1.5rem, 10vw, 100rem);
    }
    .sub-header-icon {
        gap: clamp(.1rem, 4vw, 100rem);
    }
}
@media (min-width: 768px) {
    .service-boxes {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
       
    }
    
    .service-box {
        flex: 1 1 calc(33.333% - 2rem); /* 3 boxes per row with a gap */
    }
   
}

/* Section 3 */

/* Who We Are Section Styles */
.who-we-are-section {
    padding: clamp(2rem, 5vw, 100rem) 0;
    color: #E5E7EB;
    padding:  7% 8% 7% 8%;
}

.who-we-are-container {
    display: flex;
    flex-direction: row; /* desktop default: side-by-side */
    gap: clamp(.1rem, 4.5vw, 100rem);
    align-items: center;
    margin-left: 4%;
}

.who-we-are-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
}

.who-we-are-image img {
    width:81%;
    height: auto;
    object-fit: cover;
}

.who-we-are-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
}

.who-we-are-text h1 {
    color: #E6007E;
    font-size: clamp(.01rem, 1.9vw, 100rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(1rem, 1vw, 100rem);
}

.who-we-are-text p {
    color: #5B5B5B;
    font-size: clamp(.01rem, 1.1vw, 100rem);
    line-height: 1.4;
    width: 80%;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .who-we-are-container {
        flex-direction: column;
        gap: 2rem;
    }
    .who-we-are-image img {
        width: 100%;
        margin-top: 10%;
    }
    .who-we-are-section {
        padding: 2%;
    }
    .who-we-are-text h1 {
        font-size: clamp( .1rem, 7vw, 100rem);
    }
    .who-we-are-text p {
        width: 100%;
        font-size: clamp( .1rem, 4.2vw, 100rem);
    }
}


/* Section 4 */

/* Who We Serve Section Styles */
.who-we-serve-section {
    color: #E5E7EB;
}

.who-we-serve-container {
    display: flex;
    flex-direction: row; /* desktop default: side-by-side */
    align-items: stretch; /* equal height columns */
    gap: clamp(.1rem, 1vw, 100rem);
}

.who-we-serve-left-box {
    background-color: #E6007E;
    color: white;
    padding: clamp(2rem, 5vw, 100rem);
    border-radius: 0 5% 5% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-items: flex-end;
    flex: .8;
}

.serve-text{
    display: flex;
    width: 72%;
    flex-direction: column;
}
.who-we-serve-left-box h1 {
    font-size: clamp(.01rem, 1.9vw, 100rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 2vw, 100rem);
}

.who-we-serve-left-box h2 {
    font-size: clamp(.01rem, 1.4vw, 100rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 1vw, 100rem);
}

.who-we-serve-left-box p {
    font-size: clamp(0.01rem, 1.15vw, 100rem);
    line-height: 1.6;
    margin-bottom: 10%;
}

.who-we-serve-images-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1vw, 100rem);
}

.who-we-serve-images-container img {
    width: 100%;
    flex: 1; 
    height: auto;
    object-fit: cover;
    border-radius: 10%;
}

.who-we-serve-single-image {
    flex: 1;
}

.who-we-serve-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5% 0 0 5%;
}
.serve-button {
    padding: 2.5% 2%;
    font-size: clamp(.1rem, .85vw, 100rem);
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    width: 32%;
}
.all-img-container {
    display: flex;
    gap: clamp(.1rem, 1vw, 100rem);
    flex: 1;
}

/* Mobile: stacked layout */
@media (max-width: 767px) {
    .who-we-serve-container {
        flex-direction:column-reverse;
        gap: 2rem;
        margin-top: 10%;
    }

    .who-we-serve-images-container {
        flex-direction: column;
    }

    .who-we-serve-images-container img {
        height: auto; /* let them resize naturally */
    }
    .who-we-serve-left-box {
        width: 100%;
        border-radius: 0;
        align-items: flex-start;
        padding-left: 5%;
    }
    .serve-button{
        font-size: clamp(.1rem, 3vw, 100rem);
        margin-top: 5%;
        width: 40%;
    }
    .who-we-serve-left-box h1 {
        font-size: clamp(.01rem, 6vw, 100rem);
    }
    .who-we-serve-left-box h2 {
        width: 90%;
        font-size: clamp(.01rem, 4vw, 100rem);
    }
    .who-we-serve-left-box p {
        font-size: clamp(.01rem, 4vw, 100rem);
    }
    .serve-text{ 
        width: clamp(.1rem, 85vw, 100rem);
        margin-bottom: 5%;
    }
}
