/* Responsive CSS for EcoSign Studio */

/* Large Tablets and Small Desktops */
@media (max-width: 1199px) {
    .hero-section h1 {
        font-size: 2.54rem;
    padding-top: 175px;
}
    
    /* .timeline-item {
        width: 48%;
    }
    
    .timeline-item:nth-child(odd) {
        margin-left: 52%;
    }
    
    .timeline-item:nth-child(even) {
        margin-right: 52%;
    } */
}

/* Tablets */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        text-align: center;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.36rem;
        text-align: center;
    }
    
    .hero-section p {
        text-align: center;
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Timeline becomes vertical */
    /* .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: calc(100% - 70px);
        margin-left: 70px;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 70px;
        margin-right: 0;
    }
    
    .timeline-item .year {
        left: -40px;
    }
    
    .timeline-item:nth-child(even) .year {
        left: -40px;
        right: auto;
    } */
    
    /* Navigation adjustments */
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    /* Cards spacing */
    .feature-card, .service-card, .content-card, .review-card, 
    .case-study-card, .pricing-card, .team-member, .career-card, 
    .info-card, .blog-card {
        margin-bottom: 2rem;
    }
    
    /* Contact section */
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Pricing cards */
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.85rem;
        margin-bottom: 1rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.20rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.99rem;
        margin-bottom: 1.72rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.60rem;
    }
    
    h3 {
        font-size: 1.36rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.37rem;
    }
    
    /* Cards */
    .feature-card, .service-card, .content-card, .review-card, 
    .case-study-card, .pricing-card, .team-member, .career-card, 
    .info-card, .blog-card {
        padding: 1.5rem;
        margin-bottom: 1.70rem;
    }
    
    .feature-card i, .info-card i {
        font-size: 2.63rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-item i {
        margin-bottom: 0.68rem;
    }
    
    /* Service cards */
    .service-card img {
        height: 150px;
    }
    
    /* Team members */
    .team-member img {
        height: 120px;
    }
    
    /* Gallery images */
    #gallery .col-lg-3 img,
    #gallery .col-md-4 img,
    #gallery .col-6 img {
        height: 200px;
    }
    
    /* Timeline */
    /* .timeline-item {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    
    .timeline-item .year {
        width: 60px;
        height: 60px;
        font-size: 1.01rem;
        left: -30px;
    } */
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 1.73rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 1.00rem;
    }
    
    /* Process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
    
    /* Pricing cards */
    .pricing-card .price {
        font-size: 2rem;
    }
    
    /* Blog cards */
    .blog-card img {
        height: 150px;
    }
    
    /* Case study cards */
    .case-study-card img {
        height: 150px;
    }
    
    /* FAQ accordion */
    .accordion-button {
        padding: 1rem;
        font-size: 1.03rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Breadcrumbs */
    .breadcrumbs {
        padding: 80px 0 1rem;
        text-align: center;
    }
    
    .breadcrumbs img {
        max-height: 40px;
    }
    
    /* Space page */
    #space {
        margin-top: 80px;
        min-height: 50vh;
    }
    
    #space::before {
        font-size: 1.60rem;
        padding: 1rem;
    }
}

/* Phones */
@media (max-width: 575px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 1.63rem;
        line-height: 1.3;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .hero-section p {
        font-size: 0.96rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    h1 {
        font-size: 1.80rem;
    }
    
    h2 {
        font-size: 1.43rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.17rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.19rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.97rem;
        padding: 0.5rem 1rem;
    }
    
    /* Cards */
    .feature-card, .service-card, .content-card, .review-card, 
    .case-study-card, .pricing-card, .team-member, .career-card, 
    .info-card, .blog-card {
        padding: 1.25rem;
        margin-bottom: 1.48rem;
        border-radius: 10px;
    }
    
    .feature-card i, .info-card i {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-item i {
        font-size: 1.65rem;
    }
    
    /* Service cards */
    .service-card img {
        height: 120px;
    }
    
    .service-card ul li {
        font-size: 0.94rem;
    }
    
    .price {
        font-size: 1.29rem;
        padding: 0.75rem;
    }
    
    /* Team members */
    .team-member img {
        height: 100px;
    }
    
    /* Gallery */
    #gallery .col-6 img {
        height: 150px;
    }
    
    /* Timeline */
    /* .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px;
        padding: 1.25rem;
    }
    
    .timeline-item .year {
        width: 50px;
        height: 50px;
        font-size: 0.91rem;
        left: -25px;
    } */
    
    /* Contact */
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        font-size: 1.28rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.88rem;
        border-radius: 20px;
    }
    
    /* Process steps */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.14rem;
    }
    
    /* Pricing */
    .pricing-card .price {
        font-size: 1.90rem;
    }
    
    .pricing-card ul li {
        font-size: 1.00rem;
        padding: 0.35rem 0;
    }
    
    /* Blog and case studies */
    .blog-card img, .case-study-card img {
        height: 120px;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 0.75rem;
        font-size: 0.98rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 0.5rem;
    }
    
    .footer h4, .footer h5 {
        font-size: 1.17rem;
    }
    
    .footer p {
        font-size: 1.04rem;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 1.63rem;
    }
    
    /* Breadcrumbs */
    .breadcrumbs {
        padding: 70px 0 0.5rem;
    }
    
    .breadcrumbs img {
        max-height: 30px;
    }
    
    /* Space */
    #space {
        margin-top: 70px;
        min-height: 40vh;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    #space::before {
        font-size: 1.27rem;
        padding: 0.75rem;
    }
    
    /* Form controls */
    .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.98rem;
    }
    
    /* Form checks */
    .form-check {
        margin-bottom: 0.85rem;
    }
    
    .form-check-label {
        font-size: 0.91rem;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    html {
        font-size: 12px;
    }
    
    .hero-section h1 {
        font-size: 1.37rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 0.99rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .feature-card, .service-card, .content-card, .review-card, 
    .case-study-card, .pricing-card, .team-member, .career-card, 
    .info-card, .blog-card {
        padding: 1rem;
    }
    
    /* .timeline-item {
        width: calc(100% - 35px);
        margin-left: 35px;
        padding: 1rem;
    }
    
    .timeline-item .year {
        width: 45px;
        height: 45px;
        font-size: 0.81rem;
        left: -22px;
    } */
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    #gallery .col-6 img {
        height: 120px;
    }
    
    .pricing-card .price {
        font-size: 1.57rem;
    }
    
    .contact-form, .contact-info {
        padding: 1rem;
    }
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding-top: 60px;
        min-height: auto;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 20px 0;
    }
    
    #space {
        min-height: 30vh;
        margin-top: 60px;
    }
    
    .breadcrumbs {
        padding: 60px 0 0.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
} 