/* ==========================================================================
   Mobile Responsive CSS for Homepage
   ========================================================================== */

/* Mobile First Approach - Base styles for mobile devices */
@media (max-width: 768px) {
  
  /* ==========================================================================
     Header & Navigation Mobile Styles
     ========================================================================== */
  
  .header__area {
    padding: 0;
    margin-top: 0 !important;
    position: relative;
  }
  
  .header__area-menubar {
    flex-direction: row; /* Changed from column to row for logo + hamburger layout */
    gap: 0;
    margin-bottom: 0 !important;
    position: relative;
    min-height: 80px;
    justify-content: space-between; /* Space between logo and hamburger */
    align-items: center;
    padding: 0 15px; /* Add padding for mobile */
  }
  
  .header__area-menubar-left {
    order: 1;
    text-align: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
    z-index: 1001;
    display: block; /* Changed from none to block to show logo */
  }
  
  .header__area-menubar-left-logo {
    display: block; /* Changed from none to block to show logo */
  }
  
  .header__area-menubar-left-logo img {
    display: block; /* Changed from none to block to show logo */
  }
  
  .header__area-menubar-center {
    order: 3;
    display: none !important;
  }
  
  .header__area-menubar-right {
    order: 2;
    position: absolute !important; /* Use absolute positioning for perfect alignment */
    top: 20px !important; /* Perfect top positioning */
    right: 20px !important; /* Perfect right positioning */
    z-index: 1002;
    display: flex;
    align-items: center;
  }
  
  .hamburger-menu {
    display: block;
    cursor: pointer;
    margin-top: 0;
    margin-right: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .hamburger-menu:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.05);
  }
  
  .hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.3);
  }
  
  /* Side Panel Mobile Styles */
  .side-panel {
    width: 100%;
    max-width: 320px;
    right: -100%;
  }
  
  .side-panel-nav ul {
    padding: 20px 0;
  }
  
  .side-panel-nav ul li {
    margin: 15px 0;
  }
  
  .side-panel-nav ul li a {
    padding: 15px 25px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .side-panel-nav ul li a i {
    width: 20px;
    text-align: center;
  }
  
  /* ==========================================================================
     Banner Section Mobile Styles
     ========================================================================== */
  
  .banner__two {
    margin-top: 0 !important;
    padding-top: 20px;
  }
  
  .banner__two-area {
    padding: 40px 20px;
    min-height: 60vh;
  }
  
  .banner__content-wrapper {
    flex-direction: column !important;
    padding: 30px 20px !important;
    margin: 20px 10px !important;
    text-align: center;
    gap: 30px;
  }
  
  .banner__two-content {
    margin-right: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .banner__two-content h2 {
    font-size: 36px !important;
    line-height: 42px !important;
    margin: 15px 0 !important;
    text-align: center !important;
  }
  
  .banner__two-content p {
    font-size: 16px !important;
    line-height: 24px !important;
    margin: 15px 0 !important;
    text-align: center !important;
  }
  
  .banner__two-content .build_button {
    margin: 20px auto 0 auto !important;
    display: inline-block;
    text-align: center;
    transform: scale(0.9);
    padding: 10px 20px;
  }
  
  /* Make arrow icon smaller on mobile */
  .banner__two-content .build_button i,
  .banner__two-content .build_button .flaticon-right-up {
    font-size: 0.8em;
    margin-left: 8px;
  }
  
  /* Ensure all banner buttons have consistent mobile styling */
  .banner__kitchen-3d .build_button,
  .banner__wardrobe-3d .build_button,
  .banner__upvc-3d .build_button,
  .banner__surface-3d .build_button,
  .banner__timber-3d .build_button,
  .banner__total-3d .build_button {
    text-align: center;
    transform: scale(0.9);
    padding: 10px 20px;
  }
  
  .banner__kitchen-3d .build_button i,
  .banner__wardrobe-3d .build_button i,
  .banner__upvc-3d .build_button i,
  .banner__surface-3d .build_button i,
  .banner__timber-3d .build_button i,
  .banner__total-3d .build_button i,
  .banner__kitchen-3d .build_button .flaticon-right-up,
  .banner__wardrobe-3d .build_button .flaticon-right-up,
  .banner__upvc-3d .build_button .flaticon-right-up,
  .banner__surface-3d .build_button .flaticon-right-up,
  .banner__timber-3d .build_button .flaticon-right-up,
  .banner__total-3d .build_button .flaticon-right-up {
    font-size: 0.8em;
    margin-left: 8px;
  }
  
  /* 3D image mobile will be in this entire section */
  .banner__kitchen-3d,
  .banner__wardrobe-3d,
  .banner__upvc-3d,
  .banner__surface-3d,
  .banner__timber-3d,
  .banner__total-3d {
    margin-left: 0 !important;
    text-align: center;
  }
  
  .kitchen-3d-float {
    width: 280px !important;
    height: auto;
    max-width: 100%;
  }
  
  /* Mobile slide images */
  .mobile-slide-image {
    display: block !important;
    text-align: center;
    margin: 20px 0;
  }
  
  .mobile-slide-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
  }
  
  /* Banner Slide Thumbs Mobile */
  .banner__two-slide {
    margin-top: -40px;
    padding: 15px 10px 25px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 10;
  }
  
  .banner__two-slide-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent;
  }
  
  .banner__two-slide-area-thumb {
    width: 100%;
    max-width: 350px;
    padding: 0 5px;
    background: transparent;
  }
  
  .banner__two-slide-area-thumb .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    align-items: stretch;
    background: transparent;
    transform: none !important;
    transition: none !important;
  }
  
  .banner__two-slide-area-thumb-item {
    padding: 14px 12px;
    margin: 0;
    width: 100%;
    text-align: center;
    border-radius: 15px;
    background: #000000;
    border: 2px solid #000000;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
  }
  
  .banner__two-slide-area-thumb-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #44b6e5, #1e88e5);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
  }
  
  .banner__two-slide-area-thumb-item.swiper-slide-active::before {
    opacity: 1;
  }
  
  .banner__two-slide-area-thumb-item:hover {
    transform: translateY(-2px);
  }
  
  .banner__two-slide-area-thumb-item.swiper-slide-active {
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(68, 182, 229, 0.4);
    border-color: #44b6e5;
  }
  
  .banner__two-slide-area-thumb-item h6 {
    font-size: 10px;
    line-height: 1.4;
    margin: 0;
    color: white;
    font-weight: 600;
    transition: all 0.35s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-break: break-word;
    hyphens: auto;
    position: relative;
    z-index: 2;
  }
  
  .banner__two-slide-area-thumb-item.swiper-slide-active h6 {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* Extra small screens */
  @media (max-width: 480px) {
    .banner__two-slide-area-thumb .swiper-wrapper {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    
    .banner__two-slide-area-thumb-item {
      padding: 12px 8px;
      min-height: 55px;
    }
    
    .banner__two-slide-area-thumb-item h6 {
      font-size: 11px;
      letter-spacing: 0.3px;
    }
  }
  
  /* Very small screens */
  @media (max-width: 360px) {
    .banner__two-slide-area-thumb .swiper-wrapper {
      gap: 6px;
    }
    
    .banner__two-slide-area-thumb-item {
      padding: 10px 6px;
      min-height: 50px;
    }
    
    .banner__two-slide-area-thumb-item h6 {
      font-size: 10px;
    }
  }
  
  /* Progress bar indicator */
  .banner-slide-indicators {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slide-progress-bar {
    width: 80%;
    max-width: 300px;
    height: 4px;
    background: rgba(68, 182, 229, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
  }
  
  .slide-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #44b6e5, #1e88e5);
    border-radius: 2px;
    width: 16.66%; /* 1/6 for 6 slides */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
  }
  
  /* Touch feedback enhancements */
  .banner__two-slide-area-thumb-item:active,
  .banner__two-slide-area-thumb-item.touching {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.15s ease;
  }
  
  .banner__two-slide-area-thumb-item:focus {
    outline: 3px solid rgba(68, 182, 229, 0.5);
    outline-offset: 2px;
  }
  
  /* Loading state animation */
  @keyframes slideLoad {
    0% { 
      opacity: 0; 
      transform: translateY(20px); 
    }
    100% { 
      opacity: 1; 
      transform: translateY(0); 
    }
  }
  
  .banner__two-slide-area-thumb-item {
    animation: slideLoad 0.5s ease-out forwards;
  }
  
  .banner__two-slide-area-thumb-item:nth-child(1) { animation-delay: 0.1s; }
  .banner__two-slide-area-thumb-item:nth-child(2) { animation-delay: 0.2s; }
  .banner__two-slide-area-thumb-item:nth-child(3) { animation-delay: 0.3s; }
  .banner__two-slide-area-thumb-item:nth-child(4) { animation-delay: 0.4s; }
  .banner__two-slide-area-thumb-item:nth-child(5) { animation-delay: 0.5s; }
  .banner__two-slide-area-thumb-item:nth-child(6) { animation-delay: 0.6s; }
  
  /* Screen reader only content */
  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  
  /* ==========================================================================
     About Section Mobile Styles
     ========================================================================== */
  
  .about__two {
    padding: 40px 20px;
    margin-top: -20px;
  }
  
  .about__two-left {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .about__two-left .subtitle {
    font-size: 16px;
  }
  
  .about__two-left h2 {
    font-size: 28px;
    line-height: 36px;
    margin: 15px 0;
  }
  
  .about__two-left p {
    font-size: 16px;
    line-height: 24px;
  }
  
  .about__two-right img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-left: 0 !important;
    display: block;
    margin: 0 auto;
  }
  
  .counter__one-area {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)) !important;
    gap: 10px !important;
    margin: 25px auto 0 auto !important;
    justify-items: center;
    justify-content: center;
    max-width: 320px;
    width: 100%;
    padding: 0 15px;
    align-items: center;
    place-items: center;
    box-sizing: border-box;
  }
  
  .about__two-right-counter {
    flex: none !important;
    min-width: auto !important;
    padding: 12px 8px !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    margin: 0;
    max-width: none;
    width: 100%;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .about__two-right-counter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .about__two-right-counter h2 {
    font-size: 1.4rem !important;
    margin-bottom: 3px !important;
    font-weight: 600;
    line-height: 1.2;
  }

  .about__two-right-counter p {
    font-size: 0.8rem !important;
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
  }  /* ==========================================================================
     Services Section Mobile Styles
     ========================================================================== */

  .services__two {
    padding: 40px 20px;
  }

  .services__two-title {
    text-align: center;
    margin-bottom: 30px;
  }

  .services__two-title .subtitle {
    font-size: 16px;
  }

  .services__two-title h2 {
    font-size: 28px;
    line-height: 36px;
    padding: 15px 20px !important;
  }

  /* Simplified Services Grid - Consistent with other sections */
  .services {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
    width: 100%;
    padding: 0 15px;
  }

  .service-box {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  }

  .service-box .bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
  }

  .service-box:hover .bg-image {
    transform: scale(1.05);
  }

  .service-box .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(34, 34, 34, 0.7) 100%);
    transition: all 0.3s ease;
  }

  .service-box:hover .overlay {
    background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(34, 34, 34, 0.6) 100%);
  }

  .service-box .text {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    place-items: center;
    place-content: center;
  }

  .service-box .text small {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .service-box .text span {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  /* Mobile Logo Positioning */
  .service-box .leto-logo,
  .service-box .herrlich-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
  }

  .service-box .leto-logo img,
  .service-box .herrlich-logo img {
    width: 120px;
    height: auto;
    max-width: 80vw;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  }

  .service-box:hover .leto-logo,
  .service-box:hover .herrlich-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  
  /* ==========================================================================
     Brands Section Mobile Styles
     ========================================================================== */

  .brand__area {
    padding: 40px 15px !important;
    margin-top: 5px !important;
  }

  .services__two-title {
    margin-bottom: 30px;
  }

  .brand__showcase-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    animation: none;
    width: 100%;
  }

  .brand__showcase-item {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .brand__showcase-card {
    padding: 20px 15px;
    height: 100px;
    border-radius: 15px;
    transition: all 0.3s ease;
  }

  .brand__showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .brand__showcase-card img {
    max-height: 50px;
    transition: all 0.3s ease;
  }

  .brand__showcase-card:hover img {
    transform: scale(1.05);
  }

  .brand__showcase-overlay {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  /* ==========================================================================
     Testimonial Section Mobile Styles
     ========================================================================== */
  
  .testimonial__one.page {
    padding: 40px 20px !important;
  }
  
  .testimonial__one-title {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .testimonial__one-title .subtitle {
    font-size: 16px;
  }
  
  .testimonial__one-title h2 {
    font-size: 24px;
    line-height: 32px;
    padding: 15px 20px !important;
  }
  
  .testimonial__one-item {
    padding: 30px 20px;
    border-radius: 15px;
    margin: 0 10px;
  }
  
  .testimonial__one-item p {
    font-size: 18px;
    line-height: 26px;
    margin-top: 20px;
  }
  
  .testimonial__one-item-client {
    justify-content: center;
    gap: 15px;
  }
  
  .testimonial__one-item-client-title h4 {
    font-size: 20px;
  }
  
  /* ==========================================================================
     Projects Section Mobile Styles
     ========================================================================== */
  
  .projects__two {
    padding: 40px 20px;
  }
  
  .projects__two .services__two-title {
    margin-bottom: 30px;
  }
  
  .projects {
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    gap: 15px;
    margin-top: 30px;
    border-radius: 15px;
  }
  
  .project-box {
    flex: 1 1 100% !important;
    min-height: 150px;
    border-radius: 15px;
    overflow: hidden;
  }
  
  .project-box:hover {
    flex: 1 !important;
  }
  
  .project-box:not(:hover) {
    flex: 1 !important;
  }
  
  .project-box .text {
    padding: 20px 15px;
    transform: translateY(0);
    opacity: 1;
  }
  
  .project-box:hover .text {
    padding: 20px 15px;
  }
  
  .project-box .text span {
    font-size: 18px;
    transform: translateY(0);
  }
  
  .project-box:hover .text span {
    font-size: 18px;
  }
  
  /* Remove borders between projects on mobile */
  .project-box:not(:last-child)::after {
    display: none;
  }
  
  /* ==========================================================================
     Footer Mobile Styles
     ========================================================================== */

  .footer {
    padding: 30px 20px 25px 20px;
    background: #000;
    color: #fff;
    margin-top: 20px;
  }

  .footer-main .row > div {
    margin-bottom: 25px;
    text-align: center;
  }

  .footer-widget h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
  }

  .footer-links li {
    margin: 8px 0;
  }

  .footer-contact .contact-item {
    margin: 12px 0;
    text-align: center;
  }

  .footer-bottom {
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-bottom .row {
    align-items: center;
    justify-content: center;
  }

  .footer-bottom .row > div {
    margin-bottom: 0;
  }

  .footer-bottom .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .copyright-text {
    margin-bottom: 15px;
  }

  .copyright-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
  }

  .footer-bottom-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
  }

  .footer-bottom-links a:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  /* ==========================================================================
     Sticky Contact & WhatsApp Mobile Styles
     ========================================================================== */
  
  .sticky-contact-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .talk-to-us-btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 25px;
  }
  
  .talk-to-us-btn span {
    display: none;
  }
  
  .whatsapp-btn {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-btn i {
    font-size: 24px;
  }
  
  /* ==========================================================================
     Contact Popup Mobile Styles
     ========================================================================== */
  
  .contact-popup {
    width: 95%;
    max-width: 400px;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .contact-popup-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form {
    order: 1;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .send-btn {
    padding: 12px 25px;
    font-size: 16px;
  }
  
  /* ==========================================================================
     Utility Classes for Mobile
     ========================================================================== */
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .mb-mobile-20 {
    margin-bottom: 20px !important;
  }
  
  .mt-mobile-20 {
    margin-top: 20px !important;
  }
  
  .px-mobile-20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .py-mobile-20 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  
  /* ==========================================================================
   Mobile Specific Animations
   ========================================================================== */
   
   @media (max-width: 768px) {
     .kitchen-3d-float {
       animation: none;
     }
     
     .banner__content-wrapper {
       animation: fadeInUp 0.8s ease-out;
     }
     
     .service-box:hover .bg-image {
       transform: none;
     }
     
     .project-box:hover .bg-image {
       transform: none;
     }
     
     /* Mobile-specific banner improvements */
     .banner-title-mobile {
       font-size: 36px !important;
       line-height: 42px !important;
       text-align: center !important;
     }
     
     .banner-description-mobile {
       font-size: 16px !important;
       line-height: 24px !important;
       text-align: center !important;
     }
     
     .banner-button-mobile {
       text-align: center !important;
       margin: 20px auto 0 auto !important;
     }
     
     .desktop-only {
       display: none !important;
     }
     
     /* Mobile-specific section improvements */
     .about__two-left {
       text-align: center !important;
     }
     
     .services__two-title {
       text-align: center !important;
     }
     
     .testimonial__one-title {
       text-align: center !important;
     }
     
     .projects__two .services__two-title {
       text-align: center !important;
     }
   }
  
/* ==========================================================================
   Tablet Responsive Styles (769px - 1024px)
   ========================================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  /* Hide mobile slide images on tablet */
  .mobile-slide-image {
    display: none;
  }
  
  /* Banner Slide Thumbs Tablet */
  .banner__two-slide {
    margin-top: -60px;
    padding: 25px 20px 35px;
    background: transparent;
    box-shadow: none;
  }
  
  .banner__two-slide-area-thumb {
    max-width: 500px;
    padding: 0 10px;
  }
  
  .banner__two-slide-area-thumb .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    transform: none !important;
    transition: none !important;
  }
  
  .banner__two-slide-area-thumb-item {
    padding: 18px 15px;
    min-height: 70px;
    border-radius: 18px;
    background: #000000;
    border-color: #000000;
    transform: none !important;
  }
  
  .banner__two-slide-area-thumb-item h6 {
    font-size: 14px;
    letter-spacing: 0.6px;
    color: white;
  }
  
  .banner__two-slide-area-thumb-item:hover {
    transform: translateY(-2px);
  }
  
  .banner__two-slide-area-thumb-item.swiper-slide-active {
    transform: translateY(-4px) scale(1.03);
  }
  
  /* Progress bar for tablet */
  .slide-progress-bar {
    width: 60%;
    max-width: 400px;
    height: 5px;
  }
}

/* ==========================================================================
   Desktop Responsive Styles (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
  /* Hide mobile slide images on desktop */
  .mobile-slide-image {
    display: none;
  }
  
  /* Banner Slide Thumbs Desktop */
  .banner__two-slide {
    margin-top: -80px;
    padding: 30px 25px 40px;
    background: transparent;
    box-shadow: none;
  }
  
  .banner__two-slide-area-thumb {
    max-width: 800px;
    padding: 0 15px;
  }
  
  .banner__two-slide-area-thumb .swiper-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    transform: none !important;
    transition: none !important;
  }
  
  .banner__two-slide-area-thumb-item {
    padding: 20px 25px;
    min-height: 70px;
    border-radius: 20px;
    flex: 1;
    max-width: 200px;
    background: #000000;
    border-color: #000000;
    transform: none !important;
  }
  
  .banner__two-slide-area-thumb-item h6 {
    font-size: 15px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    color: white;
  }
  
  .banner__two-slide-area-thumb-item:hover {
    transform: translateY(-2px);
  }
  
  .banner__two-slide-area-thumb-item.swiper-slide-active {
    transform: translateY(-5px) scale(1.05);
  }
  
  /* Progress bar for desktop */
  .slide-progress-bar {
    width: 50%;
    max-width: 600px;
    height: 6px;
  }
  
  /* Hide loading animations on desktop */
  .banner__two-slide-area-thumb-item {
    animation: none;
  }
}

     /* ==========================================================================
      Touch Device Optimizations
      ========================================================================== */
   
   @media (hover: none) and (pointer: coarse) {
     .service-box:hover .overlay {
       background: rgba(0, 0, 0, 0.4);
     }
     
     .service-box:hover .leto-logo {
       opacity: 1 !important;
     }
     
     .service-box:hover .herrlich-logo {
       opacity: 1 !important;
     }
     
     .brand__showcase-card:hover {
       transform: none;
     }
     
     /* Touch-friendly navigation */
     .side-panel-nav ul li a {
       min-height: 44px;
       display: flex;
       align-items: center;
     }
     
     /* Touch-friendly close button */
     .side-panel-close {
       min-height: 44px;
       min-width: 44px;
       display: flex;
       align-items: center;
       justify-content: center;
     }
   }
}

/* ==========================================================================
   Small Mobile Devices (320px - 480px)
   ========================================================================== */
@media (max-width: 480px) {
  
  /* Header adjustments for small mobile */
  .header__area-menubar-left-logo img {
    display: none;
  }
  
  .header__area-menubar-right {
    top: 20px;
    right: 20px;
  }
  
  .hamburger-menu {
    padding: 6px;
  }
  
  .hamburger-line {
    width: 22px;
    height: 1px;
    background-color: #ffffff;
  }
  
  /* Navigation adjustments for small mobile */
  .banner__two-slide-area-thumb {
    max-width: 280px;
  }
  
  .banner__two-slide-area-thumb-item {
    max-width: 260px;
    padding: 10px 14px;
  }
  
  .banner__two-slide-area-thumb-item h6 {
    font-size: 12px;
  }
  
  .banner__two-content h2 {
    font-size: 28px !important;
    line-height: 34px !important;
  }
  
  .banner__two-content p {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  
  .kitchen-3d-float {
    width: 240px !important;
  }
  
  .about__two-left h2 {
    font-size: 24px;
    line-height: 30px;
  }
  
  .services__two-title h2 {
    font-size: 24px;
    line-height: 30px;
  }
  
  .testimonial__one-title h2 {
    font-size: 20px;
    line-height: 26px;
  }
  
  .projects__two .services__two-title h2 {
    font-size: 20px;
    line-height: 26px;
  }
  
  .brand__showcase-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .brand__showcase-card {
    height: 70px;
    padding: 12px 10px;
  }
  
  .brand__showcase-card img {
    max-height: 35px;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }
}

/* ==========================================================================
   Extra Small Mobile Devices (320px and below)
   ========================================================================== */
@media (max-width: 320px) {
  
  /* Header adjustments for extra small mobile */
  .header__area-menubar-left-logo img {
    display: none;
  }
  
  .header__area-menubar-right {
    top: 20px;
    right: 20px;
  }
  
  .hamburger-menu {
    padding: 5px;
  }
  
  .hamburger-line {
    width: 20px;
    height: 1px;
    background-color: #ffffff;
  }
  
  /* Navigation adjustments for extra small mobile */
  .banner__two-slide-area-thumb {
    max-width: 260px;
  }
  
  .banner__two-slide-area-thumb-item {
    max-width: 240px;
    padding: 8px 12px;
  }
  
  .banner__two-slide-area-thumb-item h6 {
    font-size: 11px;
  }
  
  .banner__two-area {
    padding: 30px 15px;
  }
  
  .banner__content-wrapper {
    padding: 20px 15px !important;
    margin: 15px 5px !important;
  }
  
  .banner__two-content h2 {
    font-size: 24px !important;
    line-height: 28px !important;
  }
  
  .kitchen-3d-float {
    width: 200px !important;
  }
  
  .about__two {
    padding: 30px 15px;
  }
  
  .services__two {
    padding: 30px 15px;
  }
  
  .brand__area {
    padding: 30px 15px !important;
  }
  
  .projects__two {
    padding: 30px 15px;
  }
  
  .testimonial__one.page {
    padding: 30px 15px !important;
  }
  
  .footer {
    padding: 25px 15px 20px 15px;
  }

  .footer-bottom {
    padding: 20px 15px;
  }

  .footer-bottom-links {
    gap: 15px;
  }

  .footer-bottom-links a {
    font-size: 12px;
    padding: 4px 0;
  }

  .copyright-text p {
    font-size: 13px;
  }
}

/* ==========================================================================
   Landscape Mobile Orientation
   ========================================================================== */
@media (max-width: 768px) and (orientation: landscape) {
  
  .banner__two-area {
    min-height: 50vh;
    padding: 30px 20px;
  }
  
  .banner__content-wrapper {
    flex-direction: row !important;
    gap: 20px;
    align-items: center;
  }
  
  .banner__two-content {
    text-align: left !important;
  }
  
  .banner__two-content h2 {
    font-size: 28px !important;
    line-height: 34px !important;
  }
  
  .banner__two-content p {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  
  .kitchen-3d-float {
    width: 200px !important;
  }
  
  .services {
    display: flex;
    flex-direction: row !important;
    gap: 20px !important;
    height: auto !important;
    margin-top: 25px;
    flex-wrap: wrap;
    padding: 0 10px;
  }

  .service-box {
    flex: 1 1 calc(50% - 20px);
    height: 180px !important;
    border-radius: 12px;
  }

  .service-box .text {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    place-items: center;
    place-content: center;
  }

  .service-box .text small {
    font-size: 12px;
  }

  .service-box .text span {
    font-size: 16px;
  }
  
  .projects {
    flex-direction: row !important;
    height: 300px !important;
    gap: 10px;
  }
  
  .project-box {
    height: 100%;
  }

  /* Footer Landscape Mobile Styles */
  .footer {
    padding: 20px 15px 15px 15px;
  }

  .footer-bottom {
    padding: 15px;
  }

  .footer-bottom-links {
    flex-direction: row;
    gap: 25px;
    justify-content: center;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }
}

/* ==========================================================================
   High DPI Mobile Devices
   ========================================================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  
  .banner__two-content h2,
  .about__two-left h2,
  .services__two-title h2,
  .testimonial__one-title h2,
  .projects__two .services__two-title h2,
  .copyright-text p {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .kitchen-3d-float,
  .about__two-right img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  /* High-quality logo rendering for retina displays */
  .header__area-menubar-left-logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ==========================================================================
   Mobile Logo Quality Enhancements
   ========================================================================== */
@media (max-width: 768px) {
  /* Logo is hidden on mobile - will be handled separately */
  .header__area-menubar-left,
  .header__area-menubar-left-logo,
  .header__area-menubar-left-logo img {
    display: none;
  }
}

/* ==========================================================================
   Mobile Performance Optimizations
   ========================================================================== */
@media (max-width: 768px) {
  /* Reduce animations for better performance */
  * {
    -webkit-animation-duration: 0.3s !important;
    animation-duration: 0.3s !important;
  }
  
  /* Optimize transitions */
  .banner__content-wrapper,
  .service-box,
  .project-box,
  .brand__showcase-card {
    transition: all 0.3s ease !important;
  }
  
  /* Reduce box-shadow complexity on mobile */
  .banner__content-wrapper {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  }
  
  .service-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  }

  .project-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  }

  /* Services-specific hardware acceleration */
  .service-box .bg-image {
    will-change: transform;
    transform: translateZ(0);
  }

  .service-box .leto-logo,
  .service-box .herrlich-logo {
    will-change: opacity, transform;
  }  /* Optimize backdrop-filter for mobile */
  .banner__content-wrapper::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .about__two-right-counter {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.9) !important;
  }
}

/* ==========================================================================
   Mobile Accessibility Improvements
   ========================================================================== */
@media (max-width: 768px) {
  /* Ensure proper contrast */
  .banner__two-content h2,
  .banner__two-content p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Improve navigation visibility */
  .side-panel-nav ul li a {
    color: var(--text-heading-color);
    font-weight: 500;
  }
  
  .side-panel-nav ul li a:hover {
    background: var(--primary-color-1);
    color: white;
  }
  
  /* Services Section Accessibility */
  .service-box:focus {
    outline: 3px solid rgba(68, 182, 229, 0.8);
    outline-offset: 2px;
  }

  /* High contrast mode support for services */
  @media (prefers-contrast: high) {
    .service-box .overlay {
      background: rgba(0, 0, 0, 0.6) !important;
    }

    .service-box .text small,
    .service-box .text span {
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
  }

  /* Reduced motion support for services */
  @media (prefers-reduced-motion: reduce) {
    .service-box .bg-image,
    .service-box .overlay,
    .service-box .leto-logo,
    .service-box .herrlich-logo {
      transition: none !important;
    }

    .service-box:hover {
      transform: none !important;
    }
  }
}

/* ==========================================================================
   Print Styles for Mobile
   ========================================================================== */
@media print {
  .header__area,
  .side-panel-overlay,
  .sticky-contact-btn,
  .whatsapp-btn,
  .scroll-up {
    display: none !important;
  }
  
  .banner__two,
  .about__two,
  .services__two,
  .brand__area,
  .testimonial__one,
  .projects__two {
    page-break-inside: avoid;
    margin: 20px 0;
  }
  
  .banner__content-wrapper {
    background: none !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* Mobile Banner Image Standardization */
@media (max-width: 768px) {
    .banner-image-standard {
        width: 350px !important;
        height: 280px !important;
        object-fit: contain !important;
    }

    .banner__content-wrapper {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 20px !important;
        margin: 10px !important;
        min-height: 300px !important;
    }

    .banner__two-content {
        margin-right: 0 !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .banner__two-content h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .banner__two-content p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
}

/* Hide images on very small screens to prevent layout issues */
@media (max-width: 480px) {
    .banner__kitchen-3d,
    .banner__wardrobe-3d,
    .banner__upvc-3d,
    .banner__surface-3d,
    .banner__timber-3d,
    .banner__total-3d {
        display: none !important;
    }

    .banner__content-wrapper {
        padding: 15px !important;
    }
}

/* Desktop styles - Hide mobile images on larger screens */
@media (min-width: 769px) {
    .mobile-slide-image {
        display: none !important;
    }
}

  /* Extra Small Mobile - Services Optimization */
  @media (max-width: 480px) {
    .services {
      gap: 20px !important;
      padding: 0 10px;
    }

    .service-box {
      height: 200px !important;
    }

    .service-box .text {
      padding: 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
      place-items: center;
      place-content: center;
    }

    .service-box .text small {
      font-size: 13px;
      margin-bottom: 6px;
    }

    .service-box .text span {
      font-size: 17px;
    }

    .service-box .leto-logo img,
    .service-box .herrlich-logo img {
      width: 110px;
    }
  }

  /* Very Small Mobile - Services Optimization */
  @media (max-width: 360px) {
    .services {
      gap: 12px !important;
    }

    .service-box {
      height: 160px !important;
    }

    .service-box .text {
      padding: 15px;
    }

    .service-box .text small {
      font-size: 12px;
      margin-bottom: 5px;
    }

    .service-box .text span {
      font-size: 16px;
    }

    .service-box .leto-logo img,
    .service-box .herrlich-logo img {
      width: 100px;
    }
  }