/* Responsive for tablets (768px and below) */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  header .logo {
    font-size: 1.3rem;
  }

  header .header-contacts a {
    font-size: 0.95rem;
  }
}

/* Responsive for tablets and large mobiles (768px and below) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 15px 20px;
    text-align: center;
  }

  header .header-contacts {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}
/* Responsive for mobile devices (480px and below) */
@media (max-width: 480px) {
  header .logo {
    font-size: 1.2rem;
  }

  header .header-contacts a {
    font-size: 0.9rem;
  }

  header .header-contacts img {
    width: 20px;
    height: 20px;
  }
}


/*=========================================================================================================*/

/* Responsive for tablets (768px and below) */
@media (max-width: 1024px) {
  .dr-banner-left {
    width: 60%;
  }

  .dr-banner-right img {
    max-width: 300px;
  }

  .dr-banner-left h1 {
    font-size: 40px;
  }

  .dr-banner-left p {
    font-size: 18px;
  }

  .banner {
    height: 600px;
  }
}

/* Responsive for tablets and large mobiles (768px and below) */
@media (max-width: 768px) {
  .dr-banner-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 25px;
  }

  .dr-banner-left {
    width: 100%;
  }

  .dr-banner-right img {
    max-width: 250px;
  }

  .dr-banner-left h1 {
    font-size: 32px;
  }

  .dr-banner-left p {
    font-size: 16px;
  }

  .banner {
    height: auto;
    padding: 60px 20px;
  }
}

/* Responsive for mobile devices (480px and below) */
@media (max-width: 480px) {
  .dr-banner-left h1 {
    font-size: 26px;
  }

  .dr-banner-left p {
    font-size: 14px;
  }

  .dr-banner-right img {
    max-width: 200px;
  }

  .banner .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/*====================================================================================================================*/

/* Responsive: Tablets (1024px and below) */
@media (max-width: 1024px) {
  .about {
    gap: 30px;
  }

  .about img {
    max-width: 350px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}

/* Responsive: Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .about {
    flex-direction: column; /* stack image and content vertically */
    text-align: center;
    padding: 60px 20px;
  }

  .about img {
    max-width: 300px;
    margin-bottom: 20px;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }
}

/* Responsive: Mobile devices (480px and below) */
@media (max-width: 480px) {
  .about img {
    max-width: 250px;
  }

  .about-content h2 {
    font-size: 1.4rem;
  }

  .about-content p {
    font-size: 0.9rem;
  }

  .about-content .about-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .about {
    padding: 40px 15px;
  }
}

/*===============================================================================================================*/

/* Responsive: Tablets (1024px and below) */
@media (max-width: 1024px) {
  .offer-title {
    font-size: 36px;
    margin-bottom: 50px;
  }

  .offer-content h3 {
    font-size: 26px;
  }

  .offer-item {
    gap: 30px;
  }

  .offer-img {
    height: 280px;
  }
}

/* Responsive: Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .offer-item {
    flex-direction: column; /* stack image and content vertically */
    text-align: center;
    margin-bottom: 50px;
  }

  .offer-item.reverse {
    flex-direction: column; /* remove reverse for vertical stacking */
  }

  .offer-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .offer-content {
    width: 100%;
  }

  .offer-content h3 {
    font-size: 22px;
  }

  .offer-content p {
    font-size: 0.95rem;
  }
  .const-imgs {
    flex-direction: column; /* stack images vertically */
    gap: 15px;
    align-items: center; /* center images */
  }

  .const-imgs img {
    width: 100%;
    max-width: 400px; /* optional max-width */
    height: auto;
  }
}

/* Responsive: Mobile devices (480px and below) */
@media (max-width: 480px) {
  .offer-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .offer-content h3 {
    font-size: 20px;
  }

  .offer-content p {
    font-size: 0.9rem;
  }

  .offer-item {
    margin-bottom: 40px;
    gap: 20px;
  }

 .const-imgs {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .const-imgs img {
    width: 100%;
    max-width: 300px; /* reduce width on very small screens */
    height: auto;
  }
}

/*================================================================================================*/

/* Responsive: Tablets (1024px and below) */
@media (max-width: 1024px) {
  .represented-content {
    padding: 40px 30px;
  }

  .represented-img-box img {
    width: 30%;
    max-width: 300px;
  }
}

/* Responsive: Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .represented-section {
    padding: 60px 15px;
  }

  .represented-content {
    padding: 35px 20px;
  }

  .represented-img-box img {
    width: 45%;
    max-width: 200px;
  }
}

/* Responsive: Mobile devices (480px and below) */
@media (max-width: 480px) {
  .represented-section {
    padding: 40px 10px;
  }

  .represented-content {
    padding: 25px 15px;
  }

  .represented-img-box {
    gap: 15px;
  }

  .represented-img-box img {
    width: 80%;
    max-width: 150px;
  }
}



/*======================================================================================================*/
@media (max-width: 1366px){
    .logo-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 30px;
      }
}
/* Responsive: Tablets (1024px and below) */
@media (max-width: 1024px) {
  .logo-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

.logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .logo-item {
    flex: 0 1 130px;
  }

  .logo-item img {
    max-height: 70px;
  }
}

/* Responsive: Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .logo-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

 .logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .logo-item {
    flex: 0 1 110px;
  }

  .logo-item img {
    max-height: 60px;
  }
}

/* Responsive: Mobile devices (480px and below) */
@media (max-width: 480px) {
  .logo-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

.logo-grid {
    grid-template-columns: 2fr;
  }

  .logo-item {
    flex: 0 1 80px;
  }

  .logo-item img {
    max-height: 50px;
  }
}

/*====================================================================================================*/

/* ======================================================== Responsive Styles ======================================================== */
@media (max-width: 1366px) {
  .contact-cards {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-card p,
  .contact-card a {
    font-size: 1rem;
  }

  .social-qr-fixed img {
    width: 130px;
    height: 180px;
  }
}

/* Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
    
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact {
    padding: 50px 15px;
  }

  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }


  .contact-card h3 {
    font-size: 1rem;
  }

  .contact-card p,
  .contact-card a {
    font-size: 0.95rem;
  }

  .social-qr-fixed {
    top: 60px;
    right: 15px;
  }

  .social-qr-fixed img {
    width: 110px;
    height: 160px;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .contact {
    padding: 40px 10px;
  }

  .contact h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    width: 100%;
    max-width: 250px;
    padding: 15px 10px;
    margin: auto;
  }

  .contact-card h3 {
    font-size: 0.95rem;
  }

  .contact-card p,
  .contact-card a {
    font-size: 0.9rem;
  }

  .social-qr-fixed {
    top: 40px;
    right: 10px;
  }

  .social-qr-fixed img {
    width: 90px;
    height: 130px;
  }
}

/*============================================================================================================================*/

/* ================== Responsive Styles ================== */

/* Large Tablets / Laptops (1024px and below) */
@media (max-width: 1024px) {
  .expansion-title {
    font-size: 28px;
  }

  .expansion-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .expansion-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

}

/* Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .expansion-title {
    font-size: 26px;
  }

  .expansion-subtitle {
    font-size: 15px;
    max-width: 90%;
    margin-bottom: 25px;
  }

  .expansion-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .expansion-title {
    font-size: 22px;
  }

  .expansion-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

}


/*========================================================================*/

/* =================== Responsive Styles =================== */

/* Tablets / Large Devices (1024px and below) */
@media (max-width: 1024px) {
  .modal-content.modal-split {
    max-width: 700px;
  }

  .modal-left,
  .modal-right {
    padding: 25px;
  }

  .modal-right h2 {
    font-size: 1.6rem;
  }
}

/* Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .modal-content.modal-split {
    flex-direction: column; /* stack left and right vertically */
    margin: 10% auto;
  }

  .modal-left,
  .modal-right {
    min-width: 100%;
    padding: 20px;
  }

  .modal-left img {
    height: auto;
    max-height: 300px;
  }

  .modal-right h2 {
    font-size: 1.5rem;
  }

  .modal-right input,
  .modal-right textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  .modal-right button,
  input.wpcf7-form-control.wpcf7-submit.has-spinner {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .modal-content.modal-split {
    margin: 15% 10px;
    border-radius: 8px;
  }

  .modal-left img {
    max-height: 200px;
  }

  .modal-right h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .modal-right input,
  .modal-right textarea {
    font-size: 0.9rem;
    padding: 8px;
  }

  .modal-right button,
  input.wpcf7-form-control.wpcf7-submit.has-spinner {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .close {
    font-size: 1.3rem;
    top: 10px;
    right: 15px;
  }
}

/*============================================================================*/

/* ================== Responsive Styles ================== */

/* Tablets / Large Devices (1024px and below) */
@media (max-width: 1024px) {
  .toast {
    min-width: 250px;
    padding: 12px 18px;
    font-size: 0.95rem;
    top: 30px;
  }
}

/* Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  .toast {
    min-width: 200px;
    padding: 10px 15px;
    font-size: 0.9rem;
    top: 25px;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .toast {
    min-width: 150px;
    padding: 8px 12px;
    font-size: 0.85rem;
    top: 20px;
  }
}