/* Additional responsive design styles */

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-navy);
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1200px) {
    .container {
        width: 90%;
    }
    
    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
}

@media screen and (max-width: 992px) {
    .about-grid, 
    .services-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .footer-column {
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 15px var(--shadow-color);
        z-index: 100;
        padding: 1rem 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .footer-column h3 {
        font-size: 1.3rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    nav ul li a:hover {
        background-color: var(--light-blue);
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .chat-widget {
        width: 60px;
        height: 60px;
    }
}

/* Print styles */
@media print {
    .chat-widget,
    .mobile-menu-toggle,
    nav,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .hero {
        background: none !important;
        color: #000;
        padding: 1rem 0;
    }
    
    .hero h1, .hero p {
        color: #000;
    }
    
    .section-title h2 {
        color: #000;
    }
}

/* Accessibility improvements */
:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-navy);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Improved form field focus states */
input:focus, 
textarea:focus, 
select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.25);
}

/* Improved button states for touch devices */
.btn:active {
    transform: scale(0.98);
}
