/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Covering all market screen sizes
   ============================================ */

/* ============================================
   GENERAL FIXES FOR ALL SCREENS ≤1024px
   Prevent overflow and ensure responsiveness
   ============================================ */
@media screen and (max-width: 1024px) {
    .product-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Prevent horizontal overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Font Awesome Icon Fixes for Mobile - Enhanced */
    .fas, .far, .fal, .fab, .fa, [class*="fa-"], i[class*="fa-"], i[class^="fa"], i[class*=" fa-"] {
        font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro", "FontAwesome", Arial, sans-serif !important;
        font-weight: 900 !important;
        font-style: normal !important;
        display: inline-block !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: auto !important;
        font-variant: normal !important;
        text-transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .fab {
        font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "FontAwesome", Arial, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .far {
        font-family: "Font Awesome 6 Free", "FontAwesome", Arial, sans-serif !important;
        font-weight: 400 !important;
    }
    
    .fal {
        font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome", Arial, sans-serif !important;
        font-weight: 300 !important;
    }
    
    /* Ensure pseudo-elements work */
    .fas:before, .far:before, .fal:before, .fab:before,
    [class*="fa-"]:before, i[class*="fa-"]:before {
        font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro", "FontAwesome", Arial, sans-serif !important;
        font-weight: inherit !important;
        display: inline-block !important;
    }
    
    /* Ensure icons are visible */
    i.fa, i.fas, i.far, i.fab, i.fal, i[class*="fa-"] {
        visibility: visible !important;
        opacity: 1 !important;
        display: inline-block !important;
    }

    /* Make all images responsive */
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Make videos responsive */
    video,
    iframe,
    embed,
    object {
        max-width: 100%;
        height: auto;
    }

    /* Ensure containers don't overflow */
    .container,
    .fluid-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Fix flexbox/grid containers */
    .products-grid,
    .features-grid,
    .what-we-do-grid,
    .services-grid,
    .countries-carousel-wrapper,
    .stats-grid,
    .products-grid-page,
    .nc-content,
    .mv-grid,
    .overview-content,
    .contact-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix cards */
    .product-card,
    .feature-card,
    .service-card,
    .stat-card,
    .mv-card,
    .nc-item,
    .country-card,
    .product-card-page {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix forms */
    .contact-form,
    .modal-form,
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix buttons */
    .btn {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix hero and page headers */
    .hero,
    .page-header,
    .cta-banner {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* Fix footer */
    .footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (320px - 375px)
   iPhone SE, Small Android phones
   ============================================ */
@media screen and (max-width: 375px) {
    .container {
        padding: 0 var(--spacing-xs);
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Navigation */
    .navbar {
        min-height: 80px;
    }

    .nav-wrapper {
        min-height: 80px;
        padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-xs);
    }

    .logo {
        margin-left: 0;
        gap: 0.25rem;
    }

    .logo-img {
        height: 45px;
    }

    .logo-text {
        font-size: 1.125rem !important;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-dropdown {
        width: 100%;
        position: relative;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        display: flex;
        align-items: center;
        padding: var(--spacing-xs);
    }
    
    .dropdown-toggle .dropdown-icon,
    .dropdown-toggle i {
        transition: transform var(--transition-normal);
        margin-left: auto;
    }
    
    .nav-dropdown.active .dropdown-toggle .dropdown-icon,
    .nav-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light-bg);
        margin-top: var(--spacing-xs);
        margin-left: var(--spacing-md);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: calc(100% - var(--spacing-md));
        display: block !important;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 300px !important;
        padding: var(--spacing-xs) 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Force show dropdown when active on mobile */
    @media screen and (max-width: 1024px) {
        .nav-dropdown.active .dropdown-menu {
            max-height: 300px !important;
            padding: var(--spacing-xs) 0 !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: block !important;
            height: auto !important;
            overflow: visible !important;
            transform: none !important;
        }
    }
    
    .dropdown-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .dropdown-menu a {
        padding: var(--spacing-sm) var(--spacing-lg);
        display: block;
        width: 100%;
        color: var(--text-medium);
        font-size: 1rem;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background-color: rgba(26, 54, 93, 0.1);
        color: var(--primary-color);
    }

    .nav-menu a {
        width: 100%;
        display: block;
        font-size: 1.125rem;
        padding: var(--spacing-xs);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* When navbar is transparent (at top), mobile menu panel has white bg – force dark links so menu is visible */
    .navbar.navbar-at-top .nav-menu a,
    .navbar.navbar-at-top .nav-menu a:hover,
    .navbar.navbar-at-top .nav-menu a.active {
        color: var(--primary-color) !important;
    }
    .navbar.navbar-at-top .nav-menu .dropdown-menu a {
        color: var(--text-medium) !important;
    }

    /* Hero & Page Header */
    .hero {
        min-height: 240px;
        height: 240px;
        margin-top: 80px;
        padding: 0;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Premium Carousel Mobile Styles */
    .slide-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .slide-description {
        font-size: 0.9375rem;
        padding: 0 var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }
    
    .slide-stats {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-xs);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .slide-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .carousel-dots-premium {
        bottom: 15px;
        gap: 0.625rem;
        padding: 0.625rem;
    }
    
    .carousel-dot-premium {
        width: 10px;
        height: 10px;
    }
    
    .carousel-dot-premium::before {
        width: 5px;
        height: 5px;
    }
    
    .slide-content-premium {
        padding: var(--spacing-sm) var(--spacing-xs);
    }
    
    /* Collage Mobile Adjustments */
    .collage-top-left,
    .collage-top-right,
    .collage-bottom-left,
    .collage-bottom-right {
        width: 25%;
        height: 30%;
    }
    
    .collage-center,
    .collage-center-small {
        width: 20%;
        height: 24%;
    }
    
    .collage-item {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .page-header {
        margin-top: 80px;
        padding: var(--spacing-md) var(--spacing-xs) 50px;
        min-height: auto;
        height: auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .page-subtitle {
        font-size: 0.9375rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .what-we-do-grid,
    .services-grid,
    .products-grid-page,
    .nc-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .product-card-page {
        min-height: 320px;
        max-height: 320px;
    }
    
    .product-image-section {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    
    /* Category Page Styles */
    .products-grid-category {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .product-card-category {
        min-height: auto;
    }
    
    .product-image-section-category {
        height: 100px;
        min-height: 100px;
    }
    
    .product-image-category {
        font-size: 2rem;
    }
    
    .product-title-category {
        font-size: 1.125rem;
    }
    
    .product-description-category {
        font-size: 0.8125rem;
    }
    
    .product-action-buttons-category {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .btn-quote,
    .btn-download {
        width: 100%;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
    
    .product-image-section .product-image {
        font-size: 2.5rem;
    }
    
    .product-content {
        min-height: 110px;
        max-height: 110px;
    }
    
    .product-title {
        font-size: 1.125rem;
    }
    
    .product-description {
        font-size: 0.8125rem;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }
    
    .product-action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
    }

    .product-showcase-card {
        min-height: 220px;
        max-height: 280px;
        aspect-ratio: 4/3;
    }

    .product-showcase-card__title {
        font-size: 1.125rem;
    }

    .countries-carousel-wrapper {
        margin-top: var(--spacing-md);
    }
    
    .country-card {
        flex: 0 0 160px;
        height: 120px;
    }
    
    .country-card span {
        font-size: 0.875rem;
    }
    
    .certification-card {
        flex: 0 0 220px;
        height: 160px;
    }
    
    .cert-name {
        font-size: 0.8125rem;
    }
    
    .certifications-grid-page {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
    
    .certification-card-page {
        min-height: 280px;
    }
    
    .cert-image-page {
        height: 200px;
    }
    
    .cert-name-page {
        height: 50px;
        font-size: 1rem;
    }
    
    .cert-description {
        font-size: 0.8125rem;
        min-height: 40px;
    }
    
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav-btn i {
        font-size: 0.875rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* About Page Layouts - Stack Vertically */
    .overview-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .overview-image {
        order: -1;
        width: 100%;
        max-width: 100%;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .nc-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    /* Filter Buttons */
    .filter-buttons {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Cards */
    .product-card,
    .feature-card,
    .service-card,
    .stat-card,
    .mv-card,
    .nc-item {
        padding: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* About Page Text and Image Sections */
    .overview-text,
    .overview-image {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Contact Page Layouts - Stack Vertically */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-cards {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .inquiry-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .inquiry-buttons .btn {
        width: 100%;
    }
    
    /* Map Section */
    .map-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .map-placeholder {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: var(--spacing-md);
        min-height: auto;
    }
    
    .inquiry-cta {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Forms */
    .contact-form {
        padding: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    /* Spacing */
    .section-padding {
        padding: var(--spacing-md) 0;
    }

    /* Footer */
    .footer-logo-img {
        height: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        gap: 0;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        width: 100%;
        display: block;
        padding: var(--spacing-sm) var(--spacing-xs);
        font-size: 1.125rem;
        color: var(--text-dark);
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary-color);
        background-color: rgba(26, 54, 93, 0.05);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px) translateZ(0);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px) translateZ(0);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px) translateZ(0);
    }
    
    /* Modal */
    .modal-dialog {
        width: 95vw;
        max-height: 95vh;
        padding: var(--spacing-sm);
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
    }
    
    .modal-header p {
        font-size: 0.875rem;
    }
    
    .modal-close {
        top: 8px;
        right: 8px;
        font-size: 1.25rem;
    }
    
    .modal-form .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .modal-form .form-group input,
    .modal-form .form-group textarea {
        font-size: 0.9375rem;
        padding: 0.75rem;
    }
    
    .modal-submit {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* ============================================
   SMALL MOBILE (376px - 480px)
   Standard mobile phones
   ============================================ */
@media screen and (min-width: 376px) and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Navigation */
    .navbar {
        min-height: 85px;
    }

    .nav-wrapper {
        min-height: 85px;
        padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-xs) var(--spacing-xs);
    }

    .logo {
        margin-left: 0;
        gap: var(--spacing-xs);
    }

    .logo-img {
        height: 50px;
    }

    .logo-text {
        font-size: 1.25rem !important;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light-bg);
        margin-top: var(--spacing-xs);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-menu a {
        padding-left: var(--spacing-lg);
    }

    .nav-menu a {
        width: 100%;
        display: block;
        font-size: 1.125rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* When navbar is transparent (at top), mobile menu panel has white bg – force dark links so menu is visible */
    .navbar.navbar-at-top .nav-menu a,
    .navbar.navbar-at-top .nav-menu a:hover,
    .navbar.navbar-at-top .nav-menu a.active {
        color: var(--primary-color) !important;
    }
    .navbar.navbar-at-top .nav-menu .dropdown-menu a {
        color: var(--text-medium) !important;
    }

    /* Hero & Page Header */
    .hero {
        min-height: 270px;
        height: 270px;
        margin-top: 85px;
        padding: 0;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Premium Carousel Mobile Styles */
    .slide-title {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .slide-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .slide-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .carousel-dots-premium {
        bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .page-header {
        margin-top: 85px;
        padding: var(--spacing-lg) var(--spacing-sm) 60px;
        min-height: auto;
        height: auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .btn-large {
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .what-we-do-grid,
    .services-grid,
    .nc-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .products-grid-page {
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid-page .product-card-page {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .product-card-page {
        min-height: 340px;
        max-height: 340px;
    }
    
    .product-image-section {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    
    /* Category Page Styles */
    .products-grid-category {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .product-card-category {
        min-height: auto;
    }
    
    .product-image-section-category {
        height: 200px;
        min-height: 200px;
    }
    
    .product-image-category {
        font-size: 3.5rem;
    }
    
    .product-action-buttons-category {
        flex-direction: row;
    }
    
    .btn-quote,
    .btn-download {
        flex: 1;
        min-width: auto;
    }
    
    .product-image-section .product-image {
        font-size: 3rem;
    }
    
    .product-content {
        min-height: 110px;
        max-height: 110px;
    }
    
    .product-title {
        font-size: 1.1875rem;
    }
    
    .product-description {
        font-size: 0.84375rem;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }
    
    .product-action-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9375rem;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .product-showcase-card {
        min-height: 240px;
        max-height: 320px;
        aspect-ratio: 16/10;
    }

    .product-showcase-header {
        margin-bottom: var(--spacing-lg);
    }

    .product-showcase-title {
        font-size: 1.5rem;
    }

    .countries-carousel-wrapper {
        margin-top: var(--spacing-md);
    }
    
    .country-card {
        flex: 0 0 180px;
        height: 130px;
    }
    
    .country-card span {
        font-size: 0.9375rem;
    }
    
    .certification-card {
        flex: 0 0 240px;
        height: 170px;
    }
    
    .cert-name {
        font-size: 0.875rem;
    }
    
    .carousel-nav-btn {
        width: 38px;
        height: 38px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* About Page Layouts - Stack Vertically */
    .overview-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .overview-image {
        order: -1;
        width: 100%;
        max-width: 100%;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .nc-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    /* Filter Buttons */
    .filter-buttons {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 0.625rem 1.125rem;
        font-size: 0.9375rem;
    }

    /* Cards */
    .product-card,
    .feature-card,
    .service-card,
    .stat-card,
    .mv-card,
    .nc-item {
        padding: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* About Page Text and Image Sections */
    .overview-text,
    .overview-image {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Contact Page Layouts - Stack Vertically */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-cards {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .inquiry-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .inquiry-buttons .btn {
        width: 100%;
    }
    
    /* Map Section */
    .map-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .map-placeholder {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: var(--spacing-md);
        min-height: auto;
    }
    
    .inquiry-cta {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Forms */
    .contact-form {
        padding: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        width: 100%;
        display: block;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* When navbar is transparent (at top), mobile menu panel has white bg – force dark links so menu is visible */
    .navbar.navbar-at-top .nav-menu a,
    .navbar.navbar-at-top .nav-menu a:hover,
    .navbar.navbar-at-top .nav-menu a.active {
        color: var(--primary-color) !important;
    }
    .navbar.navbar-at-top .nav-menu .dropdown-menu a {
        color: var(--text-medium) !important;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px) translateZ(0);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px) translateZ(0);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px) translateZ(0);
    }
    
    /* Modal */
    .modal-dialog {
        width: 92vw;
        max-height: 92vh;
        padding: var(--spacing-md);
    }
    
    .modal-header h3 {
        font-size: 1.375rem;
    }
    
    .modal-header p {
        font-size: 0.9375rem;
    }
    
    .modal-form .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .modal-form .form-group input,
    .modal-form .form-group textarea {
        font-size: 0.9375rem;
        padding: 0.875rem;
    }

    /* Spacing */
    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    /* Footer */
    .footer-logo-img {
        height: 35px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   MOBILE (481px - 768px)
   Large phones, small tablets in portrait
   ============================================ */
@media screen and (min-width: 481px) and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .container {
        padding: 0 var(--spacing-md);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navigation */
    .navbar {
        min-height: 90px;
    }

    .nav-wrapper {
        min-height: 90px;
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) var(--spacing-xs);
    }

    .logo {
        margin-left: 0;
        gap: var(--spacing-xs);
    }

    .logo-img {
        height: 55px;
    }

    .logo-text {
        font-size: 1.375rem !important;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        padding: var(--spacing-sm);
        font-size: 1.25rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px) translateZ(0);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px) translateZ(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px) translateZ(0);
    }

    /* Hero & Page Header */
    .hero {
        min-height: 360px;
        height: 360px;
        margin-top: 90px;
        padding: 0;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Premium Carousel Tablet Styles */
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .page-header {
        margin-top: 90px;
        padding: var(--spacing-lg) var(--spacing-md) 70px;
        min-height: auto;
        height: auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .page-subtitle {
        font-size: 1.0625rem;
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .product-card-page {
        min-height: auto;
        max-height: none;
        height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .product-image-section {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
        width: 100%;
    }
    
    .product-image-section .product-image {
        font-size: 3rem;
    }
    
    .product-content {
        min-height: auto;
        max-height: none;
        height: auto;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .product-description {
        font-size: 0.875rem;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }
    
    .product-action-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .country-card {
        flex: 0 0 140px;
        height: 100px;
    }
    
    .country-card span {
        font-size: 0.8125rem;
    }
    
    .carousel-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .carousel-nav-btn i {
        font-size: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
    }

    .products-grid-page {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }

    .nc-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }

    /* Cards - Fix overflow */
    .product-card,
    .feature-card,
    .service-card,
    .stat-card,
    .mv-card,
    .nc-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-card {
        min-height: auto;
        height: auto;
    }

    .feature-card {
        min-height: auto;
        height: auto;
    }

    .service-card {
        min-height: auto;
        height: auto;
    }

    /* Layouts */
    .overview-content {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .overview-image {
        order: -1;
        width: 100%;
        max-width: 100%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        width: 100%;
        max-width: 100%;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }

    /* Spacing */
    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    /* Footer */
    .footer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    /* Contact Page */
    .inquiry-buttons {
        flex-direction: column;
    }

    .inquiry-buttons .btn {
        width: 100%;
    }

    /* Filter Buttons */
    .filter-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .filter-btn {
        width: 100%;
    }

    /* Stat Number */
    .stat-number {
        font-size: 2.5rem;
    }

    /* Footer Logo */
    .footer-logo-img {
        height: 35px;
    }
}

/* ============================================
   TABLET (769px - 1024px)
   Tablets, small laptops
   ============================================ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Prevent overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .container {
        padding: 0 var(--spacing-md);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Navigation - Fix overflow */
    .navbar {
        min-height: 100px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .nav-wrapper {
        min-height: 70px;
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) var(--spacing-xs);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .logo {
        margin-left: 0;
        gap: var(--spacing-xs);
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-img {
        height: 65px;
        max-width: 100%;
        width: auto;
    }

    .logo-text {
        font-size: 1.5rem !important;
        line-height: 1;
        word-break: break-word;
    }

    .nav-menu {
        gap: var(--spacing-sm);
        flex-wrap: wrap;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: var(--spacing-xs) var(--spacing-sm);
        white-space: nowrap;
    }

    /* Hero Section - Fix overflow */
    .hero {
        min-height: auto;
        height: auto;
        margin-top: 70px;
        padding: var(--spacing-lg) var(--spacing-md) 60px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-md) 0;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 180px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Page Header - Fix overflow */
    .page-header {
        margin-top: 70px;
        padding: var(--spacing-lg) var(--spacing-md) 60px;
        min-height: auto;
        height: auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .page-subtitle {
        font-size: 1.0625rem;
        line-height: 1.6;
    }

    /* Layouts */
    .overview-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Grids - Fix overflow */
    .products-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }

    .country-card {
        flex: 0 0 170px;
        height: 125px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }

    .products-grid-page {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .product-card-page {
        min-height: auto;
        max-height: none;
        height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .product-image-section {
        min-height: 180px;
        max-height: 180px;
        width: 100%;
    }
    
    .product-content {
        min-height: auto;
        max-height: none;
        height: auto;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }

    .nc-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }

    /* Cards - Fix overflow */
    .product-card,
    .feature-card,
    .service-card,
    .stat-card,
    .mv-card,
    .nc-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: var(--spacing-md);
    }

    .product-card {
        min-height: auto;
        height: auto;
    }

    .feature-card {
        min-height: auto;
        height: auto;
    }

    .service-card {
        min-height: auto;
        height: auto;
    }
    
    /* Filter Buttons */
    .filter-buttons {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
        justify-content: center;
        width: 100%;
    }
    
    .filter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    /* Forms */
    .contact-form {
        padding: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.9375rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-grid {
        width: 100%;
        max-width: 100%;
    }
    
    /* Modal */
    .modal-dialog {
        width: 90vw;
        max-height: 85vh;
        padding: var(--spacing-md);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-header p {
        font-size: 0.9375rem;
    }
    
    .modal-form .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .modal-form .form-group input,
    .modal-form .form-group textarea {
        font-size: 0.9375rem;
        padding: 0.875rem;
    }

    /* Spacing adjustments */
    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    /* Footer */
    .footer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .footer-content {
        width: 100%;
        max-width: 100%;
    }

    .footer-logo-img {
        height: 35px;
        max-width: 100%;
    }

    /* CTA Banner */
    .cta-banner {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: var(--spacing-lg) 0;
    }

    .cta-content {
        width: 100%;
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Images and media */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Hero animations */
    .hero-animations {
        overflow: hidden;
    }

    .hero-icon {
        font-size: 2.5rem;
    }

    /* Stat number */
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   DESKTOP (1025px - 1199px)
   Standard desktops, laptops
   ============================================ */
@media screen and (min-width: 1025px) and (max-width: 1199px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    /* Navigation */
    .logo-img {
        height: 80px;
    }

    .logo-text {
        font-size: 2.25rem;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .logo {
        margin-left: var(--spacing-xs);
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .country-card {
        flex: 0 0 190px;
        height: 140px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }

    .products-grid-page {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .product-card-page {
        min-height: 380px;
        max-height: 380px;
    }
    
    .product-image-section {
        min-height: 200px;
        max-height: 200px;
    }
    
    .product-content {
        min-height: 130px;
        max-height: 130px;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }

    .nc-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

/* ============================================
   STANDARD DESKTOP (1200px - 1440px)
   Standard desktop displays
   ============================================ */
@media screen and (min-width: 1200px) and (max-width: 1440px) {
    .container {
        padding: 0 var(--spacing-xl);
    }

    /* Navigation */
    .nav-wrapper {
        padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-sm) var(--spacing-xs);
    }

    .logo {
        margin-left: 0;
    }

    .logo-img {
        height: 75px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .country-card {
        flex: 0 0 190px;
        height: 140px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }

    .products-grid-page {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .product-card-page {
        min-height: 380px;
        max-height: 380px;
    }
    
    .product-image-section {
        min-height: 200px;
        max-height: 200px;
    }
    
    .product-content {
        min-height: 130px;
        max-height: 130px;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }

    .nc-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

/* ============================================
   LARGE DESKTOP (1441px - 1920px)
   Large monitors, Full HD displays
   ============================================ */
@media screen and (min-width: 1441px) and (max-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--spacing-xl);
    }

    /* Typography */
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    /* Navigation */
    .nav-wrapper {
        padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-sm) var(--spacing-xs);
    }

    .logo {
        margin-left: 0;
    }

    .logo-img {
        height: 75px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .country-card {
        flex: 0 0 200px;
        height: 150px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }

    .products-grid-page {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }
    
    .product-card-page {
        min-height: 380px;
        max-height: 380px;
    }
    
    .product-image-section {
        min-height: 200px;
        max-height: 200px;
    }
    
    .product-content {
        min-height: 130px;
        max-height: 130px;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }

    .nc-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

/* ============================================
   EXTRA LARGE DESKTOP (1921px+)
   Ultra-wide monitors, 4K displays
   ============================================ */
@media screen and (min-width: 1921px) {
    .container {
        max-width: 1600px;
        padding: 0 var(--spacing-xxl);
    }

    /* Typography */
    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3rem;
    }

    /* Navigation */
    .nav-wrapper {
        padding: var(--spacing-sm) var(--spacing-xxl) var(--spacing-sm) var(--spacing-xs);
    }

    .logo {
        margin-left: var(--spacing-xs);
    }

    .logo-img {
        height: 85px;
    }

    .logo-text {
        font-size: 2.25rem;
    }

    .nav-menu a {
        font-size: 1.375rem;
    }

    /* Grids */
    .products-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }

    .country-card {
        flex: 0 0 200px;
        height: 150px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }

    .products-grid-page {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--spacing-lg);
    }
    
    .product-card-page {
        min-height: 380px;
        max-height: 380px;
    }
    
    .product-image-section {
        min-height: 200px;
        max-height: 200px;
    }
    
    .product-content {
        min-height: 130px;
        max-height: 130px;
    }
    
    .product-action-bar {
        min-height: 50px;
        max-height: 50px;
    }

    .nc-content {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }

    /* Spacing */
    .section-padding {
        padding: var(--spacing-xxl) 0;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION ADJUSTMENTS
   ============================================ */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: auto;
        margin-top: 80px;
        padding: var(--spacing-md) var(--spacing-sm) 40px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 150px;
    }

    .page-header {
        margin-top: 80px;
        padding: var(--spacing-md) var(--spacing-sm) 40px;
        min-height: auto;
        height: auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .modal-dialog {
        width: 85vw;
        max-height: 85vh;
        padding: var(--spacing-md);
    }
    
    .product-card-page {
        min-height: auto;
        max-height: none;
        height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .product-image-section {
        height: 140px;
        min-height: 140px;
        max-height: 140px;
        width: 100%;
    }
    
    .product-content {
        min-height: auto;
        max-height: none;
        height: auto;
        padding: var(--spacing-sm);
    }
    
    /* Category Page Styles */
    .products-grid-category {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .product-card-category {
        min-height: auto;
        height: auto;
    }
    
    .product-image-section-category {
        height: 110px;
        min-height: 110px;
    }
    
    .product-image-category {
        font-size: 2.25rem;
    }
    
    .product-content-category {
        min-height: auto;
        padding: var(--spacing-sm);
    }
    
    .product-title-category {
        font-size: 1.125rem;
    }
    
    .product-description-category {
        font-size: 0.8125rem;
    }
    
    .product-action-buttons-category {
        flex-direction: column;
        padding: var(--spacing-sm);
    }
    
    .btn-quote,
    .btn-download {
        width: 100%;
        min-width: 100%;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .footer,
    .btn {
        display: none;
    }

    .hero,
    .page-header {
        padding-top: 0;
        min-height: auto;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Floating Buttons Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        padding: 14px 20px;
        min-width: 140px;
        font-size: 0.9375rem;
    }
    
    .floating-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: var(--spacing-lg) 0;
    }
    
    .about-content {
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }
    
    .about-content p {
        font-size: 1rem;
        padding-left: var(--spacing-sm);
    }
    
    .about-content p:first-child {
        font-size: 1.125rem;
    }
    
    .about-content p:first-child::first-letter {
        font-size: 2.25rem;
    }
    
    .what-we-do {
        padding: var(--spacing-lg) 0;
        min-height: auto;
    }
    
    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .what-we-do-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--spacing-md);
        min-height: auto;
    }
    
    .what-we-do-card .card-icon {
        margin-bottom: var(--spacing-sm);
    }
    
    .what-we-do-card .card-content h3 {
        font-size: 1.25rem;
    }
    
    .what-we-do-card .card-content p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: var(--spacing-md) 0;
    }
    
    .about-content {
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
    }
    
    .about-content p {
        font-size: 0.9375rem;
        padding-left: var(--spacing-xs);
        margin-bottom: var(--spacing-md);
    }
    
    .about-content p:first-child {
        font-size: 1rem;
    }
    
    .about-content p:first-child::first-letter {
        font-size: 2rem;
    }
    
    .about-content strong {
        font-size: 1.125rem;
    }
    
    .what-we-do {
        padding: var(--spacing-md) 0;
    }
    
    .what-we-do-grid {
        gap: var(--spacing-sm);
    }
    
    .what-we-do-card {
        padding: var(--spacing-sm);
    }
    
    .what-we-do-card .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .what-we-do-card .card-content h3 {
        font-size: 1.125rem;
    }
    
    .what-we-do-card .card-content p {
        font-size: 0.875rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        padding: 12px 18px;
        min-width: 130px;
        font-size: 0.875rem;
        border-radius: 45px;
    }
    
    .floating-btn-text {
        display: none;
    }
    
    .floating-btn {
        min-width: 56px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
    }
    
    .floating-btn i {
        font-size: 1.25rem;
        margin: 0;
    }
}
