/* 
 * domain - Financial Audit Services
 * Responsive Stylesheet
 */

/* --------------------
 * Tablet (≥768px)
 * -------------------- */
@media (max-width: 991px) {
    /* Header & Navigation */
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1F2937;
        padding: 80px 20px 20px;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .main-nav.menu-visible {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    /* Hero Section */
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-animation {
        margin-top: 40px;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Process Section */
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .step-content {
        text-align: center;
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        order: 1;
        max-width: 500px;
        margin: 0 auto 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        max-width: 100%;
    }
}

/* --------------------
 * Mobile (≥576px)
 * -------------------- */
@media (max-width: 767px) {
    /* General */
    section {
        padding: 70px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-text blockquote {
        font-size: 1rem;
    }
    
    /* FAQ */
    .faq-question h3 {
        font-size: 16px;
    }
    
    /* Policy Pages */
    .policy-content {
        padding: 30px 20px;
    }
    
    /* Enhanced Hero Section for Mobile */
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-animation {
        display: none; /* Hide animation on smaller screens for better focus */
    }
    
    .hero-section .cta-button {
        width: 100%;
        max-width: 260px;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* --------------------
 * Small Mobile (<576px)
 * -------------------- */
@media (max-width: 575px) {
    /* General */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    /* Header */
    .main-header {
        padding: 12px 0;
    }
    
    .logo svg {
        width: 120px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 130px 0 70px;
        background: linear-gradient(to bottom, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 1));
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* About Stats */
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Contact Item */
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Cookie Popup */
    .cookie-popup {
        max-width: 90%;
    }
}

/* --------------------
 * Print Styles
 * -------------------- */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .main-header, .main-footer, .hero-animation, .cta-button, .cookie-popup {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
}