/* Responsive Styles - MJ Tanko Investments Namibia */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .grid-4, .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-info-card {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .namibia-highlights {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-4, .grid-5 {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 999;
        gap: 1rem;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        background: var(--light);
        margin-top: 0.5rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn, .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .benefit-item, .commitment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon, .commitment-icon {
        margin: 0 auto 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .product-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .product-categories .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .image-container {
        height: 300px;
    }
    
    .company-highlights {
        padding: 1rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .page-header {
        padding: 140px 0 60px;
    }
    
    .products-grid, .project-grid {
        grid-template-columns: 1fr;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-location {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
    
    .nav-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .reach-number {
        font-size: 2.5rem;
    }
    
    .value-icon, .capacity-icon, .sector-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .image-container {
        height: 250px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .logo span {
        display: none;
    }
    
    .nav-links {
        padding: 1.5rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero-content {
        max-width: 80%;
    }
    
    .map-info-card {
        max-width: 250px;
    }
}

/* High Resolution Devices */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .hero-buttons, .cta-buttons, .mobile-menu-btn {
        display: none !important;
    }
    
    .hero, .page-header, .cta-section {
        padding: 20px 0 !important;
        background: white !important;
        color: black !important;
    }
    
    .hero h1, .page-header h1, .cta-section h2 {
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .btn {
        display: none !important;
    }
    
    .contact-info li {
        color: black !important;
    }
}