/* Responsive Styles for Henderson Thomas Home Page */



@media (max-width: 991px) {



    /* Navbar */

    .navbar-main {

        padding: 0px 15px !important;

        background-color: transparent !important;

/*        position: absolute !important;*/

        top: 0;

        left: 0;

        width: 100%;

        z-index: 100 !important;

        align-items: center;

        border-bottom: 1px solid rgba(255, 255, 255, 0.39);

    }
    .navbar-main.with-notification {
         top: -1px!important; 
    }

    .page-template-homepage .hero-home .hero-subtitle{
        width: 90%;
    }


    .top-notification-bar {

        display: none !important;

    }



    .navbar-brand img {

        height: 60px;

        /* Larger logo as per image */

    }



    .navbar-brand {

        margin-right: auto;

    }



    .mobile-header-controls {

        display: flex;

        align-items: center;

        gap: 10px;

        height: 94px;

        border-left: 1px solid rgb(255, 255, 255, 0.39);

        padding-left: 22px;

        border-left: 1px solid #707070;

    }

    br.mobile-br{
        display: none;
    }



    .mobile-phone-icon {

        width: 40px;

        height: 40px;

        background-color: #762828;

        display: flex;

        align-items: center;

        justify-content: center;

        border-radius: 0;

    }



    .mobile-phone-icon img {

        width: 24px;

        height: 24px;

    }



    .navbar-toggler {

        border-color: white !important;

        border: none !important;

        padding: 0 !important;

        width: 40px;

        height: 40px;

        background-color: #fff;

        border-radius: 0 !important;

        display: flex;

        align-items: center;

        justify-content: center;

    }



    .navbar-toggler-icon {

        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;

        width: 24px;

        height: 24px;

    }



    .collapse.navbar-collapse {

        z-index: 999;

        background: #fff;

        left: 0;

        position: absolute;

        top: 95px;

        width: -webkit-fill-available;

        height: 200vh;

        padding: 20px 35px;

        overflow: hidden;

        transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;

    }



    .navbar-nav .nav-link {

        color: #5b4a4a !important;

        font-size: 18px;

        padding: 10px 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    }

    .navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .nav-link.show {
        color: #5b4a4a !important;
    }




    .header-right-main {

        display: none !important;

        /* Hide desktop header extras on mobile/tablet */

    }



    /* Hero Section */

    .hero-home {

        height: auto !important;

        min-height: 661px !important;

        padding-top: 80px;

        /* Space for navbar */

        padding-bottom: 50px;

        background-position: center left !important;

        /* Adjust bg alignment */

    }



    .hero {

        height: auto !important;

        min-height: 600px;

    }



    .hero-left-content {

        align-items: start !important;

        text-align: left !important;

        padding: 0 0px;

        padding-left: 0px !important;

    }



    .hero-title {

        font-size: 40px !important;

        line-height: 1.1 !important;

    }



    .hero-subtitle {

        font-size: 16px !important;

        max-width: 100%;

        margin-top: 20px !important;

        text-align: left;

    }



    .hero-btn-group {

        flex-direction: column;

        width: 100%;

        gap: 15px !important;

    }



    .hero-btn-group .btn {

        width: max-content !important;

        justify-content: center;

    }



    .hero-right-content {

        display: none !important;

    }



    .vertical-text-container {

        display: none !important;

    }



    .social-icon-container {

        display: none !important;

    }



    /* Testimonials */

    .testimonials-section {

        padding: 50px 0;

    }



    .testimonials-title {

        font-size: 32px !important;

        text-align: center;

    }



    /* Testimonial Carousel Mobile Override */

    #testimonialCarousel .carousel-inner {

        display: flex;

        overflow-x: auto !important;

        scroll-snap-type: x mandatory;

        gap: 0;

    }



    #testimonialCarousel .carousel-item {

        display: block !important;

        margin-right: 0 !important;

        flex: 0 0 auto;

        width: auto;

        transition: none !important;

        transform: none !important;

    }



    #testimonialCarousel .row {

        display: flex;

        flex-direction: row;

        flex-wrap: nowrap;

        margin: 0;

        padding: 0;

        overflow: visible;

        /* Let container handle scroll */

    }



    #testimonialCarousel .col-lg-4,

    #testimonialCarousel .col-md-6 {

        flex: 0 0 85vw;

        /* 85% of viewport width */

        max-width: 85vw;

        margin-right: 0px;

        margin-bottom: 0 !important;

        scroll-snap-align: center;

    }



    /* Remove scrollbars */

    #testimonialCarousel .carousel-inner::-webkit-scrollbar {

        display: none;

    }



    #testimonialCarousel .carousel-inner {

        -ms-overflow-style: none;

        scrollbar-width: none;

    }



    .testimonial-card {

        height: 100%;

        padding: 34px 27px;

        /* Ensure equal height */

    }



    .testimonial-quote {

        font-size: 18px !important;

        text-align: center;

    }



    .testimonial-controls,

    .testimonial-carousel-controls {

        display: none !important;

        /* Hide arrows on mobile/tablet */

    }



    /* Footer */

    .newsletter-form.row {

        flex-direction: column;

        text-align: center;

        gap: 10px;

    }



    .footer-main::before {

        background-image: url('../images/footer-shape-moba.svg');

        height: 600px;

    }



    .footer-logo img {

        margin: 0 auto;

    }



    .footer-bottom {

        flex-direction: column;

        text-align: center;

        gap: 15px;

    }



    .footer-bottom-links {

        margin-top: 63px;

    }



    .footer-bottom-links a {

        margin: 0 10px;

    }



    /* Projects Slider Adjustment from previous task */

    .projects-slider-section {

        padding: 40px 0 !important;

        height: auto !important;

        min-height: 800px !important;

    }



    .project-moba-btn {

        z-index: 1;

        position: absolute;

        margin: 0px 10px;

        bottom: 40px;

        width: -webkit-fill-available;

        align-items: center;

    }



    .projects-top-row {

        flex-direction: row;

        align-items: end !important;

        text-align: center;

        margin-bottom: 27px !important;

    }



    .project-content-middle {

        text-align: center !important;

    }



    .project-title {

        font-size: 46px !important;

        margin-bottom: 20px !important;

        text-align: left;

    }



    .slider-controls {

        gap: 27px;

    }



    .project-location {

        font-size: 20px;

        text-align: left;

    }



    .prev-project-btn {

        height: 60px !important;

        width: 60px !important;

    }



    .project-stats-value {

        font-size: 20px;

    }



    .slider-arrow {

        height: 48px;

        width: 48px;

    }



    .project-stats-row {

        margin-top: 20px;

        padding-top: 0px;

        padding: 0px 20px;

    }



    .project-stats-item {

        margin-bottom: 20px;

        text-align: center !important;

    }



    .sector-section {

        padding: 0px 10px;

        gap: 10px;

    }



    .sector-card {

        height: 113px;

    }



    .sector-icon {

        width: 43px;

        margin-bottom: 5px;

    }



    .sector-icon-2 {

        height: 31px;

    }



    .sector-title {

        font-size: 16px;

    }



    .btn-custom {

        font-size: 14px !important;

        padding: 18px 25px 18px 25px !important;

        width: 100%;

        justify-content: center;

    }



    .services-label {

        font-size: 16px;

        padding: 7px 20px;

    }



    .services-title {

        font-size: 36px;

    }



    .services-container {

        padding: 0px 10px;

    }



    .services-container::before {

        width: 194.38px;

        top: -106px;

        height: 369.7px;

    }



    .service-name {

        font-size: 24px;

    }



    .service-description {

        font-size: 16px;

    }



    /* Mobile Service Image - Show on Hover/Active */

    .mobile-service-img {

        display: none;

        width: 100%;

        margin-top: 15px;

        margin-bottom: 5px;

        overflow: hidden;

        transition: all 0.3s ease;

    }



    .service-item:hover .mobile-service-img,

    .service-item.active .mobile-service-img {

        display: block;

        animation: fadeIn 0.3s ease;

    }



    @keyframes fadeIn {

        from {

            opacity: 0;

        }



        to {

            opacity: 1;

        }

    }



    .mobile-service-img img {

        width: 100%;

        height: auto;

        object-fit: cover;

        display: block;

    }



    /* Adjust service item padding for cleaner look on mobile */

    .service-item {

        padding: 20px 0;

    }



    .service-description,

    .service-name {

        width: 90%;

    }



    .service-item.active .service-arrow-container {

        position: absolute;

        top: 22px;

        right: 0;

    }



    .service-list-container {

        padding-left: 0px;

    }



    .service-item.active {

        border-bottom: 0px;

    }



    .service-item.active .mobile-service-img {

        border-top: 2px solid #762828;

    }



    .services-container::after {

        display: none;

    }



    .cta-box {

        width: 100%;

        margin-top: 45px;

    }



    .cta-sub-text,

    .cta-main-text {

        font-size: 30px;

    }



    .why-us-section {

        margin-top: 61px;

        margin-bottom: 36px;

        padding-left: 0px;

        padding-right: 0px;

    }



    .why-us-section-left {

        padding: 30px 20px;

    }



    .why-us-list li,

    .why-us-desc {

        font-size: 16px;

    }



    .why-us-title {

        font-size: 36px;

    }





    .services-header-row {

        flex-direction: column;

    }



    .services-right-col-btn {

        padding-top: 0px;

    }



    .parallax-stats-section .gap-5 {

        gap: 0px !important;

        padding-top: 0px !important;

    }



    .stat-number {

        font-size: 60px;

    }



    .stat-desc {

        font-size: 20px;

    }



    .stat-item {

        flex: 0 0 50%;



    }



    .stat-item:nth-child(3),

    .stat-item:nth-child(4) {

        border-top: 0px;

        padding-bottom: 25px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.5);

    }



    .management-section {

        padding: 38px 0px 63px 0px;

    }



    .management-title {

        font-size: 36px;

        margin-bottom: 10px;

    }



    .news-hub-section {

        padding-top: 57px;

        padding-bottom: 50px;

    }



    .news-hub-subtitle {

        font-size: 18px;

        margin-bottom: 16px;

    }



    .featured-content-col {

        padding: 15px 21px 23px 21px;

    }



    .news-card-content {

        padding: 18.5px 27px 31px 27px;

    }



    .news-footer-container {

        margin-top: 30px;

    }



    .footer-newsletter {

        padding: 63px 0px 56px 0px;

    }



    .newsletter-title {

        font-size: 32px;

        text-align: left;

    }



    .newsletter-desc {

        font-size: 18px;

        text-align: left;

        margin-bottom: 16px;

    }



    .footer-contact {

        padding: 41px 0px 64px 0px;

    }



    .contact-title {

        font-size: 50px;

        margin-bottom: 15px;

    }



    .btn-contact {

        margin-bottom: 30px;

    }



    .footer-label {

        margin-bottom: 15px;

    }



    .partners-section {

        padding: 31px 0px 39px;

    }



    .partners-section .row {

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 18px;

    }



    .partners-section .row .col-6 {

        width: 100%;

    }



    .about-shape-1::before {

        width: 100px;

        height: 245px;

    }



    .began-section {

        margin-top: 20px;

    }



    .began-card {

        padding: 20px 10px;

        background-color: #762828;

        margin-bottom: 15px;

    }



    .value-col-right .d-flex.gap-3 {

        flex-direction: column;

    }



    .team-nav-group {

        display: none;

    }



    .about-shape-2::before {

        width: 100px;

        height: 240px;

    }



    .about-shape-2 {

        margin-top: 0px;

    }



    .italk-section {

        padding: 0px 0px 60px 0px;

    }



    .help-card-col {

        margin-bottom: 10px;

    }



    .home-projects-details {

        background-size: cover;

    }



    .home-projects-details::after,

    .home-hub-detail::after,

    .home-accreditations::after {

        display: block;

    }



    .home-projects-details .hero-title,

    .home-projects-details .hero-subtitle {

        color: #fff;

    }



    .brief-section {

        margin: 20px 0px 50px 0px;

    }



    .brief-right-col img {

        width: 100%;

    }



    .brief-left-col {

        padding-right: 0px !important;

    }



    .brief-right-col {

        margin-bottom: 20px;

    }



    .project-d-col {

        flex-direction: column-reverse;

        --bs-gutter-x: 0;

    }



    .client-section {

        padding: 40px 0px 50px 0px;

    }



    .home-projects-details .hero-title,

    .home-projects-details .hero-subtitle {

        max-width: 100%;

    }



    .shape-new-right::before {

        top: -300px;

        width: 200px;

        height: 620px;

    }



    .hub-section .nav-pills .nav-link {

        white-space: nowrap;

    }



    .hub-section {

        padding-top: 20px;

        padding-bottom: 60px;

    }



    .home-hub-detail {

        background-size: cover;

    }



    .home-hub-detail .hero-title,

    .home-accreditations .hero-title,

    .home-hub-detail .hero-subtitle-20 {

        color: #fff;

    }



    .home-accreditations {

        background-position: right top;

    }



    .accreditations-section {

        padding: 20px 0px 50px 0px;

    }



    .contact-shape-1::before {

        width: 100%;

    }



    .deliveries-img {

        width: 100%;

    }



    .contact-bottom {

        flex-direction: column;

        justify-content: center;

        align-items: center !important;

        width: 100%;

        margin-top: 20px !important;

        gap: 10px !important;

    }



    .contact-bottom div {

        width: 100%;

    }



    .contact-form-input,

    .contact-form-textarea {

        margin-bottom: 15px;

        padding: 20px 13px;

    }



    .navbar-main.navbar-scrolled .navbar-nav {

        border-left: 0px;

    }



    .navbar-nav .nav-link {

        transition: none

    }





    .nav-arrow {

        position: absolute;

        left: auto;

        transform: none;

        right: -15px;

        bottom: auto;

    }



    .navbar-nav {

        height: auto;

    }



    .newsletter-form .form-control {

        margin-bottom: 10px;

    }



    .btn-signup {

        min-width: 188px;

        width: auto;

    }



    .footer-info-col {

        width: 100%;

    }



    .contact-us {

        margin: 20px 0px 30px 0px;

    }



    .contact-us .row {
        flex-direction: column-reverse;
    }
    .contact-form-input, .contact-form-textarea{
        margin-bottom: 15px;
    }

}



@media (max-width: 576px) {

    .navbar-brand img {

        height: 60px;
        width: 190px;

    }
    .sector-section{
        margin-top: 10px;
    }
        .why-us-title {
        font-size: 40px;
    }
    .why-us-section{
        margin-bottom: 0px;
        padding-bottom: 50px;
        background-color: #fff;
    }

        .stat-desc {
        font-size: 14px;
    }
     .stat-number {

        font-size: 42px;

    }
    .management-section{
        padding: 37px 0px 44px 0px;
    }
    .management-footer-btn-container {
    margin-top: 20px;
}
.testimonials-title{
    margin-bottom: 25px;
}
    .newsletter-form .form-control {
        margin-bottom: 0px;
    }
    .footer-newsletter .col-lg-2{
        margin-top: -10px !important;
    }
    .footer-text{
        width: 74%;
    }
    p.footer-text br:first-child{
        display: none;
    }
    .home-about .hero-left-content{
        margin-top: 60px;
    }
    .page-template-templatesabout-us-php .began-section {
        margin-top: 30px;
    }
     .page-template-templatesabout-us-php .began-section .row.mt-5{
        margin-top: 5px !important;
    }
    .began-card {
                padding: 20px 20px 20px 30px;
    }
            .team-controls-row {
        flex-direction: column;
       display: flex;
        align-items: end;
    }
    .team-nav-group{
        display: flex ;
    }
    .services-header-row{
            margin-top: 30px !important;
                margin-bottom: 0px;
    }
    .deliveries-section{
        margin-top: 30px;
    }     

    .partners-section img, .italk-logo-bottom, .accreditation-logo, .partner-logo {
      filter: brightness(1);
    }

}



@media (max-width: 391px) {

    .stat-number {

        font-size: 42px;

    }



    .project-content-middle {

        width: auto;

    }

}


/* Zoom 110% */
@media (min-width: 1300px) and (max-width: 1499px) {
  .navbar-brand img{
        width: 277px;
  }
  .services-title{
    font-size: 50px;
  }
  .why-us-section-left{
    padding: 50px 30px;
  }
   .why-us-title{
    font-size: 45px;
  }
  .stat-number {
    font-size: 90px;
  }
  .stat-desc {
    font-size: 26px;
}
.home-projects-details{
    background-size: 62%;
}
.home-hub-detail{
      background-size: 70% 100%;
}
.home-hub-detail .hero-title{
    font-size: 55px;
}
.contact-info-col .contact-info-title{
        font-size: 38px;
}
.deliveries-img {
    width: 90%;
}
}

/* Zoom 125% */
@media (min-width: 1200px) and (max-width: 1395px) {
   .navbar-brand img{
        width: 277px;
  }
   .services-title{
    font-size: 40px;
  }
    .why-us-section-left{
    padding: 50px 30px;
  }
  .why-us-title{
    font-size: 38px;
  }
    .stat-number {
    font-size:75px;
  }
  .stat-desc {
    font-size: 20px;
}
.home-projects-details{
    background-size: 62%;
}
.home-hub-detail{
      background-size: 70% 100%;
}
.home-hub-detail .hero-title{
    font-size: 55px;
}
.contact-info-col .contact-info-title{
        font-size: 38px;
}
.deliveries-img {
    width: 90%;
}
}