/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Variables */
:root {
    --primary-red: #8e1f32;
    --dark-blue: #1c2331;
    --light-bg: #f8f9fa;
    --border-color: #eee;
}

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

/* Topbar */
.topbar {
    background-color: var(--primary-red);
    color: white;
    font-size: 13px;
    padding: 8px 0;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar span {
    margin-right: 15px;
}

.topbar-left span i, .topbar-right a i {
    margin-right: 5px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    cursor: pointer;
}

/* Header */
.main-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 60px;
    object-fit: contain;
}

.company-label {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-red);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icons a {
    color: #333;
    font-size: 18px;
}

.button {
    background: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.button:hover {
    background: #7a192a;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Categories Grid */
.categories-grid {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.categories-grid .cat-item:nth-child(4), 
.categories-grid .cat-item:nth-child(5) {
    grid-column: span 1.5; 
}

.cat-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: block;
}

.cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.cat-item:hover img {
    transform: scale(1.1);
}

.cat-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Manufacturing Section */
.manufacturing {
    background: var(--light-bg);
    padding: 50px 20px;
    text-align: center;
}

.manufacturing h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    padding-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    border: none;
    cursor: pointer;
}

.product-image {
    position: relative;
}
.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}
.product-image span {
    position: absolute;
    top: 10px; right: 10px;
    background: white;
    width: 25px; height: 25px;
    text-align: center;
    border-radius: 50%;
}

.product-card h3 {
    font-size: 15px;
    font-weight: 500;
    padding: 0 15px;
}

.product-card small {
    display: block;
    padding: 0 15px;
    color: #666;
    margin-bottom: 5px;
}
.product-card p {
    padding: 0 15px;
    color: var(--primary-red);
    font-size: 13px;
    margin-top: 10px;
}

/* Sectors We Cater To */
.sectors {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.sectors h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.sector-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.sector-row.reverse {
    flex-direction: row-reverse;
}

.sector-content {
    flex: 1;
}

.sector-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.sector-content p {
    margin-bottom: 15px;
    color: #555;
}

.sector-image {
    flex: 1;
}

.sector-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* SEO Content */
.seo-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-size: 14px;
}

.seo-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.seo-content h4 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.seo-content p {
    margin-bottom: 15px;
    color: #555;
}

.seo-content ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #555;
}

/* Reviews */
.reviews {
    background: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}

.reviews h2 {
    margin-bottom: 40px;
    font-size: 28px;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.google-rating {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
    max-width: 250px;
}

.google-rating h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.google-rating .stars {
    color: #fbbc05;
    font-size: 20px;
    margin-bottom: 10px;
}

.review-cards {
    flex: 2;
    display: flex;
    gap: 20px;
}

.review-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info h4 {
    font-size: 14px;
}

.user-info span {
    font-size: 12px;
    color: #777;
}

.review-card .stars {
    color: #fbbc05;
    font-size: 12px;
    margin-bottom: 10px;
}

.review-card p {
    font-size: 13px;
    color: #555;
}

/* Contact form */
.contact {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}
.contact > div {
    flex: 1;
}
.contact form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 500;
}
.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}
.form-row {
    display: flex;
    gap: 15px;
}
.form-row label {
    flex: 1;
}
.contact .button {
    align-self: flex-start;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.footer-col a {
    color: #bbb;
    font-size: 14px;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-col .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-col p {
    color: #bbb;
    font-size: 14px;
    margin-top: 15px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
}

.lang-col select {
    padding: 8px;
    width: 100%;
    background: white;
    border: none;
    border-radius: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    color: #bbb;
    font-size: 13px;
}
.footer-bottom a {
    margin-left: 15px;
}

/* WhatsApp Float Icon */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Journal Grid */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.journal-card {
    background: white;
    border: 1px solid #eee;
}
.journal-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.journal-card div {
    padding: 20px;
}

/* About Page Custom Design */
.about-page {
    font-family: 'Poppins', sans-serif;
}
.about-section {
    padding: 60px 20px;
    background: #fff;
}
.text-center {
    text-align: center;
}
.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue, #1c2331);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--dark-blue, #1c2331) 50%, var(--primary-red, #8e1f32) 50%);
}
.title-crest {
    height: 45px;
    margin: 10px auto 25px;
    object-fit: contain;
}
.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}
.about-text p {
    margin-bottom: 20px;
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
}
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.mv-card .about-text {
    text-align: justify;
}

.signature {
    text-align: left;
    margin-top: 30px;
    font-style: italic;
}
.signature p {
    margin-bottom: 5px;
}
.signature a {
    color: var(--primary-red, #8e1f32);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid, .categories-grid, .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid .cat-item:nth-child(4), 
    .categories-grid .cat-item:nth-child(5) {
        grid-column: span 1; 
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .main-nav.open { 
        display: flex; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: white; 
        padding: 20px; 
        z-index: 99; 
        border-bottom: 1px solid var(--border-color); 
    }
    .menu-toggle {
        display: block;
    }
    .sector-row, .sector-row.reverse, .reviews-container, .contact {
        flex-direction: column;
    }
    .flags-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .product-grid, .categories-grid, .footer-container, .journal-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Banner */
.page-banner {
    background: var(--dark-blue);
    color: white;
    padding: 50px 20px;
    text-align: center;
}
.page-banner .breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
}
.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a:hover {
    color: white;
}
.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}
.page-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
}

/* Section heading */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}
.section-heading h2 {
    font-size: 26px;
}
.section-heading a {
    color: var(--primary-red);
    font-size: 14px;
}

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.section { padding: 60px 0; }

/* CTA Banner - Luxury Brand Style */
.cta-banner, .page-cta-wrapper {
    background: linear-gradient(135deg, #16202e 0%, #1f2f45 50%, #2a1b24 100%);
    padding: 65px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    color: white;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 50%, rgba(139, 30, 63, 0.35) 0%, transparent 60%);
    pointer-events: none;
}
.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}
.cta-text {
    flex: 1;
    max-width: 680px;
}
.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #f59e0b;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: rgba(245, 158, 11, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.cta-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 10px;
}
.cta-text p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}
.cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cta-btn.primary {
    background: var(--primary-red, #8B1E3F);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 30, 63, 0.4);
}
.cta-btn.primary:hover {
    background: #a32247;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 30, 63, 0.6);
    color: #ffffff;
}
.cta-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.cta-btn.whatsapp:hover {
    background: #1eb954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}
@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .cta-text {
        max-width: 100%;
    }
    .cta-text h2 {
        font-size: 26px;
    }
    .cta-buttons {
        justify-content: center;
    }
}
@media (max-width: 576px) {
    .cta-banner {
        padding: 45px 0;
    }
    .cta-text h2 {
        font-size: 22px;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* About section (aside/inline about) */
.about {
    display: flex;
    gap: 60px;
    align-items: center;
}
.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Catalogue layout */
.catalogue-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.catalogue-layout aside {
    width: 220px;
    flex-shrink: 0;
}
.catalogue-layout aside h3 {
    font-size: 16px;
    margin-bottom: 15px;
}
.catalogue-layout aside a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
}
.catalogue-layout aside a.selected { color: var(--primary-red); font-weight: 600; }
.catalogue-layout aside a:hover { color: var(--primary-red); }
.aside-help {
    margin-top: 30px;
    background: var(--light-bg);
    padding: 20px;
}
.aside-help h3 { font-size: 15px; margin-bottom: 8px; }
.aside-help p { font-size: 13px; color: #555; margin-bottom: 10px; }
.aside-help a { color: var(--primary-red); font-size: 13px; border-bottom: none; }

.catalogue-search {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 20px;
}
.catalogue-search label {
    flex: 1;
    font-size: 14px;
}
.catalogue-search input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}
.catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
}
.result-count {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}
.empty { color: #777; font-size: 14px; }
.text-link { color: var(--primary-red); font-size: 14px; }

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.detail-image { width: 100%; height: 450px; object-fit: cover; }
.product-facts { margin: 20px 0; }
.product-facts p { font-size: 14px; margin-bottom: 8px; color: #555; }
.muted { font-size: 13px; color: #999; margin-top: 10px; }

/* Prose content */
.prose p { margin-bottom: 15px; color: #555; font-size: 15px; }
.prose h2 { font-size: 22px; margin: 30px 0 10px; }

/* Article */
.article { max-width: 800px; }
.article-cover { width: 100%; max-height: 400px; object-fit: cover; margin: 20px 0; }

/* Industry grid */
.industries { background: var(--light-bg); }
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.industry-grid article {
    background: white;
    padding: 30px;
}
.industry-grid h3 { font-size: 18px; margin-bottom: 10px; }
.industry-grid p { color: #555; font-size: 14px; margin-bottom: 15px; }
.industry-grid a { color: var(--primary-red); font-size: 14px; }

/* Client grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.client-grid article {
    background: white;
    padding: 20px;
    border: 1px solid #eee;
}
.client-grid img { height: 80px; object-fit: contain; margin-bottom: 15px; }
.client-grid h3 { font-size: 16px; margin-bottom: 8px; }
.client-grid p { font-size: 14px; color: #555; }



/* Location panel */
.location-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    background: var(--light-bg);
    margin-top: 30px;
}
.location-panel h2 { font-size: 22px; margin-bottom: 8px; }
.location-panel p { font-size: 14px; color: #555; }

/* Responsive additions */
@media (max-width: 992px) {
    .catalogue-layout { flex-direction: column; }
    .catalogue-layout aside { width: 100%; }
    .product-detail { grid-template-columns: 1fr; }
    .about { flex-direction: column; }
    .industry-grid, .client-grid { grid-template-columns: 1fr 1fr; }
    .page-cta { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 576px) {
    .industry-grid, .client-grid { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 26px; }
    .catalogue-grid { grid-template-columns: 1fr; }
}

/* Nav Dropdown Submenu */
.main-nav ul li.has-dropdown {
    position: relative;
}

.main-nav ul li.has-dropdown > a i {
    font-size: 11px;
    margin-left: 4px;
    transition: 0.3s;
}

.main-nav ul li.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.main-nav ul .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--primary-red);
    z-index: 999;
    flex-direction: column;
    padding: 8px 0;
}

.main-nav ul li.has-dropdown:hover .dropdown {
    display: flex;
}

.main-nav ul .dropdown li {
    width: 100%;
}

.main-nav ul .dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    color: #333;
    white-space: nowrap;
    border-bottom: 1px solid #f5f5f5;
    transition: 0.2s;
}

.main-nav ul .dropdown li a:hover {
    background: #f9f9f9;
    color: var(--primary-red);
    padding-left: 25px;
}

.main-nav ul .dropdown li.dropdown-all a {
    color: var(--primary-red);
    font-weight: 600;
    border-bottom: none;
    padding-top: 12px;
}

/* Flags Section - exact alignment with header container */
.flags-section {
    background: #fff;
    padding: 35px 0 25px;
    border-bottom: 1px solid #eee;
}
.flags-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
a.flag-item, .flag-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
    max-width: 220px;
}
a.flag-item:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}
a.flag-item img, .flag-item img {
    width: 180px !important;
    height: 110px !important;
    object-fit: cover;
    border: 1px solid #ddd;
    display: block;
    margin: 0 auto 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
a.flag-item p, .flag-item p {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
}

/* Certifications - exact alignment with header container */
.certifications {
    padding: 35px 0;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.certifications h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}
.cert-logos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    align-items: stretch;
}
.cert-item {
    border: 1px solid #ccc;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    height: 95px;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cert-item:hover {
    border-color: #999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.cert-item img {
    max-height: 65px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    display: block;
    margin: 0 auto;
}

/* Responsive alignments */
@media (max-width: 992px) {
    .flags-container {
        gap: 15px;
    }
    a.flag-item img, .flag-item img {
        width: 140px !important;
        height: 85px !important;
    }
    .cert-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .flags-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }
    a.flag-item, .flag-item {
        max-width: 180px;
    }
    .cert-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .cert-logos {
        grid-template-columns: 1fr;
    }
}

/* Keep shared content within its available grid/flex width. */
.catalogue-layout > div { flex: 1; min-width: 0; width: 100%; }
.contact > div, .contact form, .form-row label, .footer-col { min-width: 0; }
.contact input, .contact textarea { width: 100%; min-width: 0; }
.contact p, .footer-col p, .signature a { overflow-wrap: anywhere; }

@media (max-width: 992px) {
    .main-nav { display: none; }
    .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
        max-height: 70vh;
        max-height: 70dvh;
        overflow-y: auto;
        box-shadow: 0 10px 20px rgb(0 0 0 / 8%);
    }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a { display: block; padding: 12px 0; }
    .main-nav ul .dropdown {
        display: flex;
        position: static;
        transform: none;
        min-width: 0;
        gap: 0;
        box-shadow: none;
        border-top: 0;
        border-left: 2px solid var(--border-color);
        padding: 0;
        margin: 0 0 8px 8px;
    }
    .main-nav ul .dropdown li a { white-space: normal; }
    .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topbar-container { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 768px) {
    .topbar-container { justify-content: center; text-align: center; }
    .topbar-left { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
    .topbar span { margin-right: 0; }
    .header-container { padding: 10px 20px; }
    .site-logo { height: 50px; }
    .form-row, .location-panel, .footer-bottom, .section-heading { flex-direction: column; align-items: stretch; gap: 16px; }
    .sector-image, .about-image { width: 100%; }
    .sector-image img, .about-image img { height: 260px; }
    .footer-bottom a { margin: 0 15px 0 0; }
    .section { padding-top: 40px; padding-bottom: 40px; }
    .about-section, .mission-vision-section { padding: 40px 20px; }
    .about-text { text-align: left; }
    .mv-card .about-text { text-align: left; }
    .whatsapp-float { width: 48px; height: 48px; right: 16px; bottom: 16px; font-size: 28px; }
    .footer-bottom { padding-bottom: 80px; }
}

@media (max-width: 576px) {
    .catalogue-grid { grid-template-columns: minmax(0, 1fr); padding: 0; }
    .flags-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .flag-item { min-width: 0; }
    a.flag-item p, .flag-item p { font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
    a.flag-item img, .flag-item img { height: auto !important; aspect-ratio: 28 / 17; }
    .contact input, .contact textarea, .catalogue-search input { font-size: 16px; }
    .catalogue-search { flex-wrap: wrap; }
    .catalogue-search label { min-width: 180px; }
    .detail-image { height: 300px; }
    .product-detail { gap: 28px; }
    .manufacturing h2, .sectors h2 { font-size: 24px; line-height: 1.35; }
}

/* Section spacing must preserve the container's side gutters. */
.section.container { padding-left: 20px; padding-right: 20px; }

/* Compact mobile masthead and balanced international credentials. */
@media (max-width: 768px) {
    .topbar { padding: 8px 0; font-size: 11px; }
    .topbar-container { padding: 0 16px; gap: 6px; }
    .topbar-left { width: 100%; gap: 4px 14px; }
    .topbar-left span { display: inline-flex; align-items: center; }
    .topbar-left span:last-child { width: 100%; justify-content: center; font-size: 10px; opacity: .85; }
    .topbar-right { display: none; }
    .header-container { padding: 8px 16px; min-height: 64px; }
    .main-header .site-logo { height: 44px; }
    .header-icons { gap: 8px; }
    .header-icons > a { display: grid; place-items: center; width: 44px; height: 44px; }
    .flags-section { padding: 20px 0; }
    .flags-container { padding: 0 16px; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
    a.flag-item, .flag-item { width: 100%; max-width: none; min-width: 0; padding: 12px 6px 10px; border: 1px solid #ececec; border-radius: 8px; background: #fff; }
    a.flag-item img, .flag-item img { width: 96px !important; height: 60px !important; object-fit: contain; aspect-ratio: auto; border: 0; box-shadow: none; margin-bottom: 8px; }
    a.flag-item p, .flag-item p { font-size: 11px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
    .certifications { padding: 22px 0; background: #fafafa; }
    .certifications h2 { font-size: 22px; line-height: 1.3; margin-bottom: 16px; }
    .cert-logos { padding: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cert-item { height: 84px; min-width: 0; padding: 12px; border: 1px solid #e5e5e5; border-radius: 6px; }
    .cert-item img { max-width: 100%; max-height: 58px; }
    .cert-item:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 10px) / 2); justify-self: center; }
}
