/* 
   HAWAI Air Conditioning & Ventilation - Main Stylesheet
   Established 1986
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;600;700&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Color Variables and Design System */
:root {
    --primary-green: #0B4B3C;
    --dark-green: #06382D;
    --cream: #F5E9D4;
    --light-beige: #ecdfc6;
    --gold: #D9C9A7;
    --white: #FFFFFF;
    --dark-text: #1C1C1C;
    --light-gray: #F8F9FA;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Typography Selection based on Language */
html[lang="en"] body {
    font-family: 'Inter', 'Poppins', sans-serif;
}

html[lang="ar"] body {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
}

/* Language Visibility Rules */
html[lang="en"] .lang-ar {
    display: none !important;
}

html[lang="ar"] .lang-en {
    display: none !important;
}

/* Text direction helpers */
html[lang="ar"] {
    text-align: right;
}
html[lang="en"] {
    text-align: left;
}


.logo-img {
    height: 32px;
    width: auto;
}

/* Sticky & Transparent Header */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    background: transparent;
}

.header-nav.scrolled {
    background: rgba(6, 56, 45, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(217, 201, 167, 0.2);
}

.navbar-brand img {
    width: auto;
    max-width: 100%;
    height: 50px;
    transition: var(--transition-smooth);
}

.header-nav.scrolled .navbar-brand img {
    height: 42px;
}

@media (min-width: 992px) {
    .header-nav .navbar {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }

    .header-nav .navbar-brand {
        grid-column: 1;
        justify-self: start;
        margin-right: 0;
    }

    .header-nav .navbar-collapse {
        position: static;
        grid-column: 2;
        width: auto;
        flex-basis: auto;
        flex-grow: 0;
        justify-content: center;
    }

    .header-nav .navbar-nav {
        margin: 0 !important;
    }

    .header-nav .navbar-language-switcher {
        position: absolute;
        top: 50%;
        inset-inline-end: 0;
        transform: translateY(-50%);
        white-space: nowrap;
    }
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition-smooth);
    position: relative;
}



.nav-link:hover {
    color: var(--gold) !important;
}

.header-nav .navbar-language-switcher {
    flex-shrink: 0;
}

.header-nav .navbar-language-switcher .lang-switch-btn {
    white-space: nowrap;
}

/* Language Switcher */
.lang-switch-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lang-switch-btn:hover {
    background: var(--gold);
    color: var(--dark-green);
    border-color: var(--gold);
}

/* Remove Underlines from Links */
a {
    text-decoration: none;
}

/* Premium Buttons */
.btn-hawai-primary {
    background-color: var(--cream);
    color: var(--dark-green) !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--cream);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hawai-primary:hover {
    background-color: transparent;
    color: var(--cream) !important;
    border-color: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 233, 212, 0.3);
     text-decoration: none;
}

.btn-hawai-outline {
    background-color: transparent;
    color: var(--white) !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hawai-outline:hover {
    background-color: var(--white);
    color: var(--dark-green) !important;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-hawai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--primary-green);
    border-radius: 50px;
    background: var(--primary-green);
    color: var(--white) !important;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-hawai:hover {
    transform: translateY(-3px);
    background: var(--dark-green);
    color: var(--white) !important;
}

.btn-hawai.btn-hawai-outline {
    border-color: rgba(11, 75, 60, 0.45);
    background: transparent;
    color: var(--primary-green) !important;
}

.btn-hawai.btn-hawai-outline:hover {
    border-color: var(--primary-green);
    background: var(--primary-green);
    color: var(--white) !important;
}

.btn-hawai-dark {
    background-color: var(--primary-green);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--primary-green);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.btn-hawai-dark:hover {
    background-color: transparent;
    color: var(--primary-green) !important;
    transform: translateY(-3px);
}

/* Floating Elements */
.sticky-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--gold);
    color: var(--dark-green);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
    border: none;
    font-size: 1.5rem;
    text-decoration: none;
}

html[lang="ar"] .sticky-quote-btn {
    right: auto;
    left: 30px;
}

.sticky-quote-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--white);
    color: var(--primary-green);
}

body.products-page .sticky-quote-btn {
    display: none;
}

.whatsapp-float {
    position: fixed;
    bottom: 105px;
    right: 30px;
    z-index: 999;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
    font-size: 1.8rem;
    text-decoration: none !important;
}

html[lang="ar"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 180px;
    right: 30px;
    z-index: 999;
    background-color: rgba(6, 56, 45, 0.85);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

html[lang="ar"] .scroll-top-btn {
    right: auto;
    left: 30px;
}

.scroll-top-btn:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    min-height: 620px;
    background: linear-gradient(135deg, rgba(6, 56, 45, 0.9) 0%, rgba(11, 75, 60, 0.75) 100%), 
                url('../images/hero-bg.webp') no-repeat center center/cover;
    align-items: center;
    padding: 145px 0 80px;
    overflow: hidden;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content h1 span {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 650px;
}

html[lang="ar"] .hero-content p {
    margin-right: 0;
}

/* Stats Section */
.stats-banner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styling */
.section-padding {
    padding: 50px 0;
}

.bg-light-beige {
    background-color: var(--light-beige);
}

.bg-dark-green {
    background-color: var(--dark-green);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 15px;
}

.bg-dark-green .section-title h2 {
    color: var(--gold);
}


html[lang="ar"] .section-title h2::after {
    left: auto;
    right: 0;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

.bg-dark-green .section-title p {
    color: rgba(255, 255, 255, 0.75);
}

/* Glassmorphism & Cards */
.hawai-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.228);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    height: 100%;
    text-align: center;
}

.hawai-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 75, 60, 0.1);
    border-color: rgba(11, 75, 60, 0.15);
}

.hawai-card .card-icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 16px;
    background: var(--light-beige);
    font-size: 1.35rem;
    color: var(--primary-green);
}

.hawai-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.hawai-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Product Categories Grid */
.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(6, 56, 45, 0.9) 0%, rgba(6, 56, 45, 0.4) 60%, transparent 100%);
    padding: 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 60%;
}

.category-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.category-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.category-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-link i {
    transition: var(--transition-smooth);
}

.category-card:hover .category-link i {
    transform: translateX(5px);
}

html[lang="ar"] .category-card:hover .category-link i {
    transform: translateX(-5px);
}

.home-product-category {
    display: flex;
    min-height: 150px;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(6, 56, 45, 0.08);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: var(--dark-green);
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.home-product-category:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    color: var(--dark-green);
    box-shadow: 0 12px 28px rgba(6, 56, 45, 0.12);
}

.home-product-category img {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    object-fit: contain;
}

.home-product-category > span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Product Catalog */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 75, 60, 0.08);
}

.product-img-wrapper {
    position: relative;
    padding-top: 75%;
    background-color: var(--light-gray);
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: translate(-50%, -50%) scale(1.08);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    background: var(--light-beige);
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-quantity-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: auto 0 10px;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.product-quantity-display strong {
    min-width: 2ch;
}

.product-order-controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.product-quantity-button,
.cart-quantity-button,
.cart-remove-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid rgba(6, 56, 45, 0.2);
    border-radius: 8px;
    background: var(--white);
    color: var(--dark-green);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}

.product-quantity-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.product-add-button {
    flex: 1;
    padding: 10px 12px;
}

.product-add-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.product-order-layout {
    align-items: flex-start;
}

.product-catalog-column {
    order: 1;
}

.product-cart-column {
    order: 2;
}

.shopping-cart-card {
    position: sticky;
    top: 110px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mobile-cart-dialog {
    position: fixed;
    inset: 0;
    width: min(36rem, calc(100vw - 1.5rem));
    max-width: none;
    max-height: calc(100dvh - 1.5rem);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: transparent;
}

.mobile-cart-dialog[open] {
    display: block;
    z-index: 1100;
}

.mobile-cart-dialog #shoppingCart {
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-cart-dialog::backdrop {
    background: rgba(0, 0, 0, 0.58);
}

.mobile-cart-toggle {
    position: fixed;
    z-index: 1001;
    inset-inline-end: 30px;
    bottom: 30px;
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--dark-green);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-cart-toggle:focus-visible,
.mobile-cart-close:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.mobile-cart-badge {
    position: absolute;
    top: -5px;
    inset-inline-end: -5px;
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--white);
    border-radius: 999px;
    background: var(--gold);
    color: var(--dark-green);
    direction: ltr;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.mobile-cart-close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(6, 56, 45, 0.2);
    border-radius: 50%;
    background: var(--white);
    color: var(--dark-green);
    font-size: 1rem;
    cursor: pointer;
}

.shopping-cart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.shopping-cart-heading h2 {
    margin: 0;
    color: var(--dark-green);
    font-size: 1.35rem;
    font-weight: 700;
}

.shopping-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 50px;
    background: var(--light-beige);
    color: var(--dark-green);
    font-weight: 700;
}

.shopping-cart-empty {
    padding: 20px 12px;
    color: #666;
    text-align: center;
}

.shopping-cart-items {
    display: grid;
    gap: 14px;
}

.shopping-cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shopping-cart-item > img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: var(--light-gray);
    object-fit: contain;
}

.shopping-cart-item-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shopping-cart-item-name {
    color: var(--dark-green);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.shopping-cart-unit-price {
    color: #666;
    font-size: 0.82rem;
}

.shopping-cart-item-controls {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-quantity-button,
.cart-remove-button {
    min-width: 34px;
    min-height: 34px;
    font-size: 1rem;
}

.cart-remove-button {
    margin-inline-start: auto;
    color: #a12c2c;
}

.shopping-cart-item-quantity {
    min-width: 2ch;
    text-align: center;
    font-weight: 700;
}

.shopping-cart-item-subtotal {
    margin-inline-start: auto;
    color: var(--dark-green);
    font-size: 0.9rem;
    white-space: nowrap;
}

.shopping-cart-summary {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.shopping-cart-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--dark-text);
}

.shopping-cart-total-row strong {
    text-align: end;
    white-space: nowrap;
}

.shopping-cart-grand-total {
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-green);
    font-size: 1.1rem;
    font-weight: 700;
}

.shopping-cart-order-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.shopping-cart-feedback {
    min-height: 1.4em;
    margin: 10px 0 0;
    color: var(--dark-green);
    font-size: 0.9rem;
}

.cart-checkout-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-checkout-form .alert {
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    html[lang="en"] .product-cart-column {
        order: 0;
    }

    html[lang="en"] .product-catalog-column {
        order: 1;
    }

    html[lang="ar"] .product-catalog-column {
        order: 1;
    }

    html[lang="ar"] .product-cart-column {
        order: 0;
    }
}

@media (max-width: 991.98px) {
    .shopping-cart-card {
        position: static;
    }

    .product-cart-column {
        display: none;
    }

    .mobile-cart-toggle {
        inset-inline-end: 20px;
        bottom: 20px;
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

}

@media (max-width: 767.98px) {
    .shopping-cart-card {
        padding: 20px;
    }

    .product-order-controls {
        gap: 6px;
    }

    .product-quantity-button {
        min-width: 38px;
    }
}

@media (max-width: 575.98px) {
    .home-product-category {
        min-height: 136px;
        padding: 12px 8px;
    }

    .home-product-category img {
        width: 60px;
        height: 60px;
    }

    .home-product-category > span {
        font-size: 0.85rem;
    }
}

.product-specs {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 15px;
    margin-bottom: 20px;
}

.spec-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.spec-label {
    color: #888;
}

.spec-val {
    font-weight: 600;
    color: var(--dark-text);
}

/* Order Now Button on Product Cards */
.order-now-btn {
    padding: 8px 18px !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 0.95rem;
    width: 100%;
    align-items: center;
}

/* Project Portfolio Showcase */
.project-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(6, 56, 45, 0.12);
}

/* Project Image Slider */
.project-slider {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--light-beige);
    touch-action: pan-y;
}

.project-slider:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.project-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.project-img.is-active {
    opacity: 1;
    visibility: visible;
}

/* Slider Arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(6, 56, 45, 0.55);
    color: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.slider-prev {
    inset-inline-start: 12px;
}

.slider-next {
    inset-inline-end: 12px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--dark-green);
}

.slider-prev:focus-visible,
.slider-next:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

html[dir="rtl"] .slider-prev i,
html[dir="rtl"] .slider-next i {
    transform: scaleX(-1);
}

/* Slider Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(6, 56, 45, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.is-active {
    background: var(--gold);
    transform: scale(1.25);
}

.slider-dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Hide controls when a project has a single image */
.project-slider.is-single .slider-prev,
.project-slider.is-single .slider-next,
.project-slider.is-single .slider-dots {
    display: none;
}

.project-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 24px 28px 28px;
    color: var(--dark-text);
    line-height: 1.6;
    list-style: disc;
    list-style-position: outside;
}

.project-details li {
    padding-inline-start: 4px;
}

.project-details strong {
    color: var(--dark-green);
}

/* Partners Logo Grid */
.partner-logo-box {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.partner-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 56, 45, 0.08);
    border-color: var(--gold);
}

.partner-logo-box img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.partner-logo-box:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Call To Action Block */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    border-radius: 30px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 201, 167, 0.25);
    box-shadow: 0 20px 50px rgba(6, 56, 45, 0.3);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 201, 167, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Footer Section */
.footer {
    background-color: var(--dark-green);
    color: var(--white);    
    padding-top: 25px;
    padding-bottom: 30px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer h4 {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

html[lang="ar"] .footer h4::after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

html[lang="ar"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-info-list i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D9C9A7;
    color: #1C1C1C;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-btn:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-3px);
}

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand-link {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    transition: var(--transition);
}

/* Page Banner */
.page-banner {
    height: 380px;
    background: linear-gradient(135deg, rgba(6, 56, 45, 0.95) 0%, rgba(11, 75, 60, 0.85) 100%), 
                url('../images/page-bg.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb-nav {
    --bs-breadcrumb-divider: '>';
    --bs-breadcrumb-item-active-color: var(--gold);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Filter Controls */
.filter-btn {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}

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

/* Timeline component */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--light-beige);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

html[lang="ar"] .timeline::after {
    left: auto;
    right: 50%;
    margin-right: -3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--white);
    border: 4px solid var(--primary-green);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

html[lang="ar"] .timeline-container::after {
    right: auto;
    left: -17px;
}

.timeline-left {
    left: 0;
}

html[lang="ar"] .timeline-left {
    left: auto;
    right: 0;
}

.timeline-right {
    left: 50%;
}

html[lang="ar"] .timeline-right {
    left: auto;
    right: 50%;
}

html[lang="en"] .timeline-right::after {
    left: -17px;
}

html[lang="ar"] .timeline-left::after {
    left: -17px;
    right: auto;
}

.timeline-content {
    padding: 30px;
    background-color: var(--light-gray);
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.timeline-content h3 {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Contact form glass panel */
.contact-glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.form-control {
    border-radius: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(11, 75, 60, 0.15);
}

/* Map wrapper */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* About page components */
.section-space {
    padding: 88px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-green);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-intro {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 78px;
    background:
        radial-gradient(circle at 12% 18%, rgba(11, 75, 60, 0.1), transparent 28%),
        linear-gradient(135deg, #fff 0%, var(--light-beige) 100%);
}

.hero-copy {
    max-width: 660px;
}

.hero-copy h1 {
    margin: 0 0 22px;
    color: var(--dark-green);
    font-size: clamp(2.25rem, 5vw, 4.1rem);
    font-weight: 700;
    line-height: 1.25;
}

.hero-copy p,
.story-copy p {
    color: #555;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--light-beige);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.hero-visual::after {
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(6, 56, 45, 0.65));
    content: "";
    pointer-events: none;
}

.hero-image-label {
    position: absolute;
    z-index: 1;
    inset-inline-start: 22px;
    bottom: 18px;
    color: var(--white);
    font-weight: 600;
}

.hero-image-label small {
    display: block;
    opacity: 0.86;
    font-weight: 400;
}

.story-section {
    background: var(--white);
}

.story-copy {
    max-width: 700px;
}

.story-note {
    margin-top: 24px;
    padding: 20px 22px;
    border-inline-start: 4px solid var(--gold);
    border-radius: 12px;
    background: var(--light-gray);
    color: var(--dark-green);
    font-weight: 600;
}

.story-photo {
    overflow: hidden;
    border-radius: 20px;
    background: var(--light-beige);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.story-photo img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.soft-section {
    background: #f8f5ee;
}

.timeline-wrap {
    position: relative;
    max-width: 900px;
    margin: 46px auto 0;
}

.timeline-wrap::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    inset-inline-start: 50%;
    width: 2px;
    background: rgba(11, 75, 60, 0.22);
    content: "";
    transform: translateX(50%);
}

.timeline-wrap .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-bottom: 30px;
}

.timeline-wrap .timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: end;
}

.timeline-wrap .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-wrap .timeline-content {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.timeline-wrap .timeline-content::before {
    position: absolute;
    top: 30px;
    inset-inline-start: -30px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--primary-green);
    box-shadow: 0 0 0 2px var(--primary-green);
    content: "";
}

.timeline-wrap .timeline-item:nth-child(odd) .timeline-content::before {
    inset-inline-start: auto;
    inset-inline-end: -30px;
}

.timeline-year {
    color: var(--primary-green);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
}

.timeline-wrap .timeline-content h3 {
    margin: 10px 0;
    color: var(--dark-green);
    font-size: 1.1rem;
    font-weight: 700;
}

.timeline-wrap .timeline-content p {
    margin: 0;
    color: #555;
    font-size: 0.94rem;
}

html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(odd) .timeline-content {
    grid-column: 2;
    text-align: left;
}

html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
}

html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(odd) .timeline-content::before {
    inset-inline-start: -30px;
    inset-inline-end: auto;
}

html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(even) .timeline-content::before {
    inset-inline-start: auto;
    inset-inline-end: -30px;
}

.inquiry-modal-header {
    position: relative;
    justify-content: space-between;
}

html[dir="rtl"] .inquiry-modal-header {
    padding-left: 3.5rem;
}

.inquiry-modal-header .btn-close {
    flex: 0 0 auto;
    margin: 0;
}

html[dir="rtl"] .inquiry-modal-header .btn-close {
    position: absolute;
    top: 50%;
    left: 1rem;
    right: auto;
    transform: translateY(-50%);
}

.inquiry-product-options {
    max-height: 220px;
    overflow-y: auto;
}

.vents-section {
    background: var(--dark-green);
    color: var(--white);
}

.vents-section .eyebrow {
    color: var(--gold);
}

.vents-section .section-title h2 {
    color: var(--gold);
}

.vents-section p {
    color: rgba(255, 255, 255, 0.78);
}

.vents-logo {
    display: grid;
    min-height: 220px;
    padding: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.vents-logo__partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    width: 100%;
}

.vents-logo__partners img {
    display: block;
    max-width: 42%;
    max-height: 84px;
    object-fit: contain;
}

.vents-logo strong {
    color: var(--white);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: 0.04em;
}

.cta-section {
    padding: 76px 0;
    background: var(--light-beige);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-panel h2 {
    margin: 0 0 10px;
    color: var(--dark-green);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
}

.cta-panel p {
    max-width: 720px;
    margin: 0;
    color: #555;
}

/* Manufacturing page */
.manufacturing-hero {
    position: relative;
    display: flex;
    min-height: 620px;
    align-items: center;
    padding: 145px 0 80px;
    overflow: hidden;
    background: var(--dark-green);
    color: var(--white);

}


.manufacturing-hero__copy {
    position: relative;
    z-index: 1;
}

.manufacturing-hero h1 {
    max-width: 720px;
    margin-bottom: 24px;
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;

}


.manufacturing-hero p {
    max-width: 650px;
    margin-bottom: 40px;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);

}




.manufacturing-hero__image {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.manufacturing-hero__image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
}

.manufacturing-section-title {
    margin-bottom: 42px;
}

.manufacturing-overview__image {
    display: block;
    width: 100%;
    max-height: 440px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.manufacturing-capability-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.manufacturing-capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(11, 75, 60, 0.12);
}

.manufacturing-capability-card__image {
    position: relative;
    display: grid;
    min-height: 175px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 14px;
    background: var(--light-gray);
}

.manufacturing-capability-card__image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.manufacturing-capability-card__image img.manufacturing-capability-photo {
    width: 100%;
    height: 175px;
    border-radius: 14px;
    object-fit: cover;
}

.manufacturing-image-credit {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white);
    font-size: 0.65rem;
    text-align: end;
}

.manufacturing-image-credit a {
    color: var(--white);
    text-decoration: underline;
}

.manufacturing-capability-card h3 {
    color: var(--dark-green);
    font-size: 1.25rem;
    font-weight: 600;
}

.manufacturing-capability-card p {
    margin: 0;
    color: #555;
}

.manufacturing-process {
    background: var(--dark-green);
    color: var(--white);
}

.manufacturing-process .section-title h2 {
    color: var(--gold);
}

.manufacturing-process .section-title p {
    color: rgba(255, 255, 255, 0.78);
}

.manufacturing-step {
    height: 100%;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.manufacturing-step__number {
    display: inline-grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark-green);
    font-weight: 700;
}

.manufacturing-step h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.manufacturing-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}


@media (max-width: 991.98px) {
    .manufacturing-hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .manufacturing-hero__image {
        min-height: 300px;
    }

    .timeline-wrap::before {
        inset-inline-start: 10px;
        transform: none;
    }

    html[dir="rtl"] .timeline-wrap::before {
        inset-inline-start: auto;
        inset-inline-end: 10px;
    }

    .timeline-wrap .timeline-item {
        display: block;
        margin-bottom: 22px;
        padding-inline-start: 28px;
    }

    html[dir="rtl"] .timeline-wrap .timeline-item {
        padding-inline-start: 0;
        padding-inline-end: 28px;
    }

    .timeline-wrap .timeline-item:nth-child(odd) .timeline-content,
    html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(odd) .timeline-content,
    html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(even) .timeline-content {
        text-align: start;
    }

    .timeline-wrap .timeline-content::before,
    .timeline-wrap .timeline-item:nth-child(odd) .timeline-content::before,
    html[dir="ltr"] .timeline-wrap .timeline-content::before,
    html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(odd) .timeline-content::before {
        inset-inline-start: -25px;
        inset-inline-end: auto;
    }

    html[dir="ltr"] .timeline-wrap .timeline-item:nth-child(even) .timeline-content::before {
        inset-inline-start: -25px;
        inset-inline-end: auto;
    }

    html[dir="rtl"] .timeline-wrap .timeline-content::before,
    html[dir="rtl"] .timeline-wrap .timeline-item:nth-child(odd) .timeline-content::before {
        inset-inline-start: auto;
        inset-inline-end: -25px;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 62px 0;
    }

    .about-hero {
        padding: 52px 0;
    }

    .hero-copy {
        margin-bottom: 20px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 250px;
    }

    .story-photo img {
        height: 290px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .manufacturing-hero__image {
        min-height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .manufacturing-capability-card {
        transition: none;
    }

    .project-img {
        transition: none;
    }
}

/* Responsive layout adjustments */
@media (max-width: 1023.98px) {
    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .header-nav .navbar {
        display: flex;
        flex-wrap: wrap;
    }

    .header-nav .navbar-brand {
        order: 0;
    }

    .header-nav .navbar-toggler {
        order: 1;
        margin-inline-start: auto;
    }

    .header-nav .navbar-collapse {
        order: 3;
        flex-basis: 100%;
    }

    .header-nav {
        background: rgba(6, 56, 45, 0.98) !important;
        padding: 15px 0;
    }

    .navbar-collapse {
        background: rgba(6, 56, 45, 0.98);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        border: 1px solid rgba(217, 201, 167, 0.1);
    }

    .header-nav .navbar-language-switcher {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(217, 201, 167, 0.2);
        transform: none;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .nav-link::after {
        left: 0;
        right: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .timeline::after {
        left: 31px;
    }

    html[lang="ar"] .timeline::after {
        right: 31px;
        left: auto;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    html[lang="ar"] .timeline-container {
        padding-right: 70px;
        padding-left: 25px;
    }

    .timeline-container::after {
        left: 19px;
        right: auto;
    }

    html[lang="ar"] .timeline-container::after {
        right: 19px;
        left: auto;
    }

    .timeline-right {
        left: 0%;
    }

    html[lang="ar"] .timeline-right {
        right: 0%;
    }

}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-banner {
        padding: 20px;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .stat-item:last-child {
        margin-bottom: 0;
    }

    .page-banner {
        height: 300px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    .contact-glass-panel {
        padding: 25px 20px;
    }

    .sticky-quote-btn,
    .whatsapp-float,
    .scroll-top-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }

    html[lang="ar"] .sticky-quote-btn,
    html[lang="ar"] .whatsapp-float,
    html[lang="ar"] .scroll-top-btn {
        left: 20px;
        right: auto;
    }

    .whatsapp-float {
        bottom: 80px;
    }

    .scroll-top-btn {
        bottom: 140px;
    }

    .project-slider {
        height: 210px;
    }

    .slider-prev,
    .slider-next {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .slider-prev {
        inset-inline-start: 8px;
    }

    .slider-next {
        inset-inline-end: 8px;
    }

    .slider-dots {
        bottom: 10px;
    }

  
    
}
