/* Responsive Styles */

/* Base responsive settings */
img {
  max-width: 100%;
  height: auto;
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium Desktops (992px to 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 36px;
  }

  /* Core Features */
  .feature-text h4 {
    font-size: 15px;
  }

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

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .container {
    max-width: 900px;
  }

  /* Navigation */
  .nav-container {
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    flex-direction: column;
    padding: 20px 0;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 20px;
  }

  /* Core Features */
  .features-showcase {
    flex-direction: column;
  }

  .features-list,
  .tablet-showcase {
    width: 100%;
    margin-bottom: 30px;
  }

  .features-list.right-list {
    order: 3;
  }

  /* Shop Now Section */
  .product-showcase {
    flex-direction: column;
  }

  .product-gallery,
  .product-details {
    width: 100%;
  }

  .product-gallery {
    margin-bottom: 40px;
  }

  /* Zikr S1 Promo */
  .zikr-s1-promo .container {
    flex-direction: column;
  }

  .promo-image,
  .promo-content {
    width: 100%;
    text-align: center;
  }

  .promo-image {
    margin-bottom: 30px;
  }

  /* Why Buy Section */
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  /* Section Titles */
  .section-title {
    font-size: 20px;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 30px;
  }

  /* Benefits Section */
  .benefit-header h4 {
    font-size: 16px;
  }

  /* Why Buy Section */
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    margin: 10px auto;
    padding: 15px;
  }
  .close {
    font-size: 20px;
    top: 5px;
    right: 5px;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .logo-text {
    font-size: 18px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content h3 {
    font-size: 18px;
  }

  /* Core Features */
  .features-list.left-list .feature-item {
    width: 100%;
  }
  .features-list.left-list .feature-item .feature-text h4 {
    text-align: center;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 15px;
  }

  /* Shop Now Section */
  .product-thumbnails {
    flex-wrap: wrap;
  }

  .product-thumbnails img {
    width: 48%;
    margin-bottom: 10px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Benefits Section */
  .benefit-header {
    flex-wrap: wrap;
  }

  .benefit-icon {
    margin-bottom: 10px;
  }

  .benefit-header h4 {
    width: 100%;
    margin: 10px 0;
  }

  .benefit-content {
    padding-left: 20px;
  }

  .benefit-item.active .benefit-content {
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    height: 890px;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-image {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
  }

  .slider-controls {
    top: 745px;
  }

  .product-section .container {
    flex-direction: column;
    align-items: center;
  }

  .product-text,
  .product-image {
    width: 100%;
    text-align: center;
  }

  .product-text {
    margin-bottom: 20px;
  }

  .info-item {
    width: 100%; /* Stack on smaller screens */
    margin-top: 15px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-column {
    margin: 20px 0;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  header {
    height: 100px;
  }

  .nav-icons {
    display: flex;
    flex-direction: column;
  }

  .btn-secondary,
  .get_zikir_btn {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .hero {
    height: 750px;
  }

  .slider-controls {
    top: 635px;
  }

  .whatsapp-float {
    width: 40px;
    height: 40px;
    bottom: 10px;
    right: 10px;
  }
}
