/* 
 * Legacy Protection Seminars
 * Responsive Stylesheet
 */

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  h1, .hero-title {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.6rem;
  }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  section {
    padding: 60px 0;
  }
  
  h1, .hero-title {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
  
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 15px;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    padding: 12px 0;
  }
  
  .navbar-nav .nav-link:after {
    bottom: 5px;
  }
  
  #hero {
    min-height: 600px;
    height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-content {
    text-align: center;
    padding-bottom: 40px;
  }
  
  .service-item-image {
    height: 180px;
  }
  
  .price-plan-item {
    margin-bottom: 30px;
  }
  
  .review-item {
    margin: 15px 10px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  footer {
    padding: 60px 0 0;
  }
  
  .footer-column {
    margin-bottom: 40px;
  }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  section {
    padding: 50px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  h4 {
    font-size: 1.4rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .about-feature,
  .features-item,
  .coreinfo-item {
    margin-bottom: 30px;
  }
  
  .service-item {
    margin-bottom: 30px;
  }
  
  .team-member {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  /* Disable animations on mobile for performance and accessibility */
  @media (prefers-reduced-motion: no-preference) {
    .shape,
    .service-item:hover,
    .features-item:hover,
    .about-feature:hover,
    .coreinfo-item:hover,
    .price-plan-item:hover,
    .review-item:hover,
    .blog-item:hover,
    .card:hover {
      animation: none;
      transform: none;
    }
  }
  
  /* Swiper slider adjustments */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .reviews-slider {
    padding-bottom: 40px;
  }
}

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding: 40px 0;
  }
  
  h1, .hero-title {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
  
  #hero {
    padding: 100px 0 50px;
    min-height: 500px;
  }
  
  .service-item-image {
    height: 160px;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .footer-copyright {
    padding: 15px 0;
  }
  
  .footer-copyright p {
    font-size: 0.9rem;
  }
}

/* Custom Media Query for extremely small devices */
@media (max-width: 359.98px) {
  h1, .hero-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
} 