/*--------------------------------------------------------------------- File Name: responsive.css ---------------------------------------------------------------------*/


/*------------------------------------------------------------------- 991px x 768px ---------------------------------------------------------------------*/

@media (min-width: 1200px) and (max-width: 1342px) {
    #myCarousel .carousel-control-prev {
        right: 15.5%;
    }
    #proj .carousel-control-prev {
        left: 45.6%;
    }
    
    /* Testimonials large screens */
    .testimo_ban {
        padding: 0;
    }
    
    .relative2 {
        margin: 0 auto;
        width: 100%;
    }
    
    #testimo .carousel-control-prev {
        left: 10px !important;
    }
    
    #testimo .carousel-control-next {
        right: 10px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .build_box h1 {
        font-size: 87px;
    }
    #myCarousel .carousel-control-prev {
        right: 16.5%;
    }
    #proj .carousel-control-prev {
        left: 43.6%;
    }
    .award_icon strong {
        font-size: 14px;
    }
    ul.social_icon_staff li a {
        width: 36px;
        height: 36px;
    }
    .footer h3 {
        font-size: 14px;
    }
    
    /* Testimonials for medium-large screens */
    .testimo_ban {
        padding: 0;
    }
    
    .relative2 {
        padding: 65px 45px 55px 45px;
        margin: 0 auto;
        width: 100%;
    }
    
    #testimo .carousel-control-prev {
        left: 10px !important;
    }
    
    #testimo .carousel-control-next {
        right: 10px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body {
        font-size: 15px;
        line-height: 1.7;
    }
    .header {
        height: 154px;
    }
    ul.contat_infoma li {
        font-size: 13px;
        padding: 0 8px;
    }
    .logo {
        padding-top: 4px;
    }
    .build_box h1 {
        font-size: 70px;
        line-height: 1.2;
    }
    .build_box p {
        font-size: 17px;
        line-height: 1.7;
    }
    /* Mobile background tablet fixes */
    .full_bg {
        background-size: cover;
        background-position: center center;
    }
    
    .full_bg::before {
        background: rgba(27, 27, 26, 0.45);
    }
    
    .build_box {
        padding-top: 120px;
    }
    
    .build_box h1 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .build_box p {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }
    /* Carousel - show 2 images on tablets */
    #proj .carousel-inner .row .col-md-4:nth-child(3) {
        display: none;
    }
    
    #proj .carousel-inner .row .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    #proj .carousel-control-prev,
    #proj .carousel-control-next {
        top: 50%;
        transform: translateY(-50%);
        background: rgba(27, 27, 26, 0.8);
    }
    #proj .carousel-control-prev {
        left: 15px;
    }
    #proj .carousel-control-next {
        right: 15px;
    }
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 10px 12px;
        font-size: 15px;
    }
    #myCarousel .carousel-control-prev,
    #myCarousel .carousel-control-next {
        width: 55px;
        height: 55px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(22, 24, 37, 0.95);
        font-size: 28px;
        z-index: 10;
    }
    #myCarousel .carousel-control-prev {
        left: 5px;
        right: auto;
    }
    #myCarousel .carousel-control-next {
        right: 5px;
        left: auto;
    }
    
    /* Add padding to content so text doesn't overlap arrows */
    #myCarousel .build_box {
        padding-left: 65px;
        padding-right: 65px;
    }
    .const {
        padding: 40px 25px 30px 25px;
        margin-bottom: 25px;
        text-align: center;
    }
    .const i {
        margin: 0 auto 15px;
        display: block;
    }
    .const span {
        font-size: 15px;
        line-height: 1.5;
        text-align: center;
    }
    .titlepage,
    .titlepage h2,
    .about .titlepage,
    .choose .titlepage {
        text-align: center;
    }
    .titlepage h2 {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .titlepage span {
        font-size: 16px;
        line-height: 1.6;
    }
    .projects_ban {
        padding: 0 10px;
        margin-bottom: 25px;
    }
    .project_text h3 {
        font-size: 23px;
        line-height: 1.3;
    }
    .project_text p {
        font-size: 15px;
        line-height: 1.6;
    }
    /* Make project text visible on tablet */
    .project_text {
        position: relative !important;
        height: auto !important;
        background-color: #fff !important;
        padding: 20px !important;
        margin-right: 0 !important;
    }
    
    .project_text h3 {
        color: #1b1a1a !important;
    }
    .award_icon {
        text-align: center;
        margin-bottom: 20px;
    }
    .award_icon i {
        width: 124px;
        height: 124px;
        margin: 0 auto;
    }
    .award_icon strong {
        font-size: 12px;
        text-align: center;
    }
    ul.social_icon_staff li a {
        font-size: 18px;
        width: 31px;
        height: 31px;
    }
    .social_icon_main {
        padding: 20px 9px;
    }
    #testimo .carousel-control-next {
        left: 11%;
    }
    .main_form {
        padding: 40px 40px;
    }
    .main_form .contactus {
        height: 52px;
        font-size: 15px;
    }
    .main_form .textarea {
        height: 110px;
        font-size: 15px;
    }
    .main_form .send_btn {
        height: 52px;
        font-size: 17px;
    }
    .read_more {
        font-size: 16px;
        height: 56px;
    }
    .sub_btn {
        max-width: 203px;
    }
    .about,
    .projects,
    .choose,
    .contact {
        padding: 70px 0;
    }
    /* Choose section tablet background */
    .choose {
        background-size: cover;
        background-position: center center;
        margin-top: 60px;
    }
    
    .choose::before {
        background: rgba(255, 255, 255, 0.88);
    }
    .link_menu {
        margin-bottom: 30px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    body {
        font-size: 15px;
    }
    .header {
        height: 155px;
    }
    ul.search {
        display: none;
    }
    .build_box h1 {
        font-size: 56px;
        line-height: 1.2;
    }
    .build_box p {
        font-size: 16px;
        line-height: 1.6;
    }
    /* Small tablet background */
    .full_bg::before {
        background: rgba(27, 27, 26, 0.6);
    }
    
    .build_box {
        padding-top: 90px;
    }
    
    .build_box h1,
    .build_box p {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    /* Choose section small tablet */
    .choose {
        background-size: cover;
        background-position: center center;
        margin-top: 40px;
        padding: 50px 0;
    }
    
    .choose::before {
        background: rgba(255, 255, 255, 0.92);
    }
    ul.contat_infoma {
        display: none;
    }
    .award_icon strong {
        font-size: 16px;
    }
    .logo a img {
        position: relative;
        z-index: 9999;
    }
    .about_img {
        margin-top: 30px;
    }
    #myCarousel .carousel-control-prev,
    #myCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(22, 24, 37, 0.9);
        font-size: 26px;
    }
    #myCarousel .carousel-control-prev {
        left: 10px;
        right: auto;
    }
    #myCarousel .carousel-control-next {
        right: 10px;
        left: auto;
    }
    .jkhgkj {
        display: none;
    }
    .staff {
        margin-bottom: 20px;
    }
    /* Carousel - show only one image on tablets */
    #proj .carousel-inner .row .col-md-4:nth-child(2),
    #proj .carousel-inner .row .col-md-4:nth-child(3) {
        display: none;
    }
    
    #proj .carousel-inner .row .col-md-4:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #proj .carousel-control-prev,
    #proj .carousel-control-next {
        top: 50%;
        transform: translateY(-50%);
        background: rgba(27, 27, 26, 0.85);
    }
    #proj .carousel-control-prev {
        left: 15px;
    }
    #proj .carousel-control-next {
        right: 15px;
        left: auto;
    }
    .relative3 {
        padding-bottom: 40px;
    }
    
    #proj .carousel-caption {
        position: relative;
    }
    /* Make project text visible */
    .project_text {
        position: relative !important;
        height: auto !important;
        background-color: #fff !important;
        padding: 20px !important;
        margin-right: 0 !important;
    }
    
    .project_text h3 {
        color: #1b1a1a !important;
    }
    .margin_top {
        margin-top: 0px;
    }
    .margin_bott {
        margin-bottom: 0px;
    }
    .middle {
        margin: 0;
        padding-top: 37px;
    }
    .padd_top30 {
        padding-top: 30px !important;
    }
    .balance {
        margin: 0;
    }
    .padding_right0 {
        padding-right: 15px;
    }
    .padding_left0 {
        padding-left: 15px;
    }
    #testimo .carousel-control-next {
        right: inherit;
        left: 9%;
    }
    .project_img {
        margin-top: 30px
    }
    ul.link_menu {
        margin-bottom: 20px;
    }
    .bottom_form .enter {
        width: 100%;
    }
    .many {
        margin-bottom: 20px;
    }
    .navigation.navbar {
        float: right;
        display: inherit !important;
        padding: 0;
        width: 100%;
        padding-top: 8px !important;
    }
    .navigation .navbar-collapse {
        background: #161825;
        padding: 20px;
        margin-top: 68px;
        position: absolute;
        width: 100%;
        z-index: 999;
    }
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: #fff;
    }
    .navigation.navbar-dark .navbar-toggler {
        border: inherit;
        float: right;
        padding-top: 9px;
    }
    .navigation.navbar-dark .navbar-nav .nav-link:focus,
    .navigation.navbar-dark .navbar-nav .nav-link:hover {
        background: transparent;
        border-radius: 0px;
        color: #f4a111;
    }
    .navigation.navbar-dark .navbar-nav .active>.nav-link,
    .navigation.navbar-dark .navbar-nav .nav-link.active,
    .navigation.navbar-dark .navbar-nav .nav-link.show,
    .navigation.navbar-dark .navbar-nav .show>.nav-link {
        background: transparent;
        border-radius: 0px;
        color: #f4a111;
    }
    .navigation.navbar-dark .navbar-toggler-icon {
        background: url(../images/menu_icon.png);
        background-repeat: no-repeat;
    }
    .d_none {
        display: none;
    }
}

/* Additional responsive image enhancements */
@media (max-width: 991px) {
    .about_img {
        padding: 30px 15px;
        text-align: center;
    }
    
    .truck_img1 {
        margin: 20px auto;
        text-align: center;
    }
    
    .project_img figure img {
        object-fit: cover;
        height: auto;
    }
    
    /* Testimonials for tablets */
    .testimo_ban {
        padding: 0;
    }
    
    .relative2 {
        padding: 60px 40px 50px 40px;
        margin: 0 auto;
        width: 100%;
    }
    
    .client-avatar {
        width: 65px;
        height: 65px;
    }
    
    .client-avatar i {
        font-size: 35px;
    }
    
    .client-info h4 {
        font-size: 22px;
    }
    
    .consect p {
        font-size: 16px;
        line-height: 29px;
    }
    
    #testimo .carousel-control-next,
    #testimo .carousel-control-prev {
        width: 48px;
        height: 48px;
        font-size: 19px;
        display: flex !important;
        opacity: 1 !important;
    }
    
    #testimo .carousel-control-prev {
        left: 10px !important;
    }
    
    #testimo .carousel-control-next {
        right: 10px !important;
    }
}

@media (max-width: 767px) {
    .about_img {
        padding: 20px 0;
        margin-top: 30px;
    }
    
    .truck_img1 {
        max-width: 200px;
        margin: 15px auto;
    }
    
    .award_icon img {
        max-width: 60px;
    }
    
    .insta li {
        width: 48%;
        display: inline-block;
        margin: 1%;
    }
    
    .insta li img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    /* iPhone 14 Pro Max and similar large phones (430px width) */
    .truck_img1 {
        max-width: 150px;
    }
    
    .about_img figure img,
    .project_img figure img {
        border-radius: 8px;
    }
    
    /* Optimize carousel for iPhone 14 Pro Max */
    #myCarousel .carousel-control-prev,
    #myCarousel .carousel-control-next {
        width: 48px;
        height: 48px;
        bottom: 8px;
        font-size: 22px;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    
    #myCarousel .carousel-control-prev {
        right: 63px;
    }
    
    #myCarousel .carousel-control-next {
        right: 10px;
    }
    
    .build_box {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .build_box h1 {
        font-size: 28px;
        line-height: 1.3;
        word-wrap: break-word;
        padding-bottom: 10px;
        margin-bottom: 0;
    }
    
    .build_box p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .conatct_btn {
        padding: 12px 28px;
        font-size: 15px;
        margin-top: 15px;
        white-space: nowrap;
        display: inline-block;
    }
    
    .banner_main {
        padding-bottom: 140px;
    }
    
    .carousel-caption .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-caption {
        padding-left: 0;
        padding-right: 0;
        left: 0;
        right: 0;
        bottom: 20px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Ensure button text doesn't break awkwardly */
    .conatct_btn {
        padding: 12px 28px;
        font-size: 15px;
        margin-top: 15px;
        white-space: nowrap;
        display: inline-block;
    }
}

/* Ensure all images are responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
    margin: 0;
    padding: 0;
}

figure img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 575px) {
    .back_re .title h2 {
        font-size: 31px;
    }
    .logo a img {
        position: relative;
        z-index: 9999;
    }
    .project_img {
        margin-top: 30px
    }
    .build_box h1 {
        font-size: 35px;
        line-height: 41px;
    }
    .logo {
        text-align: center !important;
        padding-bottom: 6px;
        float: left;
        position: relative;
    }
    .header {
        height: 176px;
    }
    ul.contat_infoma {
        display: none;
    }
    .jkhgkj {
        display: none;
    }
    .staff {
        margin-bottom: 20px;
    }
    /* Carousel - show only one image on small mobile */
    #proj .carousel-inner .row .col-md-4:nth-child(2),
    #proj .carousel-inner .row .col-md-4:nth-child(3) {
        display: none !important;
    }
    
    #proj .carousel-inner .row .col-md-4:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #proj .carousel-control-prev,
    #proj .carousel-control-next {
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(27, 27, 26, 0.9);
    }
    #proj .carousel-control-prev {
        left: 10px;
    }
    #proj .carousel-control-next {
        right: 10px;
        left: auto;
    }
    .relative3 {
        padding-bottom: 30px;
    }
    .award_icon strong {
        font-size: 8px;
    }
    .award_icon i {
        width: 86px;
        height: 114px;
    }
    #myCarousel .carousel-control-prev,
    #myCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
        top: auto;
        bottom: 10px;
        transform: none;
        background: rgba(22, 24, 37, 0.95);
        font-size: 24px;
        z-index: 10;
    }
    #myCarousel .carousel-control-prev {
        left: auto;
        right: 65px;
    }
    #myCarousel .carousel-control-next {
        right: 10px;
        left: auto;
    }
    ul.search {
        display: none;
    }
    .titlepage h2 {
        font-size: 30px;
        line-height: 31px;
    }
    .margin_top {
        margin-top: 0px;
    }
    .margin_bott {
        margin-bottom: 0px;
    }
    .middle {
        margin: 0;
        padding-top: 37px;
    }
    .padd_top30 {
        padding-top: 30px !important;
    }
    .padding_right0 {
        padding-right: 15px;
    }
    .padding_left0 {
        padding-left: 15px;
    }
    .testimo_ban {
        padding: 0;
    }
    
    .relative2 {
        padding: 55px 35px 50px 35px;
        margin: 0 auto;
        width: 100%;
    }
    .testimonial-header {
        gap: 15px;
    }
    .client-avatar {
        width: 65px;
        height: 65px;
    }
    .client-avatar i {
        font-size: 35px;
    }
    .client-info h4 {
        font-size: 21px;
    }
    .client-location {
        font-size: 14px;
    }
    .rating i {
        font-size: 18px;
    }
    .consect p {
        font-size: 16px;
        line-height: 30px;
        padding-left: 25px;
    }
    .consect p::before {
        font-size: 45px;
    }
    #testimo .carousel-control-next,
    #testimo .carousel-control-prev {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-width: 2px;
        display: flex !important;
        opacity: 1 !important;
    }
    #testimo .carousel-control-next {
        right: 10px !important;
    }
    #testimo .carousel-control-prev {
        left: 10px !important;
    }
    .main_form {
        padding: 40px 20px;
    }
    ul.link_menu {
        margin-bottom: 20px;
    }
    .projects_ban {
        padding: 0 0px;
    }
    .about_img {
        padding-right: 0px;
        padding-left: 0px;
        margin-top: 30px;
    }
    .many {
        margin-bottom: 20px;
    }
    .navigation.navbar {
        float: right;
        display: inherit !important;
        padding: 0;
        padding-top: 0px !important;
        width: 100%;
    }
    .navigation .navbar-collapse {
        background: #161825;
        padding: 20px;
        margin-top: 26px;
        position: absolute;
        width: 100%;
        z-index: 999;
    }
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: #fff;
    }
    .navigation.navbar-dark .navbar-toggler {
        float: right;
        border: inherit;
        margin-top: -40px;
    }
    .navigation.navbar-dark .navbar-nav .nav-link:focus,
    .navigation.navbar-dark .navbar-nav .nav-link:hover {
        background: transparent;
        border-radius: 0px;
        color: #f4a111;
    }
    .navigation.navbar-dark .navbar-nav .active>.nav-link,
    .navigation.navbar-dark .navbar-nav .nav-link.active,
    .navigation.navbar-dark .navbar-nav .nav-link.show,
    .navigation.navbar-dark .navbar-nav .show>.nav-link {
        background: transparent;
        border-radius: 0px;
        color: #f4a111;
    }
    .navigation.navbar-dark .navbar-toggler-icon {
        background: url(../images/menu_icon.png);
        background-repeat: no-repeat;
    }
    .d_none {
        display: none;
    }
}

/* Enhanced Responsive Centering and Smoothness */
@media (max-width: 1199px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .titlepage {
        text-align: center;
    }
    
    .titlepage h2 {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Testimonials general centering */
    .testimo_ban {
        padding: 0;
        margin: 0 auto;
    }
    
    .relative2 {
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 991px) {
    /* Better centering on tablets */
    .titlepage,
    .about .titlepage {
        text-align: center;
    }
    
    .d_flex {
        justify-content: center;
    }
    
    /* Smooth spacing */
    .project {
        margin-bottom: 30px;
    }
    
    .const {
        margin-bottom: 20px;
    }
    
    /* Better button centering */
    .read_more {
        margin: 20px auto;
        display: block;
    }
}

@media (max-width: 767px) {
    /* Perfect centering for mobile */
     body {
          font-size: 16px;
          line-height: 1.7;
     }
     
     .titlepage,
     .about .titlepage,
     .choose .titlepage,
     .contact .titlepage {
          text-align: center !important;
     }
     
     .titlepage h2 {
          font-size: 32px;
          line-height: 1.3;
          margin-bottom: 20px;
          text-align: center !important;
     
     .titlepage p {
          font-size: 16px;
          line-height: 1.7;
          margin-bottom: 20px;
     }
     
     /* Smooth stacking */
     .project,
     .const,
     #awa_ho {
          margin: 0 auto 30px;
          max-width: 100%;
          padding: 15px;
     }
     
     /* Carousel fixes for mobile - show only one image */
     #proj .carousel-inner .row .col-md-4:nth-child(2),
     #proj .carousel-inner .row .col-md-4:nth-child(3) {
          display: none !important;
     }
     
     #proj .carousel-inner .row .col-md-4:first-child {
          flex: 0 0 100%;
          max-width: 100%;
     }
     
     /* Fix carousel control positioning */
     #proj .carousel-control-prev,
     #proj .carousel-control-next {
          width: 45px;
          height: 45px;
          top: 50%;
          transform: translateY(-50%);
          background: rgba(27, 27, 26, 0.9);
          font-size: 18px;
     }
     
     #proj .carousel-control-prev {
          left: 10px;
     }
     
     #proj .carousel-control-next {
          right: 10px;
          left: auto;
     }
     
     .projects_ban {
          padding: 0;
     }
     
     .relative3 {
          padding-bottom: 30px;
     }
     
     /* Ensure carousel doesn't overflow */
     #proj .carousel-inner {
          overflow: hidden;
     }
     
     #proj .carousel-caption {
          position: relative;
          right: 0;
          left: 0;
     }
     
     /* Form improvements */
     .main_form {
          padding: 30px 20px;
          margin: 0 15px;
     }
     
     .main_form .contactus,
     .main_form .textarea {
          font-size: 16px;
          padding: 15px 20px;
          margin-bottom: 20px;
          height: auto;
          min-height: 50px;
     }
     
     .main_form .textarea {
          min-height: 120px;
          padding: 15px 20px;
     }
     
     .main_form .send_btn {
          margin: 15px auto 0;
          max-width: 100%;
          width: 100%;
          height: 50px;
          font-size: 18px;
          padding: 12px 20px;
     }
     
     /* Better footer centering */
     .footer h3 {
          text-align: center;
          margin-top: 30px;
          font-size: 18px;
     }
     
     .footer h3::after {
          left: 50%;
          transform: translateX(-50%);
     }
     
     .link_menu,
     .insta {
          text-align: center;
     }
     
     .link_menu li a {
          font-size: 16px;
          padding: 8px 0;
          display: inline-block;
     }
     
     /* Testimonials */
     .testimo_ban {
          padding: 0;
     }
     
     .relative2 {
          padding: 50px 30px 45px 30px;
          border-radius: 20px;
          margin: 0 auto;
          width: 100%;
     }
     
     .testimonial-header {
          flex-direction: row;
          gap: 15px;
          padding-bottom: 15px;
     }
     
     .client-avatar {
          width: 60px;
          height: 60px;
     }
     
     .client-avatar i {
          font-size: 32px;
     }
     
     .client-info h4 {
          font-size: 20px;
     }
     
     .client-location {
          font-size: 14px;
     }
     
     .rating {
          margin-bottom: 20px;
     }
     
     .rating i {
          font-size: 18px;
     }
     
     .consect p {
          font-size: 16px;
          line-height: 28px;
          padding-left: 25px;
     }
     
     .consect p::before {
          font-size: 40px;
          top: -8px;
     }
     
     .review-date {
          font-size: 13px;
     }
     
     #testimo .carousel-control-next,
     #testimo .carousel-control-prev {
          width: 45px;
          height: 45px;
          font-size: 18px;
          display: flex !important;
          opacity: 1 !important;
     }
     
     #testimo .carousel-control-next {
          right: 10px !important;
     }
     
     #testimo .carousel-control-prev {
          left: 10px !important;
     }
     
     /* Better buttons */
     .read_more {
          margin: 20px auto;
          display: block;
          max-width: 100%;
          width: 100%;
          height: 55px;
          font-size: 17px;
          padding: 15px 20px;
          line-height: 1.4;
     }
     
     /* Banner improvements */
     .build_box h1 {
          font-size: 48px;
          line-height: 1.2;
          margin-bottom: 15px;
     }
     
     .build_box p {
          font-size: 16px;
          line-height: 1.7;
          margin-bottom: 30px;
     }
     
     /* Mobile background fixes */
     .full_bg {
          background-size: cover;
          background-position: center center;
          background-attachment: scroll;
     }
     
     .full_bg::before {
          background: rgba(27, 27, 26, 0.65);
     }
     
     .banner_main {
          padding-bottom: 100px;
     }
     
     .build_box {
          padding-top: 80px;
          padding-bottom: 50px;
     }
     
     /* Better spacing */
     .about,
     .projects,
     .choose,
     .contact {
          padding: 50px 0;
     }
     
     /* Choose section mobile background */
     .choose {
          background-size: cover;
          background-position: center center;
          margin-top: 50px;
     }
     
     .choose::before {
          background: rgba(255, 255, 255, 0.9);
     }
     
     .choose .titlepage p {
          padding-bottom: 40px;
     }
     
     /* Service boxes */
     .const {
          padding: 30px 20px;
          margin-bottom: 20px;
          text-align: center;
     }
     
     .const i {
          display: block;
          margin: 0 auto 15px;
     }
     
     .const i img {
          margin: 0 auto;
     }
     
     .const span {
          font-size: 16px;
          line-height: 1.5;
          text-align: center;
     }
     
     /* Award icons */
     .award_icon {
          text-align: center;
          margin-bottom: 25px;
     }
     
     .award_icon i {
          margin: 0 auto;
     }
     
     .award_icon strong {
          text-align: center;
     }
     
     /* Project text */
     .project_text h3 {
          font-size: 20px;
          line-height: 1.4;
          margin-bottom: 10px;
     }
     
     .project_text p {
          font-size: 15px;
          line-height: 1.6;
     }
     
     /* Project container */
     .project {
          margin: 0 auto;
          max-width: 100%;
     }
     
     .project_img figure {
          margin: 0;
     }
     
     .project_img figure img {
          width: 100%;
          height: auto;
     }
     
     /* Make project text visible on mobile */
     .project_text {
          position: relative !important;
          height: auto !important;
          overflow: visible !important;
          background-color: #fff !important;
          padding: 20px !important;
          margin-right: 0 !important;
     }
     
     .project_text h3 {
          color: #1b1a1a !important;
          padding-top: 0 !important;
     }
     
     /* Header improvements */
     .header_top ul.contat_infoma li {
          font-size: 14px;
     }
     
     /* Navigation */
     .navigation.navbar-dark .navbar-nav .nav-link {
          font-size: 16px;
          padding: 12px 15px;

@media (max-width: 480px) {
    /* Extra small devices - ultra smooth */
     body {
          font-size: 15px;
     }
     
     .build_box {
          padding-left: 20px;
          padding-right: 20px;
     }
     
     .build_box h1 {
          font-size: 28px;
          line-height: 1.3;
          padding-bottom: 10px;
          word-wrap: break-word;
          margin-bottom: 0;
     }
     
     .build_box p {
          font-size: 14px;
          line-height: 1.6;
          margin-bottom: 20px;
          max-width: 100%;
     }
     
     .conatct_btn {
          padding: 12px 28px;
          font-size: 15px;
          margin-top: 15px;
     }
     
     /* Extra small mobile background */
     .full_bg::before {
          background: rgba(27, 27, 26, 0.75);
     }
     
     .build_box {
          padding-top: 50px;
          padding-bottom: 40px;
     }
     
     .build_box h1,
     .build_box p {
          text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
     }
     
     /* Choose section extra small mobile */
     .choose {
          background-size: cover;
          background-position: center center;
          margin-top: 30px;
          padding: 40px 0;
     }
     
     .choose::before {
          background: rgba(255, 255, 255, 0.93);
     }
     
     .choose .titlepage p {
          padding-bottom: 30px;
     }
     
     .titlepage h2 {
          font-size: 28px;
          line-height: 1.3;
     }
     
     .titlepage span,
     .titlepage p {
          font-size: 15px;
          line-height: 1.6;
     }
     
     /* Mobile background improvements */
     .full_bg {
          background-size: cover;
          background-position: center center;
     }
     
     .full_bg::before {
          background: rgba(27, 27, 26, 0.7);
     }
     
     .banner_main {
          padding-bottom: 130px;
     }
     
     .build_box {
          padding-top: 60px;
          padding-bottom: 50px;
     }
     
     .build_box h1 {
          text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
     }
     
     .build_box p {
          text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
     }
     
     /* Project mobile fixes */
     .project {
          margin: 0 auto 20px;
          padding: 0;
     }
     
     .project_text {
          position: relative !important;
          height: auto !important;
          background-color: #fff !important;
          padding: 15px !important;
     }
     
     .project_text h3 {
          font-size: 18px;
          color: #1b1a1a !important;
     }
     
     .project_text p {
          font-size: 14px;
     }
     
     /* Perfect button sizing */
     .read_more,
     .send_btn,
     .conatct_btn {
          max-width: 100%;
          width: 100%;
          height: 52px;
          font-size: 16px;
          padding: 14px 20px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
     }
     
     /* Carousel controls mobile visibility */
     #myCarousel .carousel-control-prev,
     #myCarousel .carousel-control-next {
          width: 45px;
          height: 45px;
          font-size: 20px;
          background: rgba(22, 24, 37, 0.95);
          top: auto;
          bottom: 8px;
          transform: none;
          z-index: 10;
     }
     
     #myCarousel .carousel-control-prev {
          left: auto;
          right: 60px;
     }
     
     #myCarousel .carousel-control-next {
          right: 10px;
          left: auto;
     }
     
     /* Stack everything nicely */
     #awa_ho {
          margin-bottom: 20px;
          padding: 25px 15px;
     }
     
     .award {
          flex-direction: column;
          align-items: center;
     }
     
     /* Better spacing */
     .const {
          padding: 25px 15px;
          margin-bottom: 15px;
          text-align: center;
     }
     
     .const i {
          margin: 0 auto 10px;
          display: block;
     }
     
     .const span {
          text-align: center;
     }
     
     .award_icon {
          text-align: center;
          margin-bottom: 20px;
     }
     
     .award_icon i {
          margin: 0 auto;
     }
     
     .award_icon strong {
          text-align: center;
     }
     
     /* Carousel mobile fixes for extra small screens */
     #proj .carousel-control-prev,
     #proj .carousel-control-next {
          width: 40px;
          height: 40px;
          font-size: 16px;
     }
     
     .relative3 {
          padding-bottom: 20px;
     }
     
     #proj .carousel-caption {
          position: relative;
     }
     
     .main_form {
          padding: 25px 15px;
     }
     
     .main_form .contactus,
     .main_form .textarea {
          font-size: 15px;
     }
     
     h3 {
          font-size: 20px;
     }
     
     h4 {
          font-size: 18px;
     }
     
     /* Navigation */
     .navigation.navbar-dark .navbar-nav .nav-link {
          font-size: 15px;
          padding: 10px;
     }
     
     /* Testimonials extra small mobile */
     .clients {
          padding: 60px 0;
     }
     
     .clients .titlepage {
          padding-bottom: 30px;
     }
     
     .clients .titlepage h2 {
          font-size: 28px;
     }
     
     .clients .titlepage span {
          font-size: 15px;
          padding: 0 15px;
     }
     
     .testimo_ban {
          padding: 0;
     }
     
     .relative2 {
          padding: 45px 25px 40px 25px;
          margin: 0 auto;
          border-radius: 18px;
          width: 100%;
     }
     
     .testimonial-header {
          flex-direction: column;
          align-items: center;
          text-align: center;
          gap: 12px;
          padding-bottom: 15px;
          border-bottom: 1px solid #f5f5f5;
     }
     
     .client-avatar {
          width: 65px;
          height: 65px;
     }
     
     .client-avatar i {
          font-size: 35px;
     }
     
     .client-info {
          text-align: center;
     }
     
     .client-info h4 {
          font-size: 20px;
     }
     
     .client-location {
          font-size: 14px;
          justify-content: center;
     }
     
     .client-location::before {
          font-size: 13px;
     }
     
     .rating {
          text-align: center;
          justify-content: center;
          margin-bottom: 20px;
     }
     
     .rating i {
          font-size: 18px;
     }
     
     .consect p {
          font-size: 15px;
          line-height: 26px;
          text-align: center;
          padding-left: 0;
     }
     
     .consect p::before {
          display: none;
     }
     
     .review-date {
          font-size: 13px;
          text-align: center;
     }
     
     #testimo .carousel-control-next,
     #testimo .carousel-control-prev {
          width: 42px;
          height: 42px;
          font-size: 16px;
          border-width: 2px;
          display: flex !important;
          opacity: 1 !important;
     }
     
     #testimo .carousel-control-next {
          right: 10px !important;
     }
     
     #testimo .carousel-control-prev {
          left: 10px !important;
     }
     
     .relative2 .carousel-indicators {
          padding-top: 25px;
          gap: 6px;
     }
     
     .relative2 .carousel-indicators li {
          width: 8px;
          height: 8px;
     }
     
     .relative2 .carousel-indicators li.active {
          width: 30px;
          border-radius: 4px;
     }
}

/* Landscape orientation optimizations */
@media (max-height: 640px) and (orientation: landscape) {
    .build_box {
        padding-top: 10%;
    }
    
    .build_box h1 {
        font-size: 50px;
        line-height: 1;
    }
    
    .banner_main {
        padding-bottom: 100px;
    }
}

/* Smooth transitions for layout changes */
@media (prefers-reduced-motion: no-preference) {
    * {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
