/* Base styles and font */
* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
}

/* Fluid container */
.fluid-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
   /* padding: 0 15px;*/
}

/* Text styles */
.ourprojects {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    color: #005AA9;
    margin-top: 30px;
    padding-left:120px;
}

    .ourprojects span {
        font-size: 59px;
        font-weight: 700;
        line-height: 1.2;
    }

.booth-buttontext {
    font-weight: 600;
    font-size: 20px;
    color: #005AA9;
}

.booth-text {
    bottom: 50px;
    left: 10px;
    right: 10px;
    font-size: 24px;
    color: #005AA9;
    font-weight: bold;
    padding: 5px;
}

.NutriciaBoothparagraph {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.paragraph {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
}

.sub-container4-text {
    font-size: 33px;
    font-weight: 400;
    color: #0056b3;
}

.sub-container4-img-inner-text {
    font-size: 20px;
    font-weight: 400;
    color: white;
    text-align: center;
}

.profiletext {
    color: #175BA7;
    font-size: 33px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
/* to remove gap between check our company profile and footer */
.pb-3, .py-3 {
    padding-bottom: 0 !important;
}
/* Button styles */
.nutriciabutton {
    display: inline-block;
    min-width: 100px;
    max-width: 30%;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #005AA9;
    background: #fff;
    text-align: center;
    cursor: pointer;
    height: 40px;
    margin-right: 2%;
    padding: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
    /*.nutriciabutton:hover {
        background: #005AA9;
        color: white;
    }

        .nutriciabutton:hover .booth-buttontext {
            color: white;
        }*/

/* Container styles */
.ourservicecontainer {
    margin-left: 5%;
}

.NutriciaNutriciaBooth {
    position: relative;
    display: inline-block;
}

.footer-logo {
    width: 100%;
    height: auto;
}

/* Main containers */
/*.main-container4 {
    width: 100%;
    background-color: #D9D9D9;
    height: auto;
    min-height: 7rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
}*/

/*.main-container4 {
    width: 100vw;*/ /* Viewport width */
    /*margin: 0;*/ /* Remove any margin */
    /*margin-left: -8px;*/ /* Compensate for body default margin */
    /*padding: 0;*/ /* No padding */
    /*background-color: #D9D9D9;
    height: auto;
    min-height: 7rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

.sub-container4 {
    width: 100%;
    height: auto;
    min-height: 10rem;
    display: flex;
    justify-content: flex-start;
    padding-left: 30rem;
    gap: 3rem;
    align-items: center;
}

.sub-container4-image {
    width: 6rem;
    height: 3rem;
    position: relative;
    display: inline-block;
}

    .sub-container4-image img {
        width: 20rem;
        height: 58px;
    }

.sub-container4-img-inner-text {
    width: 17rem;
    border-radius: 10px;
    position: absolute;
    top: 56%;
    left: 10rem;
    transform: translate(-50%, -50%);
}*/


/* bottom container */
.main-bottom-container {
    width: 100%;
    background-color: #D9D9D9;
    height: auto;
    min-height: 7rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
}

.sub-bottom-container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding-left: 11rem;
    gap: 3rem;
    align-items: center;
}

.sub-bottom-container-text {
    font-size: 33px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #0056b3;
}

.sub-bottom-container-image {
    height: 3rem;
    position: relative;
    display: inline-block;
}

    .sub-bottom-container-image img {
        width: 22rem;
        height: 58px;
    }

.sub-bottom-container-img-inner-text {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    width: 20rem;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 56%;
    left: 11rem;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1200px) {
    .sub-bottom-container {
        padding-left: 5rem;
        gap: 2rem;
    }

    .sub-bottom-container-text {
        font-size: 28px;
    }

    .sub-bottom-container-img-inner-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 992px) {
    .sub-bottom-container {
        padding-left: 2rem;
        gap: 1rem;
    }

    .sub-bottom-container-text {
        font-size: 22px;
    }

    .sub-bottom-container-image img {
        width: 18rem;
    }

    .sub-bottom-container-img-inner-text {
        width: 16rem;
        font-size: 16px;
        left: 9rem;
    }
}

@media screen and (max-width: 768px) {
    .sub-bottom-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .sub-bottom-container-text {
        font-size: 15px;
    }

    .sub-bottom-container-image {
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .sub-bottom-container-image img {
            width: 60%;
            max-width: 280px;
            height: auto;
        }

    .sub-bottom-container-img-inner-text {
        width: 80%;
        max-width: 280px;
        font-size: 14px;
        position: absolute;
        left: 50%;
    }
}

@media screen and (max-width: 576px) {
    .sub-bottom-container-text {
        font-size: 16px;
    }

    .sub-bottom-container-img-inner-text {
        font-size: 12px;
    }
}

/* Extra small devices */
@media screen and (max-width: 400px) {
    .sub-bottom-container-text {
        font-size: 15px;
    }
}

/* This is to remove gap between check our company profile and footer */
.pb-3, .py-3 {
    padding-bottom: 0 !important;
}





.contentdiv {
    width: 35%;
}

.content-section {
    width: 40%;
}

/* Button containers - consistent across all screen sizes */
.ourprojectsbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ourprojectssecondbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.paragraphcontainer {
    /*margin-left: 5%;*/
    margin-left: 8%;
    margin-right: 8%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    margin-bottom: 5rem;
    padding: 65px;
}

/* Portfolio gallery */
.portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
    .portfolio-gallery a {
        display: contents;
        text-decoration: none;
    }

.portfolioimages {
    width: 13%;
    transition: transform 0.3s ease;
}

    .portfolioimages:hover {
        transform: scale(1.05);
    }

/* Slider styles */
.ourserviceimagecontainer {
    text-align: center;
    width: 50%;
    height: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thumbnail-slider {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumb {
    /*width: 110px;*/
    width:90px;
    height: 90px;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
}

    .thumb:hover, .thumb.active {
        opacity: 1;
        border: 2px solid #005AA9;
        transform: scale(1.1);
    }

.sliderimagesdot {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.sliderdot {
    width: 12px;
    height: 12px;
    margin: 5px;
    background-color: lightgray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .sliderdot.active {
        background-color: #005AA9;
    }

.main-slider {
    width: 44rem;
    height: 29rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
}

    .main-slider img,
    .main-slider video,
    .main-slider iframe {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .fade-in.loaded {
        opacity: 1;
    }

.profilediv {
    background: #D9D9D9;
    width: 100%;
    height: 121px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Design - Large screens (1920x1080 and similar) */
@media (min-width: 1800px) {
    .ourprojects {
        font-size: 50px;
    }

        .ourprojects span {
            font-size: 70px;
        }

    .NutriciaBoothparagraph {
        font-size: 40px;
       /* padding-left: 10%*/
    }

    .paragraph {
        font-size: 24px;
        line-height: 36px;
       /* padding-left: 10%;*/
    }

    .main-slider {
        width: 55rem;
        height: 35rem;
        max-width:100%;
       
    }

    .contentdiv {
        width: 40%;
        min-width: 400px;
    }
    .ourserviceimagecontainer {
        width: 50%;
        max-width:60rem;
        /*max-width: 60rem;*/
    }
    .paragraphcontainer {
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Desktop and standard monitor screens (1200px - 1799px) */
@media (min-width: 1200px) and (max-width: 1799px) {
    .ourprojects {
        font-size: 40px;
        line-height: 48px;
    }

        .ourprojects span {
            font-size: 59px;
            line-height: 72px;
        }

    .main-slider {
        width: 44rem;
        height: 29rem;
    }
}

/* Smaller desktops and larger tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .ourprojects {
        font-size: 35px;
        line-height: 42px;
    }

        .ourprojects span {
            font-size: 50px;
            line-height: 60px;
        }

    .NutriciaBoothparagraph {
        font-size: 38px;
        line-height: 48px;
    }

    .content-section {
        width: 45%;
    }

    .main-slider {
        width: 36rem;
        height: 24rem;
    }

    .sub-container4 {
        padding-left: 5rem;
        gap: 2rem;
    }

    .sub-container4-image img {
        width: 18rem;
    }

    .sub-container4-img-inner-text {
        width: 16rem;
        left: 9rem;
    }

    .ourserviceimagecontainer {
        width: 45%;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .ourprojects {
        font-size: 30px;
        line-height: 38px;
    }

        .ourprojects span {
            font-size: 45px;
            line-height: 55px;
        }

    .NutriciaBoothparagraph {
        font-size: 32px;
        line-height: 42px;
    }

    .booth-text {
        font-size: 20px;
    }

    .content-section {
        width: 100%;
        margin-bottom: 30px;
    }

    .main-slider {
        width: 30rem;
        height: 20rem;
    }

    .ourserviceimagecontainer {
        width: 100%;
    }

    .sub-container4 {
        padding-left: 2rem;
        gap: 1rem;
        height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .sub-container4-text {
        font-size: 28px;
    }

    .sub-container4-image img {
        width: 15rem;
    }

    .sub-container4-img-inner-text {
        width: 14rem;
        left: 7.5rem;
        font-size: 18px;
    }

    .paragraphcontainer {
        flex-direction: column;
        align-items: center;
    }

    .paragraph {
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }

    .portfolioimages {
        width: 22%;
    }
}

/* Small tablets and large phones (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .ourprojects {
        font-size: 28px;
        line-height: 34px;
        text-align: left;
    }

        .ourprojects span {
            font-size: 40px;
            line-height: 48px;
        }

    .NutriciaBoothparagraph {
        font-size: 28px;
        line-height: 36px;
        text-align: left;
    }

    .booth-text {
        font-size: 18px;
    }

    .content-section {
        width: 100%;
        margin-bottom: 30px;
    }

    .ourservicecontainer {
        margin-left: 5%;
        text-align: left;
    }

    /* Keep button containers centered like desktop */
    .ourprojectsbutton,
    .ourprojectssecondbutton {
        justify-content: center;
        margin-left: 0;
    }

    .main-slider {
        width: 24rem;
        height: 16rem;
    }

    .ourserviceimagecontainer {
        width: 100%;
    }

    .thumb {
        width: 60px;
        height: 45px;
    }

    .sub-container4 {
        flex-direction: column;

        padding-left: 0;
        height: auto;
        padding: 2rem 0;
        text-align: center;
        gap: 1.5rem;
    }

    .sub-container4-text {
        font-size: 24px;
    }

    .sub-container4-image {
        width: 100%;
        text-align: center;
    }

        .sub-container4-image img {
            width: 80%;
            max-width: 280px;
        }

    .sub-container4-img-inner-text {
        width: 80%;
        max-width: 280px;
        left: 50%;
    }

    .nutriciabutton {
        min-width: 100px;
        max-width: 45%;
        height: auto;
        padding: 8px 15px;
        margin-bottom: 10px;
    }

    .booth-buttontext {
        font-size: 11px;
    }

    .profilediv {
        height: auto;
        padding: 20px 10px;
    }

    .profiletext {
        font-size: 24px;
    }

    .paragraphcontainer {
        margin-left: 5%;
        flex-direction: column;
        align-items: flex-start;
    }

    .paragraph {
        font-size: 18px;
        line-height: 28px;
        text-align: left;
        width: 90%;
    }

    .portfolioimages {
        width: 30%;
    }
}

/* Phones (less than 576px) */
@media (max-width: 575px) {
    .ourprojects {
        font-size: 24px;
        line-height: 30px;
        text-align: left;
        padding: 0;
    }

        .ourprojects span {
            font-size: 32px;
            line-height: 40px;
        }

    .NutriciaBoothparagraph {
        font-size: 24px;
        line-height: 32px;
        text-align: left;
        padding: 0;
    }

    .booth-text {
        font-size: 16px;
        bottom: 20px;
    }

    .content-section {
        width: 100%;
        padding: 0;
    }

    .ourservicecontainer {
        margin-left: 5%;
        text-align: left;
    }

    /* Keep button containers centered like desktop */
    .ourprojectsbutton,
    .ourprojectssecondbutton {
        justify-content: center;
        margin-left: 0;
        
    }
    .ourprojectsbutton {
        margin-bottom: 5px; /* Reduce space below first div */
    }

    .ourprojectssecondbutton {
        margin-top: 5px; /* Reduce space above second div */
    }
    .main-slider {
        width: 90%;
        max-width: 20rem;
        height: 14rem;
    }

    .ourserviceimagecontainer {
        width: 100%;
    }

    .thumb {
        width: 50px;
        height: 40px;
    }

    .sub-container4 {
        flex-direction: column;
        padding-left: 0;
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
        gap: 1.5rem;
    }

    .sub-container4-text {
        font-size: 18px;
    }

    .sub-container4-image {
        width: 100%;
        text-align: center;
    }

        .sub-container4-image img {
            width: 70%;
            max-width: 250px;
            height: auto;
        }

    .sub-container4-img-inner-text {
        width: 70%;
        max-width: 200px;
        left: 50%;
        font-size: 13px;
    }

    .nutriciabutton {
        min-width: 90px;
        max-width: 45%;
        height: 30px;
        padding: 8px 12px;
        margin-bottom: 10px;
    }

    .booth-buttontext {
        font-size: 9px;
    }

    .profilediv {
        height: auto;
        padding: 15px 10px;
    }

    .profiletext {
        font-size: 20px;
    }

    .paragraphcontainer {
        margin-left: 5%;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
    }

    .paragraph {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        width: 90%;
        padding: 0;
    }

    .portfolioimages {
        width: 45%;
        margin-bottom: 15px;
    }

    .portfolio-gallery {
        gap: 20px;
    }
    
         
    }


/* Fix for specific issues */
@media screen and (max-width: 768px) {
    #footer {
        margin-left: 0 !important;
        width: 100%;
    }

    /* Fix for paragraph container that was set to have 15rem bottom margin on mobile */
    .paragraphcontainer {
        margin-bottom: 5rem;
    }
}

/* Fix for very small screens */
@media screen and (max-width: 360px) {
    .ourprojects {
        font-size: 20px;
    }

        .ourprojects span {
            font-size: 28px;
        }

    .main-slider {
        height: 12rem;
    }

    .nutriciabutton {
        min-width: 80px;
        height: auto;
        padding: 6px 10px;
    }

    .booth-buttontext {
        font-size: 9px;
    }
}
