/* 
* RAR - Corporate Website Responsive Styles
* Responsive CSS file for RAR Technology Consulting
* Author: RAR Design Team
* Version: 1.0
*/

/* This file contains additional responsive styles to supplement the main style.css */
/* Media queries in style.css handle the core responsive layout */

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .hero h1 {
        font-size: 3.75rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .hero {
        min-height: 550px;
    }

    .service-icon,
    .value-icon,
    .industry-icon,
    .benefit-icon,
    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    .hero {
        min-height: 500px;
    }

    .page-banner {
        height: 250px;
    }

    /* Adjust grid layouts for tablets */
    .services-grid,
    .values-grid,
    .team-grid,
    .benefits-grid,
    .solutions-grid,
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Adjust spacing for smaller screens */
    .section-header {
        margin-bottom: var(--spacing-lg);
    }

    /* Handle multi-column layouts */
    .mission-vision-content {
        flex-direction: column;
    }

    .mission-box, .vision-box {
        width: 100%;
    }

    /* Case studies and testimonials adjustments */
    .case-study-image {
        height: 180px;
    }

    .testimonial {
        max-width: 100%;
    }

    /* Footer adjustments */
    .footer-content {
        gap: var(--spacing-lg);
    }

    .footer-column {
        min-width: 45%;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .hero {
        min-height: 450px;
    }

    .page-banner {
        height: 200px;
    }

    /* Adjust hero content for better readability */
    .hero-content {
        width: 100%;
    }

    /* Single column layouts for smaller screens */
    .services-grid,
    .values-grid,
    .team-grid,
    .benefits-grid,
    .solutions-grid,
    .info-cards,
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Adjust testimonials for single column */
    .testimonial-slider {
        flex-direction: column;
    }

    .testimonial {
        max-width: 100%;
    }

    /* Contact section adjustments */
    .contact-grid {
        flex-direction: column;
    }

    .map-container {
        margin-top: var(--spacing-lg);
    }

    .map {
        min-height: 250px;
    }

    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .footer-column {
        width: 100%;
    }

    /* Solutions page adjustments */
    .solution-details,
    .solution-details.reverse {
        flex-direction: column;
    }

    .solution-image {
        max-width: 100%;
    }

    /* Process flow adjustments */
    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-item {
        max-width: 100%;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    /* Adjust header elements */
    header {
        padding: var(--spacing-sm) 0;
    }

    .logo {
        max-width: 120px;
    }

    /* Adjust hero section */
    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero h2 {
        font-size: 1.125rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Adjust banner sections */
    .page-banner {
        height: 180px;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .page-banner p {
        font-size: 1rem;
    }

    /* Adjust section headers */
    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Adjust grid layouts */
    .services-grid,
    .values-grid,
    .team-grid,
    .benefits-grid,
    .solutions-grid,
    .info-cards,
    .case-studies-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Adjust card elements */
    .service-card,
    .value-card,
    .team-member,
    .benefit-card,
    .solution-card,
    .info-card,
    .case-study-card {
        padding: var(--spacing-md);
    }

    .service-icon,
    .value-icon,
    .industry-icon,
    .benefit-icon,
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: var(--spacing-md);
    }

    /* Adjust image layouts */
    .about-image,
    .service-image,
    .solution-image {
        margin-bottom: var(--spacing-md);
    }

    /* Adjust two-column layouts */
    .two-column-layout,
    .about-content,
    .service-details,
    .service-details.reverse,
    .solution-details,
    .solution-details.reverse {
        flex-direction: column;
    }

    /* Adjust contact form */
    .contact-form {
        gap: var(--spacing-sm);
    }

    .form-group {
        flex: 1 0 100%;
    }

    /* Adjust FAQ section */
    .faq-question {
        padding: var(--spacing-md);
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    /* Adjust legal pages */
    .legal-document {
        padding: var(--spacing-md);
    }

    /* Adjust CTA sections */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    /* Adjust footer */
    footer {
        padding-top: var(--spacing-xl);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        padding: var(--spacing-sm) 0;
    }

    .legal-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .legal-links a {
        margin-left: 0;
    }
} 