/* elsaadyAntigravity.css - V12 Fixed Text Visibility */

:root {
    --primary-color: #14294d;
    --primary-dark: #0f1f3a;
    --secondary-color: #a3202b;
    --secondary-light: #c92a38;
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9fafb;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    /* Slight increase for larger logo */
    display: flex;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.logo img {
    height: 65px;
    /* Larger, standalone logo */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Removed .logo-text styles as it is deleted from HTML */

/* Nav */
nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: var(--secondary-light);
}

.lang-switch {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.lang-switch:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* === Breadcrumbs === */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
    background-color: var(--light-bg);
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* RTL Breadcrumb List Reversal */
html[lang="ar"] .breadcrumb-list {
    direction: ltr;
    /* Force the list to render LTR to preserve Home -> Products -> Item order */
    justify-content: flex-end;
    /* Push the whole LTR block to the right side of the screen */
}

html[lang="ar"] .breadcrumb-item {
    direction: rtl;
    /* Keep the actual Arabic words readable right-to-left */
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

/* Default LTR Chevron */
.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #999;
    padding: 0 10px;
    font-size: 0.8rem;
}

/* RTL Chevron */
html[lang="ar"] .breadcrumb-item+.breadcrumb-item::before {
    content: "\f104";
    /* Point arrow to the left */
    direction: ltr;
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: #888;
    pointer-events: none;
}

/* === Mobile Navigation === */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 1002;
    padding: 10px;
}

/* Mobile Nav Overlay */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        display: flex;
        flex-direction: column;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        /* Center items */
        gap: 25px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
        /* Center text */
    }

    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }

    /* Overlay backdrop */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

.hero-carousel-wrapper {
    position: relative;
    height: 90vh;
    /* Immersive height */
    min-height: 650px;
    width: 100%;
    background: #000;
    overflow: hidden;
}

#hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    /* Allow vertical scroll, handle horizontal in JS */
}

#carousel-images {
    position: absolute;
    /* Remove from flow so it doesn't push content down */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

/* Heavy Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Strong uniform darkness to make white text pop */
    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 50;
    /* Boosted Z-Index to guarantee visibility */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
    /* Removed ghost animation 'fadeUp' */
}

/* FIXED SELECTORS HERE */
.hero-simple-text {
    max-width: 900px;
}

.hero-simple-text h1 {
    color: white !important;
    /* Forced White */
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: block;
    /* Ensure it takes space */
}

.hero-simple-text p {
    color: #e0e0e0 !important;
    /* Forced Light Grey */
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.hero-btns {
    display: flex;
    gap: 20px;
    /* Wider gap for cleaner look */
    justify-content: center;
}

/* Dots Position */
.hero-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    /* Boosted above content (50) */
}

.hero-progress-dots {
    display: flex;
    gap: 15px;
    /* Wider gap */
}

.hero-progress-dot {
    width: 16px;
    /* Larger size */
    height: 16px;
    border-radius: 50%;
    background: transparent;
    /* Transparent center */
    border: 2px solid rgba(255, 255, 255, 0.6);
    /* Visible ring */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-progress-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: white;
}

.hero-progress-dot.active {
    background: white;
    /* Solid filled */
    border-color: white;
    transform: scale(1.3);
    /* Larger active state */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Glow */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #8a1b24;
    border-color: #8a1b24;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* === Capacity Dashboard Section (Revamped Premium) === */
.capacity-dashboard {
    position: relative;
    padding: 8rem 0;
    /* More breathing room */
    background-color: #1a2634;
    /* Dark High-Tech bg - Fallback */
    color: white;
    margin-top: 0;
    z-index: 10;
    /* Clean Separation Border */
    border-top: 4px solid var(--secondary-color);
}

/* Layering Logic */
.capacity-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Lowest layer */
}

/* Updated for <img> tag support */
.capacity-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers area like background-size: cover */
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: brightness(0.9);
    /* Clear brightness */
}

.capacity-bg.active {
    opacity: 1;
}

/* Darker Overlay for better contrast */
.capacity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 38, 52, 0.70);
    /* Dark Blue Tint */
    z-index: 2;
    /* Middle layer */
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.capacity-content {
    position: relative;
    z-index: 5;
    /* Top layer */
}

.capacity-header {
    text-align: center;
    margin-bottom: 5rem;
}

.capacity-header h2 {
    color: white;
    font-size: 2.5rem;
    /* Larger Title */
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.capacity-header p {
    color: #a0aec0;
    font-size: 1.1rem;
}

.capacity-metrics {
    display: flex;
    justify-content: center;
    /* Center aligned */
    gap: 30px;
    /* Clean gap */
    flex-wrap: wrap;
}

.metric-item {
    flex: 1;
    min-width: 320px;
    /* Slightly wider cards */
    max-width: 400px;
    background: rgba(0, 0, 0, 0.15);
    /* More transparent (was 0.25) */
    /* Darker background for contrast */
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Slightly clearer border */
    /* Faint border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    cursor: default;
    position: relative;
    overflow: hidden;
    /* For watermark */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Hover State: Premium Lift */
.metric-item:hover {
    background: rgba(0, 0, 0, 0.3);
    /* Lighter hover (was 0.4) */
    /* Even darker on hover */
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    /* Red accent on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Watermark Icon */
.metric-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    /* Massive */
    color: rgba(255, 255, 255, 0.03);
    /* Very subtle watermark */
    transform: rotate(15deg);
    transition: all 0.4s ease;
    pointer-events: none;
}

.metric-item:hover .metric-icon {
    color: rgba(163, 32, 43, 0.1);
    /* Slight red tint on hover */
    transform: rotate(0deg) scale(1.1);
}

.metric-value-wrapper {
    display: flex;
    align-items: baseline;
    line-height: 1;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.metric-value {
    font-size: 4.5rem;
    /* Huge Numbers */
    font-weight: 800;
    color: white;
    letter-spacing: -2px;
    /* Tight tracking for numbers */
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-plus {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-left: 8px;
}

.metric-label {
    display: block;
    font-size: 1.4rem;
    color: #e2e8f0;
    /* Crisp white-ish grey */
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.metric-unit {
    display: block;
    color: #718096;
    /* Muted grey for unit */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.metric-bar {
    height: 4px;
    background: var(--secondary-color);
    width: 60px;
    margin-top: 25px;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.metric-item:hover .metric-bar {
    width: 100%;
    /* Full width bar on hover */
}

/* === Products Preview === */
.products {
    padding: 6rem 0;
    background: #f9fafb;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid #eee;
}

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

.product-image {
    height: 250px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-info p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-link i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.card-link:hover i {
    margin-left: 10px;
}

/* === About Preview === */
.about-preview {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* === CTA Section === */
.cta-section {
    position: relative;
    padding: 8rem 0;
    background: url('../images/Hero/1200/IMG_5178.webp') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 41, 77, 0.9), rgba(163, 32, 43, 0.8));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
}

.btn-cta:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* === Modern Footer (Light - Reverted) === */
.footer-modern {
    background-color: #f8f9fa;
    /* Light grey */
    padding-top: 5rem;
    color: #4a5568;
    background-image: none;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 3rem;
    border-bottom: 1px solid #cbd5e0;
}

.footer-col h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #ccc;
    background: white;
    color: var(--text-color);
    border-radius: 4px;
    flex: 1;
    width: 200px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.newsletter-message {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 20px;
}

.newsletter-message.success {
    color: #10b981;
    /* Green */
}

.newsletter-message.error {
    color: #ef4444;
    /* Red */
}

.footer-col a {
    color: #4a5568;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 0;
}

.contact-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: none;
}

.footer-logo img {
    max-width: 180px;
    /* Constrain width to fix "too big" issue */
    height: auto;
}

.copyright p {
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .capacity-metrics {
        flex-direction: column;
    }
}

/* === About Us Page Styles (Light Theme) === */

/* Compact Hero for Sub-pages */
.hero-compact {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero-compact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 70%;
    /* Show bottom part (people) */
    z-index: 0;
    filter: brightness(0.6);
}

.hero-compact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
}

.hero-compact-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 40px;
}

.hero-compact-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.hero-compact-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* Company Profile Section (Light) */
.about-profile {
    padding: 80px 0;
    background: white;
    color: var(--text-color);
    position: relative;
}

/* Removed dark overlay ::before */

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.profile-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
}

.profile-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin-top: 15px;
    border-radius: 2px;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.profile-img {
    position: relative;
}

/* Removed dark border ::after on image */

.profile-img img {
    position: relative;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    transition: transform 0.3s;
}

.profile-img img:hover {
    transform: translateY(-5px);
}

/* Mission & Vision Cards (Light) */
.mission-vision-section {
    padding: 100px 0;
    background: #f4f7f6;
    /* Light grey bg */
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.mv-card {
    background: white;
    border: 1px solid #eee;
    padding: 50px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.mv-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* Timeline Horizontal Slider (Continuous Marquee) */
.timeline-section {
    padding: 100px 0;
    background: #eef2f5;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dce4e8;
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-header p {
    color: #777;
}

/* Carousel Container (Was Marquee) */
.timeline-horizontal {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    /* Remove side padding to flush */
    width: 100%;
    /* Full width */
    cursor: grab;
    /* remove animation properties */
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
    /* Smooth slide */
    will-change: transform;
}

.timeline-horizontal:active {
    cursor: grabbing;
}

.timeline-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* Clean shadow */
    padding: 30px;
    border-top: 5px solid var(--secondary-color);
    /* Color accent top */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
    position: relative;
    overflow: visible;
    /* Allow connector to show outside */
    z-index: 1;
}

/* Visual Connector (Line linking boxes) */
.timeline-card::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    /* Position at the left edge */
    width: 40px;
    /* Exact gap width */
    height: 4px;
    /* Thicker line */
    background: #bdc3c7;
    /* Darker grey for visibility */
    opacity: 1;
    z-index: -1;
}

.timeline-card:hover {
    transform: translateY(-10px);
    z-index: 2;
    /* Bring above neighbors */
}

/* Year Watermark */
.timeline-year {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    opacity: 0.1;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: -1;
    /* Behind content */
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-card {
        flex: 0 0 300px;
        /* Fixed width even on mobile for marquee */
    }
}

/* === Cinematic Parallax Products Page === */
.products-dark-intro {
    background-color: #111;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.products-dark-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.parallax-section {
    height: 90vh;
    /* Nearly full screen */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darken bg */
    z-index: 1;
}

.glass-card {
    position: relative;
    z-index: 2;
    background: rgba(20, 20, 20, 0.6);
    /* Dark glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 16px;
    max-width: 600px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
    margin: 0 20px;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    /* Gold accent */
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 2rem;
}

/* Alignment variations */
.parallax-section.align-left {
    justify-content: flex-start;
    padding-left: 10%;
}

.parallax-section.align-right {
    justify-content: flex-end;
    padding-right: 10%;
}

/* Buttons */
.btn-glass {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Mobile Adjustments for Parallax */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        /* Fix for mobile jitter */
        height: auto;
        padding: 80px 20px;
        align-items: center !important;
        /* Center everything on mobile */
        justify-content: center !important;
    }

    .glass-card {
        padding: 30px;
        width: 100%;
        margin: 0;
    }

    .products-dark-intro h1 {
        font-size: 2.5rem;
    }
}

/* === OVERRIDE: Polished Cinematic Parallax === */

/* Refined gradient overlay for better depth */
.parallax-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.85) 100%) !important;
}

/* Premium glass card with smooth animations */
.glass-card {
    background: rgba(15, 15, 15, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 70px !important;
    border-radius: 24px !important;
    max-width: 700px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;

    /* Smooth entrance animation */
    opacity: 0 !important;
    transform: translateY(60px) scale(0.95) !important;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-card.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(212, 175, 55, 0.2) inset,
        0 0 30px rgba(212, 175, 55, 0.1) !important;
}

/* Typography refinements */
.glass-card h2 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
}

.glass-card p {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400 !important;
}

/* Better button design */
.btn-glass {
    padding: 16px 40px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: 2px solid var(--secondary-color) !important;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1)) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-glass:hover {
    background: var(--secondary-color) !important;
    transform: translateX(8px) !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4) !important;
}

/* Dark intro refinements */
.products-dark-intro {
    padding: 120px 0 80px !important;
}

.products-dark-intro h1 {
    font-size: 4rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    background: linear-gradient(135deg, #ffffff 0%, #999999 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.products-dark-intro p {
    font-size: 1.3rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .glass-card {
        padding: 40px !important;
        border-radius: 16px !important;
    }

    .glass-card h2 {
        font-size: 2.2rem !important;
    }

    .products-dark-intro h1 {
        font-size: 2.8rem !important;
    }
}

/* === PRODUCTS PAGE - CLEAN LIGHT THEME === */

/* Page Title Section */
.page-title-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-title-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Detail Sections */
.product-detail-section {
    padding: 100px 0;
    background-color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.product-detail-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-detail-section.alternate {
    background-color: var(--light-bg);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.product-detail-section:hover .product-detail-image img {
    transform: scale(1.05);
}

.product-detail-content {
    padding: 20px 0;
}

.product-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.product-detail-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.product-features li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.product-detail-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-detail-content .btn i {
    transition: transform 0.3s ease;
}

.product-detail-content .btn:hover i {
    transform: translateX(4px);
}

/* Product Carousel */
.product-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.product-carousel-images {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.product-carousel-images .carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-carousel-images .carousel-img.active {
    opacity: 1;
    position: relative;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 15px;
}

.carousel-nav.next {
    right: 15px;
}

.carousel-nav i {
    font-size: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 5px;
}

/* Mobile Responsive - Products */
@media (max-width: 968px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-section.alternate .product-detail-grid {
        direction: ltr;
    }

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

    .page-title-section {
        padding: 60px 0 40px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }
}

/* === CONTACT PAGE === */

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 41, 77, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-message {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

.form-message.error {
    display: block;
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.form-message.success {
    display: block;
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.form-trust-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.form-trust-text.success {
    color: #2e7d32;
}

.form-trust-text.error {
    color: #d32f2f;
}

.form-trust-text.info {
    color: #555;
}

/* Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info-card>p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.contact-text p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.contact-hours {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-hours h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-hours h4 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.contact-hours p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Contact Map */
.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive - Contact */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

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

/* === PRODUCT DETAIL PAGES (Pallets, Boxes, etc.) === */

/* Product Hero Section */
.product-hero-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border-color);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.product-hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.product-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Types Section */
.product-types-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-type-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.product-type-card {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.type-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.type-card-content {
    padding: 30px;
}

.type-card-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.type-card-icon i {
    font-size: 1.8rem;
}

.type-card-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.type-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-features li {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.type-features i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Features Section */
.product-features-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 3rem;
}

.industry-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.industry-icon i {
    font-size: 1.5rem;
}

.industry-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.industry-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Product Gallery Section */
.product-gallery-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

/* Product CTA Section */
.product-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-bg);
}

/* Mobile Responsive - Product Pages */
@media (max-width: 968px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .product-type-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-types-section,
    .product-features-section,
    .industries-section,
    .product-gallery-section {
        padding: 60px 0;
    }

    .product-hero-section {
        padding: 60px 0 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .product-hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* === COMPACT PRODUCT INFO SECTION === */

.product-info-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.info-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 3rem 0 2rem;
}

.highlight-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.highlight-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.capacity-badge {
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(20, 41, 77, 0.2);
}

.capacity-badge i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.capacity-badge div {
    font-size: 1.1rem;
    line-height: 1.6;
}

.capacity-badge strong {
    font-weight: 700;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4/3;
}

.gallery-item.gallery-large {
    grid-row: span 2;
    aspect-ratio: auto;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile Responsive - Compact Sections */
@media (max-width: 968px) {
    .info-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .highlight-item {
        padding: 15px;
    }

    .highlight-item i {
        font-size: 1.5rem;
    }

    .highlight-item span {
        font-size: 0.85rem;
    }

    .capacity-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .capacity-badge i {
        font-size: 2rem;
    }

    .capacity-badge div {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item.gallery-large {
        grid-row: span 1;
        grid-column: span 2;
    }

    .product-info-section {
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    .info-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.gallery-large {
        grid-column: span 1;
    }
}

/* === REDESIGNED PRODUCT INFO SECTION === */

.product-info-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.info-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    margin-top: 3rem;
    background: var(--light-bg);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.info-side h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-side h3 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-list li i {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-list li div {
    flex: 1;
}

.info-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.info-list li span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.info-divider {
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
}

/* Mobile Responsive - Info Section */
@media (max-width: 968px) {
    .info-split {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }

    .info-divider {
        display: none;
    }

    .info-side h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .info-list {
        gap: 1.2rem;
    }

    .info-list li i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .info-list li strong {
        font-size: 1rem;
    }

    .info-list li span {
        font-size: 0.85rem;
    }

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

/* ========================================
   ARABIC LANGUAGE & RTL SUPPORT
   ======================================== */

/* Import Arabic Font - Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* Arabic Language Styles */
html[lang="ar"] {
    direction: rtl;
}

html[lang="ar"] body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* RTL Text Alignment */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] a,
html[lang="ar"] span {
    text-align: right;
}

/* RTL Header & Navigation */
/* Keep navigation in same order, don't reverse */
html[lang="ar"] .logo {
    margin-right: 0;
    margin-left: auto;
}

/* RTL Mobile Menu */
/* RTL Mobile Menu */
html[lang="ar"] nav {
    right: auto;
    left: -100%;
    transition: left 0.3s ease-in-out;
}

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



/* RTL Hero Section */
html[lang="ar"] .hero-content {
    text-align: right;
}

html[lang="ar"] .product-hero-content {
    flex-direction: row-reverse;
}

/* RTL Product Cards */
html[lang="ar"] .product-card {
    text-align: right;
}

html[lang="ar"] .product-type-card {
    text-align: right;
}

/* Fix Product Category alignment in alternate sections for Arabic */
html[lang="ar"] .product-detail-section.alternate .product-detail-content {
    text-align: right;
}

/* Fix Product Features list alignment in alternate sections for Arabic */
html[lang="ar"] .product-detail-section.alternate .product-features li {
    flex-direction: row-reverse;
}

/* RTL Feature Lists */
html[lang="ar"] .info-list li {
    flex-direction: row-reverse;
    text-align: right;
}

html[lang="ar"] .info-list li i {
    margin-right: 0;
    margin-left: 1rem;
}

html[lang="ar"] .type-features li {
    text-align: right;
}

html[lang="ar"] .type-features li i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Buttons */
html[lang="ar"] .btn i {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* RTL Footer */
html[lang="ar"] .footer-grid {
    direction: rtl;
}

html[lang="ar"] .contact-list li {
    flex-direction: row-reverse;
    text-align: right;
}

html[lang="ar"] .contact-list li i {
    margin-right: 0;
    margin-left: 0.75rem;
}

/* RTL Forms */
html[lang="ar"] .newsletter-form {
    flex-direction: row-reverse;
}

html[lang="ar"] input,
html[lang="ar"] textarea {
    text-align: right;
}

/* RTL Carousel Navigation */
html[lang="ar"] .carousel-nav.prev {
    right: 10px;
    left: auto;
}

html[lang="ar"] .carousel-nav.next {
    left: 10px;
    right: auto;
}

/* RTL Timeline */
html[lang="ar"] .timeline-card {
    text-align: right;
}

/* RTL Stats */
html[lang="ar"] .stat-item {
    text-align: center;
}

/* RTL Product Info Split */
html[lang="ar"] .info-split {
    flex-direction: row-reverse;
}

/* RTL Breadcrumbs: direction override is handled in the main breadcrumb block above */
/* RTL Breadcrumbs */
html[lang="ar"] .breadcrumb-list {
    flex-direction: row-reverse;
}

/* Center-aligned elements stay centered */
html[lang="ar"] .section-title,
html[lang="ar"] .section-subtitle,
html[lang="ar"] .cta-content h2,
html[lang="ar"] .cta-content p,
html[lang="ar"] .capacity-header h2,
html[lang="ar"] .capacity-header p {
    text-align: center;
}

/* Fix phone numbers and email display in RTL */
html[lang="ar"] .contact-list a[href^="tel"],
html[lang="ar"] .contact-list a[href^="mailto"] {
    direction: ltr;
    display: inline-block;
}

/* Fix copyright text direction */
html[lang="ar"] .copyright p {
    direction: ltr;
    text-align: center;
}

/* === Mobile Optimization for Annual Capacity === */
@media (max-width: 480px) {
    .capacity-dashboard {
        padding: 4rem 0;
        /* Reduce vertical padding */
    }

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

    .capacity-header h2 {
        font-size: 1.8rem;
    }

    .metric-item {
        min-width: auto;
        /* Remove rigid min-width */
        width: 100%;
        /* Full width */
        padding: 1.5rem 1.25rem;
        /* Compact padding */
        margin-bottom: 1rem;
    }

    .metric-value {
        font-size: 2.8rem;
        /* Smaller numbers */
    }

    .metric-plus {
        font-size: 1.5rem;
    }

    .metric-icon {
        font-size: 4rem;
        /* Smaller watermark icon */
        top: -10px;
        right: -10px;
    }

    .metric-label {
        font-size: 1.1rem;
    }

    .metric-unit {
        font-size: 0.8rem;
    }
}

/* Fix hero compact content centering in Arabic */
html[lang="ar"] .hero-compact-content h1,
html[lang="ar"] .hero-compact-content p {
    text-align: center;
}

/* Fix timeline layout for RTL - prevent year overlap */
html[lang="ar"] .timeline-card {
    direction: ltr;
    text-align: right;
}

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

html[lang="ar"] .timeline-card h3,
html[lang="ar"] .timeline-card p {
    direction: rtl;
}

/* Fix footer address display in RTL */
html[lang="ar"] .contact-list li span {
    direction: ltr;
    display: inline-block;
}

/* Fix page title centering in Arabic */
html[lang="ar"] .page-title-section h1,
html[lang="ar"] .page-title-section p {
    text-align: center;
}

/* Flip carousel arrow icons in RTL */
html[lang="ar"] .carousel-nav.prev i {
    transform: scaleX(-1);
}

html[lang="ar"] .carousel-nav.next i {
    transform: scaleX(-1);
}

/* Fix phone numbers in contact info section for Arabic */
html[lang="ar"] .contact-text a[href^="tel:"],
html[lang="ar"] .contact-details a[href^="tel:"] {
    direction: ltr;
    display: inline-block;
}

/* Contact form feedback colors */
.contactus-trust-text.success {
    color: #2e7d32;
    /* green for success */
}

.contactus-trust-text.error {
    color: #d32f2f;
    /* red for errors like 24h cooldown */
}

.contactus-trust-text.info {
    color: #555555;
    /* neutral for "Sending..." etc. */
}

/* === Mobile Responsive Fixes (Hero & Product Cards) === */
@media (max-width: 768px) {

    /* Center and scale hero text on mobile for EN and AR */
    .hero-simple-text h1 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .hero-simple-text p {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 10px !important;
    }

    /* Adjust hero buttons size and gap on mobile */
    .hero-btns {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 20px !important;
    }

    .hero-btns .btn {
        width: 100% !important;
        max-width: 250px !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        text-align: center !important;
    }

    /* Product Page layout on mobile: Title/Description -> Image */
    .product-type-cards,
    .products-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Main Product Details Layout */
    .product-detail-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .product-detail-grid .product-detail-content {
        order: 1 !important;
        padding-bottom: 20px !important;
    }

    .product-detail-grid .product-detail-image {
        order: 2 !important;
    }

    html[lang="en"] .product-type-card,
    html[lang="ar"] .product-type-card,
    html[lang="ar"] .product-card,
    .product-type-card,
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    html[lang="en"] .type-card-content,
    html[lang="ar"] .type-card-content,
    html[lang="ar"] .product-info,
    .product-type-card .type-card-content,
    .product-card .product-info {
        order: 1 !important;
    }

    html[lang="en"] .type-card-image,
    html[lang="ar"] .type-card-image,
    html[lang="ar"] .product-image,
    .product-type-card .type-card-image,
    .product-card .product-image {
        order: 2 !important;
    }
}