/* Responsive Styles for Cross-Border Inheritance Advice Office */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .team-img {
    width: 140px;
    height: 140px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .team-img {
    width: 120px;
    height: 120px;
  }
  
  .about-feature, 
  .service-item, 
  .price-item, 
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  /* Disable animations on tablets */
  @media (prefers-reduced-motion) {
    .fade-in {
      transition: none;
      opacity: 1;
      transform: none;
    }
    
    .service-item:hover,
    .price-item:hover,
    .blog-item:hover,
    .about-feature:hover,
    .coreinfo-item:hover,
    .team-member:hover .team-img {
      transform: none;
    }
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .team-img {
    width: 100px;
    height: 100px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  /* Disable animations on mobile */
  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
  
  .service-item:hover,
  .price-item:hover,
  .blog-item:hover,
  .about-feature:hover,
  .coreinfo-item:hover,
  .team-member:hover .team-img {
    transform: none;
  }
  
  /* Stack items vertically */
  .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  html {
    font-size: 13px;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    min-height: 60vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .team-img {
    width: 90px;
    height: 90px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  /* Disable animations on mobile */
  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
  
  .service-item:hover,
  .price-item:hover,
  .blog-item:hover,
  .about-feature:hover,
  .coreinfo-item:hover,
  .team-member:hover .team-img {
    transform: none;
  }
  
  /* Adjust spacing for stacked items */
  .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  
  .site-header {
    padding: 0.5rem 0;
  }
  
  .site-logo {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
} 