/* ========================================
   MWD Pro - CNC Machining & Oil/Gas Theme
   ======================================== */

/* CSS Variables - Industrial Oil & Gas + CNC Machining Theme */
:root {
    /* Primary: Industrial Steel/Dark Blue */
    --primary-color: #2d3748;
    --primary-dark: #1a202c;
    --primary-light: #4a5568;
    
    /* Accent: Oil & Gas Orange/Safety Yellow */
    --accent-color: #ed8936;
    --accent-hover: #dd6b20;
    --safety-yellow: #ecc94b;
    --cnc-orange: #ed8936;
    
    /* Text: Dark industrial */
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    
    /* Backgrounds: Industrial grays */
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-metal: #e2e8f0;
    --border-color: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Oil & Gas specific */
    --pipe-gray: #4a5568;
    --drill-dark: #2d3748;
    --machining-steel: #718096;

    /* Unified hero / page banner height (same on every page; ~40% less than former inner-page padding) */
    --banner-padding-top: 60px;
    --banner-padding-bottom: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header Styles
   ======================================== */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-dark);
    padding: 8px 0;
    font-size: 13px;
}

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

.header-contact {
    display: flex;
    gap: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.header-contact i {
    margin-right: 6px;
    color: var(--accent-color);
}

.header-quote .quote-btn {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.header-quote .quote-btn:hover {
    color: var(--accent-color);
}

/* Main Navigation */
.main-nav {
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
    max-width: min(320px, 55vw);
    object-fit: contain;
    object-position: left center;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.nav-menu > li > a i {
    font-size: 12px;
}

/* Quote Cart in Navigation */
.nav-quote {
    position: relative;
}

.nav-quote a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-quote .quote-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background-color: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    margin-left: 4px;
}

.nav-quote.has-items a {
    color: var(--accent-color);
}

.nav-quote.has-items .quote-count {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
}

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

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========================================
   Page Header / Hero Banner with CNC Images
   ======================================== */
.page-header {
    background: linear-gradient(135deg,
        rgba(10, 16, 24, 0.34) 0%,
        rgba(16, 24, 36, 0.28) 50%,
        rgba(26, 36, 52, 0.24) 100%
    ), url('../assets/cnc-banner-main.png');
    background-size: cover;
    background-position: center 38%;
    background-attachment: fixed;
    padding: var(--banner-padding-top) 0 var(--banner-padding-bottom);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Alternative banner for products page */
.page-header.products-banner {
    background: linear-gradient(135deg,
        rgba(10, 16, 24, 0.34) 0%,
        rgba(16, 24, 36, 0.28) 50%,
        rgba(26, 36, 52, 0.24) 100%
    ), url('../assets/cnc-banner-main.png');
    background-size: cover;
    background-position: center 38%;
    background-attachment: fixed;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255,255,255,0.012) 50px,
            rgba(255,255,255,0.012) 51px
        );
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--safety-yellow), var(--accent-color));
}

.page-header h1 {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: 48px;
    font-weight: 700;
}

.page-header .breadcrumb {
    position: relative;
    z-index: 1;
}

/* Hero Banner for Home Page */
.hero-banner {
    background: linear-gradient(135deg,
        rgba(10, 16, 24, 0.36) 0%,
        rgba(16, 24, 36, 0.28) 50%,
        rgba(10, 16, 24, 0.36) 100%
    ), url('../assets/cnc-banner-main.png');
    background-size: cover;
    background-position: center 38%;
    background-attachment: fixed;
    padding: var(--banner-padding-top) 0 var(--banner-padding-bottom);
    color: var(--bg-white);
    text-align: center;
    position: relative;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--safety-yellow), var(--accent-color));
}

.hero-banner h1 {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.55);
}

.hero-banner .tagline {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* Desktop-only banner polish */
@media (min-width: 1200px) {
    :root {
        /* ~10% taller banner than default; same height on every page at this breakpoint */
        --banner-padding-top: 66px;
        --banner-padding-bottom: 53px;
    }

    .hero-banner {
        background-position: center 34%;
    }

    .page-header,
    .page-header.products-banner {
        background-position: center 34%;
    }

    .hero-banner h1 {
        letter-spacing: 0.5px;
        line-height: 1.18;
    }

    .hero-banner .tagline {
        max-width: 760px;
    }
}

.hero-banner .hero-cta {
    display: inline-flex;
    gap: 16px;
    margin-top: 20px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

.hero-btn.primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.hero-btn.secondary:hover {
    background-color: var(--bg-white);
    color: var(--drill-dark);
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--bg-white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

/* Non-link segment in breadcrumb (e.g. "Products" when there is no hub page) */
.page-header .breadcrumb .breadcrumb-text,
.breadcrumb .breadcrumb-text {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 8px;
}

.nav-menu > li > a.nav-dropdown-parent {
    cursor: pointer;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 64px 0 72px;
    background-color: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-quote {
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-metal) 100%);
    border-left: 5px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
}

.mission-quote p {
    font-size: 22px;
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.5;
}

.mission-quote strong {
    color: var(--accent-color);
}

.about-text {
    margin-bottom: 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
}

/* Opening value statement — stands apart from body copy */
.about-text .lead {
    font-size: 1.2rem;
    line-height: 1.75;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding: 1.5rem 1.5rem 1.5rem 1.35rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-sm);
}

/* Match closing-statement CTA: accent color + italic */
.about-text .lead strong {
    color: var(--accent-color);
    font-weight: 700;
    font-style: italic;
}

@media (max-width: 600px) {
    .about-text .lead {
        font-size: 1.05rem;
        padding: 1.25rem 1rem 1.25rem 1rem;
    }
}

/* Closing CTA block — matches lead statement emphasis */
.about-text .closing-statement {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 40px;
    margin-bottom: 0;
    padding: 1.5rem 1.5rem 1.5rem 1.35rem;
    background: linear-gradient(135deg, #fff9f2 0%, var(--bg-light) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-sm);
}

.about-text .closing-statement__body {
    display: block;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.about-text .closing-statement__cta {
    display: block;
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
}

.about-text .closing-statement__cta strong {
    font-style: normal;
    font-size: 1.1em;
    color: var(--accent-color);
    font-weight: 700;
}

@media (max-width: 600px) {
    .about-text .closing-statement {
        padding: 1.25rem 1rem;
    }
}

.about-text .contact-cta {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--drill-dark) 0%, var(--pipe-gray) 100%);
    color: var(--bg-white);
    border-radius: 8px;
    font-size: 18px;
    border-left: 4px solid var(--accent-color);
}

.about-text .contact-cta strong {
    color: var(--accent-color);
}

/* About Highlights — text-only row at bottom of about section */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.highlight-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 20px 32px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 160px;
}

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

.highlight-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ========================================
   Locations Section
   ======================================== */
.locations-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.locations-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Contact strip (search moved to header overlay) */
.locations-wrapper.contact-layout {
    justify-content: center;
}

.contact-content {
    flex: 1 1 480px;
    max-width: 560px;
}

.contact-info-simple {
    padding: 16px 0;
}

.contact-info-simple p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-simple p i {
    color: var(--accent-color);
    width: 18px;
}

.contact-info-simple a {
    color: var(--text-medium);
    text-decoration: none;
}

.contact-info-simple a:hover {
    color: var(--accent-color);
}

/* Search Sidebar */
.location-search {
    flex: 0 0 280px;
}

.location-search h3 {
    font-size: 18px;
    font-weight: 600;
    color: #5a7a9a;
    margin-bottom: 12px;
    text-transform: none;
    font-family: inherit;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #7a9ab8;
    border-radius: 3px;
    font-size: 14px;
    color: var(--text-medium);
    background-color: var(--bg-white);
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-btn {
    padding: 10px 14px;
    background-color: #7a9ab8;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

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

.search-results {
    margin-top: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 12px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.search-result-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.search-result-item p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.search-result-item .result-type {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 3px;
    margin-bottom: 4px;
}

.no-results {
    padding: 12px;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
}

/* ========================================
   Header search icon + full-screen overlay
   ======================================== */
.nav-search {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-search-toggle:hover,
.nav-search-toggle:focus-visible {
    color: var(--accent-color);
    background: rgba(237, 137, 54, 0.12);
    outline: none;
}

body.search-overlay-open {
    overflow: hidden;
}

.site-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-search-overlay.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.site-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 36, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.site-search-overlay.is-open .site-search-backdrop {
    opacity: 1;
}

.site-search-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    padding: 28px 28px 20px;
    background: var(--bg-white);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    border-left: 4px solid var(--accent-color);
    transform: scale(0.92) translateY(-16px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.site-search-overlay.is-open .site-search-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.site-search-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--text-medium);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

/* Clicks on the icon were missing data-search-close on the button */
.site-search-close i {
    pointer-events: none;
}

.site-search-close:hover,
.site-search-close:focus-visible {
    background: var(--accent-color);
    color: var(--bg-white);
    outline: none;
}

.site-search-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 48px 16px 0;
    font-family: inherit;
}

.site-search-form.search-form {
    margin-bottom: 4px;
}

.site-search-results.search-results {
    max-height: min(50vh, 360px);
    margin-top: 12px;
}

/* Locations Content */
.locations-content {
    flex: 1;
}

.section-title {
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 24px;
    color: #5a7a9a;
}

.locations-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.location-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #5a7a9a;
    margin-bottom: 12px;
    font-family: inherit;
}

.location-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.location-item a {
    color: #666;
    text-decoration: none;
}

.location-item a:hover {
    color: var(--accent-color);
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--drill-dark) 50%, var(--pipe-gray) 100%);
    color: var(--bg-white);
    padding: 28px 0 0;
    border-top: 4px solid var(--accent-color);
}

/* Contact email — bottom of footer, left aligned */
.footer-contact-block {
    text-align: left;
    padding: 8px 0 20px;
}

.footer-contact-heading {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 10px;
    font-family: inherit;
}

.footer-contact-line {
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact-line i {
    color: var(--accent-color);
    font-size: 16px;
    width: 1.1em;
}

.footer-contact-line a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-line a:hover {
    color: var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    font-size: 15px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    /* Mobile: Products submenu in document flow (absolute dropdown caused overlap with items below) */
    .nav-menu > li {
        width: 100%;
    }

    .nav-menu .has-dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu .has-dropdown > a {
        width: 100%;
        box-sizing: border-box;
    }

    .nav-menu .has-dropdown > .dropdown {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 8px;
        background-color: var(--bg-light);
        border: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease, margin 0.28s ease, padding 0.28s ease, border-width 0.28s ease;
    }

    .nav-menu .has-dropdown:hover > .dropdown,
    .nav-menu .has-dropdown > .dropdown.active {
        max-height: min(75vh, 520px);
        margin: 6px 0 0;
        padding: 4px 0;
        border: 1px solid var(--border-color);
    }

    .nav-menu .has-dropdown > .dropdown li a {
        padding: 14px 18px;
        min-height: 48px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-search {
        width: 100%;
        justify-content: stretch;
    }

    .nav-search-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
        height: auto;
        min-height: 44px;
        border-radius: 8px;
        font-size: 16px;
    }

    .logo-img {
        height: 48px;
        max-width: min(260px, 62vw);
    }

    .page-header h1 {
        font-size: 32px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .locations-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .location-search {
        flex: none;
        width: 100%;
    }

    .locations-grid-simple {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 26px;
    }
    
    .mission-quote {
        padding: 24px;
    }
    
    .mission-quote p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 26px;
    }
}

/* ========================================
   Legacy BOSS System Styles (Preserved)
   ======================================== */

/* These styles are kept for backward compatibility 
   with the original BOSS application components */

.login-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.login-overlay.active {
    display: flex;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    display: none;
}

.main-content {
    flex: 1;
}

.mobile-menu-btn {
    display: none;
}