/* ===== RESPONSIVE STYLES ===== */

/* ===== SMALL DEVICES (Landscape phones, 576px and up) ===== */
@media (max-width: 575.98px) {
  /* No animations on mobile resolution */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Section padding adjustments */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Card spacing */
  .custom-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team photo size */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Button adjustments */
  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.625rem 0.875rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  /* Navbar brand size */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Card icon size */
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price value size */
  .price-value {
    font-size: 1.75rem;
  }
}

/* ===== MEDIUM DEVICES (Tablets, 768px and up) ===== */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
  }
  
  /* Section padding */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Team photo */
  .team-photo {
    width: 110px;
    height: 110px;
  }
}

/* ===== LARGE DEVICES (Desktops, 992px and up) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero-section h1 {
    font-size: 2.375rem;
  }
  
  /* Section padding */
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* ===== EXTRA LARGE DEVICES (Large desktops, 1200px and up) ===== */
@media (min-width: 992px) {
  /* Full desktop styles */
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .custom-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .custom-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .btn-primary-custom,
  .btn-secondary-custom {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  h1, h2, h3, h4 {
    color: #000;
    page-break-after: avoid;
  }
  
  .custom-card {
    border: 1px solid #ddd;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* ===== ACCESSIBILITY MEDIA QUERIES ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
  
  .custom-card {
    transition: none;
  }
  
  .custom-card:hover {
    transform: none;
  }
  
  .btn-primary-custom:hover,
  .btn-secondary-custom:hover {
    transform: none;
  }
}


/* ===== UTILITY RESPONSIVE CLASSES ===== */
@media (max-width: 575.98px) {
  .mobile-center {
    text-align: center !important;
  }
  
  .mobile-hidden {
    display: none !important;
  }
  
  .mobile-full-width {
    width: 100% !important;
  }
}

@media (min-width: 576px) {
  .mobile-only {
    display: none !important;
  }
}

/* ===== CONTAINER RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
} 

.hero-content {
    padding-top: 100px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
