/* 
 * Saudik Contracting Co. Ltd.
 * Responsive Styles
 */

/* Large Screens (1200px and above)
========================================================================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Screens (992px to 1199px)
========================================================================== */
@media (max-width: 1199px) {
  html {
    font-size: 15px;
  }
  
  .container {
    max-width: 960px;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (768px to 991px)
========================================================================== */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .client-logo {
    flex: 0 0 calc(33.333% - var(--space-lg));
  }
  
  .about-content,
  .contact-content {
    gap: var(--space-lg);
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablets and Large Phones (576px to 767px)
========================================================================== */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  .container {
    max-width: 540px;
  }
  
  /* Header Navigation */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  /* Hero Section */
  .hero {
    min-height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
  
  .hero-btns .btn {
    width: 80%;
  }
  
  /* About Section */
  .section-padding {
    padding: var(--space-xl) 0;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .stat-item {
    padding: var(--space-sm);
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* Services Section */
  .tabs-header {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  .tab-btn {
    padding: var(--space-xs) var(--space-sm);
    min-width: calc(33.333% - var(--space-xs));
    margin-bottom: var(--space-xs);
  }
  
  .tabs-content {
    padding: var(--space-md);
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
  
  /* Clients Section */
  .client-logo {
    flex: 0 0 calc(50% - var(--space-md));
    margin-bottom: var(--space-md);
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-links {
    justify-content: space-between;
  }
  
  .footer-section {
    flex: 0 0 calc(50% - var(--space-md));
  }
}

/* Mobile Phones (575px and below)
========================================================================== */
@media (max-width: 575px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section-header {
    margin-bottom: var(--space-lg);
  }
  
  /* Hero Section */
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  /* About Section */
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  /* Services Section */
  .tab-btn {
    min-width: calc(50% - var(--space-xs));
  }
  
  /* Clients Section */
  .client-logo {
    flex: 0 0 100%;
  }
  
  /* Contact Section */
  .contact-item {
    padding: var(--space-sm);
  }
  
  /* Footer Section */
  .footer-section {
    flex: 0 0 100%;
    margin-bottom: var(--space-md);
  }
  
  /* Back to Top Button */
  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 35px;
    height: 35px;
  }
}

/* Very Small Phones (375px and below)
========================================================================== */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .tab-btn {
    min-width: calc(100% - var(--space-xs));
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
}