/* Responsive Styles */

/* Extra Large Screens (over 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-content h2 {
    font-size: 3.5rem;
  }
  
  .hero-content p {
    font-size: 1.4rem;
  }
}

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.8rem;
  }
  
  .company-name {
    font-size: 1.6rem;
  }
  
  .about-content {
    gap: var(--spacing-lg);
  }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    flex: 100%;
  }
  
  .about-image {
    margin-top: var(--spacing-lg);
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-map {
    margin-top: var(--spacing-lg);
  }
  
  .footer-content {
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  
  .footer-logo, .footer-links, .footer-social {
    flex: 1 0 100%;
    text-align: center;
  }
  
  .footer-links ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero-section {
    height: auto;
    min-height: 500px;
    padding: 120px 0 var(--spacing-xl);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .about-values {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  /* Mobile Menu Styles */
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 100px var(--spacing-lg) var(--spacing-lg);
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: var(--spacing-sm) 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
    display: block;
    padding: var(--spacing-sm);
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .btn {
    width: 100%;
    margin-right: 0;
  }
}

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 450px;
  }
  
  .company-name {
    font-size: 1.4rem;
  }
  
  .logo {
    height: 40px;
  }
  
  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }
  
  .service-card {
    padding: var(--spacing-md);
  }
  
  .section-title {
    margin-bottom: var(--spacing-lg);
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-item i {
    margin: 0 auto var(--spacing-sm);
  }
  
  .nav-links {
    width: 85%;
  }
}