/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* No animations on mobile */
  .service-card:hover,
  .team-card:hover,
  .btn-primary:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .service-card,
  .team-card,
  .btn-primary,
  .blog-card {
    transition: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .handwriting-preview {
    font-size: 1.8rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    width: 100px;
    height: 100px;
    top: 5%;
    right: 5%;
  }
  
  .hero-decorative::before {
    width: 60px;
    height: 60px;
    top: -10px;
    left: -10px;
  }
  
  /* Section padding adjustments */
  .section {
    padding: 3rem 0;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    height: 200px;
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* Price cards */
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding: 1.5rem;
    margin-left: 1rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
  }
  
  /* Feature icons */
  .feature-icon {
    font-size: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .handwriting-preview {
    font-size: 2.2rem;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  /* Enhanced hover effects for desktop */
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  }
  
  .team-card:hover {
    transform: scale(1.08);
  }
  
  .blog-card:hover {
    transform: translateY(-8px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .handwriting-preview {
    font-size: 3rem;
  }
  
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  .hero-decorative::before {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -30px;
  }
}

/* Print styles */
@media print {
  .hero-decorative,
  .navbar,
  .footer {
    display: none;
  }
  
  .section {
    padding: 2rem 0;
    break-inside: avoid;
  }
  
  h1, h2, h3 {
    break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e7d9db;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Reduced transparency for accessibility */
@media (prefers-reduced-transparency: reduce) {
  .hero-decorative,
  .hero-decorative::before {
    opacity: 1;
  }
} 

.hero-section h1 {
    padding-top: 200px;
}