/* Responsive Design */

@media (max-width: 1024px) {
  :root {
    --container-width: 90%;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .logo-img {
    height: 50px;
  }

  /* Hero Responsive */
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero-title br {
    display: none;
  }
  .hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
  .hero-center-img {
    max-width: 80%;
  }

  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .page-title {
    font-size: 1.8rem !important;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1002;
    position: relative;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Start from top */
    padding-top: 100px; /* Space for logo/toggle */
    z-index: 1001;
    overflow-y: auto; /* Allow scrolling if menu is long */
  }

  .nav.nav-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
  }

  .nav-link {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .footer-col {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  h1 {
    font-size: 1.8rem;
  }
  .page-title {
    font-size: 1.6rem !important;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
  }

  /* Mobile Dropdown styles - Moved from style.css */
  .dropdown-menu {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding-left: 1.5rem !important;
    width: 100% !important;
    margin-top: 10px;
  }
  
  .dropdown.dropdown-open > .dropdown-menu {
    display: block !important;
  }
  
  .dropdown.dropdown-open .nav-chevron {
    transform: rotate(180deg);
  }
  
  .dropdown-menu a {
    color: var(--text-body) !important;
    padding: 0.75rem 0 !important;
    text-transform: none !important;
    font-size: 1.1rem !important;
  }
}

/* ===== New Sections Responsive ===== */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  .cta-banner-section h2 {
    font-size: 1.6rem;
  }
  .cta-banner-section {
    padding: 3rem 0;
  }
  .cta-buttons .btn {
    min-width: 160px;
  }
  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }
  .faq-answer p {
    font-size: 0.9rem;
  }
  .area-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .error-content h1 {
    font-size: 5rem;
  }
  .error-content h2 {
    font-size: 1.5rem;
  }
  .breadcrumb-list {
    font-size: 0.8rem;
  }
}
