/* Responsive CSS - Mobile First Approach */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 2.63rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.24rem;
    }
    
    .hero-section h2 {
        font-size: 1.32rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
        margin-left: 0;
    }
    
    .timeline-item::before {
        left: -5px;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.86rem;
    }
    
    .hero-section h2 {
        font-size: 1.17rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.42rem;
    }
    
    .feature-card, .service-card, .price-card, .review-card, .blog-card {
        margin-bottom: 1.63rem;
        padding: 1.5rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.82rem; }
    h3 { font-size: 1.45rem; }
    h4 { font-size: 1.22rem; }
    
    .timeline {
        margin: 0 20px;
    }
    
    .timeline::after {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 1.69rem;
    }
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.23rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .feature-card, .service-card, .price-card, .review-card, .blog-card, .info-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        width: 100%;
        margin-bottom: 0.71rem;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mt-5, .my-5 {
        margin-top: 2rem !important;
    }
    
    .mb-5, .my-5 {
        margin-bottom: 2rem !important;
    }
    
    h1 { font-size: 1.63rem; }
    h2 { font-size: 1.43rem; }
    h3 { font-size: 1.23rem; }
    h4 { font-size: 1rem; }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.55rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .feature-item i {
        font-size: 2rem !important;
    }
    
    .timeline-item {
        padding: 1rem;
        padding-left: 30px;
    }
    
    .timeline-year {
        font-size: 1rem;
    }
    
    .breadcrumb-section {
        padding: 100px 0 10px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        color: black !important;
        background: white !important;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #11007c;
        --secondary-color: #008279;
        --text-color: #000000;
        --bg-white: #ffffff;
    }
    
    .btn-primary {
        background: #0a007a;
        border: 2px solid #0a0b78;
    }
    
    .form-control:focus {
        border-color: #001687;
        box-shadow: 0 0 0 0.2rem rgba(3, 21, 140, 0.50);
    }
}


/* Landscape orientation adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hover effects for touch devices */
@media (hover: hover) {
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .review-card:hover,
    .blog-card:hover,
    .info-card:hover {
        transform: translateY(-10px);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
}

/* No hover effects for touch devices */
@media (hover: none) {
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .review-card:hover,
    .blog-card:hover,
    .info-card:hover,
    .btn:hover {
        transform: none;
    }
} 