/* =====================================================
   DERBNA - MODERN SINGLE PAGE DESIGN
   Clean, Professional, Community-Oriented
   
   ✨ UX IMPROVEMENTS IMPLEMENTED:
   --------------------------------
   ✅ Hero: Fixed logo positioning, improved spacing
   ✅ Navigation: Active section indicator, better hover
   ✅ Typography: Enhanced contrast and readability
   ✅ Buttons: Clear hierarchy, micro-interactions
   ✅ Trust Bar: Community credibility indicators
   ✅ Animations: Smooth, professional transitions
   ✅ Mobile: Fully optimized responsive design
   ✅ Footer: Professional with contact info
   ✅ Cards: Enhanced hover effects (8px lift)
   ✅ Performance: Optimized transitions
   
   📱 Mobile-First | 🎨 Modern Design | ⚡ Fast
   ===================================================== */

:root {
    /* Color Palette */
    --primary-color: #8B6F47;
    --primary-light: #A0845C;
    --primary-dark: #6B5436;
    --accent-color: #7CB342;
    --accent-dark: #558B2F;
    --gold: #D4A574;
    --gold-light: #E8C9A8;
    
    --bg-cream: #FFFBF3;
    --bg-light: #FFF8ED;
    --bg-white: #FFFFFF;
    
    --text-dark: #1A1410;
    --text-gray: #5C5452;
    --text-light: #8A8583;
    
    --border-color: #E8D9C9;
    --shadow: rgba(139, 111, 71, 0.1);
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* =====================================================
   RESET & BASE
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 1.5rem;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #8B6F47, #D4A574);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.3);
    min-height: 44px;
}

.lang-dropdown-btn:hover {
    background: linear-gradient(135deg, #6d5736, #b8895d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.5);
}

.lang-dropdown-btn:active {
    transform: translateY(0);
}

.lang-dropdown-btn .current-flag {
    font-size: 1.4rem;
    line-height: 1;
    display: inline;
    min-width: auto;
}

.lang-dropdown-btn .current-lang {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    min-width: auto;
    white-space: nowrap;
}

.lang-dropdown-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.lang-dropdown-btn.active i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
    min-height: 44px;
    font-family: var(--font-primary);
}

.lang-option .flag {
    font-size: 1.4rem;
    display: inline-block;
    min-width: 20px;
}

.lang-option .lang-name {
    font-weight: 500;
    flex: 1;
}

.lang-option:hover {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.1), rgba(212, 165, 116, 0.1));
}

.lang-option:active {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.2), rgba(212, 165, 116, 0.2));
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.15), rgba(212, 165, 116, 0.15));
    color: var(--primary-color);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 4rem;
    background-image: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.7)),
        url('Partenaire Derbna/derbna arriere plan(1).png');
    background-size: 100% 90%;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    padding: 1rem;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(139, 111, 71, 0.25));
    transition: transform 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gold-light);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.hero-subtitle-ar {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(139, 111, 71, 0.15);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.2s; }
.trust-item:nth-child(2) { animation-delay: 0.4s; }
.trust-item:nth-child(3) { animation-delay: 0.6s; }

.trust-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 20px rgba(139, 111, 71, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.3);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    padding: 5rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 251, 243, 0.8), rgba(255, 248, 237, 0.9));
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    border-color: var(--gold-light);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* =====================================================
   MISSION SECTION
   ===================================================== */

.mission-section {
    background: linear-gradient(135deg, 
        rgba(139, 111, 71, 0.04) 0%, 
        rgba(212, 165, 116, 0.03) 100%);
}

.mission-content {
    display: grid;
    gap: 3rem;
}

.mission-main {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mission-main h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.mission-main p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.value-item:hover {
    border-color: var(--gold);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */

.how-section {
    background: white;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
    position: relative;
}

.step-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 251, 243, 0.9), white);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.4s ease;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--gold);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--gold));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin: 2rem 0 1.5rem;
}

.step-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services-section {
    background: linear-gradient(135deg, 
        rgba(124, 179, 66, 0.03) 0%, 
        rgba(139, 111, 71, 0.03) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--gold-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-section {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 251, 243, 0.5);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 251, 243, 0.9);
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-gray);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Location Button */
.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.7rem 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 111, 71, 0.35);
    color: white !important;
}

.location-btn i {
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.social-link-facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.social-link-instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
    border-color: #DD2A7B;
}

.social-link-youtube:hover {
    background: #FF0000;
    color: white;
    border-color: #FF0000;
}

.social-link-whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

/* =====================================================
   PARTNERS SECTION
   ===================================================== */

.partners {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05), rgba(124, 179, 66, 0.05));
}

.partners .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.partners-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 500;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.15);
}

.partner-item:hover img {
    transform: scale(1.05);
}

/* Phone Display and Button */
.phone-display {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(124, 179, 66, 0.35);
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
}

.phone-btn i {
    font-size: 1rem;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, rgba(255, 251, 243, 0.5), white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-tagline {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-tagline-ar {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-tagline-en {
    opacity: 0.8;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-contact i {
    color: var(--gold-light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--gold-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--gold-light);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.8;
}

/* =====================================================
   ANIMATIONS & SCROLL EFFECTS
   ===================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add smooth transitions for better UX */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove transitions on specific elements */
*:not(.btn):not(.nav-link):not(.service-card):not(.about-card):not(a) {
    transition-property: none;
}

/* Re-enable transitions on interactive elements */
.btn, .nav-link, .service-card, .about-card, .value-item, .step-item, a {
    transition-property: all;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 251, 243, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px var(--shadow);
        transition: left 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .language-switcher {
        position: relative;
        margin-left: 1rem;
        margin-right: 0;
        z-index: 999;
    }
    
    .lang-dropdown-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .lang-dropdown-btn .current-flag {
        font-size: 1.1rem;
    }
    
    .lang-dropdown-btn .current-lang {
        font-size: 0.75rem;
        min-width: 25px;
    }
    
    .lang-dropdown-menu {
        bottom: auto;
        top: calc(100% + 0.5rem);
        right: 0;
        min-width: 180px;
        z-index: 1001;
    }
    
    .lang-option {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .lang-option .flag {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
        background-size: 100% 88%;
        background-position: center top;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .trust-bar {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        padding-top: 2rem;
        margin-top: 2rem;
    }
    
    .trust-item {
        font-size: 0.85rem;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .services-grid,
    .mission-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 1rem 1.2rem;
    }
    
    .navbar-logo {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 5rem 1.2rem 2rem;
        min-height: 100vh;
        background-size: 100% 85%;
        background-position: center top;
        background-attachment: scroll;
    }
    
    .hero-logo {
        width: 100px;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-ar {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
        min-height: 48px;
        justify-content: center;
        border: none;
    }
    
    .btn-primary,
    .btn-secondary {
        display: flex;
        width: 100%;
    }
    
    .trust-bar {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
        flex-direction: column;
        width: 100%;
        border-top: 1px solid rgba(139, 111, 71, 0.2);
    }
    
    .trust-item {
        font-size: 0.8rem;
        gap: 0.6rem;
        width: 100%;
        justify-content: flex-start;
        margin: 0;
    }
    
    .trust-item i {
        font-size: 1rem;
        min-width: 20px;
        color: var(--primary-color);
    }
    
    .trust-item span {
        display: block;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2.5rem 1.2rem;
    }
    
    .about-card,
    .service-card,
    .step-item,
    .value-item {
        padding: 1.8rem 1.2rem;
    }
    
    .trust-bar {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        flex-direction: column;
    }
    
    .trust-item {
        font-size: 0.8rem;
        gap: 0.5rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .trust-item i {
        font-size: 0.95rem;
        min-width: 20px;
    }
    
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .lang-dropdown-btn {
        padding: 0.7rem 0.85rem;
        gap: 0.4rem;
        min-height: 40px;
    }
    
    .lang-dropdown-btn .current-flag {
        font-size: 1rem;
    }
    
    .lang-dropdown-btn .current-lang {
        font-size: 0.7rem;
        letter-spacing: 0;
        min-width: 20px;
    }
    
    .lang-dropdown-btn i {
        font-size: 0.65rem;
    }
    
    .lang-dropdown-menu {
        min-width: 160px;
        right: -10px;
    }
    
    .lang-option {
        padding: 0.85rem 0.9rem;
        font-size: 0.88rem;
        min-height: 44px;
        gap: 0.6rem;
    }
    
    .lang-option .flag {
        font-size: 1.1rem;
        min-width: 18px;
    }
}
/* =====================================================
   RTL SUPPORT FOR ARABIC
   ===================================================== */

body.rtl {
    direction: rtl;
}

body.rtl .navbar-container {
    flex-direction: row-reverse;
}

body.rtl .nav-menu {
    flex-direction: row-reverse;
}

body.rtl .language-switcher {
    margin-left: 0;
    margin-right: 1.5rem;
}

body.rtl .hero-content {
    text-align: right;
}

body.rtl .hero-title,
body.rtl .hero-subtitle,
body.rtl .hero-subtitle-ar,
body.rtl .hero-description {
    text-align: center;
}

body.rtl .btn {
    flex-direction: row-reverse;
}

body.rtl .trust-bar {
    flex-direction: row-reverse;
}

body.rtl .trust-item {
    flex-direction: row-reverse;
}

body.rtl .social-link {
    flex-direction: row-reverse;
}

body.rtl .contact-item {
    flex-direction: row-reverse;
}

body.rtl .location-btn,
body.rtl .phone-btn {
    flex-direction: row-reverse;
}

body.rtl .footer-content {
    direction: rtl;
}

body.rtl .footer-column {
    text-align: right;
}

body.rtl .language-switcher {
    margin-left: 1.5rem;
    margin-right: 0;
}

body.rtl .lang-dropdown-menu {
    right: auto;
    left: 0;
}

body.rtl .lang-option {
    text-align: right;
    flex-direction: row-reverse;
}