/* Additional responsive styles for Ramsinfotech.ai */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .industries-grid,
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .services-grid,
    .industries-grid,
    .products-showcase {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-content .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .ai-orb {
        width: 200px;
        height: 200px;
    }
    
    .orb-inner {
        font-size: 3rem;
    }
    
    .service-card,
    .industry-card,
    .product-card {
        padding: 20px;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Very small devices (less than 375px) */
@media (max-width: 374.98px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .whatsapp-widget,
    .mobile-menu-btn,
    .hero-buttons .btn-secondary,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    section {
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .btn {
        border: 1px solid #000;
        color: #000;
        background: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #121212;
        --dark-color: #f8f9fa;
    }
    
    body {
        background-color: #121212;
        color: #f8f9fa;
    }
    
    .service-card,
    .industry-card,
    .product-card {
        background-color: #1e1e1e;
        color: #f8f9fa;
    }
    
    .industries,
    .partners {
        background-color: #1a1a1a;
    }
    
    .nav-links a {
        color: #f8f9fa;
    }
    
    .logo {
        color: #f8f9fa;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #800080;
        --accent-color: #ff0000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .ai-orb,
    .orb-ring {
        animation: none;
    }
    
    .whatsapp-pulse {
        animation: none;
    }
}