/* ============================================
   HudaInterior — Global Responsive Styles
   Breakpoints: mobile ≤575, tablet ≤991, desktop
   ============================================ */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Prevent horizontal scroll from 100vw sections */
.belowFooterSection,
.aboutHudaInterior_section {
    width: 100%;
    max-width: 100%;
}

/* ---- Navbar ---- */
.heoric_container .navbar {
    position: relative;
    z-index: 1030;
}

.heoric_container .navbar .container {
    align-items: center;
}

.heoric_container .navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
    padding: 0.35rem 0.6rem;
}

.heoric_container .navbar .navbar-toggler .fas {
    color: #fff;
    font-size: 1.25rem;
}

.heoric_container .navbar .navbar-collapse {
    width: 100%;
}

.heoric_container .navbar .navbar-nav {
    padding: 1rem 0;
}

.heoric_container .navbar .dropdown .dropdown-toggle {
    color: #fff !important;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: left;
}

.heoric_container .navbar .dropdown-menu {
    background-color: rgba(7, 7, 7, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.heoric_container .navbar .dropdown-item {
    color: #fff;
}

.heoric_container .navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffc107;
}

/* ---- Fluid images & media (override fixed 533px) ---- */
.aboutImgContainer img,
.serviceSection_imgContainer .imgCard img,
.projectItem_ImgContainer img,
.homeBudget_Carousel .homeItem img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: unset;
}

.testimonialsItem_ImgContainer iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 200px;
}

.homeBudget_Carousel .homeItem img {
    object-fit: cover;
    width: 100%;
    min-height: 280px;
    max-height: 400px;
}

/* ---- Hero / form ---- */
#formMainContainer {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.para_textContainer .aboutTextDiv {
    width: 100%;
    max-width: 533px;
}

.hero_section .hero_section_mainContainer #btnText_Container h2,
.ourService_Section_mainContainer #btnText_Container h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.5rem, 4vw, 2.625rem);
    margin: 1.5rem;
}

/* ---- Service section ---- */
.serviceSection_imgContainer .imgContainer_LeftColumn {
    max-width: 100%;
    width: 100%;
}

.serviceSection_imgContainer {
    gap: 1.5rem;
}

.serviceSection_imgContainer .imgCard {
    width: 100%;
}

/* ---- Projects & testimonials carousel ---- */
.ourProject_carouselSection .projectsItem,
.testimonial_carauselSection .testimonialsItem {
    gap: 1.5rem;
}

.ourProject_carouselSection .projectsItem .projectItem_titleContainer,
.testimonial_carauselSection .testimonialsItem .testimonialsItem_titleContainer {
    width: 100%;
}

.projectsItem .projectItem_ImgContainer,
.testimonialsItem .testimonialsItem_ImgContainer {
    width: 100%;
    max-height: none;
    overflow: hidden;
}

/* ---- Contact banner ---- */
.contactBanner_Section {
    height: auto;
    min-height: 50vh;
    padding: 3rem 1.5rem;
    margin: 5rem 0;
}

.contactBanner_Section .contactBanner_textContainer {
    height: auto;
    gap: 1.5rem;
}

.contactBanner_textContainer h2 {
    width: 100%;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---- Footer ---- */
.footerUpperPart .footerUpperPart_left {
    min-width: 0;
}

.footerUpperPart .footerUpperPart_left h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

.footerUpperPart_right .footerUpperPart_text {
    font-size: clamp(1rem, 3vw, 1.875rem);
    word-break: break-word;
}

.belowFooterSection {
    padding-top: 80px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.belowFooterSection .sub-section {
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
}

/* ---- About page ---- */
.mainContent_Container_UpperPart .UpperPart_Title {
    font-size: clamp(2rem, 8vw, 3.75rem);
}

.mainContent_Container_LowerPart .LowerPart_PartOne,
.mainContent_Container_LowerPart .LowerPart_PartTwo {
    flex-wrap: wrap;
    gap: 1.5rem;
}

.clientReport_mainContent .clientReport_Title {
    font-size: clamp(3rem, 12vw, 5rem);
    line-height: 1.1;
}

.clientReport_mainContent .clientReport_Text {
    font-size: clamp(1.125rem, 3vw, 1.75rem);
}

.aboutHudaInterior_section {
    padding: 80px 0;
}

.aboutHudaInterior_section .sub-section {
    padding: 2rem 1.25rem;
    border-radius: 40px 0 40px 0;
}

.aboutHudaInterior_section .sub-section h2 {
    font-size: clamp(1.75rem, 6vw, 3rem);
    letter-spacing: 2px;
}

/* ---- Services page ---- */
.service_container .titleContainer h1,
.service_container .titleContainer h2 {
    font-size: clamp(1.75rem, 6vw, 3.125rem);
    padding-left: 5%;
}

.service_container p {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.section_Cards {
    padding-top: 140px;
    padding-bottom: 100px;
}

/* ---- Contact page ---- */
.mainContent_Container_PartTwo .leftPart,
.mainContent_Container_PartTwo .rightPart {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.officeLocation_Section_Container {
    flex-wrap: wrap;
    gap: 2rem;
}

.officeLocation_Section_Container .textContainer {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
    padding: 2rem 1.5rem;
}

.officeLocation_Section_Container .textContainer h2 {
    font-size: clamp(1.75rem, 5vw, 2.9375rem);
}

.officeLocation_Section_Container_BgImg {
    width: 100%;
}

.titleContainer h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

/* ---- Projects / Blogs listing ---- */
.projectsSection {
    padding: 100px 1.5rem;
}

.projectsSection .projectBlock {
    width: 100%;
    padding: 2rem 1.25rem;
    border-radius: 40px 0 40px 0;
}

.projectBlock .textContainer,
.projectsSection .textContainer {
    width: 100%;
}

.projectBlock .imgContainer {
    width: 100%;
    max-width: 100%;
    max-height: none;
}

.textContainer .buttonDiv {
    width: auto;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---- Show project / blog detail ---- */
.mainContent .titleContainer h1 {
    font-size: clamp(2rem, 7vw, 4rem);
}

.heroSection_imgContainer,
.aboutProject_ImgContainer {
    width: 100%;
    max-width: 100%;
}

.heroSection_projectDetailsContainer {
    height: auto;
    min-height: 200px;
    padding: 2rem 0;
}

.heroSection_projectDetailsContainer .details_container {
    flex-wrap: wrap;
    gap: 1.5rem;
}

.aboutProject_textContainer p,
.projectExecution_textContainer p {
    width: 100%;
    padding: 0 1rem;
}

.aboutProject_textContainer h1,
.projectExecution_textContainer h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
}

.projectExecution_ImgContainer {
    flex-wrap: wrap;
    gap: 1.5rem;
}

.projectExecution_ImgContainer img {
    width: 100%;
}

.projectExecution_Section,
.aboutProject_Section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ---- WhatsApp button ---- */
#whatsappBtnDiv {
    top: auto;
    bottom: 20px;
    right: 0;
}

/* ============================================
   TABLET & SMALL DESKTOP (≤991px)
   ============================================ */
@media screen and (max-width: 991px) {
    .mainContent_Container {
        margin-top: 120px;
    }

    .hero_section,
    .ourService_Section {
        margin-top: 4rem;
    }

    .homeBudget_CarouselSection {
        padding: 3rem 1rem;
    }

    .homeBudget_CarouselSection .Carousel_TitleContainer {
        margin: 0 0 2rem;
        gap: 1.5rem;
    }

    .ourProjects_Section,
    .testimonialSection {
        padding: 3rem 1rem;
    }

    .ourProjects_Section_mainContainer .titleContainer,
    .testimonialSection_mainContainer .titleContainer {
        padding: 1rem;
        margin: 0 0 2rem;
        height: auto;
    }

    .ourProject_carouselSection .projectsItem,
    .testimonial_carauselSection .testimonialsItem {
        flex-direction: column;
    }

    .ourProjects_Section_mainContainer .ourProject_btnSection,
    .testimonialSection_mainContainer .testimonial_btnSection {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .ourProjects_Section_mainContainer .ourProject_btnSection a,
    .testimonialSection_mainContainer #testimonial_btnSection a {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .footerSection_mainContainer .footerUpperPart,
    .footerMiddlePart {
        flex-direction: column;
        gap: 2rem;
    }

    .footerMiddlePart .footerMiddlePart_left {
        margin-right: 0;
        max-width: 100%;
    }

    .footerMiddlePart_middle,
    .footerMiddlePart_right {
        width: 100%;
        text-align: left;
    }

    .mainContent_Container_LowerPart .LowerPart_PartOne,
    .mainContent_Container_LowerPart .LowerPart_PartTwo {
        flex-direction: column;
    }

    .LowerPart_PartOne .smallImg,
    .LowerPart_PartOne .largeImg,
    .LowerPart_PartTwo .smallImg,
    .LowerPart_PartTwo .largeImg {
        max-width: 100%;
        width: 100%;
    }

    .clientReport_mainContent {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .projectsSection .projectBlock {
        flex-direction: column;
        align-items: flex-start;
    }

    .officeLocation_Section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .mainContent_Container_PartTwo {
        flex-direction: column;
        gap: 3rem;
    }

    .rightPart .rightPart_Content {
        flex-direction: column;
        gap: 2rem;
    }

    .rightPart_Content .emailContainer a,
    .rightPart_Content .callContainer a {
        font-size: clamp(1.125rem, 4vw, 1.875rem);
        word-break: break-word;
    }
}

/* ============================================
   MOBILE (≤767px)
   ============================================ */
@media screen and (max-width: 767px) {
    .heoric_container {
        background-position: center;
    }

    #section_text {
        font-size: clamp(1.75rem, 9vw, 2.75rem);
        line-height: 1.15;
    }

    #section_head,
    #section_inner_text p {
        font-size: 1rem;
    }

    .mainContent_Container .mainContent_ContainerColumn {
        margin: 1rem 0;
    }

    .mainContent_Container_mainButton-Section {
        height: auto;
        margin-top: 1.5rem;
    }

    #mainButton-Section_BTNs {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    #mainButton-Section_BTNs .light_button,
    #mainButton-Section_BTNs .dark_button {
        width: 100%;
        padding: 16px 20px;
        font-size: 14px;
    }

    .rightSideContactForm button {
        width: 100%;
    }

    .aboutImgContainer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .aboutImgContainer img {
        margin-bottom: 0;
    }

    .titleContainer .textSideLine {
        display: none;
    }

    .hero_section .hero_section_mainContainer #btnText_Container,
    .ourService_Section_mainContainer #btnText_Container {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .homeBudget_Carousel #homeBudget_CarouselRow .col-12 {
        min-width: 280px;
        flex: 0 0 auto;
    }

    .serviceSection_imgContainer .imgContainer_LeftColumn {
        margin-top: 0;
    }

    .ourProject_carouselSection .carousel-control-prev,
    .ourProject_carouselSection .carousel-control-next {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        margin: 1rem 0.5rem 0;
        display: inline-flex;
    }

    .ourProject_carouselSection .carousel {
        padding-bottom: 1rem;
    }

    .testimonialSection_mainContainer .testimonial_carauselSection {
        height: auto;
    }

    .testimonial_carauselSection .testimonialsItem #testimonialsItem_titleContainer {
        width: 100%;
        margin-top: 1.5rem;
    }

    .projectsItem .projectItem_titleContainer h2,
    .testimonialsItem_titleContainer h2 {
        font-size: 1.75rem;
    }

    .contactBanner_Section {
        margin: 3rem 0;
        padding: 2rem 1rem;
        min-height: 40vh;
    }

    .footerUpperPart {
        flex-wrap: wrap;
    }

    .footerUpperPart .footerUpperPart_left {
        margin-bottom: 1.5rem;
    }

    .footerMiddlePart_middle {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .footerMiddlePart_left .subscribeForm .subscribeFormBtn {
        width: 100%;
    }

    .footerMiddlePart .footerMiddlePart_title {
        font-size: 1.5rem;
    }

    .footerMiddlePart_middle_Links {
        text-align: start;
    }

    .footerLowerPart {
        font-size: 0.95rem;
        line-height: 1.8;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .locationsDiv {
        justify-content: center;
    }

    .mainContent_Container_PartOne .textSideLine,
    #textSideLineDIV .textSideLine {
        display: none;
    }

    .mainContent_Container_PartTwo .rightPart {
        margin-top: 2rem;
    }

    .leftPart .leftPart_ContactForm input[type=email],
    .leftPart .leftPart_ContactForm input[type=text],
    .leftPart .leftPart_ContactForm input[type=number] {
        width: 100%;
    }

    .light_button,
    .dark_button,
    .dark_bg_button,
    .light_bg_button {
        padding: 16px 20px;
        font-size: 14px;
    }

    .projectBlock .imgContainer {
        height: auto;
        max-height: 350px;
    }

    .details_container .heading {
        font-size: 0.75rem;
    }

    .details_container .value {
        font-size: 1.125rem;
    }
}

/* ============================================
   SMALL MOBILE (≤575px)
   ============================================ */
@media screen and (max-width: 575px) {
    .heoric_container .navbar .btn-outline-light.nav-contact-desktop {
        display: none !important;
    }

    .homeBudget_CarouselSection {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ourProjects_Section {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .ourProjects_Section_mainContainer .titleContainer #titleContainerText,
    .testimonialSection_mainContainer .titleContainer #titleContainerText {
        width: 100%;
        font-size: 1.5rem;
        text-align: center;
    }

    .testimonialSection {
        padding: 1.5rem 0.75rem;
    }

    .section_Cards {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .section_Cards .card .content {
        padding: 15px 20px;
    }

    .projectsSection {
        padding: 60px 1rem;
    }

    .projectsSection .projectBlock {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .aboutHudaInterior_section {
        margin-top: 4rem;
        padding: 60px 0;
    }

    .mainContent_Container {
        margin-top: 100px;
        padding-bottom: 80px;
    }
}

/* ============================================
   LARGE DESKTOP (≥1200px) — constrain max widths
   ============================================ */
@media screen and (min-width: 1200px) {
    #formMainContainer {
        max-width: 75%;
    }

    .serviceSection_imgContainer .imgContainer_LeftColumn,
    .serviceSection_imgContainer .imgContainer_RightColumn {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}
