/* RESPONSIVE CSS - Boutique Pension Law Clinic */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .service-card .service-img {
    height: 180px;
  }
  
  .blog-img {
    height: 220px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .service-card .service-img {
    height: 160px;
  }
  
  .blog-img {
    height: 200px;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
  
  .team-member {
    margin-bottom: 40px;
  }
  
  .about-feature {
    padding: 1.5rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  
  .section-heading {
    margin-bottom: 2.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-slide {
    min-height: 500px;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
  
  .about-feature, .core-info-item {
    margin-bottom: 1.5rem;
  }
  
  .service-card, .price-card, .blog-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .section-heading {
    margin-bottom: 2rem;
  }
  
  .section-heading::after {
    width: 60px;
    height: 2px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 450px;
  }
  
  .hero-slide {
    min-height: 450px;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
  
  .about-feature, .core-info-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card, .price-card, .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member {
    margin-bottom: 25px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* Animations Control for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .fade-in,
  .hero-slide,
  .service-card,
  .price-card,
  .team-img,
  .team-info,
  .blog-card,
  .about-feature,
  .core-info-item::before {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .service-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .about-feature:hover,
  .team-member:hover .team-img,
  .team-member:hover .team-info,
  .core-info-item:hover,
  .review-card:hover {
    transform: none;
    box-shadow: none;
  }
  
  .nav-link:hover::after {
    width: 0;
  }
}

/* Print Styles */
@media print {
  header, footer, .hero-section, .contact-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .service-card, .price-card, .core-info-item {
    border: 1px solid #ddd;
    box-shadow: none;
  }
} 