/* ==========================================================================
   LiquidTeQ Engineering Corporation — Modern Industrial Design System
   Corporate Colors: Navy Blue, Royal Blue, Sky Blue, Subtle Green, White
   ========================================================================== */

:root {
    --navy-950: #060e1e;
    --navy-900: #0a1931;
    --navy-850: #0e2344;
    --navy-800: #132e58;
    --navy-700: #1b3d73;
    
    --blue-primary: #0267c1;
    --blue-hover: #0056a3;
    --blue-light: #e8f3fc;
    
    --sky-accent: #00a8e8;
    --sky-glow: rgba(0, 168, 232, 0.15);
    
    --green-accent: #10b981;
    --green-light: #ecfdf5;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --white: #ffffff;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 25, 49, 0.08), 0 2px 4px -2px rgba(10, 25, 49, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(10, 25, 49, 0.1), 0 4px 6px -4px rgba(10, 25, 49, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 25, 49, 0.12), 0 8px 10px -6px rgba(10, 25, 49, 0.04);
    --shadow-hover: 0 18px 30px rgba(2, 103, 193, 0.18);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-700);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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

a:hover {
    color: var(--blue-hover);
}

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
    background-color: var(--navy-950);
    color: var(--white);
    font-size: 0.8125rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    transition: var(--transition);
}

.topbar-item:hover {
    color: #ffffff;
}

.topbar-link,
.topbar a {
    color: #ffffff !important;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.topbar-link:hover,
.topbar a:hover {
    color: var(--sky-accent) !important;
    text-decoration: underline;
}

.topbar-item svg {
    color: var(--sky-accent);
    flex-shrink: 0;
}

.topbar-badge {
    background: rgba(0, 168, 232, 0.2);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 168, 232, 0.4);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(10, 25, 49, 0.08);
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-primary), var(--sky-accent));
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--blue-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 310px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
    padding: 0.6rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1010;
    max-height: calc(88vh - 40px);
    overflow-y: auto;
}

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

.dropdown-item {
    display: block;
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    color: var(--slate-700);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--slate-50);
    color: var(--blue-primary);
    padding-left: 1.5rem;
}

.dropdown-item.see-all {
    margin-top: 0.5rem;
    border-top: 1px solid var(--slate-200);
    padding-top: 0.75rem;
    color: var(--blue-primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy-900);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--navy-800) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(2, 103, 193, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-hover) 0%, var(--navy-900) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 103, 193, 0.4);
}

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

.btn-sky:hover {
    background: #0090c7;
    color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-home {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
    color: var(--white);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sky-accent);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    background: rgba(0, 168, 232, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 168, 232, 0.25);
}

.hero-title {
    font-size: 2.85rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .text-gradient {
    background: linear-gradient(90deg, #ffffff 30%, var(--sky-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-badges-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--slate-300);
}

.hero-badge-item svg {
    color: var(--green-accent);
    flex-shrink: 0;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-card:hover img {
    transform: scale(1.03);
}

.hero-floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(10, 25, 49, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
}

.floating-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue-primary), var(--sky-accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.floating-text h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.floating-text p {
    font-size: 0.75rem;
    color: var(--slate-300);
    margin: 0;
}

/* Page Header / Breadcrumbs Banner */
.page-hero {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    color: var(--white);
    padding: 3.5rem 0 3.75rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--sky-accent);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav .separator {
    color: var(--slate-500);
}

.page-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    max-width: 700px;
    line-height: 1.6;
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-bg-slate {
    background-color: var(--slate-50);
}

.section-bg-dark {
    background-color: var(--navy-950);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-eyebrow {
    display: inline-block;
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section-bg-dark .section-eyebrow {
    color: var(--sky-accent);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--navy-900);
}

.section-bg-dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.65;
}

.section-bg-dark .section-desc {
    color: var(--slate-300);
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 103, 193, 0.4);
}

.product-card-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: var(--slate-100);
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--sky-accent);
}

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

.product-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy-900);
}

.product-card-title a {
    color: inherit;
}

.product-card-title a:hover {
    color: var(--blue-primary);
}

.product-card-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-100);
}

.product-link-btn {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--blue-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.product-link-btn:hover {
    color: var(--blue-hover);
    gap: 0.6rem;
}

/* Category Filter Tabs & Search */
.filter-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: var(--slate-100);
    border: none;
    color: var(--slate-700);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--slate-200);
    color: var(--navy-900);
}

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

.search-input-wrapper {
    position: relative;
    min-width: 280px;
}

.search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-300);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(2, 103, 193, 0.15);
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    pointer-events: none;
}

/* ==========================================================================
   SERVICES CARDS & GRIDS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 103, 193, 0.4);
}

.service-card-img-wrap {
    height: 220px;
    overflow: hidden;
    background-color: var(--slate-100);
}

.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img-wrap img {
    transform: scale(1.05);
}

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

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy-900);
}

.service-card-title a {
    color: inherit;
}

.service-card-title a:hover {
    color: var(--blue-primary);
}

.service-card-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* ==========================================================================
   DETAIL PAGES (PRODUCTS & SERVICES)
   ========================================================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Side by side image gallery container */
.detail-dual-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.detail-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    height: 320px;
    background: var(--slate-100);
}

.detail-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.detail-img-box:hover img {
    transform: scale(1.04);
}

.detail-section-block {
    margin-bottom: 2.5rem;
}

.detail-block-title {
    font-size: 1.5rem;
    color: var(--navy-900);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--slate-200);
    position: relative;
}

.detail-block-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--blue-primary);
}

/* Checkmark feature list */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.925rem;
    color: var(--slate-700);
}

.feature-item svg {
    color: var(--blue-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Specs Table */
.specs-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.specs-table th, .specs-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--slate-200);
}

.specs-table th {
    background: var(--navy-900);
    color: var(--white);
    font-weight: 600;
}

.specs-table tr:nth-child(even) td {
    background: var(--slate-50);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td.spec-name {
    font-weight: 600;
    color: var(--navy-900);
    width: 38%;
}

/* Accordion FAQs */
.accordion {
    margin-top: 1rem;
}

.accordion-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--white);
}

.accordion-header {
    width: 100%;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--blue-primary);
    background-color: var(--slate-50);
}

.accordion-header svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--blue-primary);
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 0.925rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.accordion-item.active .accordion-body {
    padding: 0.5rem 1.25rem 1.25rem;
    max-height: 400px;
}

/* Detail Sidebar */
.detail-sidebar {
    position: sticky;
    top: 6rem;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar-card-title {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--slate-200);
    color: var(--navy-900);
}

.sidebar-contact-info {
    font-size: 0.875rem;
    color: var(--slate-600);
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-contact-item svg {
    color: var(--blue-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.sidebar-links-list li {
    margin-bottom: 0.65rem;
}

.sidebar-links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--slate-700);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-links-list a:hover, .sidebar-links-list a.active {
    background: var(--blue-light);
    color: var(--blue-primary);
    font-weight: 600;
    padding-left: 1rem;
}

/* ==========================================================================
   WHY CHOOSE US / FEATURES
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 103, 193, 0.4);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-light) 0%, rgba(0, 168, 232, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(2, 103, 193, 0.2);
}

.feature-box-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--navy-900);
}

.feature-box-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.55;
}

/* ==========================================================================
   PROJECTS / PORTFOLIO
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.project-card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-disclaimer-pill {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 25, 49, 0.85);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.project-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--navy-900);
}

.project-card-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 1rem;
}

.project-meta-row {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--slate-100);
    font-size: 0.8rem;
    color: var(--slate-500);
}

.project-meta-item strong {
    color: var(--navy-900);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
    color: var(--white);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 103, 193, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-text p {
    font-size: 1.1rem;
    color: var(--slate-300);
    max-width: 650px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contact-info-panel {
    background: var(--navy-950);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-info-panel h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-info-panel p {
    color: var(--slate-300);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    min-width: 0;
    max-width: 100%;
}

.contact-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 168, 232, 0.15);
    border: 1px solid rgba(0, 168, 232, 0.3);
    color: var(--sky-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-detail-text h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sky-accent);
    margin-bottom: 0.3rem;
}

.contact-detail-text p {
    color: var(--slate-200);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-detail-text a {
    color: var(--slate-200);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    display: inline-block;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.contact-detail-text a:hover {
    color: var(--white);
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.form-group {
    margin-bottom: 1.25rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.4rem;
}

.form-label span.required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    background-color: var(--white);
    color: var(--slate-800);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(2, 103, 193, 0.15);
}

select.form-control {
    max-width: 100%;
    text-overflow: ellipsis;
}

textarea.form-control {
    min-height: 130px;
    max-width: 100%;
    resize: vertical;
    box-sizing: border-box;
}

.form-feedback {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-feedback.success {
    display: block;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-feedback.error {
    display: block;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--navy-950);
    color: var(--slate-300);
    padding-top: 4.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: inline-block;
    background: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.footer-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-about-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
}

.footer-iso-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-iso-badges img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-widget-title {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--sky-accent);
}

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

.footer-links-list a {
    color: var(--slate-400);
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--slate-400);
}

.footer-contact-item svg {
    color: var(--sky-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact-item a {
    color: var(--slate-300);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    background: #040810;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   QUOTE MODAL
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 14, 30, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid var(--slate-200);
}

.modal-backdrop.open .modal-dialog {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--slate-200);
    background: var(--slate-50);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--navy-900);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-400);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--navy-900);
}

.modal-body {
    padding: 2rem;
}

/* ==========================================================================
   COMPONENT BASE STYLES FOR RESPONSIVE LAYOUTS
   ========================================================================== */
body.mobile-nav-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* Header & Drawer Navigation (Desktop Defaults) */
.mobile-nav-backdrop {
    display: none;
}

.mobile-drawer-header {
    display: none;
}

.mobile-drawer-close {
    display: none;
}

.nav-link-row {
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: none;
}

.mobile-drawer-contact {
    display: none;
}

/* Introduction Section (Homepage) */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
}

.intro-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
    position: relative;
}

.intro-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-img-wrapper:hover .intro-img {
    transform: scale(1.03);
}

.intro-paragraph-lead {
    font-size: 1.05rem;
    color: var(--navy-900);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.intro-paragraph-body {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.intro-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.intro-callout {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.intro-callout h4 {
    font-size: 1rem;
    color: var(--navy-900);
    margin-bottom: 0.35rem;
}

.intro-callout p {
    font-size: 0.85rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin: 0;
}

.quality-callout {
    border-left: 4px solid var(--blue-primary);
}

.eco-callout {
    border-left: 4px solid var(--green-accent);
}

.intro-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Industries & Applications Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 103, 193, 0.4);
}

.industry-card-img-wrap {
    height: 180px;
    overflow: hidden;
    background: var(--slate-100);
}

.industry-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card-img-wrap img {
    transform: scale(1.05);
}

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

.industry-card-title {
    font-size: 1.1rem;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.industry-card-desc {
    font-size: 0.85rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin: 0;
}

/* About Us Layout Components */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-hero-visual {
    position: relative;
}

.about-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
}

.about-img-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-stat-pill {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--navy-950);
    color: var(--white);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-motto-box {
    background: linear-gradient(135deg, rgba(2, 103, 193, 0.08) 0%, rgba(0, 168, 232, 0.08) 100%);
    border-left: 4px solid var(--blue-primary);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
}

.about-cta-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.mission-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(2, 103, 193, 0.12);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
}

.capabilities-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
}

.capabilities-img-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-iso-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-200);
    margin-top: 1.5rem;
}

/* Services Page Components */
.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.why-services-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* Contact Facility Location */
.facility-location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.facility-location-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.facility-location-visual {
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.facility-location-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Detail Pages (Benefits & Advantages) */
.detail-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 1.15rem 1.25rem;
    transition: var(--transition);
}

.benefit-card:hover {
    background: var(--white);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* 1. Large Tablets and Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-desc {
        max-width: 100%;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .facility-location-card {
        grid-template-columns: 1fr;
    }
    
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .detail-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* 2. Tablets and Mobile Drawer Navigation (<= 992px) */
@media (max-width: 992px) {
    .topbar {
        display: none;
    }
    
    .header-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--slate-200);
        background: var(--slate-50);
        color: var(--navy-900);
        cursor: pointer;
        padding: 0;
        transition: var(--transition);
    }

    .mobile-toggle:hover {
        background: var(--slate-100);
        color: var(--blue-primary);
    }
    
    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 25, 49, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    .mobile-nav-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 330px;
        max-width: 86vw;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 1.25rem 1.25rem 2.5rem;
        gap: 0;
        box-shadow: -5px 0 25px rgba(10, 25, 49, 0.25);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 1050;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    }
    
    .nav-menu.open {
        visibility: visible;
        transform: translateX(0);
    }
    
    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid var(--slate-200);
        width: 100%;
    }
    
    .mobile-drawer-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--navy-900);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .mobile-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--slate-200);
        background: var(--slate-100);
        color: var(--navy-900);
        cursor: pointer;
        transition: var(--transition);
    }
    
    .mobile-drawer-close:hover {
        background: var(--slate-200);
        color: var(--blue-primary);
    }
    
    .nav-menu .nav-link {
        padding: 0.85rem 0.5rem;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--slate-100);
        width: 100%;
        display: flex;
        align-items: center;
    }

    .nav-menu .nav-link::after {
        display: none;
    }
    
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--slate-100);
    }
    
    .nav-link-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-link-row .nav-link {
        border-bottom: none;
    }
    
    .nav-dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--slate-200);
        border-radius: var(--radius-sm);
        background: var(--slate-50);
        color: var(--navy-900);
        cursor: pointer;
        transition: transform 0.25s ease, background-color 0.2s ease;
        margin: 0.35rem 0;
        flex-shrink: 0;
    }

    .nav-dropdown-toggle:hover {
        background-color: var(--slate-100);
    }
    
    .nav-dropdown.open .nav-dropdown-toggle svg {
        transform: rotate(180deg);
        color: var(--blue-primary);
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid var(--slate-200);
        background: var(--slate-50);
        margin: 0.35rem 0 0.85rem 0;
        border-radius: var(--radius-sm);
        padding: 0.5rem;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block;
        max-height: 800px;
        overflow-y: auto;
    }
    
    .dropdown-menu .dropdown-item {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
        border-radius: 4px;
    }

    .dropdown-menu .dropdown-item:hover {
        padding-left: 1rem;
    }
    
    .mobile-drawer-contact {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 2px dashed var(--slate-200);
        width: 100%;
    }
    
    .mobile-contact-links {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .mobile-contact-link {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        font-size: 0.875rem;
        color: var(--slate-700);
        font-weight: 500;
        padding: 0.45rem 0.25rem;
        transition: var(--transition);
    }

    .mobile-contact-link:hover {
        color: var(--blue-primary);
    }

    .mobile-contact-link svg {
        color: var(--blue-primary);
        flex-shrink: 0;
    }
}

/* 3. Standard Mobile Viewports (<= 768px) */
@media (max-width: 768px) {
    .header-brand img {
        height: 44px;
    }

    .hero-home {
        padding: 3rem 0 3.5rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        margin-bottom: 1.75rem;
    }

    .hero-badges-row {
        gap: 1rem;
        padding-top: 1.25rem;
    }

    .hero-badge-item {
        font-size: 0.8rem;
    }

    /* Neutralize floating card on mobile to eliminate horizontal scrolling */
    .hero-floating-card {
        position: static;
        margin-top: 1.25rem;
        width: 100%;
        left: auto;
        bottom: auto;
    }

    .hero-image-card img {
        height: 280px;
    }

    .intro-img {
        height: 280px;
    }

    .intro-subgrid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-img-card img {
        height: 280px;
    }

    .about-stat-pill {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .capabilities-img-card img {
        height: 280px;
    }

    .detail-dual-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-img-box {
        height: 240px;
    }

    .detail-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-info-panel,
    .contact-form-card {
        padding: 1.75rem 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }

    .facility-location-card {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .facility-location-info {
        padding: 1.75rem 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .facility-location-visual {
        height: 240px;
        min-height: 240px;
    }

    .btn {
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
        text-align: center;
    }

    .btn-lg {
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    .filter-search-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .search-input-wrapper {
        min-width: 100%;
        width: 100%;
    }

    .specs-table th, .specs-table td {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }

    .specs-table td.spec-name {
        width: 45%;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .page-hero {
        padding: 2.5rem 0;
    }

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

    .page-subtitle {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* 4. Small Phones & Touch Viewports (<= 576px) */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-brand img {
        height: 38px;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .about-cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .about-cta-btns .btn {
        width: 100%;
    }

    /* Single column cards for seamless scrolling without horizontal squeeze */
    .products-grid,
    .services-grid,
    .projects-grid,
    .industries-grid,
    .features-grid,
    .values-grid,
    .workflow-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card-img-wrap,
    .service-card-img-wrap,
    .project-card-img {
        height: 200px;
    }

    .hero-image-card img,
    .intro-img,
    .about-img-card img,
    .capabilities-img-card img {
        height: 220px;
    }

    .contact-info-panel,
    .contact-form-card {
        padding: 1.5rem 1rem;
    }

    .contact-detail-item {
        gap: 0.75rem;
    }

    .contact-icon-circle {
        width: 40px;
        height: 40px;
    }

    .contact-icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .facility-location-info {
        padding: 1.25rem 1rem;
    }

    .facility-location-visual {
        height: 200px;
        min-height: 200px;
    }

    /* iOS smooth font-size to prevent automatic zooming */
    .form-control,
    .btn {
        font-size: 16px;
    }

    .modal-backdrop {
        padding: 0.75rem;
    }

    .modal-dialog {
        max-height: 94vh;
        margin: 0;
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-body {
        padding: 1.25rem 1rem;
    }
}

/* 5. Ultra-compact devices (<= 380px) */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.55rem;
    }

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

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

    .header-brand img {
        height: 34px;
    }

    .btn {
        padding: 0.7rem 1.15rem;
    }

    .contact-info-panel,
    .contact-form-card {
        padding: 1.25rem 0.85rem;
    }

    .contact-detail-item {
        gap: 0.5rem;
    }

    .contact-icon-circle {
        width: 36px;
        height: 36px;
    }

    .contact-icon-circle svg {
        width: 16px;
        height: 16px;
    }

    .facility-location-info {
        padding: 1rem 0.75rem;
    }
}
