/* ===== Responsive Styles - Mobile First ===== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --section-padding: 5rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .process-number {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  :root {
    --font-size-h1: 3rem;
    --font-size-h2: 2.25rem;
    --section-padding: 6rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .card-img-top {
    height: 250px;
  }
  
  .team-photo {
    width: 200px;
    height: 200px;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-shape-1 {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }
}

/* Mobile specific styles (up to 767px) */
@media (max-width: 767.98px) {
  /* Disable animations on mobile for performance */
  .service-card:hover,
  .feature-card:hover,
  .priceplan-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Mobile navigation */
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 60vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Typography adjustments */
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
  }
  
  /* Card adjustments */
  .service-card,
  .feature-card,
  .review-card,
  .priceplan-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    border-left: none;
    border-top: 3px solid var(--color-primary);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  
  .timeline-item::before {
    left: 0;
    top: -7.5px;
  }
  
  /* Process steps */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Team member spacing */
  .team-member {
    margin-bottom: 3rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
  }
  
  /* Blog cards */
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Extra small devices adjustments */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --section-padding: 3rem 0;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 50vh;
    padding: 2rem 0;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .price {
    font-size: 1.25rem;
  }
  
  .faq-card {
    padding: 0.75rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-shape,
  .btn {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .feature-card,
  .review-card,
  .priceplan-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000;
    --color-secondary: #000;
    --color-accent: #000;
    --color-neutral: #000;
    --color-primary-light: #666;
    --color-secondary-light: #666;
    --color-accent-light: #666;
    --color-neutral-light: #ccc;
  }
  
  .service-card,
  .feature-card,
  .review-card,
  .priceplan-card {
    border: 2px solid #000;
  }
  
  .form-control {
    border: 2px solid #000;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}

.hero-content {
    padding-top: 150px;
}