/* Responsive Styles for Invoice Fraud Detection SaaS Template */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-content {
        padding-right: 2rem;
    padding-top: 150px;
}
    
    .hero-image {
        padding-left: 2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 3rem 0;
        --font-size-3xl: 1.75rem;
        --font-size-2xl: 1.375rem;
    }
    
    #hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    padding-top: 150px;
}
    
    .hero-shape-1,
    .hero-shape-2 {
        display: none;
    }
    
    .service-card,
    .price-card {
        margin-bottom: 2rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 2.5rem 0;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --font-size-xl: 1.125rem;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    #hero {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .service-card,
    .feature-card,
    .price-card,
    .team-card,
    .review-card,
    .case-study-card {
        margin-bottom: 1.5rem;
    }
    
    .price-card .price {
        font-size: 2.5rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .core-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .team-photo {
        height: 200px;
    }
    
    footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    footer .row > div {
        margin-bottom: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    :root {
        --section-padding: 2rem 0;
        --font-size-3xl: 1.375rem;
        --font-size-2xl: 1.125rem;
        --font-size-xl: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.5rem;
    }
    
    .service-card,
    .feature-card,
    .price-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .price-card .price {
        font-size: 2rem;
    }
    
    .process-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .core-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .team-info,
    .blog-content {
        padding: 1rem;
    }
    
    .faq-card {
        padding: 1rem;
    }
    
    .timeline-item,
    .career-item {
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .blog-image {
        height: 150px;
    }
    
    .team-photo {
        height: 180px;
    }
}

/* Disable animations on mobile to improve performance */
@media (max-width: 767.98px) {
    .service-card:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    .service-card,
    .gallery-item {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
        --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    }
    
    .service-card,
    .feature-card,
    .price-card,
    .team-card,
    .review-card,
    .case-study-card,
    .contact-form,
    .blog-card,
    .faq-card,
    .timeline-item,
    .career-item {
        border: 2px solid var(--medium-gray);
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    overflow-x: hidden;
}
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .service-card,
    .feature-card,
    .price-card,
    .team-card,
    .review-card {
        border: 1pt solid black;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    .hero-shape-1,
    .hero-shape-2 {
        display: none;
    }
} 