/* Responsive Styles for TCRC-Ezzey Partnership Website */

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .nav-item {
        margin-left: 1.5rem;
    }
}

/* Small Screens (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item.right::after {
        left: 18px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Extra Small Screens (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .situation-cards,
    .approach-steps {
        grid-template-columns: 1fr;
    }
    
    .synergy-tabs {
        flex-direction: column;
    }
    
    .synergy-tab {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .pricing-tables {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Screens (Up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-intro {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Height-based Media Queries */
@media (max-height: 700px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .contact,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    h1 {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 20pt;
    }
    
    h3 {
        font-size: 16pt;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        background: none;
        color: #000;
        padding: 0;
    }
    
    .hero h1,
    .hero p {
        color: #000;
    }
    
    .btn {
        display: none;
    }
    
    .situation-card,
    .approach-step,
    .pricing-table {
        break-inside: avoid;
        box-shadow: none;
        border: 1pt solid #ccc;
    }
    
    .timeline::after {
        display: none;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .timeline-item {
        width: 100%;
        padding: 0;
        margin-bottom: 20pt;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-content {
        box-shadow: none;
        border: 1pt solid #ccc;
    }
}

