/* Fusion Bites - Responsive CSS */

/* Large Desktop - 1440px and up */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
  padding-top: 50px !important;
        font-size: 4rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}

/* Desktop - 1200px to 1439px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero h1 {
  padding-top: 50px !important;
        font-size: 3.61rem;
    }
}

/* Tablet Landscape - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero h1 {
  padding-top: 50px !important;
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.77rem;
    }
    
    .service-card img,
    .blog-card img,
    .case-card img {
        height: 180px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

/* Tablet Portrait - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand {
        font-size: 1.34rem !important;
    }
    
    .hero {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero h1 {
  padding-top: 50px !important;
        font-size: 2.54rem;
    }
    
    .hero h2 {
        font-size: 1.62rem;
    }
    
    .hero p {
        margin: 0 auto;
    }
    
    .service-card img,
    .blog-card img,
    .case-card img {
        height: 160px;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .timeline-container::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 4rem;
        padding-right: 1.5rem;
    }
    
    .timeline-item::before {
        left: 21px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 21px;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Mobile Landscape - 576px to 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .navbar-brand {
        font-size: 1.21rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem !important;
        margin: 0.2rem 0;
        text-align: center;
    }
    
    .hero {
        min-height: 80vh;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero h1 {
  padding-top: 50px !important;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero h2 {
        font-size: 1.33rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin: 0 auto;
    }
    
    h2 {
        font-size: 1.82rem;
    }
    
    h3 {
        font-size: 1.34rem;
    }
    
    h4 {
        font-size: 1.18rem;
    }
    
    .service-card,
    .review-card,
    .price-card,
    .blog-card,
    .case-card {
        margin-bottom: 1.69rem;
    }
    
    .service-card img,
    .blog-card img,
    .case-card img {
        height: 150px;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .team-member {
        text-align: center;
        margin-bottom: 1.61rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
        margin-bottom: 0.63rem;
    }
    
    .contact-form .form-control {
        padding: 0.8rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .btn-primary {
        padding: 0.8rem 2rem;
        width: 100%;
    }
    
    .gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.21rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .accordion-button {
        font-size: 0.97rem;
        padding: 0.8rem;
    }
}

/* Mobile Portrait - up to 575px */
@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.12rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.1rem 0;
        text-align: center;
        border-radius: 4px;
    }
    
    .hero {
        min-height: 70vh;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .hero h1 {
  padding-top: 50px !important;
        font-size: 1.84rem;
        margin-bottom: 1.02rem;
        line-height: 1.2;
    }
    
    .hero h2 {
        font-size: 1.24rem;
        margin-bottom: 0.95rem;
    }
    
    .hero p {
        font-size: 1.09rem;
        margin: 0 auto;
    }
    
    section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.89rem;
    }
    
    h2 {
        font-size: 1.57rem;
    }
    
    h3 {
        font-size: 1.28rem;
    }
    
    h4 {
        font-size: 1.22rem;
    }
    
    .feature-card,
    .service-card,
    .review-card,
    .price-card,
    .blog-card,
    .case-card,
    .career-card,
    .info-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card img,
    .blog-card img,
    .case-card img {
        height: 120px;
    }
    
    .service-card .price {
        font-size: 1.31rem;
    }
    
    .price-card .price {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .price-card.featured {
        transform: none;
        border-width: 2px;
    }
    
    .price-card.featured::before {
        font-size: 0.84rem;
        padding: 0.2rem 0.8rem;
    }
    
    .team-member {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .team-member img {
        width: 60px;
        height: 60px;
        margin-bottom: 0.66rem;
    }
    
    .team-member h5 {
        font-size: 1rem;
        margin-bottom: 0.47rem;
    }
    
    .team-member p {
        font-size: 0.98rem;
    }
    
    .review-card .stars {
        font-size: 0.98rem;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .contact-form .form-control {
        padding: 0.7rem;
        font-size: 1.00rem;
    }
    
    .contact-info {
        padding: 1.2rem;
    }
    
    .contact-info h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 1.00rem;
        margin-bottom: 0.88rem;
    }
    
    .btn-primary {
        padding: 0.7rem 1.5rem;
        width: 100%;
        font-size: 1.06rem;
    }
    
    .gallery img {
        height: 150px;
        margin-bottom: 0.62rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.89rem;
    }
    
    .process-step {
        margin-bottom: 1.55rem;
        padding: 0.8rem;
    }
    
    .process-step h5 {
        font-size: 1rem;
    }
    
    .process-step p {
        font-size: 0.87rem;
    }
    
    .timeline-container::before {
        left: 15px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 2.5rem;
        padding-right: 0;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .timeline-item::before {
        left: 5px;
        width: 15px;
        height: 15px;
        top: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 5px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 0.64rem;
    }
    
    .timeline-content p {
        font-size: 0.94rem;
    }
    
    .accordion-button {
        font-size: 0.90rem;
        padding: 0.7rem;
    }
    
    .accordion-body p {
        font-size: 0.94rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer h3,
    .footer h4 {
        font-size: 1.21rem;
        margin-bottom: 1rem;
    }
    
    .footer p {
        font-size: 0.88rem;
        margin-bottom: 0.67rem;
    }
    
    .footer ul li {
        margin-bottom: 0.41rem;
    }
    
    .footer ul li a {
        font-size: 0.93rem;
    }
    
    .breadcrumb-nav {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-img {
        max-height: 20px;
    }
    
    /* Additional page cards for mobile */
    .story-card,
    .philosophy-card,
    .award-card,
    .operation-card,
    .vision-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-left-width: 3px;
    }
    
    #space {
        padding: 2rem 1rem;
    }
    
    #space h1 {
        font-size: 1.55rem;
    }
    
    #space p {
        font-size: 1.03rem;
    }
}

/* Extra Small Mobile - up to 360px */
@media (max-width: 360px) {
    .container {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    
    .hero h1 {
  padding-top: 50px !important;
        font-size: 1.66rem;
    }
    
    .hero h2 {
        font-size: 1.13rem;
    }
    
    h2 {
        font-size: 1.40rem;
    }
    
    .feature-card,
    .service-card,
    .review-card,
    .price-card,
    .blog-card,
    .case-card {
        padding: 0.8rem;
    }
    
    .service-card img,
    .blog-card img,
    .case-card img {
        height: 100px;
    }
    
    .price-card .price {
        font-size: 1.82rem;
    }
    
    .team-member img {
        width: 50px;
        height: 50px;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .gallery img {
        height: 120px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.97rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-nav,
    .footer,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: #fff !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
        page-break-after: avoid;
    }
    
    .hero {
        min-height: auto !important;
        background: none !important;
        padding: 1rem 0 !important;
    }
    
    .service-card,
    .review-card,
    .price-card,
    .blog-card {
        box-shadow: none !important;
        border: 1px solid #d0d0d0 !important;
        break-inside: avoid;
        margin-bottom: 1rem !important;
    }
    
    .gallery {
        display: none !important;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .timeline-item {
        width: 100% !important;
        padding: 0.5rem !important;
    }
    
    .timeline-container::before {
        display: none !important;
    }
    
    .timeline-item::before {
        display: none !important;
    }
}
