/* 
    ======================================
    Pattasu Express - Responsive Styles
    ======================================
*/

/* Laptop (1440px and below) */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 65px;
    }
    
    .terms-grid {
        gap: 15px;
    }
    
    .tc-card {
        padding: 20px 15px;
    }
}

/* Tablet Landscape / Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .hero {
        padding: 150px 0 60px;
    }
    
    .hero-title {
        font-size: 50px;
    }
    
    .badge {
        width: 120px;
        height: 120px;
        top: 20px;
        left: 0;
    }
    
    .badge-text {
        font-size: 11px;
    }
    
    .features-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }
    
    .features-wrapper {
        margin-top: -30px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-image {
        order: 2;
        display: flex;
        justify-content: center;
    }
    
    .about-image img {
        max-width: 80%;
    }
    
    .about-content {
        order: 1;
        text-align: center;
    }
    
    .safety-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .safety-left, .safety-right {
        width: 100%;
        max-width: 100%;
        padding-top: 0;
    }
    
    .terms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        justify-content: center;
    }
}

/* Mobile & Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .contact-pill {
        display: none; /* Hide on mobile to save space */
    }
    
    .header {
        background: var(--primary-dark);
        padding: 10px 0;
    }
    
    .logo {
        width: 160px;
        left: 20px;
        top: -10px;
    }
    
    /* Mobile Menu Toggle */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        margin-left: 0; /* Override desktop margin */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-description {
        margin: 0 auto 30px;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(74, 20, 140, 0.2);
        padding-bottom: 20px;
    }
    
    .feature-col.border-none {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .safety-container {
        gap: 40px;
    }
    
    .terms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .terms-bottom-grid {
        flex-direction: column;
        align-items: stretch;
        border-left: 1px solid rgba(74, 20, 140, 0.15);
    }
    
    .tc-card.wide {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-item {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }
    
    .features-bar {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    
    .badge {
        width: 100px;
        height: 100px;
    }
    
    .badge-text {
        font-size: 9px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .safety-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .tc-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .terms-header h2 {
        font-size: 24px;
    }
}
