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

:root {
    --primary-green: #1F5A2A;
    --secondary-green: #2E7D32;
    --accent-gold: #B08D2C;
    --white: #ffffff;
    --bg-soft: #F6F8F6;
    --text-dark: #0E1A12;
    --text-muted: #4B5A50;
    --border-color: #E4E8E4;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

/* Arabic font support */
body.rtl {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Arial', sans-serif;
}

/* Language switcher */
.lang-switcher-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.lang-switcher {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
    font-family: inherit;
}

.lang-switcher:hover {
    color: var(--primary-green);
}

.lang-switcher.active {
    color: var(--primary-green);
    font-weight: 600;
}

.lang-separator {
    color: var(--text-muted);
    font-weight: 300;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher-container {
    margin-left: 0;
    margin-right: 1.5rem;
}

[dir="rtl"] .slider-arrow.prev,
[dir="rtl"] .carousel-control-prev {
    left: auto;
    right: 32px;
}

[dir="rtl"] .slider-arrow.next,
[dir="rtl"] .carousel-control-next {
    right: auto;
    left: 32px;
}

[dir="rtl"] .slider-controls {
    flex-direction: row-reverse;
}

[dir="rtl"] .content-block h2::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .mission-vision-grid,
[dir="rtl"] .values-grid,
[dir="rtl"] .activities-grid,
[dir="rtl"] .partners-grid {
    direction: rtl;
}

[dir="rtl"] .expertise-layout {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-wrapper {
    direction: rtl;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px;
}

header {
    background-color: var(--white);
    color: var(--text-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1.2rem 0;
}

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

.navbar .nav-brand {
    flex-shrink: 0;
}

.navbar .nav-brand a {
    display: block;
    text-decoration: none;
}

.navbar .nav-brand .logo-img {
    height: 140px;
    width: auto;
    max-width: 800px;
    object-fit: contain;
    display: block;
}

.navbar .nav-brand h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.02em;
}

.navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-shrink: 1;
    flex-wrap: nowrap;
    overflow: visible;
}

.navbar .nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}

.navbar .nav-menu a:hover {
    color: var(--primary-green);
}

.navbar .nav-menu a.active {
    color: var(--primary-green);
}

.navbar .nav-menu a.active::after,
.navbar .nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown .dropdown-toggle:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
    border-radius: 2px;
}

.nav-dropdown .dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7rem;
    opacity: 0.6;
    margin-left: 0.25rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown:focus-within .dropdown-toggle::after,
.nav-dropdown.dropdown-open .dropdown-toggle::after {
    transform: rotate(180deg);
}

[dir="rtl"] .nav-dropdown .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 0.25rem;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li {
    margin: 0;
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-dropdown .dropdown-menu a::after {
    display: none;
}

.nav-dropdown .dropdown-menu a:hover,
.nav-dropdown .dropdown-menu a:focus {
    background-color: var(--bg-soft);
    color: var(--primary-green);
    padding-left: 1.5rem;
    outline: none;
}

.nav-dropdown .dropdown-menu a:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: -2px;
}

.nav-dropdown .dropdown-menu a.active {
    color: var(--primary-green);
    background-color: var(--bg-soft);
    font-weight: 500;
}

/* RTL Support for Dropdown */
[dir="rtl"] .nav-dropdown .dropdown-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .nav-dropdown .dropdown-menu a:hover,
[dir="rtl"] .nav-dropdown .dropdown-menu a:focus {
    padding-left: 1.25rem;
    padding-right: 1.5rem;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Hero layout for "Established in 2020" slide - centered corporate statement */
.slide-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 90, 42, 0.95);
    padding: 4rem 2rem;
}

.hero-content {
    color: var(--white);
    text-align: center;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeUp 0.6s ease both;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    max-width: 100%;
}

.hero-content .learn-more {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    margin-top: 28px;
    padding: 0.75rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    align-self: center;
}

.hero-content .learn-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.slide-media {
    width: 60%;
    height: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-soft);
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.slide-affiliate-grid {
    width: 100%;
    height: 100%;
    background: rgba(31, 90, 42, 0.95);
    position: relative;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-affiliate-grid .affiliate-grid {
    position: relative;
    z-index: 2;
}

.affiliate-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    margin: 0 auto;
}

.affiliate-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.affiliate-row-single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.affiliate-row-second {
    grid-template-columns: repeat(2, 1fr);
    max-width: calc(2 * 260px + 2rem);
    margin: 0 auto;
}

.affiliate-tile {
    position: relative;
    width: 100%;
    max-width: 260px;
    height: 220px;
    margin: 0 auto;
}

.affiliate-frame {
    width: 100%;
    height: 100%;
    padding: 10px;
    background: #E4E8E4;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
}

.affiliate-frame::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 6px;
    background: #c8c8c8;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.affiliate-card {
    width: 100%;
    height: 160px;
    background: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}


.affiliate-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    -webkit-image-rendering: auto;
    display: block;
}

.slide-overlay {
    width: 40%;
    height: 100%;
    background: rgba(31, 90, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
    position: relative;
}

.overlay-content {
    color: var(--white);
    max-width: 500px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    animation: fadeUp 0.6s ease both;
}

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

.overlay-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.02em;
}

.overlay-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: auto;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
}

.learn-more {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    margin-top: 2rem;
    align-self: flex-start;
    position: relative;
    padding-bottom: 2px;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

.learn-more:hover::after {
    width: 100%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
    z-index: 10;
    pointer-events: none;
}

/* === GLOBAL SLIDER ARROWS (Corporate Standard) === */
.slider-arrow.prev,
.slider-arrow.next,
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    pointer-events: all;
}

/* Left arrow */
.slider-arrow.prev,
.carousel-control-prev {
    left: 32px;
}

/* Right arrow */
.slider-arrow.next,
.carousel-control-next {
    right: 32px;
}

/* Hover feedback */
.slider-arrow.prev:hover,
.slider-arrow.next:hover,
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.18);
}

.slider-arrow span {
    display: block;
    line-height: 1;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
    width: 40%;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.3);
    transition: transform 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.activities-section {
    padding: 80px 0;
    background-color: var(--bg-soft);
}

.activities-section h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1.5rem;
}

.activities-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

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

.activity-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.activity-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.4s ease;
}

.activity-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    z-index: 2;
    pointer-events: none;
}

.activity-image img[src=""],
.activity-image img:not([src]),
.activity-image img[src*="undefined"],
.activity-image img[src*="null"] {
    display: none;
}

.activity-card:hover .activity-image img {
    transform: scale(1.03);
}

.activity-content {
    padding: 2rem;
}

.activity-content h3 {
    color: var(--primary-green);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.activity-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.activity-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 2px;
}

.activity-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

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

.partners-showcase {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-showcase h2 {
    color: var(--text-dark);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1.5rem;
}

.partners-showcase h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.partners-showcase .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Reusable Info Card Component (used for Partners and Varieties) */
.partner-card,
.variety-card {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.partner-card:hover,
.variety-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.partner-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.partner-logo {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-label,
.variety-meta {
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-card h3,
.variety-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.partner-card p:not(.partner-label),
.variety-card p:not(.variety-meta) {
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

/* Variety card specific styles (left-aligned text) */
.variety-card {
    text-align: left;
}


/* Shared Info Card Component (used by Partners and Varieties) */
.partners-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.partner-detail-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.partner-detail-card .partner-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.partner-logo-container .variety-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.partner-logo {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}


.partner-detail-card h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.partner-detail-card .partner-label {
    color: var(--secondary-green);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-detail-card p:not(.partner-label) {
    color: var(--text-muted);
    line-height: 1.8;
    text-align: left;
    margin-top: 1rem;
    font-size: 1.05rem;
    flex: 1;
}

/* Variety info content styling */
.partner-detail-card .variety-info-content {
    flex: 1;
    text-align: left;
}

.partner-detail-card .variety-info-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.partner-detail-card .variety-info-content p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.partner-detail-card .variety-info-content .variety-info-divider-spacing {
    height: 0;
    margin: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    padding: 0;
}

/* Variety card specific overrides */
.variety-detail-card {
    max-width: 320px;
    height: 460px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem;
}

.variety-detail-card .partner-logo-container {
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.variety-detail-card .variety-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.variety-detail-card h3 {
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.variety-detail-card .partner-label {
    display: none;
}

.variety-detail-card .variety-info-content {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    position: relative;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
    padding-bottom: 20px;
}

.variety-detail-card .variety-info-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0.5rem;
    height: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white) 80%);
    pointer-events: none;
    z-index: 1;
}

.variety-detail-card .variety-info-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.4rem 0;
}

.variety-detail-card .variety-info-content .variety-info-divider-spacing {
    margin: 0.5rem 0;
}


.suppliers-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.supplier-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.supplier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.supplier-card .partner-logo-container {
    margin-bottom: 1.5rem;
}

.supplier-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.supplier-card .partner-label {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 90, 42, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

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

.services {
    padding: 5rem 0;
    background-color: var(--white);
}

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

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

.service-card {
    background-color: var(--bg-soft);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-link {
    color: var(--secondary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-green);
}

.partners-strip {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.partners-strip h2 {
    color: var(--primary-green);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    text-align: center;
}

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

.partner-logo {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.partner-logo h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.partner-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.content-section {
    padding: 80px 0;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.content-block h3 {
    color: var(--primary-green);
    font-size: 1.7rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-block h4 {
    color: var(--secondary-green);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.content-block ul,
.content-block ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.content-block li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.expertise-block {
    background-color: var(--bg-soft);
    padding: 3rem;
    border-radius: 8px;
    margin: 3rem 0;
    border-left: 5px solid var(--accent-gold);
}

.expertise-content h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.expertise-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.expertise-text {
    flex: 1;
    min-width: 0;
}

.expertise-image {
    flex-shrink: 0;
    width: 350px;
    max-width: 100%;
}

.expertise-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.contact-info-block {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--accent-gold);
    margin-top: 1rem;
}

.contact-info-block p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-info-block strong {
    color: var(--primary-green);
    font-weight: 600;
}

.contact-info-block .phone-number {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-block .phone-number:hover {
    color: var(--secondary-green);
    text-decoration: underline;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-gold);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-top-color: var(--primary-green);
}

.rd-page .value-item {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.rd-page .value-item:nth-child(1) {
    animation-delay: 0.1s;
}

.rd-page .value-item:nth-child(2) {
    animation-delay: 0.2s;
}

.rd-page .value-item:nth-child(3) {
    animation-delay: 0.3s;
}

.rd-page .value-item:nth-child(4) {
    animation-delay: 0.4s;
}

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

@media (prefers-reduced-motion: reduce) {
    .rd-page .value-item {
        animation: none;
        opacity: 1;
    }
    
    .value-item:hover {
        transform: none;
    }
    
    .process-step:hover {
        transform: none;
    }
}

.value-item h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.value-item p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.origins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.origin-card {
    background-color: var(--bg-soft);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.origin-card h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.origin-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.origin-flag {
    display: block;
    margin: 0 auto 10px;
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

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

.supply-card {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.supply-card h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.market-item {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
}

.market-item h4 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-gold);
}

.benefit-item h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.partner-detail {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.partner-detail h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
}

.affiliation-item {
    background-color: var(--bg-soft);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.affiliation-item h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-section,
.contact-info-section {
    background-color: var(--bg-soft);
    padding: 2.5rem;
    border-radius: 8px;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.info-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--primary-green);
}

.email-role {
    color: var(--text-muted);
    font-size: 0.9em;
    opacity: 0.8;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 320px;
    display: block;
    border: 0;
}

.map-caption {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin: 0.75rem 0 0.5rem 0;
    font-style: italic;
}

.info-item .btn-directions,
.btn-directions {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    color: var(--white);
}

footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-section p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--white);
    opacity: 0.8;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .affiliate-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .affiliate-row-second {
        max-width: calc(2 * 250px + 1.5rem);
    }

    .affiliate-tile {
        max-width: 250px;
        height: 210px;
    }

    .affiliate-logo {
        max-height: 100%;
    }

    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    /* CRITICAL: Ensure hamburger menu is visible and clickable */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0.5rem !important;
        z-index: 1001 !important;
        position: relative;
        -webkit-tap-highlight-color: rgba(31, 90, 42, 0.1);
        touch-action: manipulation;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: var(--text-dark);
        transition: 0.3s;
        display: block;
    }

    /* Hide desktop nav menu by default on mobile */
    .navbar .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        flex-direction: column;
        background-color: var(--white);
        width: 100% !important;
        max-width: 100vw !important;
        text-align: center;
        transition: left 0.3s ease !important;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
        z-index: 1000 !important;
        height: calc(100vh - 70px);
        overflow-y: auto;
        margin: 0;
    }

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

    .navbar .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }

    /* Ensure navbar container allows hamburger to show */
    .navbar .container {
        position: relative;
        z-index: 1002;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0.5rem 0 0 1rem;
        background: transparent;
        padding: 0;
        display: none;
        min-width: auto;
    }

    .nav-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .nav-dropdown .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-dropdown .dropdown-menu a:hover,
    .nav-dropdown .dropdown-menu a:focus {
        padding-left: 1.25rem;
        background-color: transparent;
    }

    [dir="rtl"] .nav-dropdown .dropdown-menu {
        margin-right: 1rem;
        margin-left: 0;
    }

    [dir="rtl"] .nav-dropdown .dropdown-menu a:hover,
    [dir="rtl"] .nav-dropdown .dropdown-menu a:focus {
        padding-right: 1.25rem;
        padding-left: 1rem;
    }

    .lang-switcher-container {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    [dir="rtl"] .lang-switcher-container {
        margin-right: 0;
    }

    .navbar .nav-brand .logo-img {
        height: 100px;
        max-width: 600px;
    }

    .hero-slider {
        height: 500px;
    }

    .slide {
        flex-direction: column;
    }

    .slide-image {
        width: 100%;
        height: 50%;
    }

    .slide-media {
        width: 100%;
        height: 50%;
    }

    .slide-affiliate-grid {
        padding: 1.5rem;
    }

    .affiliate-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .affiliate-row-second {
        max-width: 300px;
    }

    .affiliate-tile {
        max-width: 240px;
        height: 200px;
    }

    .affiliate-logo {
        max-height: 100%;
    }

    .slide-overlay {
        width: 100%;
        height: 50%;
        padding: 2rem;
    }

    .slide-hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        gap: 1.5rem;
    }

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

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

    .overlay-content h2 {
        font-size: 1.8rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }

    .slider-controls {
        padding: 0 1rem;
    }

    .slider-arrow.prev,
    .slider-arrow.next,
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-arrow.prev,
    .carousel-control-prev {
        left: 16px;
    }

    .slider-arrow.next,
    .carousel-control-next {
        right: 16px;
    }

    .slider-dots {
        bottom: 1rem;
    }

    .activities-section h2 {
        font-size: 2rem;
    }

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

    .hero h2 {
        font-size: 1.4rem;
    }

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

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

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

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

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .expertise-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .expertise-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .export-markets {
        grid-template-columns: 1fr;
    }

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

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

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

.rd-process {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    gap: 1rem;
}

.process-step {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--bg-soft);
    border-radius: 8px;
    border-top: 3px solid var(--accent-gold);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}


.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.process-step h3 {
    color: var(--primary-green);
    font-size: 0.96rem;
    margin-bottom: 1rem;
    font-weight: 600;
    margin-top: 0;
    line-height: 1.2;
    white-space: nowrap;
    display: block;
    text-align: center;
}

.process-step-title-recommendation {
    font-size: 0.96rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.process-connector {
    flex-shrink: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green), var(--secondary-green));
    margin-top: 25px;
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--secondary-green);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.collaboration-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: var(--bg-soft);
    border-radius: 8px;
}

.collaboration-content {
    flex: 1;
}

.collaboration-content h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.collaboration-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.collaboration-logo {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
}

.collaboration-logo img {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.cta-section .btn-primary {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .rd-process {
        flex-direction: column;
        gap: 2rem;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        margin: 0 auto;
        background: linear-gradient(to bottom, var(--primary-green), var(--secondary-green));
    }

    .process-connector::after {
        right: 50%;
        top: 100%;
        transform: translateX(50%);
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--secondary-green);
        border-bottom: none;
    }

    .process-step {
        width: 100%;
    }

    .process-step h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .process-step-title-recommendation {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .collaboration-section {
        flex-direction: column;
        text-align: center;
    }

    .collaboration-logo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        height: auto;
        min-height: 90px;
    }

    .collaboration-logo img {
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-slider {
        height: 400px;
    }

    .overlay-content h2 {
        font-size: 1.5rem;
    }

    .overlay-content p {
        font-size: 0.9rem;
    }

    .slide-overlay {
        padding: 1.5rem;
    }

    .affiliate-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        max-width: 280px;
    }

    .affiliate-row-second {
        max-width: 280px;
    }

    .affiliate-tile {
        max-width: 220px;
        height: 180px;
    }

    .affiliate-logo {
        max-height: 100%;
    }

    .affiliate-frame {
        padding: 8px;
    }

    .affiliate-card {
        padding: 20px;
    }

    .activities-section h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .content-block h2 {
        font-size: 1.8rem;
    }

    .content-block h3 {
        font-size: 1.3rem;
    }

    .process-step h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .process-step-title-recommendation {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .services h2 {
        font-size: 2rem;
    }
}

/* ============================================
   MOBILE-ONLY FIXES (Production Safe Overrides)
   ============================================ */

@media (max-width: 768px) {
    /* ============================================
       CRITICAL: Prevent Desktop Styles Bleeding Into Mobile
       ============================================ */
    
    /* Override body overflow first */
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Override fixed widths on common elements that cause overflow */
    section,
    div,
    article,
    aside {
        max-width: 100vw !important;
    }

    /* Ensure containers don't exceed viewport */
    .container {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 1. FIX: Partners & Affiliates Slider - Prevent cropping and horizontal overflow */
    .slide-affiliate-grid {
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1rem;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .affiliate-grid {
        max-width: 100%;
        width: 100%;
        padding: 1rem 0.5rem;
        box-sizing: border-box;
        overflow: hidden;
    }

    .affiliate-row {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .affiliate-tile {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .affiliate-logo {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    /* 2. FIX: Navigation Dropdown - Ensure proper mobile behavior */
    .nav-dropdown .dropdown-toggle {
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0.5rem 0 0 1.5rem;
        background: transparent;
        padding: 0;
        display: none;
        min-width: auto;
        width: calc(100% - 1.5rem);
        max-width: calc(100vw - 3rem);
        box-sizing: border-box;
    }

    .nav-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .nav-dropdown .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }

    [dir="rtl"] .nav-dropdown .dropdown-menu {
        margin-right: 1.5rem;
        margin-left: 0;
    }

    /* 3. FIX: General Mobile Layout - Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        max-width: 100%;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    /* Ensure all sections fit within viewport */
    section {
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Fix hero slider container */
    .hero-slider {
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .slider-container {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .slide {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Fix partners showcase grid */
    .partners-showcase {
        overflow-x: hidden;
    }

    .partners-grid {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix activities grid */
    .activities-grid {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix any image overflow */
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Fix navbar container */
    .navbar .container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Ensure nav menu doesn't cause overflow */
    .navbar .nav-menu {
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix content sections */
    .content-section {
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .content-block {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix partners grid detailed */
    .partners-grid-detailed {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Improve spacing for mobile */
    .partners-showcase {
        padding: 3rem 0;
    }

    .activities-section {
        padding: 3rem 0;
    }

    .content-section {
        padding: 3rem 0;
    }

    /* ============================================
       ENHANCED MOBILE FIXES - Slider & Navigation
       ============================================ */

    /* CRITICAL: Fix slider for mobile - proper stacking and visibility */
    .hero-slider {
        height: 500px !important;
        min-height: 480px;
        max-height: 550px;
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .slider-container {
        height: 100% !important;
        min-height: 480px !important;
        max-height: 550px !important;
        position: relative !important;
        width: 100% !important;
    }

    .slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 480px !important;
        max-height: 550px !important;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .slide.active {
        opacity: 1 !important;
        z-index: 2 !important;
    }

    /* Fix slide content layout for mobile */
    .slide-hero {
        width: 100% !important;
        height: 100% !important;
        padding: 2rem 1.5rem !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .slide-media {
        width: 100% !important;
        height: 50% !important;
        min-height: 200px;
    }

    .slide-overlay {
        width: 100% !important;
        height: 50% !important;
        min-height: 200px;
        padding: 1.5rem !important;
    }

    /* Override absolute positioning for slider controls on mobile */
    .slider-controls {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0 0.5rem;
        z-index: 15 !important;
        pointer-events: none;
    }

    /* 1. ENHANCED: Partners & Affiliates Slider - Fix logos, arrows, and centering */
    .slide-affiliate-grid {
        padding: 0.5rem 0.25rem !important;
        min-height: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        -webkit-overflow-scrolling: touch;
    }

    .affiliate-grid {
        padding: 0.25rem !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
    }

    .affiliate-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.25rem !important;
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0 !important;
    }

    .affiliate-row-second {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .affiliate-tile {
        width: 100% !important;
        max-width: 240px !important;
        height: 170px !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }

    /* Ensure all tiles in both rows are visible - especially first one (J&E Smillie) */
    .affiliate-row .affiliate-tile:nth-child(1),
    .affiliate-row .affiliate-tile:nth-child(2),
    .affiliate-row .affiliate-tile:nth-child(3),
    .affiliate-row-second .affiliate-tile:nth-child(1),
    .affiliate-row-second .affiliate-tile:nth-child(2) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 170px !important;
        overflow: visible !important;
    }

    /* CRITICAL: First tile (J&E Smillie) - give it maximum space */
    .affiliate-row .affiliate-tile:first-child {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        overflow: visible !important;
        margin-bottom: 0.25rem !important;
    }

    .affiliate-frame {
        width: 100% !important;
        height: 100% !important;
        padding: 6px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .affiliate-card {
        width: 100% !important;
        height: 100% !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    /* CRITICAL: Extra space for first tile (J&E Smillie) - minimal padding */
    .affiliate-row .affiliate-tile:first-child .affiliate-frame {
        padding: 5px !important;
    }

    .affiliate-row .affiliate-tile:first-child .affiliate-card {
        padding: 6px !important;
    }

    .affiliate-logo {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* CRITICAL: Ensure first logo (J&E Smillie) is fully visible with maximum space */
    .affiliate-row .affiliate-tile:first-child .affiliate-logo {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Ensure the frame and card don't clip the logo */
    .affiliate-row .affiliate-tile:first-child .affiliate-frame,
    .affiliate-row .affiliate-tile:first-child .affiliate-card {
        overflow: visible !important;
    }

    /* CRITICAL: Override desktop absolute positioning for slider arrows */
    .slider-arrow.prev,
    .slider-arrow.next,
    .carousel-control-prev,
    .carousel-control-next {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 1.3rem;
        z-index: 25;
        background: rgba(255, 255, 255, 0.25) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        left: auto !important;
        right: auto !important;
    }

    .slider-arrow.prev,
    .carousel-control-prev {
        left: 8px !important;
        right: auto !important;
    }

    .slider-arrow.next,
    .carousel-control-next {
        right: 8px !important;
        left: auto !important;
    }

    /* Override slider dots positioning for mobile */
    .slider-dots {
        position: absolute !important;
        bottom: 1.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem;
        box-sizing: border-box;
        z-index: 15;
    }


    /* 2. ENHANCED: Navigation Dropdown - Improve touch targets and reliability */
    /* CRITICAL: Override desktop hover-based dropdown behavior */
    .nav-dropdown {
        position: relative;
        width: 100%;
    }

    .nav-dropdown .dropdown-toggle {
        min-height: 44px !important;
        padding: 0.75rem 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(31, 90, 42, 0.1);
        touch-action: manipulation;
        width: 100% !important;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    /* CRITICAL: Disable hover-based dropdown on mobile - only use click */
    .nav-dropdown:hover .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .nav-dropdown:focus-within .dropdown-menu {
        display: none !important;
    }

    /* Only show dropdown when explicitly opened via class */
    .nav-dropdown.dropdown-open .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .navbar .nav-menu li {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .nav-menu a {
        min-height: 44px;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-dropdown .dropdown-menu {
        margin: 0.75rem 0 0 2rem;
        width: calc(100% - 2rem);
        max-width: calc(100vw - 4rem);
        border-left: 2px solid var(--border-color);
        padding-left: 0.5rem;
    }

    .nav-dropdown .dropdown-menu a {
        min-height: 44px;
        padding: 0.875rem 1rem;
        display: flex;
        align-items: center;
    }

    [dir="rtl"] .nav-dropdown .dropdown-menu {
        margin-right: 2rem;
        margin-left: 0;
        border-left: none;
        border-right: 2px solid var(--border-color);
        padding-right: 0.5rem;
        padding-left: 0;
    }

    /* 3. ENHANCED: General Mobile Layout - Better spacing and alignment */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .content-section {
        padding: 2.5rem 0;
    }

    .content-block {
        margin-bottom: 2.5rem;
    }

    .content-block h2 {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .content-block h3 {
        margin-top: 1.5rem;
        margin-bottom: 0.875rem;
    }

    .content-block p {
        margin-bottom: 1rem;
        line-height: 1.75;
    }

    /* Better spacing for page headers */
    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    /* Improve activity cards spacing */
    .activity-card {
        margin-bottom: 1.5rem;
    }

    .activity-content {
        padding: 1.5rem;
    }

    /* Better partner cards spacing */
    .partner-card,
    .partner-detail-card {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
    }

    /* Fix grid gaps for mobile */
    .partners-grid,
    .partners-grid-detailed,
    .activities-grid {
        gap: 1.5rem;
    }

    /* CRITICAL: Override all fixed widths/heights and absolute positioning */
    .slide-media,
    .slide-image,
    .slide-overlay {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
    }

    .slide-image {
        min-height: 200px;
        max-height: 250px;
    }

    .slide-overlay {
        min-height: 200px;
        padding: 1.5rem !important;
    }

    /* Ensure images scale properly on mobile */
    .slide-image img,
    .slide img,
    img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }

    /* Better button touch targets */
    .btn-primary,
    .btn-secondary,
    .learn-more {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Ensure hamburger is always visible and clickable */
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0.5rem !important;
        align-items: center !important;
        justify-content: center !important;
        -webkit-tap-highlight-color: rgba(31, 90, 42, 0.1);
        z-index: 1001 !important;
        position: relative !important;
    }

    /* Hide desktop nav menu items on mobile */
    .navbar .nav-menu:not(.active) {
        display: none !important;
    }

    .navbar .nav-menu.active {
        display: flex !important;
    }

    /* Ensure navbar is properly positioned and hamburger is visible */
    .navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        overflow: visible !important;
        background-color: var(--white) !important;
    }

    .navbar .container {
        position: relative !important;
        overflow: visible !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    /* Ensure hamburger is in the right position */
    .navbar .container > .hamburger {
        order: 3;
        margin-left: auto;
    }

    .navbar .container > .nav-menu {
        order: 4;
        width: 100%;
    }

    .navbar .container > .lang-switcher-container {
        order: 2;
    }

    .navbar .container > .nav-brand {
        order: 1;
    }

    /* Fix any potential overflow in sections */
    .activities-section,
    .partners-showcase,
    .services,
    .cta-section {
        overflow-x: hidden;
        position: relative;
    }

    /* Better spacing for value items */
    .value-item {
        margin-bottom: 1.5rem;
        padding: 1.75rem;
    }

    /* Fix mission vision grid spacing */
    .mission-vision-grid {
        gap: 1.5rem;
    }

    /* Ensure expertise block doesn't overflow */
    .expertise-block {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    /* Better contact form spacing */
    .contact-form-section,
    .contact-info-section {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Fix footer spacing */
    footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}


