/* Responsive CSS Document */

/* 
    Created on   : 23/05/2018.
    Theme Name   : Charles-Business-Consulting HTML Template.
    Version      : 1.0.
    Author       : @CreativeGigs.
    Developed by : Jubayer al hasan. (jubayer.hasan1991@gmail.com)
   
*/

@media (min-width: 992px) {
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 1199px) {
  .feature-banner .opacity h2 {padding: 0;}
  .theme-footer-two .top-footer .footer-gallery .wrapper {padding-right: 0;}
  .shop-details .product-details .product-info {padding-left: 0;}
}
/*(max-width: 1199px)*/

@media (min-width: 992px) and (max-width: 1199px) {
  .top-feature .main-content {padding-left: 10%;padding-right: 10%;}
  .header-one .top-header .address-wrapper .address:first-child {margin-right: 20px;}
  .header-one .top-header .address-wrapper .address {padding-right: 20px;}
  #mega-menu-holder>ul> li> a {padding-right: 25px;padding-left: 15px;}
  .header-one .theme-menu-wrapper .bg-wrapper {padding-left: 15px;}
  .theme-menu-wrapper .right-widget .cart-icon {margin-left: 15px;}
  .testimonial-section .wrapper {width: 65%;}
  .header-two .theme-menu-wrapper .bg-wrapper {padding-left: 215px;}
  .callout-banner p {width: 52%;}
  .callout-banner .theme-button-one {margin-top: 40px;}
  .our-solution .single-solution-block p {padding: 0;}
  .faq-section .wrapper .faq-content {padding-left: 30px;}
  .why-choose-us .single-block {padding-left: 75px;}
  .why-choose-us .single-block .icon {font-size: 55px;}
  .short-banner .overlay h2 {width: 80%;}
  .why-we-best .wrapper .best-list-item {padding-top: 20px;padding-bottom: 29px;}
  .blog-details .single-blog .post-meta .mark-text .inner-text {padding-top: 60px;}
  .blog-details .single-blog .post-meta .mark-text .inner-text:before {top:0;}
}
/*(min-width: 992px) and (max-width: 1199px)*/

@media (max-width: 991px) {
  #mega-menu-holder>ul> li.has-submenu> a {padding-right: 52px;}
  .section-spacing,.faq-section,.why-we-best,.error-page {margin-bottom: 80px;}
  .top-feature .main-content {padding: 30px 15px;}
  .header-one .logo {width: 100%;text-align: center;margin-bottom: 20px;}
  .header-one .top-header {padding-top: 25px;}
  .header-one .top-header .address-wrapper .address .icon {font-size: 30px;}
  .header-one .top-header .address-wrapper .address {padding: 0 20px 0 45px;margin-right: 0;}
  .header-one .theme-menu-wrapper .bg-wrapper {padding-left:0;}
  .header-one .menu-wrapper,.header-two .menu-wrapper {position: absolute;width: 100%;left:0;top:0;z-index: 9;}
  .theme-menu-wrapper .right-widget ul li {line-height: 60px;}
  .theme-menu-wrapper .right-widget {position: relative;z-index: 99;}
  #mega-menu-holder>ul> li> a:before {display: none;}
  #mega-menu-holder>ul> li> a {color: #555555;}
  #mega-menu-holder>ul> li.active > a, #mega-menu-holder>ul> li:hover > a,
  #mega-menu-holder>ul> li.active > .sub-toggle, #mega-menu-holder>ul> li:hover > .sub-toggle {color: #001a57;}
  .about-compnay img {display: none;}
  .service-style-one .contact-text {padding-top: 15px;}
  .service-style-one .contact-text h4 {font-size: 22px;}
  .testimonial-section .wrapper,.cunter-wrapper {width: 100%;}
  .testimonial-section .overlay {padding: 75px 0;}
  .theme-counter {padding: 0;}
  .consultation-form .img-box {height: 250px;}
  .consultation-form .form-wrapper {height: auto;padding: 40px 20px;}
  .theme-footer-one .top-footer [class*="col-"],.theme-footer-two .top-footer [class*="col-"] {margin-bottom: 60px;}
  .theme-footer-one .top-footer {padding: 60px 0 0 0;}
  .header-one .theme-menu-wrapper {margin-bottom: -31px;}
  .theme-menu-wrapper .right-widget .cart-icon a span {top:16px;}
  .header-two .theme-menu-wrapper .bg-wrapper .logo {left:50%;-webkit-transform:translate(-50% , -50%);transform:translate(-50% , -50%);}
  .header-two .theme-menu-wrapper .bg-wrapper {padding-left: 0;}
  .header-two .theme-menu-wrapper .right-widget ul li {line-height: 70px;}
  .header-two .theme-menu-wrapper .right-widget .cart-icon a span {top:20px;}
  .header-two .collapse-button .icon-bar {background: #001a57;}
  .header-two .menu-collapser {margin: 22px 0;}
  .header-two #mega-menu-holder>ul> li> a {padding-top: 0;padding-bottom: 0;}
  .header-two #mega-menu-holder li .sub-toggle {line-height: 40px;}
  .callout-banner,.callout-banner.no-bg .title {text-align: center;}
  .callout-banner .title,.callout-banner p {width: 100%;float: none;}
  .callout-banner p {padding: 20px 0;}
  .callout-banner p:before {display: none;}
  .callout-banner .theme-button-one {float: none;}
  .about-compnay-two .overlay,.core-values {padding: 60px 0;}
  .about-compnay-two .quote-form {margin-top: 40px;}
  .faq-section,.faq-section .overlay,.why-we-best,.why-we-best .overlay {height: auto;}
  .faq-section .overlay,.why-we-best .overlay {padding: 60px 0;}
  .faq-section .wrapper .video-box,.why-we-best .wrapper .img-box,.contact-us-section .img-box {height: 350px;border-radius: 5px 5px 0 0;}
  .faq-section .wrapper .faq-content,.why-we-best .wrapper .best-list-item,.contact-us-section .form-wrapper {border-radius: 0 0 5px 5px;}
  .short-banner .overlay h2 {width: 100%;}
  .theme-footer-two {padding-top: 60px;}
  .theme-footer-two .bottom-footer,.theme-footer-two .top-footer .title {margin-top: 0;}
  .theme-inner-banner .overlay {padding: 80px 0 60px 0;}
  .about-compnay-two .left-img {margin-top:20px;width: 100%;}
  .shop-details .product-details .product-info {padding-top: 40px;}
  .theme-sidebar-one,.blog-sidebar {margin-top: 60px;}
  .contact-us-section .form-wrapper {height: auto;}
  #theme-main-banner .camera_pag {left:2px;}
} 
/*(max-width: 991px)*/

@media (min-width: 768px) and (max-width: 991px) {
  .header-one .top-header .address-wrapper .address:first-child {margin-right: 20px;}
  .feature-banner .opacity h2 {font-size: 38px;line-height: 50px;}
  /* Tablet-specific card layout for Solutions section */
  .service-style-one .single-service {
    padding-left: 0;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
  }
  .service-style-one .single-service .img-box {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 0;
    margin: 0;
  }
  .service-style-one .single-service .text {
    border: none;
    padding: 22px 24px 28px;
  }
  .service-style-one .single-service .text p {
    padding-bottom: 14px;
  }
  .service-style-one .single-service .text .read-more {
    font-size: 15px;
  }
  .theme-footer-one .bottom-footer ul li a {margin-left: 20px;}
  .blog-details .single-blog .post-meta .mark-text .inner-text {padding-top: 80px;}
  .blog-details .single-blog .post-meta .mark-text .inner-text:before {top:10px;}
  #theme-main-banner {height: 600px !important;}
}
/*(min-width: 768px) and (max-width: 991px)*/

@media (max-width: 767px) {
  .header-one .top-header {padding-bottom: 0;}
  .header-one .top-header .address-wrapper {display: none;}
  .testimonial-section .wrapper .bg {padding-left: 15px;padding-right: 15px;}
  .theme-footer-one .bottom-footer,.theme-footer-one .bottom-footer ul {text-align: center;}
  .theme-footer-one .bottom-footer ul li a {margin: 2px 10px;}
  .our-solution .single-solution-block p {padding: 0;}
  .about-compnay-two .text p {padding-right: 0;}
  .faq-section .wrapper .faq-content {padding: 40px 15px;}
  .faq-section .wrapper .video-box {height: 280px;}
  .short-banner .overlay h2 {font-size: 38px;}
  .google-map-one {height: 250px;}
  .why-we-best .wrapper .best-list-item {padding: 40px 15px 44px 15px;}
  .core-values .single-value-block .text {padding-left: 15px;padding-right: 15px;}
  .shop-page .shop-filter {margin-bottom: 35px;}
  .theme-pagination ul {padding-top: 10px;}
  .shop-details .product-review-tab {margin: 60px 0 55px 0;padding-left: 10px;padding-right: 10px;}
  .shop-details .related-product {margin-bottom: 10px;}
  .service-details .service-content .market-growth img {display: none;}
  .project-details-sidebar {margin-bottom: 60px;}
  .blog-details .single-blog .post-meta .mark-text .inner-text {padding-top: 70px;}
  .blog-details .single-blog .post-meta .mark-text .inner-text:before {top:10px;} 
  .contact-us-section .form-wrapper {padding: 40px 15px;}
  .google-map-two {height: 300px;}
  .faq-section .wrapper .video-box {height: 240px;}
  #theme-main-banner .camera_caption h1 br {display: none;}
  .error-page input {width: 100%;margin-top: 20px;}
}
/*(max-width: 767px)*/

@media (min-width: 576px) and (max-width: 767px) {
  .header-two .top-header .social-icon li:first-child {margin-left: 0;}
  .our-case .single-case-block .hover-content .text {padding: 0;}
  #theme-main-banner {height: 500px !important;}
  #theme-main-banner .camera_caption p {font-size: 20px;}
  #theme-main-banner .camera_caption h1 {font-size: 50px;line-height: 60px;}
  /* Ensure full banner height and proper image display */
  #theme-main-banner {height: 500px !important;}
  #theme-main-banner .camera_wrap, #theme-main-banner > div {height: 500px !important;}
}
/*(min-width: 576px) and (max-width: 767px)*/

@media (max-width: 575px) {
  .theme-inner-banner .overlay h2 {font-size: 35px;}
  .header-one .theme-menu-wrapper {background: #000f32;}
  .header-one .menu-collapser {margin-left: 0;}
  .theme-menu-wrapper .right-widget .search-option .dropdown-toggle {text-align: right;width: 25px;}
  .theme-menu-wrapper .right-widget .cart-icon {width: 42px;margin-left: 10px;}
  .theme-title-one h2 {font-size: 30px;padding-bottom: 18px;}
  .section-spacing {margin-bottom: 60px;}
  .about-compnay .mission-goal li h4 {font-size: 18px;}
  .about-compnay .mission-goal li .icon {font-size: 35px;}
  .feature-banner .opacity h2 {font-size: 35px;line-height: 45px;}
  .feature-banner .opacity,.testimonial-section .overlay,.theme-counter .bg {padding: 60px 0;}
  .service-style-one .contact-text h5:before {display: none;}
  .testimonial-section .wrapper p {font-size: 18px;line-height: 27px;font-weight: normal;}
  .theme-counter h2 {font-size: 38px;}
  .single-counter-box .number {font-size: 25px;}
  .single-counter-box .number .timer {font-size: 50px;}
  .single-counter-box p {margin-top: -5px;}
  .partner-section h6 {text-align: center;margin:0 0 35px 0;}
  .partner-section h6 br {display: none;}
  .theme-footer-one .top-footer .title {margin-bottom: 15px;}
  .theme-footer-one .top-footer [class*="col-"],.theme-footer-two .top-footer [class*="col-"] {margin-bottom: 50px;}
  /* Better mobile header layout */
  .header-two .top-header {padding: 8px 0;}
  .header-two .top-header,.header-two .top-header .social-icon {text-align: center;}
  .header-two .top-header .left-widget {display: flex; flex-direction: column; align-items: center; gap: 8px;}
  .header-two .top-header .left-widget li {
    margin: 0; 
    font-size: 13px;
    line-height: 1.4;
    padding: 4px 0;
  }
  .header-two .top-header .social-icon {margin-top: 8px;}
  .header-two .top-header .social-icon li {margin: 0 8px;}
  #polyglotLanguageSwitcher {margin: 0; width: 100%; max-width: 180px;}
  #polyglotLanguageSwitcher select {font-size: 13px; padding: 4px 8px;}
  .about-compnay-two .quote-form {padding: 25px 15px 30px 15px;}
  .our-case .single-case-block .hover-content .text {padding: 0 15px;}
  .our-case .view-all {margin-top: 35px;}
  .why-we-best .wrapper .best-list-item li {padding-left: 55px;margin-bottom: 45px;}
  .why-we-best .wrapper .best-list-item li .icon {font-size: 42px;}
  .shop-page .single-product .image-box {min-height: 270px;padding: 0 5px;}
  .shop-page .single-product .product-name h5 {font-size: 20px;}
  .shop-details .product-details .product-tab .product-thumbnail {width: 40%;height: 290px;}
  .shop-details .product-details .product-tab .product-preview {width: 60%;height: 290px;}
  .shop-details .product-details .product-tab {min-height: 290px;}
  .shop-details .product-details .product-info .title {font-size: 22px;}
  .blog-details .share-option ul {width: 100%;}
  #theme-main-banner {height: 450px !important; min-height: 450px;}
  #theme-main-banner .camera_wrap, #theme-main-banner > div {height: 450px !important; min-height: 450px;}
  #theme-main-banner .camera_caption p {font-size: 16px; font-weight: 600;}
  #theme-main-banner .camera_caption h1 {font-size: 32px;line-height: 42px;padding: 12px 0 18px 0;}
  /* Ensure images cover full area properly */
  .camera_src {background-size: cover !important; background-position: center center !important;}
}
/*(max-width: 575px)*/

/* Responsive heights for our-case cards so images don't alter layout */
@media (max-width: 991px) {
  /* Tablet */
  .our-case .single-case-block { height: 260px; }
}
@media (max-width: 575px) {
  /* Mobile */
  .our-case .single-case-block { height: 180px; }
}

/* Responsive heights for team member images to maintain consistent layout */
@media (max-width: 991px) {
  /* Tablet: slightly shorter image boxes */
  .our-team .team-member .image-box { 
    height: 360px;
  }
  .our-team .team-member .text {
    padding: 18px 12px;
  }
  .our-team .team-member .text h6 {
    font-size: 17px;
  }
  .our-team .team-member .text span {
    font-size: 14px;
  }
  /* Bio Modal Tablet */
  .bio-modal .left {
    flex: 0 0 350px;
  }
  .bio-modal .right {
    padding: 32px;
  }
  .bio-modal h3 {
    font-size: 24px;
  }
  .bio-modal .bio-section {
    padding: 18px;
  }
}
@media (max-width: 767px) {
  /* Small tablets and large phones */
  .our-team .team-member .image-box { 
    height: 380px;
  }
  .our-team .team-member .overlay .hover-content ul li a {
    width: 44px;
    height: 44px;
    line-height: 40px;
    font-size: 16px;
  }
  /* Bio Modal Mobile Landscape */
  .bio-modal-content {
    flex-direction: column;
    max-width: 600px;
    max-height: calc(100vh - 20px);
  }
  .bio-modal .left {
    flex: 0 0 auto;
    height: 320px;
  }
  .bio-modal .right {
    padding: 28px;
    max-height: calc(60vh);
  }
  .bio-close {
    right: 16px;
    top: 16px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .bio-modal h3 {
    font-size: 22px;
  }
  .bio-modal h5 {
    font-size: 14px;
  }
  .bio-modal .bio-section {
    padding: 16px;
    margin-top: 18px;
  }
  .bio-modal .bio-section h6 {
    font-size: 15px;
  }
  .bio-contact .icons a {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  /* Mobile: taller to accommodate narrower containers */
  .our-team .team-member .image-box { 
    height: 400px;
    border-radius: 14px 14px 0 0;
  }
  .our-team .team-member .text {
    padding: 16px 12px;
    border-radius: 0 0 14px 14px;
  }
  .our-team .team-member .text h6 {
    font-size: 16px;
  }
  .our-team .team-member .text span {
    font-size: 13px;
  }
  .our-team .team-member .overlay {
    border-radius: 14px 14px 0 0;
  }
  .our-team .team-member .overlay .hover-content p {
    font-size: 14px;
    padding: 0 5px;
  }
  /* Bio Modal Mobile Portrait */
  .bio-modal {
    padding: 10px;
  }
  .bio-modal-content {
    border-radius: 16px;
    max-width: 100%;
  }
  .bio-modal .left {
    height: 280px;
  }
  .bio-modal .right {
    padding: 24px 20px;
  }
  .bio-close {
    right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .bio-modal h3 {
    font-size: 20px;
  }
  .bio-modal h5 {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .bio-modal .bio-section {
    padding: 14px;
    margin-top: 16px;
  }
  .bio-modal .bio-section h6 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .bio-modal .bio-section p,
  .bio-modal .bio-section ul li {
    font-size: 14px;
  }
  .bio-contact .icons a {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .bio-contact-form {
    padding: 20px;
  }
  .bio-contact-form input,
  .bio-contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  .bio-contact-form button {
    padding: 12px 24px;
    font-size: 15px;
  }
}
@media (max-width: 400px) {
  /* Very small phones */
  .our-team .team-member .image-box { 
    height: 360px;
    border-radius: 12px 12px 0 0;
  }
  .our-team .team-member .text {
    padding: 14px 10px;
    border-radius: 0 0 12px 12px;
  }
  .our-team .team-member .text h6 {
    font-size: 15px;
  }
  .our-team .team-member .text span {
    font-size: 12px;
  }
  .our-team .team-member .overlay {
    border-radius: 12px 12px 0 0;
  }
  .our-team .team-member .overlay .hover-content ul li a {
    width: 40px;
    height: 40px;
    line-height: 36px;
    font-size: 14px;
  }
  /* Bio Modal Very Small */
  .bio-modal-content {
    border-radius: 14px;
  }
  .bio-modal .left {
    height: 240px;
  }
  .bio-modal .right {
    padding: 20px 16px;
  }
  .bio-modal h3 {
    font-size: 18px;
  }
  .bio-modal h5 {
    font-size: 12px;
  }
  .bio-modal .bio-section {
    padding: 12px;
  }
  .bio-contact .icons a {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  #success, #error {
    width: 86%;
    height: auto;
    top: calc(50% - 50px);
    left: 7%;
    padding: 30px 10px;
  } 
}
@media (max-width: 767px) {
  /* Mobile layout: horizontal card with image + text */
  .service-style-one .single-service {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px;
    padding-left: 16px;
    margin-bottom: 22px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    background: #fff;
  }
  .service-style-one .single-service .img-box {
    position: static;
    flex: 0 0 108px;
    width: 108px;
    height: 108px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
    background: #f3f4f6;
  }
  .service-style-one .single-service .img-box img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  .service-style-one .single-service .text {
    border: none;
    padding: 0;
  }
  .service-style-one .single-service .text h5 {
    margin-bottom: 6px;
  }
  .service-style-one .single-service .text p {
    padding-bottom: 10px;
    line-height: 1.5;
  }
  .service-style-one .single-service .text .read-more {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  /* Extra small mobile optimizations */
  .header-two .top-header {padding: 6px 0;}
  .header-two .top-header .left-widget li {font-size: 12px;}
  .header-two .top-header .social-icon li {margin: 0 6px;}
  .header-two .top-header .social-icon li a {font-size: 14px;}
  #polyglotLanguageSwitcher select {font-size: 12px; padding: 3px 6px;}
  
  /* Banner optimizations */
  #theme-main-banner {height: 420px !important; min-height: 420px;}
  #theme-main-banner .camera_wrap, #theme-main-banner > div {height: 420px !important;}
  #theme-main-banner .camera_caption h1 {font-size: 28px; line-height: 38px;}
  #theme-main-banner .camera_caption p {font-size: 14px;}
  
  /* Solutions section */
  .service-style-one .single-service {
    gap: 14px;
    padding: 14px;
    border-radius: 10px;
  }
  .service-style-one .single-service .img-box {
    flex-basis: 96px;
    width: 96px;
    height: 96px;
    border-radius: 9px;
  }
  .service-style-one .single-service .img-box img {
    border-radius: 9px;
  }
  .service-style-one .single-service .text h5 {font-size: 18px;}
  .service-style-one .single-service .text p {padding-bottom: 5px; font-size: 15px;}
  .shop-page .shop-filter {text-align: center;}
  .shop-page .shop-filter li,.project-details .project-details-sidebar .project-history li {width: 100%;}
}
@media (max-width: 380px) {
  .cunter-wrapper [class*="col-"] {max-width: 100%;flex: 0 0 100%;}
}

/* Market-growth images: responsive two-up on md+, stacked on small screens */
.market-growth .image-pairs {margin: 0 -8px}
.market-growth .image-pairs [class*="col-"] {padding-left:8px;padding-right:8px}
.market-growth .market-img {display:block;width:100%;height:auto;max-height:320px;object-fit:contain;background:#fafafa;border-radius:6px;padding:6px}

@media (max-width: 991px) {
  .market-growth .market-img {max-height:260px}
}

@media (max-width: 575px) {
  .market-growth .market-img {max-height:180px;padding:4px}
}

/* Scoped responsive helpers for Investment Service section */
.service-details .cover-img {width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:6px;display:block;margin-bottom:18px}
.service-details .chart {max-width:100%;height:auto;object-fit:contain}
.service-details .quick-highlights .stat{background:#f7f9fc;border-radius:6px;padding:12px;text-align:center;margin-bottom:12px}
.service-details .features-grid .feature{background:#fff;border:1px solid rgba(0,0,0,0.04);padding:18px;border-radius:6px;margin-bottom:12px}
.service-details .process-timeline .timeline{list-style:none;padding-left:0}
.service-details .process-timeline .timeline li{display:flex;gap:12px;align-items:center;padding:8px 0}
.service-details .process-timeline .timeline li .num{background:#061948;color:#fff;border-radius:50%;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.service-sidebar .credibility-box{background:#fff;border:1px solid rgba(0,0,0,0.04);padding:18px;border-radius:6px}
.service-sidebar .cta-box{background:linear-gradient(180deg,#061948,#0b2a60);color:#fff;padding:18px;border-radius:6px;text-align:center}
.service-sidebar .cta-box .theme-button-one{background:#fff;color:#061948;margin-top:10px}
.service-sidebar .sticky-top{position:sticky;top:20px}

@media (max-width: 991px) {
  .service-sidebar .sticky-top{position:static;margin-top:20px}
  .service-details .cover-img {max-height:320px}
}

@media (max-width: 575px) {
  .service-details .cover-img {max-height:220px}
  .service-details .quick-highlights .stat{font-size:14px;padding:10px}
  .service-details .features-grid .feature{padding:12px}
}

/* Responsive partner section layout */
@media (max-width: 991px) {
  /* Tablet: smaller partner logo boxes */
  .partner-section .partner-slider .item {
    width: 120px;
    height: 85px;
  }
}

@media (max-width: 767px) {
  /* Mobile: stack partner logos in two columns */
  .partner-section .partner-slider {
    gap: 15px;
  }
  .partner-section .partner-slider .item {
    width: 130px;
    height: 90px;
  }
}

@media (max-width: 575px) {
  /* Small mobile: adjust for narrow screens */
  .partner-section .partner-slider .item {
    width: 140px;
    height: 95px;
  }
}

@media (max-width: 400px) {
  /* Very small phones: larger boxes for better visibility */
  .partner-section .partner-slider {
    gap: 12px;
  }
  .partner-section .partner-slider .item {
    width: 160px;
    height: 100px;
  }
}

/* Blog page specific responsive improvements */
@media (max-width: 991px) {
  .blog-inner-page .projects-grid {
    margin-top: 0;
  }
  .blog-inner-page .our-blog {
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  /* Improve blog page spacing on tablets */
  .blog-inner-page .section-spacing {
    margin-bottom: 60px;
  }
  .theme-inner-banner .overlay h2 {
    font-size: 36px;
  }
  /* Better pagination on mobile */
  .theme-pagination ul li a {
    width: 42px;
    line-height: 40px;
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  /* Small mobile optimizations */
  .blog-inner-page .section-spacing {
    margin-bottom: 50px;
  }
  .theme-inner-banner .overlay {
    padding: 70px 0 50px 0;
  }
  .theme-inner-banner .overlay h2 {
    font-size: 32px;
  }
  /* Smaller pagination buttons */
  .theme-pagination ul {
    padding-top: 25px;
  }
  .theme-pagination ul li a {
    width: 38px;
    line-height: 36px;
    font-size: 14px;
    margin: 0 2px;
  }
}

@media (max-width: 400px) {
  /* Very small phones - optimize every pixel */
  .theme-inner-banner .overlay h2 {
    font-size: 28px;
  }
  .theme-pagination ul li a {
    width: 36px;
    line-height: 34px;
  }
}

/* ==========================================
   MODERN SERVICE PAGE RESPONSIVE
============================================ */

/* Tablet & Small Desktop */
@media (max-width: 991px) {
  .services-hero-banner {
    padding: 80px 0 60px 0;
  }
  .services-hero-banner h1 {
    font-size: 40px;
  }
  .services-hero-banner p {
    font-size: 17px;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  .service-card .service-content {
    padding: 30px 25px;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .process-step::after {
    display: none;
  }
  .benefits-content {
    padding-left: 0;
    margin-top: 40px;
  }
  .benefits-content h2 {
    font-size: 36px;
  }
  .section-intro h2 {
    font-size: 36px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .services-hero-banner {
    padding: 60px 0 50px 0;
  }
  .services-hero-banner h1 {
    font-size: 32px;
  }
  .services-hero-banner p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .services-hero-banner .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .services-hero-banner .cta-buttons a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card .service-image {
    height: 220px;
  }
  .service-card .service-content {
    padding: 25px 20px;
  }
  .service-card h3 {
    font-size: 22px;
  }
  .service-card .icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .service-card .icon-wrapper i {
    font-size: 28px;
  }
  .our-process-section {
    padding: 60px 0;
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .process-step .step-number {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
  .benefits-image {
    margin-bottom: 30px;
  }
  .benefits-image .experience-badge {
    width: 100px;
    height: 100px;
    bottom: 20px;
    right: 20px;
  }
  .benefits-image .experience-badge .number {
    font-size: 30px;
  }
  .benefits-image .experience-badge .text {
    font-size: 11px;
  }
  .benefits-content h2 {
    font-size: 32px;
  }
  .benefit-item {
    gap: 15px;
  }
  .benefit-icon {
    width: 50px;
    height: 50px;
  }
  .benefit-icon i {
    font-size: 22px;
  }
  .benefit-text h5 {
    font-size: 17px;
  }
  .services-cta-section {
    padding: 60px 0;
  }
  .services-cta-section .overlay {
    padding: 50px 0;
  }
  .services-cta-section h2 {
    font-size: 32px;
  }
  .services-cta-section p {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .services-cta-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .services-cta-section .cta-buttons a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .section-intro {
    margin-bottom: 40px;
  }
  .section-intro h2 {
    font-size: 32px;
  }
  .section-intro p {
    font-size: 16px;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .services-hero-banner h1 {
    font-size: 28px;
  }
  .services-hero-banner p {
    font-size: 15px;
  }
  .service-card .service-image {
    height: 200px;
  }
  .service-card .service-content {
    padding: 20px 18px;
  }
  .service-card h3 {
    font-size: 20px;
  }
  .service-card p {
    font-size: 15px;
  }
  .service-card .service-features li {
    font-size: 14px;
    padding: 8px 0;
  }
  .process-step .step-content h4 {
    font-size: 18px;
  }
  .process-step .step-content p {
    font-size: 14px;
  }
  .benefits-content h2 {
    font-size: 28px;
  }
  .benefits-content > p {
    font-size: 15px;
  }
  .benefit-text h5 {
    font-size: 16px;
  }
  .benefit-text p {
    font-size: 14px;
  }
  .services-cta-section h2 {
    font-size: 28px;
  }
  .services-cta-section p {
    font-size: 16px;
  }
  .section-intro h2 {
    font-size: 28px;
  }
  .section-intro p {
    font-size: 15px;
  }
}

/* Modern services refresh overrides */
@media (max-width: 1199px) {
  .hero-media-card {
    left: 50px;
    width: 78%;
  }
  .service-process .process-timeline {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 991px) {
  .services-hero-banner {
    padding: 90px 0 70px 0;
  }
  .services-hero-copy {
    text-align: center;
    margin-bottom: 40px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-media {
    padding-left: 0;
  }
  .hero-media:before {
    display: none;
  }
  .hero-media-card {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
  }
  .impact-wrapper {
    flex-direction: column;
    gap: 35px;
  }
  .impact-metrics {
    grid-template-columns: repeat(2, minmax(220px,1fr));
  }
  .service-process .process-timeline {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 24px;
  }
  .services-differentiators .differentiator-media {
    margin-bottom: 30px;
  }
  .services-cta .cta-box {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
    gap: 24px;
  }
  .services-cta .cta-actions {
    align-items: center;
  }
}

@media (max-width: 767px) {
  .services-hero-copy h1 {
    font-size: 38px;
  }
  .hero-stats li {
    max-width: 45%;
  }
  .hero-media-image {
    height: 280px;
  }
  .hero-media-card {
    position: relative;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90%;
  }
  .impact-metrics {
    grid-template-columns: 1fr;
  }
  .service-process .process-timeline {
    grid-template-columns: 1fr;
  }
  .process-step:after {
    display: none;
  }
  .services-testimonials .testimonial-card,
  .services-testimonials .partner-showcase {
    margin-bottom: 24px;
  }
}

@media (max-width: 575px) {
  .services-hero-banner {
    padding: 70px 0 60px 0;
  }
  .services-hero-copy h1 {
    font-size: 32px;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  .hero-stats li {
    max-width: 100%;
    text-align: center;
  }
  .hero-media-card {
    width: 100%;
  }
  .services-impact {
    margin: 0;
    border-radius: 22px;
  }
  .services-impact:before {
    inset: 12px;
  }
  .impact-card strong {
    font-size: 28px;
  }
  .services-cta .cta-box {
    padding: 40px 30px;
  }
}

/* Very Small Phones */
@media (max-width: 400px) {
  .services-hero-banner h1 {
    font-size: 24px;
  }
  .service-card .badge {
    font-size: 10px;
    padding: 5px 10px;
  }
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }
  .benefit-icon {
    margin: 0 auto;
  }
}

/* ==========================================
   INVESTMENT SERVICE PAGE RESPONSIVE
============================================ */

/* Tablet & Small Desktop */
@media (max-width: 991px) {
  .investment-hero {
    padding-top: 70px;
    padding-bottom: 60px;
  }
  .investment-hero-copy h1 {
    font-size: 40px;
  }
  .investment-hero-copy {
    text-align: center;
    margin-bottom: 40px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .investment-metrics {
    justify-content: center;
  }
  .investment-hero-media {
    padding-left: 0;
  }
  .investment-hero-media:before {
    display: none;
  }
  .investment-about h2 {
    font-size: 36px;
  }
  .investment-about .lead {
    font-size: 20px;
  }
  .edge-media {
    margin-bottom: 30px;
  }
  .edge-content h2 {
    font-size: 32px;
  }
  .case-study-wrapper {
    padding: 35px;
  }
  .case-study-media {
    margin-bottom: 30px;
  }
  .case-study-content h2 {
    font-size: 30px;
  }
  .testimonial-box {
    padding: 40px 30px;
  }
  .testimonial-text {
    font-size: 20px;
  }
  .investment-final-cta .cta-wrapper {
    padding: 50px 40px;
  }
  .cta-content-box h2 {
    font-size: 36px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .investment-hero {
    padding-top: 60px;
    padding-bottom: 50px;
  }
  .investment-hero-copy h1 {
    font-size: 34px;
  }
  .investment-hero-copy p {
    font-size: 17px;
  }
  .investment-metrics {
    flex-direction: column;
  }
  .investment-metrics li {
    min-width: 100%;
  }
  .investment-about h2 {
    font-size: 32px;
  }
  .investment-about .lead {
    font-size: 19px;
  }
  .investment-about p {
    font-size: 16px;
  }
  .investment-about .key-benefit {
    flex-direction: column;
    text-align: center;
  }
  .focus-card {
    padding: 30px 24px;
    margin-bottom: 20px;
  }
  .focus-card h4 {
    font-size: 19px;
  }
  .edge-content h2 {
    font-size: 28px;
  }
  .edge-item {
    flex-direction: column;
    text-align: center;
  }
  .edge-item .edge-icon {
    margin: 0 auto;
  }
  .model-card {
    margin-bottom: 20px;
  }
  .case-study-wrapper {
    padding: 25px;
  }
  .case-badge {
    bottom: 10px;
    right: 10px;
    padding: 14px 18px;
  }
  .case-badge strong {
    font-size: 26px;
  }
  .case-study-content h2 {
    font-size: 26px;
  }
  .case-study-content p {
    font-size: 16px;
  }
  .case-highlights li {
    font-size: 16px;
  }
  .testimonial-box {
    padding: 35px 25px;
  }
  .testimonial-text {
    font-size: 19px;
  }
  .investment-final-cta .cta-wrapper {
    padding: 40px 30px;
  }
  .cta-content-box h2 {
    font-size: 32px;
  }
  .cta-content-box p {
    font-size: 17px;
  }
  .cta-button-group {
    flex-direction: column;
    align-items: center;
  }
  .cta-button-group a {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .investment-hero {
    padding-top: 50px;
    padding-bottom: 40px;
  }
  .investment-hero-copy h1 {
    font-size: 28px;
  }
  .investment-hero-copy p {
    font-size: 16px;
  }
  .investment-metrics li {
    padding: 14px 18px;
  }
  .investment-metrics li strong {
    font-size: 30px;
  }
  .investment-about h2 {
    font-size: 28px;
  }
  .investment-about .lead {
    font-size: 18px;
  }
  .investment-about p {
    font-size: 15px;
  }
  .investment-about .key-benefit {
    padding: 20px;
  }
  .focus-card {
    padding: 25px 20px;
  }
  .focus-card .focus-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .focus-card h4 {
    font-size: 18px;
  }
  .edge-content h2 {
    font-size: 26px;
  }
  .edge-text h5 {
    font-size: 17px;
  }
  .edge-text p {
    font-size: 15px;
  }
  .model-card {
    padding: 28px 22px;
  }
  .model-card .model-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .model-card h4 {
    font-size: 18px;
  }
  .case-study-wrapper {
    padding: 20px;
  }
  .case-study-content h2 {
    font-size: 24px;
  }
  .case-study-content p {
    font-size: 15px;
  }
  .case-highlights li {
    font-size: 15px;
  }
  .testimonial-box {
    padding: 30px 20px;
  }
  .testimonial-box .quote-icon {
    font-size: 36px;
  }
  .testimonial-text {
    font-size: 18px;
  }
  .testimonial-author h5 {
    font-size: 18px;
  }
  .investment-final-cta .cta-wrapper {
    padding: 35px 20px;
  }
  .cta-content-box h2 {
    font-size: 28px;
  }
  .cta-content-box p {
    font-size: 16px;
  }
}

/* Very Small Phones */
@media (max-width: 400px) {
  .investment-hero-copy h1 {
    font-size: 24px;
  }
  .investment-metrics li strong {
    font-size: 26px;
  }
  .investment-about h2 {
    font-size: 24px;
  }
  .focus-card .focus-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .edge-item .edge-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .model-card .model-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .case-badge strong {
    font-size: 22px;
  }
  .case-study-content h2 {
    font-size: 22px;
  }
  .testimonial-text {
    font-size: 17px;
  }
  .cta-content-box h2 {
    font-size: 24px;
  }
}

/* ==========================================
   CONSTRUCTION SERVICE PAGE RESPONSIVE
============================================ */

@media (max-width: 991px) {
  .construction-video-showcase .video-container,
  .construction-timelapse .video-container {
    margin-top: 30px;
  }
  .timelapse-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .timelapse-content h2 {
    font-size: 32px;
  }
  .gallery-item {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .construction-video-showcase {
    padding-bottom: 60px;
  }
  .construction-timelapse {
    padding-bottom: 60px;
  }
  .timelapse-content h2 {
    font-size: 28px;
  }
  .timelapse-content p {
    font-size: 16px;
  }
  .construction-highlights li {
    font-size: 16px;
  }
  .gallery-item {
    height: 260px;
    margin-bottom: 20px;
  }
  .gallery-content h4 {
    font-size: 20px;
  }
  .gallery-content p {
    font-size: 15px;
  }
  .gallery-content .project-stat {
    font-size: 13px;
    padding: 5px 12px;
  }
  .video-container {
    border-radius: 14px;
  }
}

@media (max-width: 575px) {
  .construction-video-showcase .section-header h2,
  .construction-timelapse .timelapse-content h2 {
    font-size: 26px;
  }
  .construction-video-showcase .section-header p {
    font-size: 15px;
  }
  .timelapse-content p {
    font-size: 15px;
  }
  .construction-highlights li {
    font-size: 15px;
    padding: 10px 0;
  }
  .construction-highlights li i {
    font-size: 18px;
  }
  .gallery-item {
    height: 240px;
  }
  .gallery-content {
    padding: 20px;
  }
  .gallery-content h4 {
    font-size: 19px;
  }
  .gallery-content p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .gallery-overlay {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .timelapse-content h2 {
    font-size: 24px;
  }
  .gallery-item {
    height: 220px;
  }
  .gallery-content h4 {
    font-size: 18px;
  }
  .video-container {
    border-radius: 12px;
  }
}

/* ==========================================
   HOMEPAGE PORTFOLIO RESPONSIVE
============================================ */

@media (max-width: 1199px) {
  .portfolio-grid {
    gap: 28px;
  }
  .portfolio-image {
    height: 260px;
  }
  .portfolio-header h3 {
    font-size: 19px;
  }
}

@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .portfolio-image {
    height: 240px;
  }
  .portfolio-content {
    padding: 20px;
  }
  .portfolio-header h3 {
    font-size: 18px;
  }
  .portfolio-description {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
  .portfolio-card {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .portfolio-image {
    height: 220px;
  }
  .portfolio-badge {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 11px;
  }
  .portfolio-header {
    flex-direction: column;
    gap: 8px;
  }
  .portfolio-category {
    align-self: flex-start;
  }
  .portfolio-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .portfolio-link {
    align-self: flex-start;
  }
  .portfolio-cta {
    margin-top: 40px;
  }
}

@media (max-width: 575px) {
  .portfolio-grid {
    gap: 20px;
  }
  .portfolio-image {
    height: 200px;
  }
  .portfolio-content {
    padding: 18px;
  }
  .portfolio-header h3 {
    font-size: 17px;
  }
  .portfolio-description {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .portfolio-footer {
    padding-top: 12px;
  }
  .meta-item {
    font-size: 12px;
  }
  .portfolio-link {
    font-size: 13px;
  }
  .portfolio-cta .theme-button-one {
    padding: 0 35px;
    line-height: 50px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .portfolio-image {
    height: 180px;
  }
  .portfolio-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 10px;
  }
  .portfolio-header h3 {
    font-size: 16px;
  }
  .portfolio-category {
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* ==========================================
   ABOUT/STORY PAGE RESPONSIVE
============================================ */

/* Tablet & Small Desktop */
@media (max-width: 991px) {
  .story-hero {
    padding: 60px 0;
  }
  .story-hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  .story-hero-content h1 {
    font-size: 40px;
  }
  .story-hero-media {
    padding-left: 0;
  }
  .story-media-card img {
    height: 380px;
  }
  .journey-content {
    padding-left: 0;
    margin-bottom: 40px;
  }
  .journey-video .video-wrapper {
    margin-bottom: 20px;
    padding-bottom: 65%;
  }
  .video-insights {
    justify-content: center;
  }
  .pillar-card {
    margin-bottom: 24px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .story-hero {
    padding: 50px 0;
  }
  .story-hero-content h1 {
    font-size: 34px;
  }
  .story-hero-content .lead {
    font-size: 20px;
  }
  .story-hero-content > p {
    font-size: 16px;
  }
  .story-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .story-cta a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .story-media-card img {
    height: 320px;
  }
  .story-badge {
    bottom: 20px;
    right: 20px;
    padding: 16px 22px;
  }
  .story-badge strong {
    font-size: 30px;
  }
  .journey-block {
    padding-left: 30px;
    margin-bottom: 30px;
  }
  .journey-block h4 {
    font-size: 20px;
  }
  .journey-block p {
    font-size: 15px;
  }
  .journey-video .video-wrapper {
    border-radius: 12px;
    padding-bottom: 60%;
  }
  .video-insights {
    gap: 12px;
  }
  .insight-item {
    flex: 1 1 100%;
  }
  .pillar-card {
    padding: 30px 24px;
  }
  .pillar-icon {
    width: 70px;
    height: 70px;
  }
  .pillar-icon i {
    font-size: 32px;
  }
  .pillar-card h4 {
    font-size: 20px;
  }
  .story-impact {
    padding: 60px 0;
  }
  .stat-number {
    font-size: 48px;
  }
  .impact-stat p {
    font-size: 15px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .value-image {
    height: 200px;
  }
  .value-content {
    padding: 24px;
  }
  .value-content h4 {
    font-size: 20px;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .story-hero {
    padding: 40px 0;
  }
  .story-hero-content h1 {
    font-size: 28px;
  }
  .story-hero-content .lead {
    font-size: 18px;
  }
  .story-hero-content > p {
    font-size: 15px;
  }
  .story-media-card img {
    height: 280px;
  }
  .story-badge {
    bottom: 15px;
    right: 15px;
    padding: 14px 18px;
  }
  .story-badge strong {
    font-size: 26px;
  }
  .story-badge span {
    font-size: 12px;
  }
  .section-header h2 {
    font-size: 30px;
  }
  .section-header p {
    font-size: 16px;
  }
  .journey-block {
    padding-left: 24px;
  }
  .journey-block h4 {
    font-size: 19px;
  }
  .journey-block p {
    font-size: 14px;
  }
  .journey-year {
    font-size: 13px;
    padding: 5px 14px;
  }
  .journey-video .video-wrapper {
    border-radius: 10px;
    padding-bottom: 56.25%;
  }
  .insight-item {
    padding: 10px 16px;
  }
  .insight-item span {
    font-size: 14px;
  }
  .pillar-card {
    padding: 28px 20px;
  }
  .pillar-icon {
    width: 64px;
    height: 64px;
  }
  .pillar-icon i {
    font-size: 28px;
  }
  .pillar-card h4 {
    font-size: 19px;
  }
  .pillar-card p {
    font-size: 15px;
  }
  .story-impact {
    padding: 50px 0;
  }
  .stat-number {
    font-size: 40px;
  }
  .impact-stat p {
    font-size: 14px;
  }
  .value-image {
    height: 180px;
  }
  .value-content {
    padding: 20px;
  }
  .value-number {
    width: 48px;
    height: 48px;
    font-size: 18px;
    top: -24px;
    right: 20px;
  }
  .value-content h4 {
    font-size: 19px;
  }
  .value-content p {
    font-size: 14px;
  }
}

/* Very Small Phones */
@media (max-width: 400px) {
  .story-hero-content h1 {
    font-size: 24px;
  }
  .story-hero-content .lead {
    font-size: 17px;
  }
  .story-media-card img {
    height: 260px;
  }
  .story-badge {
    bottom: 12px;
    right: 12px;
    padding: 12px 16px;
  }
  .story-badge strong {
    font-size: 24px;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .journey-block h4 {
    font-size: 18px;
  }
  .pillar-icon {
    width: 56px;
    height: 56px;
  }
  .pillar-icon i {
    font-size: 24px;
  }
  .stat-number {
    font-size: 36px;
  }
  .value-image {
    height: 160px;
  }
}

/* ==========================================
   CONTACT PAGE RESPONSIVE STYLES
============================================ */

/* Tablet & Small Desktop */
@media (max-width: 991px) {
  .contact-hero {
    padding: 60px 0;
  }
  .contact-hero-content {
    margin-bottom: 40px;
  }
  .contact-hero-content h1 {
    font-size: 40px;
  }
  .contact-hero-image img {
    height: 400px;
  }
  .contact-badge {
    bottom: 20px;
    right: 20px;
    padding: 16px 22px;
  }
  .contact-badge i {
    font-size: 28px;
  }
  .contact-badge strong {
    font-size: 20px;
  }
  .contact-sidebar {
    position: static;
    margin-top: 40px;
  }
  .contact-map-section {
    padding: 60px 0 0 0;
  }
  .google-map-two {
    height: 400px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .contact-hero {
    padding: 50px 0;
  }
  .contact-hero-content h1 {
    font-size: 34px;
  }
  .contact-hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .contact-quick-info {
    gap: 20px;
  }
  .quick-info-item {
    padding: 16px;
    gap: 16px;
  }
  .info-icon {
    width: 48px;
    height: 48px;
  }
  .info-icon i {
    font-size: 20px;
  }
  .info-text a {
    font-size: 16px;
  }
  .info-text p {
    font-size: 15px;
  }
  .contact-hero-image img {
    height: 350px;
  }
  .contact-badge {
    bottom: 16px;
    right: 16px;
    padding: 14px 18px;
    gap: 12px;
  }
  .contact-badge i {
    font-size: 24px;
  }
  .contact-badge strong {
    font-size: 18px;
  }
  .contact-badge span {
    font-size: 12px;
  }
  .contact-form-wrapper {
    padding: 32px 24px;
  }
  .form-header h2 {
    font-size: 28px;
  }
  .form-header p {
    font-size: 15px;
  }
  .modern-form .form-group {
    margin-bottom: 20px;
  }
  .modern-form label {
    font-size: 13px;
  }
  .modern-form input,
  .modern-form select,
  .modern-form textarea {
    padding: 12px 16px;
    font-size: 14px;
  }
  .contact-info-card {
    padding: 28px 24px;
  }
  .contact-info-card h3 {
    font-size: 18px;
  }
  .hours-item {
    padding: 10px 14px;
  }
  .hours-item .day {
    font-size: 14px;
  }
  .hours-item .time {
    font-size: 13px;
  }
  .social-link {
    padding: 12px 16px;
  }
  .social-link i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .social-link span {
    font-size: 14px;
  }
  .emergency-icon {
    width: 56px;
    height: 56px;
  }
  .emergency-icon i {
    font-size: 24px;
  }
  .emergency-number {
    font-size: 20px;
    padding: 10px 24px;
  }
  .map-header h2 {
    font-size: 32px;
  }
  .map-header p {
    font-size: 16px;
  }
  .google-map-two {
    height: 350px;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .contact-hero {
    padding: 40px 0;
  }
  .contact-hero-content h1 {
    font-size: 28px;
  }
  .contact-hero-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .contact-quick-info {
    gap: 16px;
  }
  .quick-info-item {
    padding: 14px;
    gap: 14px;
    flex-direction: row;
  }
  .info-icon {
    width: 44px;
    height: 44px;
  }
  .info-icon i {
    font-size: 18px;
  }
  .info-text span {
    font-size: 12px;
  }
  .info-text a {
    font-size: 15px;
  }
  .info-text p {
    font-size: 14px;
  }
  .contact-hero-image img {
    height: 300px;
  }
  .contact-badge {
    bottom: 12px;
    right: 12px;
    padding: 12px 16px;
    gap: 10px;
  }
  .contact-badge i {
    font-size: 20px;
  }
  .contact-badge strong {
    font-size: 16px;
  }
  .contact-badge span {
    font-size: 11px;
  }
  .contact-form-wrapper {
    padding: 28px 20px;
  }
  .form-header {
    margin-bottom: 24px;
  }
  .form-header h2 {
    font-size: 26px;
  }
  .form-header p {
    font-size: 14px;
  }
  .modern-form .form-group {
    margin-bottom: 18px;
  }
  .modern-form label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .modern-form input,
  .modern-form select,
  .modern-form textarea {
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
  .modern-form textarea {
    min-height: 120px;
  }
  .modern-form button[type="submit"] {
    padding: 14px 28px;
    font-size: 15px;
  }
  .contact-sidebar {
    margin-top: 32px;
  }
  .contact-info-card {
    padding: 24px 20px;
    margin-bottom: 20px;
  }
  .contact-info-card h3 {
    font-size: 17px;
    margin-bottom: 16px;
  }
  .office-hours {
    gap: 12px;
  }
  .hours-item {
    padding: 9px 12px;
  }
  .hours-item .day {
    font-size: 13px;
  }
  .hours-item .time {
    font-size: 12px;
  }
  .social-links {
    gap: 10px;
  }
  .social-link {
    padding: 11px 14px;
    gap: 12px;
  }
  .social-link i {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .social-link span {
    font-size: 13px;
  }
  .emergency-contact {
    padding: 28px 20px;
  }
  .emergency-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }
  .emergency-icon i {
    font-size: 22px;
  }
  .emergency-contact h3 {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .emergency-contact p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .emergency-number {
    font-size: 18px;
    padding: 9px 20px;
  }
  .contact-map-section {
    padding: 50px 0 0 0;
  }
  .map-header {
    margin-bottom: 35px;
  }
  .map-header h2 {
    font-size: 28px;
  }
  .map-header p {
    font-size: 15px;
  }
  .google-map-two {
    height: 300px;
  }
}

/* Very Small Phones */
@media (max-width: 400px) {
  .contact-hero {
    padding: 35px 0;
  }
  .contact-hero-content h1 {
    font-size: 24px;
  }
  .contact-hero-content p {
    font-size: 14px;
  }
  .quick-info-item {
    padding: 12px;
    gap: 12px;
  }
  .info-icon {
    width: 40px;
    height: 40px;
  }
  .info-icon i {
    font-size: 16px;
  }
  .info-text a {
    font-size: 14px;
  }
  .contact-hero-image img {
    height: 260px;
  }
  .contact-badge {
    bottom: 10px;
    right: 10px;
    padding: 10px 14px;
    gap: 8px;
  }
  .contact-badge i {
    font-size: 18px;
  }
  .contact-badge strong {
    font-size: 14px;
  }
  .contact-badge span {
    font-size: 10px;
  }
  .contact-form-wrapper {
    padding: 24px 18px;
  }
  .form-header h2 {
    font-size: 24px;
  }
  .modern-form input,
  .modern-form select,
  .modern-form textarea {
    padding: 10px 12px;
    font-size: 13px;
  }
  .contact-info-card {
    padding: 20px 18px;
  }
  .contact-info-card h3 {
    font-size: 16px;
  }
  .emergency-number {
    font-size: 16px;
    padding: 8px 18px;
  }
  .map-header h2 {
    font-size: 24px;
  }
  .google-map-two {
    height: 280px;
  }
}

/* ==========================================
   PROJECTS PAGE RESPONSIVE STYLES
============================================ */

/* Tablet & Small Desktop */
@media (max-width: 991px) {
  .projects-hero {
    padding: 70px 0 60px 0;
  }
  .projects-hero-content h1 {
    font-size: 42px;
  }
  .projects-hero-content p {
    font-size: 17px;
  }
  .hero-stats {
    gap: 40px;
  }
  .stat-item {
    min-width: 160px;
    padding: 18px 24px;
  }
  .stat-item strong {
    font-size: 36px;
  }
  .projects-filter {
    padding: 24px 0;
  }
  .filter-tabs {
    gap: 12px;
  }
  .filter-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
  .cta-box-projects {
    gap: 30px;
  }
  .cta-content-projects h2 {
    font-size: 32px;
  }
  .cta-content-projects p {
    font-size: 17px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .projects-hero {
    padding: 60px 0 50px 0;
  }
  .projects-hero-content h1 {
    font-size: 36px;
  }
  .projects-hero-content p {
    font-size: 16px;
  }
  .hero-stats {
    gap: 24px;
  }
  .stat-item {
    min-width: 140px;
    padding: 16px 20px;
  }
  .stat-item strong {
    font-size: 32px;
  }
  .stat-item span {
    font-size: 13px;
  }
  .projects-filter {
    padding: 20px 0;
    position: relative;
  }
  .filter-tabs {
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .filter-btn {
    padding: 9px 20px;
    font-size: 13px;
    white-space: nowrap;
  }
  .projects-cta {
    padding: 60px 0;
    margin-top: 60px;
  }
  .cta-box-projects {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .cta-content-projects {
    min-width: 100%;
  }
  .cta-content-projects h2 {
    font-size: 28px;
  }
  .cta-content-projects p {
    font-size: 16px;
  }
  .cta-actions-projects {
    justify-content: center;
    width: 100%;
  }
  .cta-actions-projects a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .projects-hero {
    padding: 50px 0 40px 0;
  }
  .projects-hero-content h1 {
    font-size: 30px;
  }
  .projects-hero-content p {
    font-size: 15px;
  }
  .hero-stats {
    gap: 20px;
    flex-direction: column;
  }
  .stat-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 18px 24px;
  }
  .stat-item strong {
    font-size: 36px;
  }
  .stat-item span {
    font-size: 12px;
  }
  .projects-filter {
    padding: 18px 0;
  }
  .filter-tabs {
    gap: 8px;
    padding: 0 15px 10px;
  }
  .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
  .projects-cta {
    padding: 50px 0;
  }
  .cta-content-projects h2 {
    font-size: 26px;
  }
  .cta-content-projects p {
    font-size: 15px;
  }
  .cta-actions-projects {
    flex-direction: column;
    gap: 16px;
  }
}

/* Very Small Phones */
@media (max-width: 400px) {
  .projects-hero {
    padding: 40px 0 35px 0;
  }
  .projects-hero-content h1 {
    font-size: 26px;
  }
  .projects-hero-content p {
    font-size: 14px;
  }
  .stat-item {
    padding: 16px 20px;
  }
  .stat-item strong {
    font-size: 32px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .cta-content-projects h2 {
    font-size: 24px;
  }
  .cta-content-projects p {
    font-size: 14px;
  }
}

/* ==========================================
   PROJECT DETAIL PAGE RESPONSIVE
============================================ */

@media (max-width: 1199px) {
  .project-hero-content h1 {
    font-size: 64px;
  }
  .project-gallery-strip .strip-item {
    flex: 0 0 35%;
    min-width: 280px;
  }
  .project-gallery-strip img {
    height: 300px;
  }
  .quote-text {
    font-size: 32px;
    padding-right: 20px;
  }
  .overview-copy {
    padding-left: 30px;
  }
  .management-copy {
    padding-right: 20px;
  }
}

@media (max-width: 991px) {
  .project-detail-hero {
    min-height: 85vh;
    background-attachment: scroll;
    width: 100%;
    margin-left: 0;
  }
  .project-hero-content {
    padding: 40px 20px;
  }
  .project-hero-content h1 {
    font-size: 52px;
  }
  .project-hero-content p {
    font-size: 20px;
  }
  .project-hero-badge {
    padding: 10px 26px;
    font-size: 11px;
    letter-spacing: 2px;
  }
  .project-quote-section,
  .project-overview-section,
  .project-management-section {
    padding: 80px 0;
  }
  .quote-text {
    margin-bottom: 30px;
    padding-right: 0;
  }
  .overview-copy {
    padding-left: 0;
    margin-top: 40px;
  }
  .overview-gallery .gallery-large img {
    height: 360px;
  }
  .overview-gallery .gallery-grid img {
    height: 180px;
  }
  .management-copy {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .project-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-gallery-strip img {
    height: 300px;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .spec-card {
    padding: 32px 24px;
  }
  .project-gallery-strip .strip-item {
    flex: 0 0 45%;
    min-width: 260px;
  }
  .project-gallery-strip img {
    height: 280px;
  }
  .project-detail-cta {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .project-detail-hero {
    min-height: 70vh;
  }
  .project-hero-content {
    padding: 30px 15px;
  }
  .project-hero-content h1 {
    font-size: 42px;
  }
  .project-hero-content p {
    font-size: 18px;
  }
  .project-hero-badge {
    font-size: 10px;
    padding: 8px 20px;
    letter-spacing: 2px;
  }
  .project-quote-section,
  .project-overview-section,
  .project-management-section {
    padding: 60px 0;
  }
  .quote-text {
    font-size: 26px;
  }
  .quote-image img {
    height: 320px;
  }
  .overview-gallery .gallery-large img {
    height: 300px;
  }
  .overview-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
  .overview-copy h2,
  .management-copy h2 {
    font-size: 30px;
  }
  .project-gallery-strip {
    gap: 18px;
  }
  .project-gallery-strip .strip-item {
    flex: 0 0 65%;
  }
  .project-gallery-strip img {
    height: 260px;
  }
  .management-gallery {
    grid-template-columns: 1fr;
  }
  .management-gallery img {
    height: 260px;
  }
  .project-gallery-strip {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .project-detail-cta h2 {
    font-size: 32px;
  }
  .project-detail-cta .cta-buttons {
    flex-direction: column;
  }
  .project-detail-cta .cta-buttons a {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 575px) {
  .project-detail-hero {
    min-height: 60vh;
  }
  .project-hero-content {
    padding: 25px 15px;
  }
  .project-hero-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  .project-hero-content p {
    font-size: 17px;
  }
  .project-hero-badge {
    font-size: 9px;
    padding: 8px 18px;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
  }
  .project-quote-section {
    padding: 60px 0;
  }
  .quote-text {
    font-size: 24px;
    line-height: 1.5;
  }
  .quote-image {
    margin-top: 24px;
  }
  .quote-image img {
    height: 280px;
  }
  .overview-gallery .gallery-large img {
    height: 260px;
  }
  .overview-gallery .gallery-grid img {
    height: 200px;
  }
  .overview-copy h2 {
    font-size: 28px;
  }
  .overview-copy p {
    font-size: 15px;
  }
  .project-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .management-copy h2 {
    font-size: 28px;
  }
  .management-copy p {
    font-size: 15px;
  }
  .management-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .management-gallery img {
    height: 240px;
  }
  .project-gallery-strip {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .project-gallery-strip img {
    height: 260px;
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .spec-card {
    padding: 30px 24px;
  }
  .spec-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  .project-gallery-strip .strip-item {
    flex: 0 0 80%;
  }
  .project-detail-cta {
    padding: 70px 0;
  }
  .project-detail-cta h2 {
    font-size: 30px;
  }
  .project-detail-cta p {
    font-size: 16px;
  }
  .project-detail-cta .cta-buttons a {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .project-detail-hero {
    min-height: 55vh;
  }
  .project-hero-content h1 {
    font-size: 30px;
  }
  .project-hero-content p {
    font-size: 16px;
  }
  .project-hero-badge {
    font-size: 8px;
    padding: 7px 16px;
  }
  .quote-text {
    font-size: 20px;
  }
  .quote-image img {
    height: 240px;
  }
  .overview-copy h2,
  .management-copy h2 {
    font-size: 24px;
  }
  .overview-gallery .gallery-large img {
    height: 220px;
  }
  .overview-gallery .gallery-grid img {
    height: 180px;
  }
  .management-gallery img {
    height: 200px;
  }
  .project-gallery-strip img {
    height: 220px;
  }
  .project-gallery-strip .strip-item {
    flex: 0 0 100%;
    min-width: 220px;
  }
  .spec-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  .spec-card h4 {
    font-size: 18px;
  }
  .spec-card p {
    font-size: 14px;
  }
  .project-detail-cta h2 {
    font-size: 26px;
  }
  .project-detail-cta p {
    font-size: 15px;
  }
}