/* Responsive CSS for Divorce Financial Planning Service website */

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        height: 70vh;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        height: 60vh;
    }

    .team-img-container {
        width: 150px;
        height: 150px;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

/* Small devices (portrait tablets and large phones, 576px and up) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    .hero-section {
        height: 50vh;
        min-height: 400px;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .service-card,
    .price-card,
    .blog-card {
        margin-bottom: 2rem;
    }
}

/* Extra small devices (phones, 575px and down) */
@media only screen and (max-width: 575px) {
    h1 {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-section {
        height: 40vh;
        min-height: 350px;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .service-card,
    .about-feature,
    .price-card,
    .team-member,
    .coreinfo-item,
    .blog-card {
        margin-bottom: 1.5rem;
    }

    .site-header .navbar-toggler {
        margin-left: auto;
    }

    .navbar-collapse {
        background-color: #fff;
        border-radius: var(--radius-md);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        margin-top: 1rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .site-footer {
        padding: 2rem 0 1rem;
    }

    .footer-column {
        margin-bottom: 1.5rem;
    }
}

/* Navigation toggle for mobile */
@media only screen and (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        z-index: 1000;
    }

    .site-header .navbar-toggler {
        border: none;
        outline: none;
    }

    .site-header .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .slide-up,
    .fade-in {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .swiper-container {
        --swiper-autoplay-delay: 0 !important;
    }
} 