/* Responsive Design - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.84rem;
        line-height: 1.3;
    }
    
    .h2 {
        font-size: 1.56rem;
    }
    
    .h3, .h4 {
        font-size: 1.28rem;
    }
    
    .lead {
        font-size: 1.09rem;
    }
    
    /* Spacing */
    .py-5 {
        padding: 2rem 0;
    }
    
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    /* Hero Section */
    #hero {
        min-height: 80vh;
        text-align: center;
    }
    
    #hero .col-lg-6:first-child {
        order: 2;
        margin-top: 2rem;
    }
    
    #hero .col-lg-6:last-child {
        order: 1;
    }
    
    /* Cards */
    .card-img-top {
        height: 120px;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    /* Buttons */
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Team Images */
    .card-img-top.rounded-circle {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* Process Steps */
    .process .col-md-6 {
        margin-bottom: 1.72rem;
    }
    
    /* Timeline */
    .timeline-item::before {
        display: none;
    }
    
    .timeline-item .row {
        text-align: center;
    }
    
    /* Footer */
    #footer .col-md-6,
    #footer .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Contact Form */
    .form-control {
        margin-bottom: 1rem;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* No animations on mobile as per requirements */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .card:hover {
        transform: none !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
    
    #gallery img:hover {
        transform: none !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .h2 {
        font-size: 1.89rem;
    }
    
    .py-5 {
        padding: 2.5rem 0;
    }
    
    .card-img-top {
        height: 140px;
    }
    
    .card-img-top.rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Hero adjustments */
    #hero {
        min-height: 85vh;
    }
    
    /* Process steps in 2 columns */
    #process .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
    
    /* Timeline adjustments */
    .timeline-item .row {
        align-items: center;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-4 {
        font-size: 2.36rem;
    }
    
    .h2 {
        font-size: 1.92rem;
    }
    
    .py-5 {
        padding: 3rem 0;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .card-img-top.rounded-circle {
        width: 130px !important;
        height: 130px !important;
    }
    
    /* Hero full height on tablets */
    #hero {
        min-height: 90vh;
    }
    
    /* Process steps layout */
    #process .col-lg-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        margin-bottom: 2rem;
    }
    
    /* Services grid adjustment */
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Team grid */
    #team .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .display-4 {
        font-size: 2.43rem;
    }
    
    .h2 {
        font-size: 2.07rem;
    }
    
    .py-5 {
        padding: 3.5rem 0;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .card-img-top.rounded-circle {
        width: 140px !important;
        height: 140px !important;
    }
    
    /* Hero section */
    #hero {
        min-height: 95vh;
    }
    
    /* Container adjustments */
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .display-4 {
        font-size: 2.62rem;
    }
    
    .h2 {
        font-size: 2rem;
    }
    
    .py-5 {
        padding: 4rem 0;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .card-img-top.rounded-circle {
        width: 150px !important;
        height: 150px !important;
    }
    
    /* Hero section */
    #hero {
        min-height: 100vh;
    }
}

/* Navigation Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.25rem 0;
        border-radius: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: var(--light-bg);
    }
}

/* Form Responsive Adjustments */
@media (max-width: 767.98px) {
    .contact .row .col-md-6,
    .contact .row .col-12 {
        margin-bottom: 1rem;
    }
    
    .contact .row .col-12:last-child {
        margin-bottom: 0;
    }
}

/* Gallery Responsive */
@media (max-width: 767.98px) {
    #gallery .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #gallery .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }
}

/* Pricing Cards Responsive */
@media (max-width: 767.98px) {
    #priceplan .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .card .display-4 {
        font-size: 2rem;
    }
}

/* Blog Grid Responsive */
@media (max-width: 767.98px) {
    #blog_grid .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* FAQ Responsive */
@media (max-width: 767.98px) {
    #faq .col-md-6 {
        margin-bottom: 1.64rem;
    }
}

/* Case Study Responsive */
@media (max-width: 767.98px) {
    #casestudy .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Career Section Responsive */
@media (max-width: 767.98px) {
    #career .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* Core Info Responsive */
@media (max-width: 767.98px) {
    #coreinfo .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
}

/* Features Responsive */
@media (max-width: 767.98px) {
    #ffeec2tures .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* About Features Responsive */
@media (max-width: 991.98px) {
    #about .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
}

/* Text Alignment Responsive */
@media (max-width: 767.98px) {
    .text-md-end {
        text-align: center !important;
    }
    
    .justify-content-between {
        flex-direction: column;
        align-items: center;
    }
    
    .justify-content-between > * {
        margin-bottom: 1rem;
    }
    
    .justify-content-between > *:last-child {
        margin-bottom: 0;
    }
}

/* Contact Info Responsive */
@media (max-width: 767.98px) {
    .contact .row.mt-5 .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn,
    .form-control,
    .breadcrumb {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .py-5 {
        padding: 1rem 0;
    }
    
    .card {
        border: 1px solid #000;
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
} 