/* 
 * Family Law Podcast Live Recording Events
 * Responsive Stylesheet
 */

/* ===== LARGE DEVICES (Desktops, less than 1200px) ===== */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.25rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h3 {
        font-size: 1.25rem;
    }

    .feature-icon, .coreinfo-icon, .stat-icon {
        font-size: 2rem;
        width: 70px;
        height: 70px;
        line-height: 70px;
    }

    .service-image, .blog-image {
        height: 220px;
    }

    .team-image {
        height: 260px;
    }

    /* Adjust additional pages */
    .feature-image {
        height: 180px;
    }

    .box-image {
        height: 220px;
    }
}

/* ===== MEDIUM DEVICES (Tablets, less than 992px) ===== */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section, .hero-slide {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .price-card.featured {
        transform: translateY(0);
    }

    .service-image, .blog-image, .box-image {
        height: 200px;
    }

    .team-image {
        height: 280px;
    }

    /* Timeline adjustments */
    .timeline::before {
        left: 30px;
    }

    .timeline-item::before {
        left: 22px;
        right: auto;
    }

    .timeline-item {
        padding-left: 60px;
    }

    /* Layout adjustments */
    .col-lg-15 {
        width: 33.333%;
    }
}

/* ===== SMALL DEVICES (Landscape phones, less than 768px) ===== */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-section, .hero-slide {
        height: 60vh;
        min-height: 450px;
    }

    .hero-content {
        text-align: center;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.125rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-card, .blog-card, .team-card, .price-card, .feature-card, 
    .about-feature, .coreinfo-card, .feature-item, .card-item, 
    .icon-box, .stat-box, .feature-box, .image-text-box {
        margin-bottom: 1.5rem;
    }

    .service-image, .blog-image, .box-image {
        height: 220px;
    }

    .team-image {
        height: 320px;
    }

    .contact-info-wrapper {
        margin-bottom: 2rem;
    }

    .contact-image {
        height: 300px;
    }

    /* Adjust spacing */
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    /* Adjust team layout */
    .col-lg-15 {
        width: 50%;
    }

    /* Swiper adjustments */
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }

    /* Disable animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: translateZ(0) !important;
    }
}

/* ===== EXTRA SMALL DEVICES (Portrait phones, less than 576px) ===== */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .hero-section, .hero-slide {
        height: 50vh;
        min-height: 400px;
    }

    .hero-content {
        padding: 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-content h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        margin-bottom: 1.5rem;
    }

    .service-image, .blog-image, .team-image, .box-image {
        height: 200px;
    }

    .contact-image {
        height: 250px;
    }

    /* Price card */
    .price-header {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }

    .price-body {
        padding: 1.5rem;
    }

    /* Adjust team layout */
    .col-lg-15 {
        width: 100%;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
}

/* ===== MEDIUM to LARGE DEVICES (Custom layout for team section) ===== */
@media (min-width: 768px) {
    .col-lg-15 {
        float: left;
        width: 20%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    .hero-swiper .swiper-wrapper {
        transition: none !important;
    }

    .animated-shape {
        display: none;
    }
} 