/* Responsive Design - Mobile First */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 2.5rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .process-step .step-number::after {
        width: 80px;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 2.2rem;
    }
    
    .contact-info {
        margin-top: 0;
    }
    
    .process-step .step-number::after {
        display: block;
    }
    
    .timeline-item .timeline-year {
        width: 100px;
        height: 100px;
        font-size: 1.4rem;
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .service-card .card-img-top {
        height: 220px;
    }
    
    .team-member img {
        width: 130px;
        height: 130px;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .contact-info {
        padding: 2.5rem;
    }
    
    .content-card {
        padding: 2.5rem;
    }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) {
    .hero-buttons .btn {
        padding: 0.875rem 2.5rem;
    }
    
    .pricing-card .price {
        font-size: 2.8rem;
    }
    
    .process-step .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .timeline-item .timeline-year {
        width: 90px;
        height: 90px;
        font-size: 1.3rem;
    }
}

/* Mobile Devices (up to 575px) */
@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        margin-right: 0;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    .feature-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card .price {
        font-size: 2.2rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    .case-study-card {
        margin-bottom: 1.5rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-step .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .process-step .step-number::after {
        display: none;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-item .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    
    .career-card {
        margin-bottom: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-info .contact-item {
        font-size: 1rem;
    }
    
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-card .card-img-top {
        height: 160px;
    }
    
    .faq-card {
        margin-bottom: 1rem;
    }
    
    .faq-card .card-body {
        padding: 1.5rem;
    }
    
    .content-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumb-section {
        margin-top: 70px;
    }
    
    .breadcrumb-img {
        height: 25px;
    }
    
    .space-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    #gallery img {
        margin-bottom: 1rem;
    }
}

/* Very Small Devices (up to 400px) */
@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 1.8rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .pricing-card .card-body {
        padding: 1rem;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .space-content {
        padding: 1.5rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .process-step .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-item .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .space-content {
        padding: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
        background: none;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .btn {
        display: none;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card,
    .content-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
        margin-bottom: 1rem;
    }
    
    .contact-form,
    .contact-info {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .space-content {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0056b3;
        --primary-green: #28a745;
        --primary-purple: #6f42c1;
        --primary-orange: #fd7e14;
        --primary-red: #dc3545;
        --text-dark: #000000;
        --text-light: #333333;
    }
    
    .card,
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card,
    .content-card,
    .contact-form,
    .contact-info,
    .space-content {
        border: 2px solid var(--text-dark);
    }
}

/* Dark Mode Support */