/*
* Medical Negligence Litigation Workshops Template
* Responsive CSS file
*/

/* 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) {
    .slide-content h1 {
        font-size: 42px;
    }
    
    .slide-content h2 {
        font-size: 22px;
    }
    
    .section-title h3 {
        font-size: 32px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html {
        font-size: 95%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .section-title h3 {
        font-size: 28px;
    }
    
    .feature-box i,
    .service-icon i,
    .feature-icon i,
    .info-icon i {
        font-size: 30px;
    }
    
    .feature-box h4,
    .service-box h4,
    .feature-item h4,
    .info-box h4 {
        font-size: 18px;
    }
    
    .price-header h4 {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 30px;
    }
    
    .member-info h4 {
        font-size: 20px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 90%;
    }
    
    section {
        padding: 50px 0;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content h2 {
        font-size: 18px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h3 {
        font-size: 24px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .service-box,
    .feature-item,
    .price-box,
    .team-member,
    .info-box,
    .blog-item {
        margin-bottom: 20px;
    }
    
    .price-box.featured {
        transform: scale(1);
    }
    
    .price-box.featured:hover {
        transform: translateY(-10px);
    }
    
    .contact-image {
        margin-bottom: 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-info,
    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 85%;
    }
    
    section {
        padding: 40px 0;
    }
    
    .slide-content h1 {
        font-size: 26px;
    }
    
    .slide-content h2 {
        font-size: 16px;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .section-title h3 {
        font-size: 22px;
    }
    
    .feature-box,
    .service-box,
    .feature-item,
    .price-box,
    .team-member,
    .info-box,
    .blog-item {
        margin-bottom: 15px;
    }
    
    .about-image {
        margin-bottom: 25px;
    }
    
    .price-box.featured {
        transform: scale(1);
    }
    
    .price-box.featured:hover {
        transform: translateY(-10px);
    }
    
    .contact-image {
        margin-bottom: 25px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .form-control {
        height: 50px;
        font-size: 14px;
    }
    
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-info,
    .footer-links,
    .footer-contact {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-contact p {
        padding-left: 0;
        text-align: center;
    }
    
    .footer-contact p::before {
        position: static;
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }
    
    /* Fix for Mobile Navigation */
    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        box-shadow: var(--box-shadow);
        border-radius: var(--border-radius);
        margin-top: 10px;
    }
    
    /* Adjust Hero for Mobile */
    .hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero-slide {
        height: auto;
        min-height: 500px;
    }
    
    /* Swiper Controls for Mobile */
    .hero .swiper-button-next,
    .hero .swiper-button-prev {
        display: none;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-wrapper {
        transition-timing-function: linear !important;
    }
    
    .slider-content h1,
    .slider-content h2,
    .slider-content p,
    .slider-content .btn {
        animation: none !important;
    }
} 