/* Responsive CSS for Digital Will Vault Template */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .team-member img {
        width: 180px;
        height: 180px;
    }
    
    .price-item.featured {
        transform: scale(1.03);
    }
    
    .price-item.featured:hover {
        transform: scale(1.03) translateY(-10px);
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .team-member img {
        width: 160px;
        height: 160px;
    }
    
    .price-item.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .price-item.featured:hover {
        transform: translateY(-10px);
    }
    
    .price-value {
        font-size: 2.25rem;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-feature,
    .service-item,
    .feature-item,
    .core-item {
        padding: 1.5rem;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    .price-item {
        padding: 2rem 1.5rem;
    }
    
    .price-item.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .price-item.featured:hover {
        transform: translateY(-10px);
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .review-item {
        padding: 1.25rem;
        margin: 0.5rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-control {
        padding: 0.625rem 1rem;
    }
    
    footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .accordion-button {
        padding: 1rem;
    }
    
    .accordion-body {
overflow-x: hidden;
        padding: 1rem;
    }
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1;
        transform: none;
    }
    
    .service-item:hover::before {
        width: 5px;
    }
    
    .about-feature:hover,
    .core-item:hover,
    .gallery-item:hover,
    .blog-item:hover,
    .price-item:hover,
    .team-member:hover img {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .price-item.featured:hover {
        transform: scale(1.05);
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}

/* Print Styles */
@media print {
    header, 
    footer, 
    .scroll-top,
    .breadcrumb-wrapper {
        display: none !important;
    }
    
    body {
overflow-x: hidden;
        color: #000;
        background: #fff;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
} 