/* Mobile First Responsive Design */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    /* Typography adjustments for tablets */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Hero section adjustments */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    /* Section padding adjustments */
    section {
        padding: 60px 0;
    }
    
    /* Timeline adjustments for tablets */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 60px;
        margin-bottom: 2rem;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 60px;
    }
    
    .timeline-item::before {
        left: -45px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -45px;
    }
    
    /* Contact form adjustments */
    .contact-form {
        padding: 2rem;
    }
    
    /* Price card featured scaling */
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    /* Typography for small tablets/large phones */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    /* Hero section for small devices */
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    /* Sections padding */
    section {
        padding: 40px 0;
    }
    
    /* Feature cards */
    .feature-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    /* Service cards */
    .service-card .card-img-top {
        height: 180px;
    }
    
    /* Team member images */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Timeline for small devices */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 50px;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50px;
    }
    
    .timeline-item::before {
        left: -35px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -35px;
    }
    
    /* Process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Price display */
    .price-display {
        font-size: 2rem;
    }
    
    /* No featured price card scaling */
    .price-card.featured {
        transform: none;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Conservative typography for mobile */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    /* Navbar brand conservative sizing */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Hero section for mobile */
    .hero-section {
        padding: 30px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    /* Section padding for mobile */
    section {
        padding: 30px 0;
    }
    
    /* Feature cards mobile */
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.2rem;
        text-align: center;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    /* Service cards mobile */
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card .card-img-top {
        height: 160px;
    }
    
    .service-card .card-body {
        padding: 1.2rem;
    overflow-x: hidden;
}
    
    /* Team members mobile */
    .team-member {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Timeline mobile - simplified */
    .timeline::before {
        left: 15px;
        width: 1px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 40px;
        margin-bottom: 1.5rem;
        padding: 1.2rem;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 40px;
    }
    
    .timeline-item::before {
        width: 15px;
        height: 15px;
        left: -28px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -28px;
    }
    
    /* Process steps mobile */
    .process-step {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Contact section mobile */
    .contact-form {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .contact-item {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    /* Button adjustments for mobile */
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Price display mobile */
    .price-display {
        font-size: 1.8rem;
    }
    
    /* Gallery mobile spacing */
    .gallery-section .col-lg-3 {
        padding: 0.3rem;
    }
    
    /* FAQ cards mobile */
    .faq-card {
        margin-bottom: 1rem;
    }
    
    .faq-card .card-body {
        padding: 1rem;
    }
    
    /* Blog cards mobile */
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    /* Info cards mobile */
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .info-card i {
        font-size: 2rem;
    }
    
    /* Feature items mobile */
    .feature-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb-section {
        padding: 1rem 0;
    }
    
    .breadcrumb-img {
        width: 30px;
        height: 30px;
    }
    
    /* No animations on mobile per requirements */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Remove hover effects on mobile */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .case-card:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-card:hover,
    .feature-item:hover,
    .btn-primary:hover,
    .gallery-section img:hover {
        transform: none;
        box-shadow: inherit;
    }
    
    /* Disable price card featured scaling on mobile */
    .price-card.featured {
        transform: none;
        border-color: var(--primary-green);
    }
    
    .price-card:hover {
        transform: none;
        border-color: inherit;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section,
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .review-card,
    .case-card,
    .timeline-item,
    .process-step,
    .career-card,
    .info-card,
    .contact-form,
    .blog-card,
    .faq-card,
    .feature-item,
    .gallery-section img {
        transform: none !important;
        transition: none !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .contact-form,
    .breadcrumb-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #2E4F2E;
        --primary-blue: #1E3A5F;
        --primary-orange: #B8610A;
        --primary-purple: #5A2D5A;
        --primary-teal: #0F5F5C;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card {
        border: 2px solid var(--dark-gray);
    }
} 