/* Responsive Design - Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    h1 { font-size: 1.81rem; }
    h2 { font-size: 1.55rem; }
    h3 { font-size: 1.27rem; }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section h1 {
        font-size: 2.56rem;
    }
    
    .contact-info {
        margin-top: 1.61rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1.25rem !important;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3.57rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .contact-info {
        margin-top: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1.5rem !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .contact-info {
        padding: 2.5rem;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    section {
        padding: 100px 0;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--background-light);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .breadcrumb-image {
        display: none;
    }
}

/* Hero Section Responsive */
@media (max-width: 991.98px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
}

/* Cards Responsive */
@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card .card-img-top {
        height: 150px;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    footer .row > div {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .row > div:last-child {
        margin-bottom: 0;
    }
}

/* Space Container Responsive */
@media (max-width: 767.98px) {
    .space-container {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .space-container h1 {
        font-size: 2rem;
    }
}

/* Form Responsive */
@media (max-width: 767.98px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Utilities Responsive */
@media (max-width: 575.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
    
    section {
        padding: 1rem 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #f2e4e3 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0d32ff;
        --secondary-color: #00940c;
        --text-primary: #000000;
        --background-light: #ffffff;
        --neutral-light: #d9d9d9;
    }
    
    .btn-primary {
        background: #0d19e9 !important;
        border: 2px solid #000000 !important;
    }
    
    .card {
        border: 2px solid #000000 !important;
    }
    
    .form-control {
        border: 2px solid #000000 !important;
    }
}

