/* Responsive Styles for domain.com */

/* Tablet Styles (up to 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        width: 32%;
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Styles (up to 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Header */
    .site-header .container {
        height: 70px;
    }
    
    .logo a {
        font-size: 1.8rem;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .menu-button {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
    }
    
    .menu-button span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--color-midnight);
        transition: all var(--transition-speed);
    }
    
    .menu-button span.menu-closed:before,
    .menu-button span.menu-closed:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--color-midnight);
        transition: all var(--transition-speed);
    }
    
    .menu-button span.menu-closed {
        top: 14px;
    }
    
    .menu-button span.menu-closed:before {
        top: -10px;
    }
    
    .menu-button span.menu-closed:after {
        top: 10px;
    }
    
    .menu-button span.menu-open {
        background-color: transparent;
    }
    
    .menu-button span.menu-open:before,
    .menu-button span.menu-open:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--color-midnight);
        transition: all var(--transition-speed);
        top: 0;
    }
    
    .menu-button span.menu-open:before {
        transform: rotate(45deg);
    }
    
    .menu-button span.menu-open:after {
        transform: rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        z-index: 1000;
        transition: right var(--transition-speed);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    .main-nav ul li a {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Cases Section */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    @media (min-width: 769px) and (max-width: 1024px) {
        .cases-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }
    }
    
    /* Process Section */
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        width: 100%;
        margin-bottom: 30px;
        display: block;
    }
    
    /* Form Section */
    .form-container {
        padding: 30px 20px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .testimonial-item blockquote {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
