/* Responsive Styles - Mobile First */

/* Tablet styles */
@media (max-width: 991.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.9rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-section::before {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -15%;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Feature cards */
  .feature-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Team cards */
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Process steps */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Gallery grid */
  .gallery-item {
    height: 200px;
  }
}

/* Mobile styles */
@media (max-width: 767.98px) {
  /* Typography */
  .navbar-brand {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  /* Section padding */
  .hero-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 3rem 0;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-section::before {
    width: 200px;
    height: 200px;
    top: -20%;
    right: -10%;
  }
  
  /* Service image */
  .service-image {
    height: 100px;
    font-size: 2.5rem;
  }
  
  /* Team photo */
  .team-photo {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Price value */
  .price-value {
    font-size: 2rem;
  }
  
  /* Gallery item */
  .gallery-item {
    height: 150px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Small mobile styles */
@media (max-width: 575.98px) {
  /* Container padding */
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography */
  h1 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  /* Section padding */
  .hero-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 2.5rem 0;
  }
  
  /* Section title margin */
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Section description */
  .section-description {
    margin-bottom: 2rem;
  }
  
  /* Cards padding */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .process-step {
    padding: 1.5rem;
  }
  
  /* Service image */
  .service-image {
    height: 80px;
    font-size: 2rem;
  }
  
  /* Team photo */
  .team-photo {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Feature icon */
  .feature-icon {
    font-size: 2rem;
  }
  
  /* Price value */
  .price-value {
    font-size: 1.8rem;
  }
  
  /* Gallery item */
  .gallery-item {
    height: 120px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Step number */
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  /* FAQ card */
  .faq-card {
    padding: 1rem;
  }
}

/* Disable ALL animations and transitions on mobile for performance */
@media (max-width: 767.98px) {
  * {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    transform: none !important;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
  
  .price-card:hover {
    border-color: var(--light-sage) !important;
  }
  
  /* Disable specific animations */
  .hero-section::before {
    display: none;
  }
  
  /* Disable all data-sal animations */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .service-card,
  .blog-card,
  .navbar-nav .nav-link,
  .form-control,
  .btn-primary,
  .footer a {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .navbar {
    border-bottom: 2px solid #000;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .form-control {
    border: 2px solid #000;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section-title,
  .section-subtitle,
  .section-description {
    page-break-after: avoid;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

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