/* Responsive Design - Mobile First Approach */

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .hero-buttons .btn {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
    
    .service-card .card-img-top {
        height: 250px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 991.98px) {
    /* Typography adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    /* Hero section */
    #hero {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .hero-buttons {
        margin-top: 30px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    /* Feature items */
    .feature-item {
        margin-bottom: 30px;
    }
    
    /* Service cards */
    .service-card {
        margin-bottom: 30px;
    }
    
    /* Team members */
    .team-member {
        margin-bottom: 40px;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 30px;
    }
    
    /* Timeline items */
    .timeline-item {
        margin-bottom: 30px;
    }
    
    /* Contact form */
    .contact-info {
        margin-top: 30px;
    }
}

/* Small screens (phones) */
@media (max-width: 767.98px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    p { font-size: 0.95rem; }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    /* Hero section */
    #hero {
        padding: 80px 0 40px;
        min-height: 80vh;
    }
    
    .hero-buttons .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    /* Feature items */
    .feature-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .feature-item i {
        font-size: 2rem !important;
    }
    
    /* Service cards */
    .service-card {
        margin-bottom: 20px;
    }
    
    .service-card .card-body {
        padding: 20px 15px;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    /* Feature boxes */
    .feature-box {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .feature-box i {
        font-size: 1.5rem !important;
    }
    
    /* Pricing cards */
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card .card-body {
        padding: 20px 15px;
    }
    
    .pricing-card .price {
        font-size: 1.5rem;
    }
    
    /* Team members */
    .team-member {
        margin-bottom: 30px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Review cards */
    .review-card {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .review-card p {
        font-size: 1rem;
    }
    
    /* Case study cards */
    .case-study-card {
        margin-bottom: 20px;
    }
    
    .case-study-card .card-body {
        padding: 20px 15px;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 25px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Timeline items */
    .timeline-item {
        margin-bottom: 25px;
        padding: 15px;
    }
    
    /* Career items */
    .career-item {
        margin-bottom: 20px;
    }
    
    .career-item .card-body {
        padding: 20px 15px;
    }
    
    /* Core info items */
    .info-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    /* Blog cards */
    .blog-card {
        margin-bottom: 20px;
    }
    
    .blog-card .card-body {
        padding: 20px 15px;
    }
    
    /* FAQ items */
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-item .card-body {
        padding: 20px 15px;
    }
    
    /* Gallery */
    #gallery .col-lg-3 {
        margin-bottom: 15px;
    }
    
    /* Contact form */
    .contact-form .form-control {
        padding: 12px;
    }
    
    .contact-info {
        padding: 20px;
        margin-top: 30px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
    
    footer .col-lg-4 {
        margin-bottom: 30px;
        text-align: center;
    }
    
    footer h4, footer h5 {
        margin-bottom: 15px;
    }
    
    footer ul {
        margin-bottom: 20px;
    }
}

/* Extra small screens */
@media (max-width: 575.98px) {
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    p { font-size: 0.9rem; }
    

    
    /* Navigation */
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    /* Hero section */
    #hero {
        padding: 70px 0 30px;
        min-height: 70vh;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    /* Sections */
    section {
        padding: 30px 0;
    }
    
    /* Cards */
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    /* Feature items */
    .feature-item {
        padding: 15px 10px;
    }
    
    /* Service cards */
    .service-card .card-img-top {
        height: 150px;
    }
    
    /* Team members */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Process steps */
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Contact form */
    .contact-form .form-control {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    /* Footer */
    footer {
        padding: 30px 0 15px;
    }
    
    footer h4, footer h5 {
        font-size: 1.1rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* Landscape phones */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 60vh;
        padding: 50px 0 30px;
    }
    
    .feature-item i {
        font-size: 1.8rem !important;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5 {
        page-break-after: avoid;
    }
    
    .card,
    .feature-item,
    .service-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .card,
    .feature-item,
    .service-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
    }
    
    .btn-outline-primary {
        color: #000;
        border-color: #000;
    }
}

/* Dark mode support */