/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a3a52;
    --primary: #2d5a7b;
    --primary-light: #4a7ba7;
    --accent: #0088cc;
    --accent-light: #66b3ff;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --light-bg: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark: #212529;
    --white: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45, 90, 123, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 24px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ========== NAVBAR ========== */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.logo-link:hover {
    color: var(--accent);
}

.brand-logo {
    display: block;
    height: 52px;
    max-height: 52px;
    max-width: 52px;
    object-fit: contain;
    width: 52px;
}

.logo-text {
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(232, 240, 247, 1) 100%);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 50px;
    align-items: stretch;
}

.stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,248,252,0.95) 100%);
    padding: 30px 22px 26px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 47, 65, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 90, 123, 0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(17, 47, 65, 0.12);
}

.stat-number {
    font-size: clamp(2rem, 2.2vw, 2.6rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 14px 0 10px;
    letter-spacing: -0.6px;
    line-height: 1.1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* ========== SECTION STYLING ========== */
section {
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 80px 0;
}

.about-featured-image {
    margin-bottom: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-text h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vision-card, .mission-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, white 100%);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.vision-card h4, .mission-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.values-section {
    margin-top: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.value-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* ========== LEADERSHIP MESSAGES SECTION ========== */
.leadership-messages {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    color: white;
}

.leadership-messages .section-title {
    color: white;
    margin-bottom: 60px;
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
}

.message-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.md-message {
    border-top-color: #0088cc;
}

.gm-message {
    border-top-color: #2d5a7b;
}

.message-quote-mark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 60px;
    opacity: 0.1;
    color: var(--primary-dark);
    font-weight: bold;
    line-height: 1;
}

.message-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.leadership-icon {
    flex: 0 0 auto;
    width: 130px;
    height: 130px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.leadership-icon img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.md-icon {
    background: rgba(0, 136, 204, 0.1);
}

.gm-icon {
    background: rgba(45, 90, 123, 0.1);
}

.message-contact h4 {
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-size: 1.15rem;
}

.message-contact .title {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 8px 0;
}

.message-contact .phone {
    margin: 0;
    font-size: 0.9rem;
}

.message-contact a {
    color: var(--accent);
    font-weight: 600;
}

.message-body {
    position: relative;
    z-index: 1;
}

.message-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    font-style: italic;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    background: var(--light-bg);
    padding: 80px 0;
}

.product-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.product-group {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
}

.product-group h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.product-image-placeholder {
    align-items: center;
    background: white;
    border: 1px solid #dfe7ee;
    border-radius: 6px;
    display: flex;
    height: 180px;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}

.product-image-placeholder img {
    cursor: zoom-in;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-image-gallery {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.product-image-gallery figure {
    margin: 0;
    text-align: center;
}

.product-image-gallery img {
    background: white;
    border: 1px solid #dfe7ee;
    border-radius: 4px;
    cursor: zoom-in;
    height: 92px;
    object-fit: contain;
    width: 100%;
}

.product-image-gallery figcaption {
    color: var(--text-secondary);
    font-size: 0.7rem;
    margin-top: 3px;
}

.product-showcase {
    background: linear-gradient(135deg, #f7fbfd 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 28px;
    padding: 34px;
}

.showcase-heading {
    margin-bottom: 24px;
    max-width: 680px;
}

.section-kicker {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.showcase-heading h3 {
    color: var(--primary-dark);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.showcase-heading p:last-child {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.unified-product-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.unified-product-gallery img {
    height: 150px;
}

.showcase-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.showcase-details span {
    background: white;
    border: 1px solid #dfe7ee;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 9px 12px;
}

.export-product-card {
    align-items: center;
    background: white;
    border: 1px solid #dfe7ee;
    border-radius: 6px;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.8fr);
    margin-bottom: 24px;
    padding: 18px;
}

.export-products-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.export-products-grid .export-product-card {
    margin-bottom: 0;
}

.export-product-card .product-image-placeholder {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
}

.export-product-card .product-image-placeholder img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.export-product-card h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.export-product-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.pack-sizes {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.pack-sizes li {
    padding: 10px;
    background: white;
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ========== MANUFACTURING SECTION ========== */
.manufacturing {
    padding: 80px 0;
}

.equipment-showcase {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 48px);
}

.equipment-image-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
    flex: 0 0 auto;
}

.equipment-image {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(17, 47, 65, 0.1);
    overflow: hidden;
    padding: 8px;
    width: 100%;
    height: auto;
    min-width: 0;
}

.equipment-graphic {
    width: 100%;
    height: auto;
    display: block;
}

.capacity-highlight {
    clear: both;
    flex: 0 0 auto;
    margin: 0;
    padding: 24px 28px;
    background: var(--light-bg);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
}

.capacity-highlight h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.capacity-highlight p {
    margin-bottom: 0;
    line-height: 1.7;
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.mfg-card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mfg-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.mfg-card h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
}

.equipment-details, .infrastructure-details, .hvac-details, .water-details, .utilities-details, .warehouse-details {
    font-size: 0.95rem;
}

.equipment-details h4, .infrastructure-details h4, .hvac-details h4, .water-details h4, .utilities-details h4 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.mfg-card ul {
    list-style: none;
    margin-bottom: 15px;
}

.mfg-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.mfg-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ========== QUALITY SECTION ========== */
.quality {
    background: var(--light-bg);
    padding: 80px 0;
}

.quality-lab-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 50px;
}

.qc-photo-card {
    appearance: none;
    background: white;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: left;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.qc-photo-card:hover,
.qc-photo-card:focus-visible {
    box-shadow: 0 10px 24px rgba(26, 58, 82, 0.16);
    outline: none;
    transform: translateY(-3px);
}

.qc-photo-card img {
    aspect-ratio: 16 / 9;
    background: #eef3f6;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.qc-photo-card-wide {
    grid-column: span 1;
}

.qc-photo-card span {
    color: var(--primary-dark);
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 14px;
}

.photo-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 300;
}

.photo-modal[hidden] {
    display: none;
}

.photo-modal-backdrop {
    background: rgba(8, 23, 35, 0.82);
    inset: 0;
    position: absolute;
}

.photo-modal-content {
    background: #0b1822;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 48px);
    max-width: min(1100px, calc(100vw - 32px));
    padding: 16px;
    position: relative;
    z-index: 1;
}

.photo-modal-content img {
    height: auto;
    display: block;
    max-height: calc(100vh - 190px);
    max-width: 100%;
    object-fit: contain;
    transition: width 0.2s ease;
}

.photo-modal-image-wrap {
    background: #071018;
    border-radius: 4px;
    max-height: calc(100vh - 190px);
    max-width: 100%;
    overflow: auto;
}

.photo-modal-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.photo-modal-zoom {
    background: #1f4056;
    border: 0;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    min-width: 38px;
    padding: 7px 12px;
}

.photo-modal-zoom-level {
    align-self: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    min-width: 48px;
    text-align: center;
}

.photo-modal-zoom:hover,
.photo-modal-zoom:focus-visible {
    background: var(--accent);
    outline: none;
}

.photo-modal-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    margin: 10px 4px 2px;
}

.image-viewer-trigger {
    cursor: zoom-in;
}

.photo-modal-close {
    align-items: center;
    background: var(--primary-dark);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 1.4rem;
    height: 34px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 34px;
    z-index: 2;
}

.modal-open {
    overflow: hidden;
}

.lab-graphic {
    width: 100%;
    height: auto;
    display: block;
}

.quality-intro {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
    border-left: 4px solid var(--primary);
    text-align: center;
}

.quality-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pillar {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pillar h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.quality-systems h3 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.system-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.system-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.system-card p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* ========== CLIENTS SECTION ========== */
.clients {
    padding: 80px 0;
}

.clients-gallery {
    margin-bottom: 60px;
}

.client-logo-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    aspect-ratio: 3/2;
}

.company-logo-image {
    display: block;
    height: min(180px, 72%);
    max-height: 180px;
    max-width: 180px;
    object-fit: contain;
    width: min(180px, 72%);
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 60px;
}

.client-logo-card {
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    min-height: 170px;
    padding: 18px 14px 14px;
    text-align: center;
    box-shadow: 0 5px 16px rgba(17, 47, 65, 0.07);
}

.client-logo-card img {
    display: block;
    height: 104px;
    object-fit: contain;
    width: 100%;
}

.client-logo-card span {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}

/* ========== INTERNATIONAL SECTION ========== */
.international {
    background: var(--light-bg);
    padding: 80px 0;
}

.world-map-container {
    margin-bottom: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
    min-height: 350px;
}

.location-map-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    gap: 28px;
    align-items: stretch;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.location-map-frame {
    min-height: 360px;
}

.location-map-frame iframe {
    border: 0;
    display: block;
    height: 100%;
    min-height: 360px;
    width: 100%;
}

.location-map-details {
    align-self: center;
    padding: 32px 28px 32px 0;
}

.location-map-details h3 {
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.location-map-details p {
    line-height: 1.7;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.market-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.market-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.market-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.contact-form-box,
.contact-info-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(17, 47, 65, 0.08);
    padding: 32px;
    min-width: 0;
}

.contact-form-box h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.contact-form-box {
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.contact-form-box .btn {
    align-self: flex-start;
    margin-top: 6px;
}

.contact-airports-card {
    margin-top: 26px;
}

.contact-address-card {
    margin-top: 16px;
}

.contact-form-intro {
    line-height: 1.7;
    margin-bottom: 26px;
}

.contact-form-box > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 26px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: grid;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: #fff;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    min-height: 112px;
    resize: vertical;
}

.contact-form .btn {
    justify-self: start;
    margin-top: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.contact-info-box h3 {
    margin-bottom: 22px;
    color: var(--primary-dark);
}

.contact-info-box {
    display: block;
}

.contact-info-box h3 {
    margin-bottom: 22px;
}

.contact-people {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.contact-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 0;
    border-left: 4px solid var(--accent);
    min-width: 0;
}

.contact-card:nth-of-type(3),
.contact-card:nth-of-type(4) {
    grid-column: 1 / -1;
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-card p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--accent);
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-person-card {
    padding: 22px;
}

.contact-person-card h4 {
    margin-bottom: 8px;
}

.contact-person-name {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 18px;
}

.contact-detail {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail span {
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    body {
        line-height: 1.55;
    }

    section {
        scroll-margin-top: 70px;
    }

    section p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .section-title {
        line-height: 1.2;
        margin-bottom: 28px;
        text-wrap: balance;
    }

    .section-intro {
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .about,
    .manufacturing,
    .quality,
    .clients,
    .international,
    .contact {
        padding: 56px 0;
    }

    .about-featured-image {
        margin-bottom: 32px;
    }

    .about-grid {
        gap: 28px;
        margin-bottom: 36px;
    }

    .mfg-card,
    .pillar,
    .system-card {
        padding: 24px;
    }

    .mfg-card h3 {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .mfg-card li {
        line-height: 1.5;
        padding-bottom: 6px;
        padding-top: 6px;
    }

    .quality-intro {
        padding: 24px;
    }

    .quality-lab-gallery {
        gap: 14px;
        margin-bottom: 36px;
    }

    .client-name {
        line-height: 1.4;
        padding: 16px 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-image {
        min-height: 300px;
    }

    .nav-menu {
        position: absolute;
        top: 92px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 2px solid var(--light-gray);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        padding: 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link {
        padding: 15px 20px;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-people {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .product-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .product-showcase {
        padding: 24px;
    }

    .unified-product-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .export-product-card {
        grid-template-columns: 1fr;
    }

    .export-products-grid {
        grid-template-columns: 1fr;
    }

    .location-map-card {
        grid-template-columns: 1fr;
    }

    .location-map-details {
        padding: 0 24px 28px;
    }

    .manufacturing-grid, .systems-grid, .markets-grid, .clients-logo-grid {
        grid-template-columns: 1fr;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .equipment-showcase {
        padding: 20px;
    }

    .equipment-image-gallery {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .messages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .message-card {
        padding: 30px;
    }

    .message-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .leadership-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 10px;
        flex-direction: column;
    }

    .hero-image {
        min-height: 250px;
    }

    .product-showcase {
        padding: 18px;
    }

    .unified-product-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .unified-product-gallery img {
        height: 120px;
    }

    .quality-lab-gallery {
        grid-template-columns: 1fr;
    }

    .photo-modal {
        padding: 12px;
    }

    .photo-modal-content {
        padding: 8px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px 15px;
        border-top: 2px solid var(--accent);
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .tab-content {
        padding: 20px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .equipment-showcase {
        padding: 15px;
    }

    .location-map-frame,
    .location-map-frame iframe {
        min-height: 280px;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .messages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .message-card {
        padding: 20px;
        border-top: 3px solid var(--accent);
    }

    .message-header {
        gap: 10px;
    }

    .leadership-icon {
        width: 60px;
        height: 60px;
    }

    .message-body p {
        font-size: 0.9rem;
    }

    .message-contact h4 {
        font-size: 1rem;
    }
}
