/* Responsive Design for Mobile and Tablet */

/* Brands Carousel Responsive */
@media (max-width: 768px) {
    .brand-carousel-item {
        width: 120px;
        height: 80px;
        margin: 0 15px;
    }
    
    .brand-carousel-item img {
        max-width: 60px;
        max-height: 40px;
    }
    
    .brand-overlay {
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 8px !important;
    }
    
    .carousel-nav {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .brand-carousel-item {
        width: 100px;
        height: 70px;
        margin: 0 10px;
    }
    
    .brand-carousel-item img {
        max-width: 50px;
        max-height: 35px;
    }
    
    .brand-overlay {
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 6px !important;
    }
}

/* Brands Page Grid Responsive */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .product-showcase {
        background-image: url('/images/content/products_mob.jpg') !important;
        height: 45vh;
        padding: 0 20px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .brand-box {
        padding: 20px !important;
    }
    
    .brand-box img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .brand-box h3 {
        font-size: 16px !important;
    }
    
    .brand-box p {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .brand-box {
        padding: 15px !important;
    }
    
    .brand-box img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .brand-box h3 {
        font-size: 14px !important;
    }
    
    .brand-box p {
        font-size: 12px !important;
    }
}

/* Values Section Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
    
    .value-card {
        padding: 30px 20px !important;
    }
    
    .value-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .value-icon i {
        font-size: 28px !important;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .value-card {
        padding: 25px 15px !important;
    }
    
    .value-card h3 {
        font-size: 18px !important;
    }
    
    .value-card p {
        font-size: 14px !important;
    }
    
    .value-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .value-icon i {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .value-card {
        padding: 20px 15px !important;
    }
    
    .value-card h3 {
        font-size: 16px !important;
    }
    
    .value-card p {
        font-size: 13px !important;
    }
    
    .value-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .value-icon i {
        font-size: 20px !important;
    }
}

/* Careers Page Grid Responsive */
@media (max-width: 768px) {
    .careers-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 20px !important;
    }
    
    .job-card {
        padding: 25px !important;
        margin: 0 !important;
        border-radius: 15px !important;
    }
    
    .job-badge {
        padding: 10px 20px !important;
        font-size: 14px !important;
        border-radius: 20px !important;
    }
    
    .job-card h4 {
        font-size: 18px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .job-card li {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }
    
    .job-actions {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
        margin-top: 20px !important;
    }
    
    .apply-btn {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        border-radius: 25px !important;
    }
    
    .contact-info {
        text-align: center !important;
        padding: 0 20px !important;
    }
    
    .contact-info p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .careers-info {
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    .careers-info h3 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .careers-info p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    .careers-grid {
        gap: 20px !important;
        padding: 0 15px !important;
    }
    
    .job-card {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    
    .job-badge {
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: 18px !important;
    }
    
    .job-card h4 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .job-card li {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }
    
    .apply-btn {
        padding: 12px 18px !important;
        font-size: 14px !important;
        border-radius: 22px !important;
    }
    
    .contact-info {
        padding: 0 15px !important;
    }
    
    .contact-info p {
        font-size: 13px !important;
    }
    
    .careers-info {
        padding: 0 15px !important;
    }
    
    .careers-info h3 {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }
    
    .careers-info p {
        font-size: 15px !important;
    }
}

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Page Header Responsive */
    .page-header {
        padding: 100px 0 60px !important;
        margin-top: 70px !important;
    }
    
    .page-header h1 {
        font-size: 32px !important;
    }
    
    .page-header p {
        font-size: 18px !important;
    }
    
    /* Body Content Responsive */
    .body-content {
        padding: 40px 0 !important;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .logo h2 {
        font-size: 24px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0 !important;
        z-index: 999;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 5px;
    }
    
    .dropdown-menu a {
        padding: 8px 15px;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1000;
        position: relative;
    }
    
    .nav-menu {
        z-index: 999;
    }
    
    .hero {
        height: 80vh;
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .slider-controls {
        padding: 0 20px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-section,
    .brands-section,
    .company-section,
    .partners-section,
    .services-section,
    .stats-section {
        padding: 60px 0;
    }
    

    
    .product-content h3 {
        font-size: 28px !important;
    }
    
    .product-content p {
        font-size: 16px !important;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-text {
        order: 1;
        font-size: 16px;
    }

    .about-image {
        order: 2;
    }

    .about-image img {
        max-width: 100%;
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 30px;
    }
    
    .brand-item img {
        max-width: 100px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-text h2 {
        font-size: 28px;
    }
    
    .partners-slider {
        gap: 30px;
    }
    
    .partner-item {
        min-width: 120px;
    }
    
    .partner-item img {
        max-width: 100px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .stat-item p {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    /* Footer Grid Responsive */
    .footer-section > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-bottom: 10px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Page Header Responsive */
    .page-header {
        padding: 80px 0 50px !important;
        margin-top: 60px !important;
    }
    
    .page-header h1 {
        font-size: 28px !important;
    }
    
    .page-header p {
        font-size: 16px !important;
    }
    
    /* Body Content Responsive */
    .body-content {
        padding: 30px 0 !important;
    }
    

    
    .logo h2 {
        font-size: 20px;
    }
    
    .hero {
        height: 70vh;
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 22px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header h6 {
        font-size: 12px;
    }
    
    .about-section,
    .brands-section,
    .company-section,
    .partners-section,
    .services-section,
    .stats-section {
        padding: 40px 0;
    }
    

    
    .product-content h3 {
        font-size: 22px !important;
    }
    
    .product-content p {
        font-size: 14px !important;
    }
    
    .product-content .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-text {
        order: 1;
        font-size: 14px;
    }

    .about-image {
        order: 2;
    }

    .about-image img {
        max-width: 100%;
        height: 250px;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .service-item {
        padding: 25px 15px !important;
    }
    
    .service-item h3 {
        font-size: 18px !important;
    }
    
    .service-item p {
        font-size: 14px !important;
    }
    
    .service-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .service-icon i {
        font-size: 24px !important;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .brand-item img {
        max-width: 80px;
    }
    
    /* Brands Carousel Mobile Responsive */
    .brands-carousel-wrapper {
        margin-top: 30px !important;
    }
    
    .brand-carousel-item {
        width: 100px !important;
        height: 70px !important;
        margin: 0 10px !important;
    }
    
    .brand-carousel-item img {
        max-width: 60px !important;
        max-height: 40px !important;
    }
    
    .carousel-nav {
        padding: 0 10px !important;
    }
    
    .carousel-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 10px !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .company-text h2 {
        font-size: 24px;
    }
    
    .company-text blockquote {
        font-size: 16px;
    }
    
    .partners-slider {
        gap: 20px;
    }
    
    .partner-item {
        min-width: 100px;
    }
    
    .partner-item img {
        max-width: 80px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .stat-item p {
        font-size: 14px;
    }
    
    .stat-item span {
        font-size: 14px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .newsletter {
        max-width: 100%;
    }
    
    .newsletter h4 {
        font-size: 18px;
    }
    
    .newsletter p {
        font-size: 14px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 13px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .service-card {
        padding: 20px 10px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .company-text h2 {
        font-size: 20px;
    }
    
    .company-text blockquote {
        font-size: 14px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
    
    .stat-item span {
        font-size: 12px;
    }
    
    .product-area .product-image {
        height: 150px;
        margin-bottom: 10px;
    }
    
    .product-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .product-text h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .product-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 600px;
        z-index: 10;
    }
    
    .hero-content h1 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 8px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .hero-content h2 {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .hero-content p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 0;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    /* Fix slider image overflow on mobile */
    .slide {
        background-size: 100% 100% !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        overflow: hidden;
    }
    
    .slider-controls {
        padding: 0 20px;
        z-index: 15;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-dots {
        bottom: 20px;
        z-index: 15;
    }
    
    .slider-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .product-showcase {
        height: 40vh;
        padding: 0 15px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-content {
        bottom: 70px;
        padding: 0 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 600px;
    }
    
    .hero-content h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .hero-content h2 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .hero-content p {
        font-size: 12px;
    }
    
    /* Ensure slider images fit properly on small mobile */
    .slide {
        background-size: 100% 100% !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        overflow: hidden;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Mobile About Us Section */
@media (max-width: 768px) {
    .company-section {
        padding: 40px 0;
    }
    
    .company-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .company-text {
        display: contents; /* This makes the div's children direct children of the parent */
    }
    
    .company-text h2 {
        order: 1; /* Heading first */
        font-size: 28px;
        margin-bottom: 0;
    }
    
    .company-text blockquote {
        order: 2; /* Quote second */
        font-size: 18px;
        margin-bottom: 0;
    }
    
    .company-image {
        order: 3; /* Image third */
    }
    
    .company-text p {
        order: 4; /* Paragraph text last */
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 0;
    }
    
    .company-text .btn {
        order: 5; /* Button after text */
    }
}

/* Mobile Products Section */
@media (max-width: 768px) {
    .products-section {
        padding: 40px 0;
    }
    
    .section-header {
        order: 1; /* Section header first */
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
        margin-bottom: 0;
    }
    
    .product-showcase {
        order: 2; /* Product image second */
        padding: 0 20px;
    }
    
    .product-showcase img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        border-radius: 10px;
    }
}
@media (max-width: 768px) {
    .products-section {
        padding: 40px 0;
    }
    
    .product-showcase {
        padding: 0 20px;
    }
    
    .product-showcase img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* Product Areas Responsive */
    .product-area {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        text-align: center;
    }
    
    /* All product areas: image first, text second on mobile */
    .product-area .product-image {
        order: 1;
    }
    
    .product-area .product-text {
        order: 2;
    }
    
    .product-area.reverse {
        grid-template-columns: 1fr;
    }
    
    /* Override reverse order for mobile - all should be image first */
    .product-area.reverse .product-image {
        order: 1;
    }
    
    .product-area.reverse .product-text {
        order: 2;
    }
    
    .product-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .product-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .product-area .product-image {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .product-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .company-section {
        padding: 30px 0;
    }
    
    .company-content {
        gap: 25px;
        padding: 0 15px;
    }
    
    .company-text h2 {
        font-size: 24px;
        margin-bottom: 0;
    }
    
    .company-text blockquote {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .company-text p {
        font-size: 15px;
        margin-bottom: 0;
    }
    
    /* Products section for small mobile */
    .products-section {
        padding: 30px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .product-showcase {
        padding: 0 15px;
    }
    
    .product-showcase img {
        max-height: 250px;
    }
    
    /* Product Areas for small mobile */
    .product-area {
        gap: 30px;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    /* Ensure all product areas show image first on small mobile too */
    .product-area .product-image {
        order: 1;
    }
    
    .product-area .product-text {
        order: 2;
    }
    
    .product-area.reverse .product-image {
        order: 1;
    }
    
    .product-area.reverse .product-text {
        order: 2;
    }
    
    .product-text h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .product-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .product-area .product-image {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .product-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-item img,
    .partner-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .slider-controls,
    .slider-dots,
    .footer {
        display: none;
    }
    
    .hero {
        height: auto;
        margin-top: 0;
    }
    
    .slide {
        position: static;
        opacity: 1;
        background: none;
        color: #000;
    }
    
    .hero-content {
        color: #000;
    }
    
    .btn {
        border: 1px solid #000;
        background: none;
        color: #000;
    }
    
    .service-card,
    .product-card,
    .service-item {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Geography Page Responsive Styles */
@media (max-width: 768px) {
    .map-container {
        padding: 20px !important;
        margin: 0 10px !important;
    }
    
    .map-legend {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .legend-item {
        justify-content: center !important;
    }
    
    .world-map {
        height: 400px !important;
    }
    
    #map-svg {
        font-size: 10px !important;
    }
    
    .geography-stats {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .stat-card {
        padding: 20px !important;
    }
    
    .stat-icon {
        font-size: 36px !important;
        margin-bottom: 15px !important;
    }
    
    .stat-card h3 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    
    .stat-card p {
        font-size: 14px !important;
    }
    
    .info-card {
        max-width: 90% !important;
        padding: 15px !important;
        margin: 0 10px !important;
    }
    
    .info-card h3 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .info-card p {
        font-size: 14px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .map-container {
        padding: 25px !important;
    }
    
    .world-map {
        height: 500px !important;
    }
    
    .geography-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
    
    .map-legend {
        gap: 30px !important;
    }
}

/* Benefits Grid Responsive Styles */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .benefit-item {
        padding: 25px 15px !important;
    }
    
    .benefit-item i {
        font-size: 24px !important;
    }
    
    .benefit-item span {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .benefit-item {
        padding: 20px 15px !important;
    }
    
    .benefit-item i {
        font-size: 22px !important;
    }
    
    .benefit-item span {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .benefit-item {
        padding: 25px 20px !important;
        aspect-ratio: auto !important;
        min-height: 120px !important;
    }
    
    .benefit-item i {
        font-size: 24px !important;
    }
    
    .benefit-item span {
        font-size: 14px !important;
    }
}
