/* Responsive Styles for EcoStationery Template */
/* Mobile First Approach - Base styles for mobile devices */

/* Extra Small devices (phones, 0px and up) */
@media (max-width: 575.98px) {
    /* Hero Section */
    .hero-section {
        padding: 1rem 0;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    padding-top: 100px;
}
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 150px;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Team Section */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Process Steps */
    .process-step {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    /* Pricing Cards */
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .price-large {
        font-size: 1.5rem;
    }
    
    /* Gallery */
    #gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
    
    /* Shapes */
    .shape-1, .shape-2 {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    .hero-section {
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 100px;
}
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 180px;
    }
    
    /* Team Section */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Contact Layout */
    .contact-form {
        margin-bottom: 2rem;
    }
    
    /* Pricing */
    .price-large {
        font-size: 1.75rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    padding-top: 100px;
}
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 200px;
    }
    
    /* Team Section */
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    /* Process Steps */
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    /* Contact Section */
    .contact-form {
        margin-bottom: 0;
    }
    
    /* Feature Items */
    .feature-item {
        margin-bottom: 1.5rem;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 1.5rem;
    }
    
    /* Gallery Grid */
    #gallery .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 2.4rem;
    padding-top: 100px;
}
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 220px;
    }
    
    /* Team Section */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Contact Layout */
    .contact-form {
        margin-right: 2rem;
    }
    
    /* Gallery Grid */
    #gallery .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 100px;
}
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 240px;
    }
    
    /* Team Section */
    .team-member img {
        width: 130px;
        height: 130px;
    }
    
    /* Contact Layout */
    .contact-form {
        margin-right: 3rem;
    }
    
    /* Shapes visibility */
    .shape-1, .shape-2 {
        display: block;
    }
}

/* Container adjustments for different screen sizes */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Section padding adjustments */
@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    section {
        padding: 4rem 0;
    }
}

@media (min-width: 992px) {
    section {
        padding: 5rem 0;
    }
}

/* Text alignment adjustments */
@media (max-width: 767.98px) {
    .text-center {
        text-align: center;
    }
    
    .feature-item {
        text-align: center;
    }
    
    .feature-item .fas {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Button adjustments */
@media (max-width: 575.98px) {
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Form adjustments */
@media (max-width: 767.98px) {
    .form-control {
        margin-bottom: 1rem;
    }
    
    .contact-form .row .col-lg-6 {
        margin-bottom: 0;
    }
}

/* Footer adjustments */
@media (max-width: 767.98px) {
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer ul {
        padding-left: 0;
    }
}

/* Pricing card adjustments */
@media (max-width: 991.98px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
}

/* Review card adjustments */
@media (max-width: 767.98px) {
    .review-card {
        margin-bottom: 1.5rem;
    }
}

/* FAQ card adjustments */
@media (max-width: 991.98px) {
    .faq-card {
        margin-bottom: 1.5rem;
    }
}

/* Job card adjustments */
@media (max-width: 767.98px) {
    .job-card {
        margin-bottom: 1.5rem;
    }
}

/* Timeline adjustments */
@media (max-width: 767.98px) {
    .timeline-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
}

/* Blog card adjustments */
@media (max-width: 767.98px) {
    .blog-card {
        margin-bottom: 1.5rem;
    }
}

/* Case study card adjustments */
@media (max-width: 767.98px) {
    .case-study-card {
        margin-bottom: 1.5rem;
    }
}

/* Info card adjustments */
@media (max-width: 767.98px) {
    .info-card {
        margin-bottom: 1.5rem;
    }
}

/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .shape-1, .shape-2 {
        animation: none;
    }
    
    * {
        transition: none;
    }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .form-control {
        border: 2px solid #000;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-shapes,
    .btn,
    footer {
        display: none;
    }
    
    .hero-section {
        background: none;
        min-height: auto;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    section {
        padding: 1rem 0;
    }
} 