/* Responsive CSS for Gardening Template */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .display-4 {
        font-size: 3.55rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.52rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .process-step .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.28rem;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding-top: 100px;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section p {
        font-size: 1.23rem;
    }
    
    h1 { font-size: 2.21rem; }
    h2 { font-size: 1.85rem; }
    h3 { font-size: 1.66rem; }
    h4 { font-size: 1.49rem; }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding-top: 90px;
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.60rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.69rem; }
    h3 { font-size: 1.44rem; }
    h4 { font-size: 1.29rem; }
    
    .navbar-brand {
        font-size: 1.45rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        text-align: center;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .process-step,
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .process-step .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .feature-card,
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card,
    .pricing-card,
    .review-card {
        margin-bottom: 1.60rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.94rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    #gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
    body {
        font-size: 14px;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding-top: 80px;
        min-height: 60vh;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.70rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 0.99rem;
    }
    
    h1 { font-size: 1.92rem; }
    h2 { font-size: 1.51rem; }
    h3 { font-size: 1.31rem; }
    h4 { font-size: 1.17rem; }
    h5 { font-size: 1rem; }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.26rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.1rem 0;
        padding: 0.5rem 1rem;
        text-align: center;
        font-size: 0.92rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .team-member {
        margin-bottom: 1.61rem;
        text-align: center;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    .team-member h5 {
        font-size: 1rem;
        margin-top: 0.68rem;
    }
    
    .team-member p {
        font-size: 0.90rem;
    }
    
    .process-step,
    .timeline-item {
        margin-bottom: 1.73rem;
        text-align: center;
    }
    
    .process-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.00rem;
    }
    
    .year {
        font-size: 0.83rem;
        padding: 0.3rem 0.8rem;
    }
    
    .feature-card,
    .feature-box {
        padding: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .feature-card i,
    .feature-box i {
        font-size: 2rem;
    }
    
    .service-card,
    .pricing-card,
    .review-card,
    .career-card,
    .info-card,
    .case-study-card {
        margin-bottom: 1rem;
    }
    
    .service-card .price {
        font-size: 1.27rem;
    }
    
    .pricing-card .price {
        font-size: 1.58rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .contact-info {
        margin-top: 1.58rem;
        padding: 1rem;
    }
    
    .contact-info h4 {
        font-size: 1.17rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 1.02rem;
        margin-bottom: 0.94rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.91rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.96rem;
    }
    
    .accordion-button {
        padding: 0.8rem;
        font-size: 0.99rem;
    }
    
    .accordion-body {
        padding: 0.8rem;
        font-size: 0.93rem;
    }
    
    #gallery img {
        height: 180px;
        margin-bottom: 0.85rem;
    }
    
    .review-card .card-body {
        padding: 1rem;
    }
    
    .content-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .content-card h4 {
        font-size: 1rem;
        margin-bottom: 0.85rem;
    }
    
    .content-card p {
        font-size: 0.98rem;
    }
    
    .breadcrumb-section {
        padding: 1rem 0;
    }
    
    .breadcrumb-image {
        height: 30px;
    }
    
    #space {
        padding-top: 100px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #space h1 {
        font-size: 2rem;
    }
    
    #space .lead {
        font-size: 1rem;
    }
    
    footer {
        padding: 3rem 0 !important;
    }
    
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    footer h5 {
        font-size: 1.16rem;
        margin-bottom: 0.97rem;
    }
    
    footer p {
        font-size: 0.90rem;
        margin-bottom: 0.63rem;
    }
    
    footer li {
        margin-bottom: 0.50rem;
    }
    
    footer a {
        font-size: 0.89rem;
    }
    
    footer small {
        font-size: 0.87rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 80vh;
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    section {
        padding: 2rem 0 !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        background-attachment: scroll;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn,
    #gallery {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        background: none;
        color: black;
        min-height: auto;
        padding: 1rem 0;
    }
    
    .card {
        border: 1px solid #c7c7c7;
        box-shadow: none;
        margin-bottom: 1rem;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Focus and Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .slide-in-left {
        animation: slideInLeft 0.6s ease forwards;
    }
    
    .slide-in-right {
        animation: slideInRight 0.6s ease forwards;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --primary-light: #1d1d1d;
        --primary-dark: #000000;
        --secondary-color: #ffffff;
        --secondary-light: #ffffff;
        --secondary-dark: #f5f5f5;
        --accent-color: #000000;
        --accent-light: #2e2e2e;
        --accent-dark: #000000;
        --text-dark: #000000;
        --text-light: #ffffff;
        --border-color: #000000;
    }
    
    .card {
        border: 2px solid #000000;
    }
    
    .btn {
        border: 2px solid #000000;
    }
}

/* Disable animations for images in responsive design */
img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

img.fade-in,
img.slide-in-left,
img.slide-in-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Mobile Optimization */ 