/* Responsive Design for Wellness Insurance Template */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .service-card {
    padding: 3rem;
  }
  
  .price-card {
    padding: 3.5rem 2.5rem;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
  
  .service-card {
    padding: 2.2rem;
  }
  
  .price-card {
    padding: 2.8rem 2rem;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .service-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    padding: 2.5rem 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .service-name {
    font-size: 1.3rem;
  }
  
  .service-price {
    font-size: 1.8rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Extra Small Devices (Less than 576px) */
@media (max-width: 575px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    padding-top: 120px;
    text-align: center;
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .section-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .about-feature {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .about-feature-icon {
    font-size: 2.5rem;
  }
  
  .about-feature-name {
    font-size: 1.1rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .service-name {
    font-size: 1.2rem;
  }
  
  .service-desc {
    font-size: 0.9rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .feature-name {
    font-size: 1.2rem;
  }
  
  .feature-desc {
    font-size: 0.9rem;
  }
  
  .price-card {
    padding: 1.8rem 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .price-name {
    font-size: 1.4rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .price-desc {
    font-size: 0.9rem;
  }
  
  .price-features li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  
  .team-member-name {
    font-size: 1.1rem;
  }
  
  .team-member-role {
    font-size: 0.9rem;
  }
  
  .swiper-slide {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
  }
  
  .review-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .review-author {
    font-size: 1rem;
  }
  
  .coreinfo-item {
    padding: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .coreinfo-title {
    font-size: 1.2rem;
  }
  
  .coreinfo-desc {
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .blog-item {
    margin-bottom: 1.5rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-title {
    font-size: 1.1rem;
  }
  
  .blog-excerpt {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
overflow-x: hidden;
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .footer-section p, .footer-section li {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .space-container {
    padding: 1rem;
  }
  
  #space {
    min-height: 300px;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
    padding-top: 80px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    opacity: 0.08;
  }
  
  .shape-blob {
    opacity: 0.08;
  }
}

/* Print Styles */
@media print {
  header, footer, .navbar, .swiper-pagination, .swiper-button-next, .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }
  
  .service-card, .price-card, .team-member {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    text-decoration: underline;
  }
  
  .btn {
    display: none;
  }
}

/* Focus and Accessibility */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .price-card, .team-member img, .gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  .gallery-item img, .team-member img, .blog-item img {
    filter: brightness(0.9);
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card, .price-card, .contact-form {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-green);
  }
} 