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

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --accent-color: #E9C087;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --gray-color: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* RTL Support for Arabic and Kurdish */
body.rtl {
    direction: rtl;
}

/* Keep navbar, info bar, hero section, and buttons in LTR for all languages */
.nav-menu,
.navbar,
.nav-wrapper,
.info-bar-left,
.info-bar-content,
.hero-buttons,
.hero-content,
.hero-title,
.hero-subtitle {
    direction: ltr;
}

body.rtl .navbar,
body.rtl .nav-wrapper,
body.rtl .info-bar-left,
body.rtl .info-bar-content,
body.rtl .hero-buttons {
    flex-direction: row;
    direction: ltr;
}

/* Nav menu stays column for mobile */
body.rtl .nav-menu {
    direction: ltr;
}

body.rtl .hero-content,
body.rtl .hero-title,
body.rtl .hero-subtitle {
    direction: ltr;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

body.rtl .hero .container {
    justify-content: flex-start;
    align-items: flex-start;
}

body.rtl .hero-buttons {
    justify-content: flex-start;
    align-items: flex-start;
}

body.rtl .about-features,
body.rtl .products-grid,
body.rtl .contact-content,
body.rtl .footer-content,
body.rtl .products-title-wrapper {
    direction: ltr;
}

body.rtl .detail-item {
    flex-direction: row;
}

body.rtl .products-title-left {
    text-align: right;
    padding-right: 3rem;
    border-right: 3px solid rgba(244, 164, 96, 0.3);
    padding-left: 0;
    border-left: none;
}

body.rtl .products-title-right {
    padding-left: 2rem;
    padding-right: 0;
}

body.rtl .dropdown-menu {
    left: 0;
    right: auto;
}

body.rtl .dropdown-menu li a:hover {
    padding-left: 1.5rem;
    padding-right: 2rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.preloader-logo,
.preloader-brand,
.preloader-content p {
    display: none;
}

.preloader-logo {
    width: 88px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.preloader-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.preloader-content p {
    font-size: 1rem;
    opacity: 0.9;
}

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

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a1f 100%);
    color: var(--white);
    padding: 0.45rem 0; /* tighter height */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.info-bar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.95;
}

.info-item .icon {
    font-size: 1rem;
}

.lang-select {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-select:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.lang-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(244, 164, 96, 0.2);
}

.lang-select option {
    background-color: var(--white);
    color: var(--text-color);
    padding: 0.75rem;
    font-weight: 500;
}

/* Navigation */
.navbar {
    background:  linear-gradient(rgba(36,38,48,0.9), rgba(36,38,48,0.7)), url('navbar.jpg'); /* sampled from navbar.jpeg */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 50px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-image {
    height: auto;
    width: 280px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

/* Strong outlined brand title in navbar */
.navbar .logo-text h1 {
    font-weight: 900; /* extra bold */
    -webkit-text-stroke: 2px #000000; /* crisp black outline */
    paint-order: stroke fill; /* ensure stroke drawn under fill */
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000; /* fallback outline */
}

.logo-text .tagline {
    color: var(--gray-color);
    font-size: 0.7rem;
    margin: 0;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

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

.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 0.95rem; /* larger for visibility */
    margin-left: 0.35rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.2s ease, color 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(90deg);
    color: var(--accent-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1000;
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: rgba(212, 165, 116, 0.15);
    color: #d4a574;
    padding-left: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4a574; /* gold/bronze underline matching logo */
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: #d4a574; /* gold/bronze tone matching logo */
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    position: relative;
    margin-top: 120px;
    overflow: hidden;
    /* Fullscreen hero minus fixed header */
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    padding: 40px 0 90px;
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Slightly darker overlay for better text integration */
    background-image:url('images/vecteezy_healthy-snack-table-featuring-nuts-dried-fruits-and_59510916.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* preserve image sharpness */
    filter: contrast(1.05) saturate(1.05);
    will-change: transform; /* hint compositor, avoid blur during scroll */
}
.hero-overlayDriedFruits {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:url('images/DriedFruits.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* preserve image sharpness */
    filter: contrast(1.05) saturate(1.05);
    will-change: transform; /* hint compositor, avoid blur during scroll */
}

.hero-overlayCorn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:url('images/Corn3.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* preserve image sharpness */
    filter: contrast(1.05) saturate(1.05);
    will-change: transform; /* hint compositor, avoid blur during scroll */
}
.hero-overlayPasta {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:url('images/pasta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* preserve image sharpness */
    filter: contrast(1.05) saturate(1.05);
    will-change: transform; /* hint compositor, avoid blur during scroll */
}
.hero-overlayLegumes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:url('images/Legumes.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* preserve image sharpness */
    filter: contrast(1.05) saturate(1.05);
    will-change: transform; /* hint compositor, avoid blur during scroll */
}
.hero-overlayNuts {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-image:url('images/ditters-blog-nuts-page-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* preserve image sharpness */
    filter: contrast(1.05) saturate(1.05);
    will-change: transform; /* hint compositor, avoid blur during scroll */
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 800px;
    margin: -20px 0 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    -webkit-text-stroke: 2px #000000;
    paint-order: stroke fill;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

.hero-subtitle {
    color: #E9C087;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    line-height: 1.7;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons .btn {
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.hero-buttons .btn:hover,
.hero-buttons .btn:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-primary:focus-visible {
    background: #1f4b24;
}

.hero-buttons .btn-secondary {
    border: 2px solid rgba(244,164,96,0.7);
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-secondary:focus-visible {
    background: linear-gradient(135deg, rgba(244,164,96,0.95) 0%, rgba(239,150,70,0.95) 100%);
    border-color: transparent;
    color: #2b251c;
}

/* Avoid global opacity transitions that could blur content */
.product-card,
.feature-card,
.info-card,
.stat-card,
.highlight-card {
    will-change: transform; /* hardware-accelerate without opacity changes */
}

/* Simplify product cards: show only title */
.product-card .product-info p,
.product-card .product-details {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: #244d24; /* darker green */
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid rgba(244, 164, 96, 0.65);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: linear-gradient(135deg, rgba(244, 164, 96, 0.95) 0%, rgba(239, 150, 70, 0.95) 100%);
    color: var(--white) !important;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(244, 164, 96, 0.28);
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 2.75rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    box-shadow: 0 24px 42px rgba(20, 40, 30, 0.1);
    border: 1px solid rgba(44, 95, 45, 0.12);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    isolation: isolate;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,95,45,0.08), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 60px rgba(20, 40, 30, 0.18);
    border-color: rgba(44, 95, 45, 0.35);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: none;
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.9rem;
    font-weight: 700;
}

.feature-card p {
    color: rgba(30, 40, 35, 0.8);
    font-size: 1.05rem;
    line-height: 1.85;
}

/* Products Title Section */
.products-title-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a1f 100%);
    padding: 110px 0 150px;
    position: relative;
    overflow: hidden;
}

.products-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Allow page-specific background images with dark overlay */
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35));
    opacity: 1;
    z-index: 0;
}

/* Support background image per subproduct page */
.products-title-section.has-image::before {
    background-size: cover;
    background-position: center;
}

.products-title-wrapper {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.products-title-left {
    text-align: right;
    padding-right: 3rem;
    border-right: 3px solid rgba(244, 164, 96, 0.3);
}

.products-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.products-main-title {
    color: var(--white);
    font-size: 2.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.products-title-right {
    padding-left: 2rem;
}

.products-description {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Products Section */
.products {
    background-color: var(--white);
    margin-top: -110px;
    position: relative;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.product-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(44, 95, 45, 0.2);
    border-color: var(--secondary-color);
}

.product-card:hover::after {
    opacity: 0.05;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    animation: pulse 2s infinite;
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.product-info p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: left;
}

.product-details {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: auto;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: left;
}

.detail-item span:last-child {
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: left;
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.spec:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

/* Keep phone/email links visually consistent while clickable */
.info-item a,
.info-card p a,
.footer-section a[href^="mailto"],
.footer-section a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

.info-item a:hover,
.info-card p a:hover,
.footer-section a[href^="mailto"]:hover,
.footer-section a[href^="tel"]:hover {
    text-decoration: underline;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.map-container {
    width: 100%;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-top: 2rem;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.info-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 95, 45, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
    pointer-events: none; /* ensure overlay never blocks clicks */
    z-index: 0;
}

.info-card > * {
    position: relative;
    z-index: 1; /* keep content above decorative overlay */
}

.info-card:hover::before {
    transform: scale(1);
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(44, 95, 45, 0.15);
    border-color: var(--secondary-color);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.2) rotate(-10deg);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.info-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(44, 95, 45, 0.1);
    height: fit-content;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    pointer-events: none; /* prevent blocking inputs/links */
}

.contact-form-wrapper:hover::before {
    transform: scaleX(1);
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 95, 45, 0.15);
    border-color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.1);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a1f 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 35%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    background:  linear-gradient(rgba(36,38,48,0.9), rgba(36,38,48,0.7)), url('navbar.jpg'); /* sampled from navbar.jpeg */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--dark-color);
    padding: 8px 12px; /* compact */
    border-radius: 10px; /* slightly smaller radius */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    width: 100%;
    flex-wrap: nowrap;
}

/* Ensure text block is vertically centered with the logo image */
.footer .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

/* Tighten footer brand text to avoid vertical drift */
.footer .logo-text h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 900;
    -webkit-text-stroke: 2px #000000;
    paint-order: stroke fill;
}

.footer .logo-text .tagline {
    margin: 0;
    line-height: 1.1;
}
.footer .logo-text h1 {
    color: #E9C087; /* match navbar title */
    letter-spacing: 1px;
}

.logo-text .tagline {
    color: #ffffff; /* match navbar tagline */
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
}
.intro-text {
    max-width: 680px;
    line-height: 1.6;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #f0b27a;
    padding-left: 20px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add light chip behind footer logo for dark backgrounds */
.footer .footer-logo-image {
    background-color: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    right: auto;
    bottom: -10px;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(244,164,96,0));
    border-radius: 999px;
}

.footer-section:first-of-type h3::after,
.footer-section:first-of-type h4::after {
    display: none;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: rgba(244, 164, 96, 0.6);
    transition: transform 0.3s ease;
    opacity: 0;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus-visible {
    opacity: 1;
    color: var(--accent-color);
}

.footer-section ul li a:hover::before,
.footer-section ul li a:focus-visible::before {
    transform: scaleX(1);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    text-align: center;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Experience Section */
.experience {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(44,95,45,0.03)" stroke-width="2"/></svg>');
    opacity: 0.5;
}

.experience-content {
    position: relative;
    z-index: 1;
}

.experience-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(44, 95, 45, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(44, 95, 45, 0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
    margin-left: 0.2rem;
}

.stat-card:hover .stat-number {
    transform: scale(1.2);
}

.stat-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.experience-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 2px solid rgba(44, 95, 45, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 95, 45, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.highlight-card:hover::after {
    transform: scale(1);
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 95, 45, 0.15);
    border-color: var(--secondary-color);
}

.highlight-icon {
    font-size: 3rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.2) rotate(-10deg);
}

.highlight-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.highlight-content h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.highlight-content p {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-info-bar {
        padding: 0.6rem 0;
        font-size: 0.8rem;
    }

    .info-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
    }

    .info-bar-left {
        display: none; /* Hide contact info on mobile to save space */
    }

    .info-item {
        font-size: 0.75rem;
        padding: 0;
    }

    .info-item .icon {
        font-size: 0.85rem;
    }

    .lang-select {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin: 0;
        width: auto;
    }

    .navbar {
        top: 50px; /* Adjusted for smaller info bar */
        padding: 0.8rem 0;
    }

    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0.5rem 0;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
        min-width: 0; /* Allow text to shrink */
    }

    .logo-image {
        width: 140px;
        height: auto;
        flex-shrink: 0;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    .logo-text .tagline {
        font-size: 0.5rem;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        z-index: 1001;
    }

    .hamburger span {
        background-color: #ffffff; /* White color for visibility */
    }

    .hero {
        margin-top: 120px; /* Adjusted for new header height */
        min-height: calc(100vh - 120px);
    }

    .nav-menu {
        position: fixed;
        left: -280px;
        top: 110px;
        flex-direction: column;
        background: #ffffff;
        width: 280px;
        max-height: calc(100vh - 120px);
        text-align: left;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
        padding: 0.5rem 0 1rem 0;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
        direction: ltr !important;
        border-radius: 0 12px 12px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile menu backdrop */
    .nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-backdrop.active {
        display: block;
        opacity: 1;
    }

    /* Custom scrollbar for mobile menu */
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }

    .nav-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 0 12px 12px 0;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }

    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(44, 95, 45, 0.1);
        list-style: none;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 0.75rem 1.5rem;
        color: var(--dark-color);
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        margin: 0;
        line-height: 1.2;
        text-align: left;
    }

    /* Rotate arrow when dropdown is active */
    .has-dropdown.active .dropdown-arrow {
        transform: rotate(90deg);
        color: var(--primary-color);
    }

    .nav-menu .nav-link:hover {
        background-color: rgba(44, 95, 45, 0.05);
        color: var(--primary-color);
        padding-left: 2rem;
    }

    .nav-menu .nav-link.active {
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        color: white;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        background-color: rgba(151, 188, 98, 0.08);
        box-shadow: inset 0 2px 4px rgba(44, 95, 45, 0.08);
        padding: 0;
        margin: 0;
        border-radius: 0;
        border-top: 1px solid rgba(44, 95, 45, 0.15);
        border-bottom: 1px solid rgba(44, 95, 45, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 300px; /* Reduced to ensure other links are visible */
        overflow-y: auto;
    }

    /* Custom scrollbar for dropdown */
    .has-dropdown .dropdown-menu::-webkit-scrollbar {
        width: 4px;
    }

    .has-dropdown .dropdown-menu::-webkit-scrollbar-track {
        background: #e0e7e0;
    }

    .has-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }

    .has-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }

    .has-dropdown .dropdown-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(44, 95, 45, 0.1);
    }

    .has-dropdown .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .has-dropdown .dropdown-menu a {
        padding: 0.65rem 2.5rem;
        color: var(--dark-color);
        font-size: 0.85rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
        margin: 0;
        line-height: 1.2;
        text-align: left;
    }

    .has-dropdown .dropdown-menu a:hover {
        background-color: rgba(151, 188, 98, 0.15);
        color: var(--primary-color);
        padding-left: 3rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .feature-card {
        text-align: center;
        align-items: center;
    }

    .feature-card h4,
    .feature-card p {
        text-align: center;
    }

    .experience-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .highlight-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .highlight-icon {
        margin: 0 auto;
    }

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

    .highlight-content h4,
    .highlight-content p {
        text-align: center;
    }

    .products-title-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-title-left {
        text-align: center;
        padding-right: 0;
        border-right: none;
        border-bottom: 3px solid rgba(244, 164, 96, 0.3);
        padding-bottom: 2rem;
    }

    .products-title-right {
        padding-left: 0;
        text-align: center;
    }

    .products-main-title {
        font-size: 2.2rem;
    }

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

    .contact-left {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.8rem;
    }

    .logo-text .tagline {
        font-size: 0.45rem;
    }

    .logo-image {
        width: 120px;
    }

    .top-info-bar {
        padding: 0.5rem 0;
        font-size: 0.75rem;
    }

    .info-bar-left {
        display: none; /* Keep hidden on small phones */
    }

    .info-item {
        font-size: 0.7rem;
        padding: 0;
    }

    .lang-select {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        margin: 0;
    }

    .navbar {
        top: 45px;
        padding: 0.5rem 0;
    }

    .nav-menu {
        top: 95px;
        left: -260px;
        width: 260px;
        max-height: calc(100vh - 105px);
        padding: 0.5rem 0 1rem 0;
        direction: ltr !important;
        border-radius: 0 12px 12px 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.2;
        text-align: left;
    }

    .has-dropdown .dropdown-menu a {
        padding: 0.6rem 2rem;
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.2;
        text-align: left;
    }

    .hero {
        margin-top: 95px;
        min-height: calc(100vh - 95px);
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-content {
        margin: 0;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .experience-stats {
        grid-template-columns: 1fr;
    }

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

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

body.rtl .about-text,
body.rtl .product-card .product-info,
body.rtl .feature-card,
body.rtl .info-card,
body.rtl .contact-form label,
body.rtl .contact-form input,
body.rtl .contact-form textarea {
    text-align: right;
}

/* Hero content stays left-aligned for all languages */
body.rtl .hero-content {
    text-align: left;
}

body.rtl .feature-card {
    align-items: flex-end;
}

body.rtl .product-card .product-info {
    align-items: flex-end;
}

.footer-credit-name {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: #f6c28a;
}

.footer-credit-label {
    color: var(--white);
    font-weight: 500;
    display: inline-block;
    margin: 0 0.3rem;
}

import-map-wrapper {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.import-map {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 28px 55px rgba(18, 45, 28, 0.22);
}

@media (max-width: 768px) {
    .import-map {
        border-radius: 18px;
    }
}

/* Product category links for SEO */
.product-category-link {
    display: none; /* Hidden from users, visible to search engines */
    position: absolute;
    left: -9999px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Contact SEO links for Google Sitelinks */
.contact-seo-link {
    display: none; /* Hidden from users, visible to search engines */
    position: absolute;
    left: -9999px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Contact Form Status Messages */
.form-status {
    display: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-status.sending {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffc107;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), pulse 1.5s ease-in-out infinite;
}

.form-status.sending::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    border: 3px solid #ffc107;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-status.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
}

.form-status.success::before {
    content: '';
    display: none;
}

@keyframes scaleIn {
    from {
        transform: scale(0) rotate(-180deg);
    }
    to {
        transform: scale(1) rotate(0deg);
    }
}

.form-status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
}

.form-status.error::before {
    content: '';
    display: none;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.form-status.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive adjustments for form status */
@media (max-width: 480px) {
    .form-status {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }

    .form-status.sending::before {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
}

/* RTL Mobile Adjustments - Keep navbar and hero LTR on all screen sizes */
@media (max-width: 768px) {
    body.rtl .nav-menu,
    body.rtl .navbar,
    body.rtl .nav-wrapper,
    body.rtl .info-bar-content,
    body.rtl .hero-content,
    body.rtl .hero-title,
    body.rtl .hero-subtitle,
    body.rtl .hero-buttons {
        direction: ltr !important;
        text-align: left !important;
    }

    body.rtl .nav-menu {
        left: -280px !important;
        right: auto !important;
        direction: ltr !important;
        background: #ffffff;
        border-radius: 0 12px 12px 0;
        flex-direction: column !important;
        display: flex !important;
    }

    body.rtl .nav-menu.active {
        left: 0 !important;
    }

    body.rtl .nav-menu li,
    body.rtl .nav-link {
        direction: ltr !important;
        text-align: left !important;
        width: 100%;
        display: block;
    }

    body.rtl .dropdown-menu {
        direction: ltr !important;
        background-color: rgba(151, 188, 98, 0.08);
        position: static !important;
        display: block !important;
        width: 100% !important;
    }

    body.rtl .dropdown-menu li {
        width: 100% !important;
        display: block !important;
    }

    body.rtl .dropdown-menu a {
        text-align: left !important;
        direction: ltr !important;
        display: block !important;
        width: 100% !important;
    }

    body.rtl .lang-select {
        margin-left: auto;
        margin-right: 0;
    }

    /* Force LTR alignment for all menu items */
    body.rtl .has-dropdown,
    body.rtl .dropdown-menu {
        direction: ltr !important;
    }

    /* Backdrop same position for RTL */
    body.rtl .nav-backdrop {
        left: 0;
        right: 0;
    }

    /* Center feature cards and highlight cards on mobile for RTL */
    body.rtl .feature-card,
    body.rtl .highlight-card {
        align-items: center;
        text-align: center;
    }

    body.rtl .feature-card h4,
    body.rtl .feature-card p,
    body.rtl .highlight-content h4,
    body.rtl .highlight-content p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.rtl .nav-menu,
    body.rtl .navbar,
    body.rtl .nav-wrapper,
    body.rtl .info-bar-content,
    body.rtl .hero-content,
    body.rtl .hero-title,
    body.rtl .hero-subtitle,
    body.rtl .hero-buttons {
        direction: ltr !important;
        text-align: left !important;
    }

    body.rtl .nav-menu {
        left: -260px !important;
        right: auto !important;
        direction: ltr !important;
        background: #ffffff;
        border-radius: 0 12px 12px 0;
    }

    body.rtl .nav-menu.active {
        left: 0 !important;
    }

    body.rtl .nav-menu li,
    body.rtl .nav-link {
        direction: ltr !important;
        text-align: left !important;
    }

    body.rtl .dropdown-menu {
        direction: ltr !important;
        background-color: rgba(151, 188, 98, 0.08);
        position: static !important;
        display: block !important;
        width: 100% !important;
    }

    body.rtl .dropdown-menu li {
        width: 100% !important;
        display: block !important;
    }

    body.rtl .dropdown-menu a {
        text-align: left !important;
        direction: ltr !important;
        display: block !important;
        width: 100% !important;
    }

    /* Force LTR alignment for all menu items */
    body.rtl .has-dropdown,
    body.rtl .dropdown-menu {
        direction: ltr !important;
    }

    /* Backdrop same position for RTL */
    body.rtl .nav-backdrop {
        left: 0;
        right: 0;
    }

    /* Center feature cards and highlight cards on mobile for RTL */
    body.rtl .feature-card,
    body.rtl .highlight-card {
        align-items: center;
        text-align: center;
    }

    body.rtl .feature-card h4,
    body.rtl .feature-card p,
    body.rtl .highlight-content h4,
    body.rtl .highlight-content p {
        text-align: center;
    }
}

