/* 
 * AIRDOS Premium Industrial Design System
 * Theme: Blue/Indigo & Engineering Grey
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0F4C81; /* Classic Blue */
    --primary-light: #1e6091;
    --primary-dark: #0a365c;
    --secondary: #1F2937; /* Dark Grey */
    --accent: #00A3E0; /* Cyan Blue */
    --accent-hover: #0081b3;
    --trust: #2E7D32; /* Green for certifications */
    --bg-main: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: pan-x pan-y;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .quality-grid {
        grid-template-columns: 1fr;
    }
    .quality-images {
        grid-column: span 1 !important;
        margin-bottom: 2rem;
    }
    .quality-content {
        padding-left: 0 !important;
    }
}

/* Product Page Styles */
.product-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.sticky-sidebar {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    transition: var(--transition);
}

.sticky-sidebar:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-nav-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.75rem;
}

.sidebar-nav-header i {
    color: var(--primary);
    font-size: 1.1rem;
}

.sidebar-nav-header h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Category Item Base Link */
.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-menu-link i {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    width: 16px;
    text-align: center;
}

/* Hover State */
.sidebar-menu-link:hover {
    color: var(--primary);
    background: rgba(15, 76, 129, 0.04);
    padding-left: 1.1rem;
}

.sidebar-menu-link:hover i {
    color: var(--primary);
}

/* Active State */
.sidebar-menu-link.active {
    color: var(--primary);
    background: rgba(15, 76, 129, 0.07);
    font-weight: 700;
    border-left-color: var(--primary);
}

.sidebar-menu-link.active i {
    color: var(--primary);
}

/* Sub-category container */
.sidebar-sub-menu {
    list-style: none;
    padding: 0.25rem 0 0.5rem 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-left: 1px solid var(--border);
    margin-left: 1.25rem;
}

.sidebar-sub-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    transition: var(--transition);
}

.sidebar-sub-link i {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
}

.sidebar-sub-link:hover {
    color: var(--primary);
    background: rgba(15, 76, 129, 0.04);
    padding-left: 0.85rem;
}

.sidebar-sub-link:hover i {
    color: var(--primary);
    opacity: 1;
}

.sidebar-sub-link.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(15, 76, 129, 0.05);
}

.sidebar-sub-link.active i {
    color: var(--primary);
    opacity: 1;
    transform: translateX(2px);
}

/* Parent Category Group layout */
.parent-category-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.25rem;
}

/* Help card */
.sidebar-help-card {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.03) 0%, rgba(0, 163, 224, 0.03) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px dashed rgba(15, 76, 129, 0.3);
    text-align: center;
    transition: var(--transition);
    margin-top: 2rem;
}

.sidebar-help-card:hover {
    border-style: solid;
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.05) 0%, rgba(0, 163, 224, 0.05) 100%);
    transform: translateY(-2px);
}

.sidebar-help-card .help-icon {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
    transition: var(--transition);
}

.sidebar-help-card:hover .help-icon {
    transform: scale(1.1) rotate(-10deg);
}

.sidebar-help-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sidebar-help-card p {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.sidebar-help-card .btn-expert {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    height: 180px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
}

.product-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.product-tags span {
    background: var(--bg-main);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.product-short-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.product-btn {
    width: 100%;
    padding: 0.4rem;
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    .product-sidebar {
        display: none; /* Hide sidebar on small tablets/mobile for cleaner look */
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row as requested */
        gap: 1rem;
    }
    .mobile-filter-bar {
        display: flex !important;
    }
    .products-header {
        text-align: center;
    }
    .product-card-image {
        height: 140px;
    }
    .product-card-body {
        padding: 0.75rem;
    }
    .product-card-title {
        font-size: 0.85rem;
    }
    .product-short-desc {
        display: none; /* Hide description on mobile to keep 2-column clean */
    }
}

/* Product Detail Page Styles */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.main-image-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-gallery {
    display: flex;
    gap: 1rem;
}

.thumb {
    width: 80px;
    height: 80px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.thumb.active {
    border: 2px solid var(--primary);
}

.category-tag {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.product-title {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.model-code {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

.short-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quick-specs-grid {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    padding: 1rem;
    background: var(--bg-main);
    font-weight: 600;
    font-size: 0.9rem;
}

.spec-value {
    padding: 1rem;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.technical-tabs-container {
    margin-top: 5rem;
}

.tabs-header {
    display: flex;
    gap: 2rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2.5rem;
}

.tab-item {
    padding: 1rem 0;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
}

.tab-item.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 3px solid var(--primary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table th {
    padding: 1rem;
    font-weight: 700;
    color: var(--secondary);
    width: 300px;
    text-align: left;
}

.specs-table td {
    padding: 1rem;
}

.inquiry-box {
    margin-top: 5rem;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 400px 1fr;
}

.inquiry-sidebar {
    padding: 3rem;
    background: var(--primary);
}

.inquiry-main {
    padding: 3rem;
    background: white;
    color: var(--text-main);
}

.inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input, .form-group-full textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.form-group-full {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .main-image-box {
        height: 300px;
    }
    .product-title {
        font-size: 1.8rem;
    }
    .action-buttons {
        flex-direction: column;
    }
    .tabs-header {
        overflow-x: auto;
        gap: 1.5rem;
    }
    .tab-item {
        white-space: nowrap;
        font-size: 0.9rem;
    }
    .specs-table th {
        width: 150px;
        font-size: 0.85rem;
    }
    .inquiry-box {
        grid-template-columns: 1fr;
    }
    .inquiry-form-grid {
        grid-template-columns: 1fr;
    }
    .form-group {
        grid-column: span 1;
    }
    .inquiry-sidebar, .inquiry-main {
        padding: 2rem;
    }
}

/* Mega Menu Styles */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-links li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.mega-column h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.mega-column ul {
    list-style: none;
    padding: 0;
}

.mega-column ul li {
    margin-bottom: 0.75rem;
}

.mega-column ul li a {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.industry-menu-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    background: transparent !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
    transition: var(--transition) !important;
}

.industry-menu-link:hover {
    background: rgba(0, 163, 224, 0.08) !important;
    color: var(--primary) !important;
    transform: translateX(4px) !important;
}

.industry-menu-icon {
    font-size: 1.25rem !important;
    color: var(--accent) !important;
    width: 24px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: var(--transition) !important;
}

.industry-menu-link:hover .industry-menu-icon {
    color: var(--primary) !important;
    transform: scale(1.1) !important;
}

@media (max-width: 768px) {
    .mega-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Animations */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-left { animation: fadeInLeft 1s ease-out forwards; }
.animate-right { animation: fadeInRight 1s ease-out forwards; }
.animate-up { animation: fadeInUp 1s ease-out forwards; }

/* Hero Section Updated */
.hero {
    padding: 10rem 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/airdos/assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-image img {
    max-width: 90%;
    transform: perspective(1000px) rotateY(-10deg);
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    border-radius: 2rem; /* Increased rounding for a softer, premium look */
    mix-blend-mode: lighten;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1024px) {
    .container { width: 95%; }
    .hero-flex { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-image { justify-content: center; }
    .hero-image img { max-width: 80%; transform: none; }
    .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex; /* Always flex but hidden off-screen */
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen to the left */
        width: 80%; /* Side menu width */
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        z-index: 2000;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0; /* Slide in to the screen */
    }

    .mobile-menu-header {
        display: block !important;
    }

    .mobile-cta {
        display: block !important;
    }

    .mobile-cta .btn-primary {
        color: #ffffff !important;
    }

    .header-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: block !important;
        font-size: 1.5rem;
        color: var(--secondary);
        cursor: pointer;
        position: relative;
        z-index: 3000; /* Above the menu */
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .grid { grid-template-columns: 1fr !important; }
    
    .hero { padding: 6rem 0; }
    .hero h1 { font-size: 2.5rem; }
    
    .section { padding: 4rem 0; }
    
    .has-mega-menu .mega-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        padding: 0;
        display: none;
        background: #f8f9fa;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-mega-menu.open .mega-menu {
        display: block;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr !important;
        padding: 1rem;
        gap: 1.5rem;
    }

    .mega-column h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .mega-column ul li a {
        padding: 0.5rem 0;
        display: block;
        border-bottom: 1px solid #eee;
    }
    
    footer .grid { grid-template-columns: 1fr !important; gap: 3rem; }
}

/* Mobile Toggle Helper */
.mobile-toggle {
    display: none;
}
/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 5000;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-sticky i {
    font-size: 1.8rem;
}

.whatsapp-sticky:hover {
    transform: scale(1.05);
    background: #128C7E;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
        padding: 12px;
        border-radius: 50%;
    }
    .whatsapp-sticky span {
        display: none;
    }
}

/* =====================================================================
   Homepage (index.php) Responsiveness & Styling
   ===================================================================== */

/* Hero Buttons */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
}

/* Feature Overlap Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-card {
    background: white;
    padding: 2.5rem;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        padding: 1.75rem;
    }
}

/* Quality Images Grid & Actions */
.quality-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    grid-column: span 2;
}

.quality-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .quality-images-grid {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
    .quality-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 2rem;
    }
    .quality-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Category Overview Grid */
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 576px) {
    .category-overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Why Choose Us Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* CTA Card & Actions */
.cta-card {
    background: linear-gradient(135deg, #0f4c81 0%, #0a365c 100%);
    padding: 5rem 4rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 76, 129, 0.15);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    color: white !important;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem !important;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 3rem auto !important;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Force buttons to have identical layout, sizing, and typography */
.cta-actions .btn {
    padding: 0 !important;
    font-size: 1.05rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    width: 280px; /* Fixed width for uniform design */
    height: 60px; /* Exact same height */
    box-sizing: border-box;
    text-transform: none;
}

.cta-actions .btn-primary {
    background-color: var(--accent);
    color: white !important;
    box-shadow: 0 10px 20px rgba(0, 163, 224, 0.3);
}

.cta-actions .btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 163, 224, 0.4);
}

.cta-actions .btn-whatsapp {
    background-color: #25D366;
    color: white !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.cta-actions .btn-whatsapp:hover {
    background-color: #20ba59;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 3.5rem 2rem;
    }
    
    .cta-card h2 {
        font-size: 2rem !important;
    }
    
    .cta-card p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100% !important;
        height: 54px; /* Same height on mobile */
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 2.5rem 1.25rem;
    }
    
    .cta-card h2 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }
}

/* Latest News Grid & Header */
.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.section-header-news {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    margin-bottom: 4rem;
}

@media (max-width: 1200px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header-news {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .section-header-news .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .latest-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Responsive Typography Sizing */
@media (max-width: 768px) {
    h1, .hero h1 { font-size: 2.2rem !important; }
    h2, .section-header h2 { font-size: 1.8rem !important; }
    .hero p { font-size: 1rem; margin-bottom: 1.5rem; }
}

@media (max-width: 480px) {
    h1, .hero h1 { font-size: 1.8rem !important; }
    h2, .section-header h2 { font-size: 1.5rem !important; }
}

/* =====================================================================
   About Page (about.php) Responsiveness & Styling
   ===================================================================== */
.about-hero {
    padding: 8rem 0;
    text-align: center;
    color: white;
}
.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.about-hero p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.35rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    font-weight: 300;
}
.about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-overview-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 400px;
    width: 100%;
}
.about-stats-flex {
    display: flex;
    gap: 3rem;
}
.mfg-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.about-qc-card {
    background: var(--secondary);
    color: white;
    padding: 5rem;
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.about-qc-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(255,255,255,0.03);
    transform: skewX(-20deg) translateX(50%);
}
.about-qc-content {
    position: relative;
    z-index: 2;
}
.about-qc-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.about-qc-stat {
    text-align: center;
    position: relative;
    z-index: 2;
}
.about-qc-number {
    font-size: 6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.about-footprint {
    padding-bottom: 10rem;
}

/* Global button and flex layouts */
.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}
.about-footprint-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* About Mobile Responsiveness */
@media (max-width: 1024px) {
    .about-qc-card {
        padding: 4rem 3rem;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 5rem 0;
    }
    .about-hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem;
    }
    .about-hero p {
        font-size: 1.1rem;
    }
    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-overview-img {
        height: 300px;
    }
    .mfg-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .about-qc-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }
    .about-qc-number {
        font-size: 4.5rem;
    }
    .about-footprint {
        padding-bottom: 5rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    .about-footprint-actions {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-stats-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .about-qc-checks {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .about-qc-number {
        font-size: 3.5rem;
    }
}

/* =====================================================================
   Contact Page (contact.php) Responsiveness & Styling
   ===================================================================== */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}
.contact-info-box {
    margin-bottom: 3rem;
}
.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact-info-item:last-child {
    margin-bottom: 0;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info-label {
    font-weight: 700;
    color: var(--secondary);
}
.contact-info-detail {
    color: var(--text-muted);
}
.contact-gst-box {
    background: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
}
.contact-gst-box h4 {
    color: white;
    margin-bottom: 1rem;
}
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.contact-form .form-group-half {
    grid-column: span 1;
}
.contact-form .form-group-full {
    grid-column: span 2;
}
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}
.contact-form .btn-submit {
    width: 100%;
    padding: 1rem;
}
.contact-map-section {
    height: 450px;
    background: #eee;
}

/* Contact Mobile Responsiveness */
@media (max-width: 1024px) {
    .contact-layout-grid {
        gap: 3rem;
    }
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-map-section {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-form .form-group-half,
    .contact-form .form-group-full {
        grid-column: span 1;
    }
}
}


/* Product Watermark Overlay */
.product-card-image,
.product-image-container,
.product-thumb {
    position: relative !important;
}

.product-card-image::after,
.product-image-container::after,
.product-thumb::after {
    content: 'AIRDOS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 20px), calc(-50% + 10px));
    color: rgba(255, 255, 255, 0.20);
    font-size: 1.0rem;
    font-weight: 900;
    letter-spacing: 4px;
    font-family: 'Outfit', 'Inter', 'Segoe UI', sans-serif;
    pointer-events: none;
    z-index: 5;
    text-transform: uppercase;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Adjust sizes for different image containers */
.product-thumb::after {
    font-size: 0.45rem;
    letter-spacing: 1px;
}

.product-image-container::after {
    font-size: 1.8rem;
    letter-spacing: 8px;
}

