/* Responsive CSS for domain.com */

/* Large Screens (under 1200px) */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2.7rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .service-item {
    padding: 30px 20px;
  }
}

/* Medium Screens (under 992px) */
@media (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .cta h2 {
    font-size: 2.4rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .grid {
    gap: 20px;
  }
  
  .service-item {
    grid-column: span 6;
  }
  
  .counter-wrapper {
    grid-column: span 6;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonial-slide {
    width: calc(50% - 15px);
  }
}

/* Small Screens (under 768px) */
@media (max-width: 768px) {
  /* Header/Navigation styles */
  header .menu-toggle {
    display: block;
  }
  
  header nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--midnight-teal);
    padding: 20px;
    z-index: 100;
  }
  
  header nav.menu-open {
    display: block;
  }
  
  header nav ul {
    flex-direction: column;
  }
  
  header nav li {
    margin: 10px 0;
  }
  
  header nav a {
    color: white;
  }
  
  /* About Section - mobile adjustments */
  .about-content-left,
  .about-content-right {
    grid-column: span 12;
  }
  
  .about-text-wrapper {
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .angle-top {
    margin-top: 50px;
  }
  
  .angle-top:before {
    top: -40px;
    height: 40px;
  }
  
  .angle-bottom {
    margin-bottom: 50px;
  }
  
  .angle-bottom:after {
    bottom: -40px;
    height: 40px;
  }
  
  .service-item, 
  .benefit-item,
  .counter-wrapper {
    grid-column: span 12;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Extra Small Screens (under 576px) */
@media (max-width: 768px) {
  .thank-you-content {
    padding: 40px 20px;
  }
  
  .cta h2 {
    font-size: 2.1rem;
  }
  
  .cta p {
    font-size: 1.1rem;
  }
  
  .btn-special {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .service-item {
    padding-bottom: 25px;
  }
  
  .service-item h3,
  .service-item p {
    padding: 0 15px;
  }
  
  .service-icon {
    height: 160px;
  }
  
  .credential-item, 
  .benefit-item {
    padding: 25px 15px;
  }
  
  .benefit-item {
    padding-left: 15px;
  }
  
  .benefit-number {
    position: relative;
    margin-bottom: 10px;
    font-size: 2rem;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .cookie-banner {
    flex-direction: column;
  }
  
  .cookie-banner p {
    margin-bottom: 15px;
    margin-right: 0;
    text-align: center;
  }
  
  .policy-container {
    padding: 25px 15px;
  }
  
  .testimonial-slide {
    width: 100%;
  }
}
