/* NAF AL JOOD - Premium Bilingual Stylesheet */

/* Light Theme (Default) */
:root,
[data-theme="light"] {
    --color-primary: #C4A962;
    --color-primary-dark: #A68B4B;
    --color-primary-light: #D4C98A;
    --color-bg: #FFFFFF;
    --color-surface: #F8F7F4;
    --color-text: #1A1A1A;
    --color-text-muted: #6B6B6B;
    --color-dark: #0D0D0D;
    --color-navy: #1B365D;
    --color-navy-light: #2A4A7A;
    --color-cream: #F8F7F4;
    --color-border: #E5E5E5;
    --color-header-bg: rgba(255, 255, 255, 0.95);
    --color-header-scrolled: rgba(27, 54, 93, 0.98);
    --color-card-bg: #FFFFFF;
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Noto Sans Arabic', sans-serif;
    --font-display: 'Playfair Display', serif;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 15px rgba(196, 169, 98, 0.3);
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --color-primary: #D4BC7D;
    --color-primary-dark: #C4A962;
    --color-primary-light: #E5D9A8;
    --color-bg: #0D0D0D;
    --color-surface: #1A1A1A;
    --color-text: #F5F5F5;
    --color-text-muted: #A0A0A0;
    --color-dark: #000000;
    --color-navy: #1B365D;
    --color-navy-light: #2A4A7A;
    --color-cream: #F8F7F4;
    --color-border: #2A2A2A;
    --color-header-bg: rgba(13, 13, 13, 0.95);
    --color-header-scrolled: rgba(27, 54, 93, 0.98);
    --color-card-bg: #1A1A1A;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 15px rgba(212, 188, 125, 0.2);
}

/* Theme Switcher Styles */
.theme-switcher {
    position: relative;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

@media (min-width: 768px) {
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
    }
}

.theme-toggle-btn:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .theme-toggle-btn svg {
        width: 20px;
        height: 20px;
    }
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
    overflow: hidden;
}

/* Light theme dropdown - white bg, dark text */
:root .theme-dropdown,
[data-theme="light"] .theme-dropdown {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
}

:root .theme-option,
[data-theme="light"] .theme-option {
    color: #1A1A1A;
}

:root .theme-option:hover,
[data-theme="light"] .theme-option:hover {
    background: #F5F5F5;
}

/* Dark theme dropdown - dark bg, light text */
[data-theme="dark"] .theme-dropdown {
    background: #1A1A1A;
    border: 1px solid #333333;
}

[data-theme="dark"] .theme-option {
    color: #F5F5F5;
}

[data-theme="dark"] .theme-option:hover {
    background: #2A2A2A;
}

[dir="rtl"] .theme-dropdown {
    right: 0;
    left: auto;
}

.theme-switcher.active .theme-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

[dir="rtl"] .theme-option {
    text-align: right;
    flex-direction: row-reverse;
}

/* Active/selected option - gold in both themes */
.theme-option.active {
    background: var(--color-primary) !important;
    color: #0D0D0D !important;
}

.theme-option svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}



*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-en);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

[dir="rtl"] body {
    font-family: var(--font-ar);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 0.875rem;
    }
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-navy);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-navy);
    border-color: var(--color-primary);
}

.btn-dark {
    background: var(--color-navy);
    color: #fff;
    border: 2px solid var(--color-navy);
}

.btn-dark:hover {
    background: var(--color-navy-light);
    border-color: var(--color-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--color-header-scrolled);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(27, 54, 93, 0.3);
}

.header .nav-link,
.header .logo-text {
    color: #FFFFFF;
}

.header .nav-link:hover {
    color: var(--color-primary);
}

.header .lang-switcher {
    background: rgba(255, 255, 255, 0.1);
}

.header .lang-btn {
    color: rgba(255, 255, 255, 0.7);
}

.header .lang-btn.active {
    background: var(--color-primary);
    color: var(--color-navy);
}

.header .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.header .menu-toggle span {
    background: #FFFFFF;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Logo Styles - Clean & Prominent */
.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.logo:hover {
    transform: scale(1.03);
}

.logo-image {
    height: 3rem;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(196, 169, 98, 0.3);
    transition: all var(--transition-base);
}

.logo-image:hover {
    box-shadow: 0 4px 16px rgba(196, 169, 98, 0.5);
}

@media (min-width: 480px) {
    .logo-image {
        height: 3.5rem;
    }
}

@media (min-width: 768px) {
    .logo-image {
        height: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .logo-image {
        height: 5rem;
    }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

[dir="rtl"] .logo-text {
    font-family: var(--font-ar);
}

.logo-accent {
    color: var(--color-primary);
}

.nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
    color: var(--color-navy);
}

[data-theme="dark"] .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header-actions {
        gap: 1rem;
    }
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    padding: 0.35rem 0.5rem;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

@media (min-width: 768px) {
    .lang-switcher {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.lang-btn {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-btn.active {
    background: var(--color-primary);
    color: var(--color-navy);
    font-weight: 700;
}

.lang-divider {
    color: var(--color-primary);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}

[dir="rtl"] .mobile-nav-close {
    right: auto;
    left: 1.5rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero with image background */
.hero-with-image {
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80');
}

.hero-with-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.85) 0%, rgba(13, 13, 13, 0.7) 100%);
    z-index: 0;
}

/* Page-specific hero backgrounds */
/* Homepage - Warehouse/Logistics scene */
/* Source: https://unsplash.com/photos/photo-1586528116311-ad8dd3c8310d */
.hero-home {
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80');
}

/* About Page - Business team meeting */
/* Source: https://unsplash.com/photos/photo-1600880292203-757bb62b4baf */
.hero-about,
.page-hero.hero-about {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80');
}

/* Services Page - Professional workspace */
/* Source: https://unsplash.com/photos/photo-1454165804606-c3d57bc86b40 */
.hero-services,
.page-hero.hero-services {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=80');
}

/* Contact Page - Modern city skyline/office building */
/* Source: https://unsplash.com/photos/photo-1486406146926-c627a92ad1ab */
.hero-contact,
.page-hero.hero-contact {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
}

/* Food/Foodstuff - Food production/ingredients */
/* Source: https://unsplash.com/photos/photo-1606787366850-de6330128bfc */
.hero-foodstuff,
.page-hero.hero-foodstuff {
    background-image: url('https://images.unsplash.com/photo-1606787366850-de6330128bfc?w=1920&q=80');
}

/* Advisory - Business consulting */
/* Source: https://unsplash.com/photos/photo-1454165804606-c3d57bc86b40 */
.hero-advisory,
.page-hero.hero-advisory {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=80');
}

/* IT/Cybersecurity - Data center/servers */
/* Source: https://unsplash.com/photos/photo-1558494949-ef010cbdcc31 */
.hero-it,
.page-hero.hero-it {
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80');
}

/* Hero content on image backgrounds */
.hero-with-image .hero-content {
    position: relative;
    z-index: 1;
}

.hero-with-image .hero-tagline {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-with-image .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-with-image .btn-outline {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.hero-with-image .btn-outline:hover {
    background: #FFFFFF;
    color: var(--color-navy);
}

/* Page Hero (for inner pages) */
.page-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.9) 0%, rgba(13, 13, 13, 0.75) 100%);
    z-index: 0;
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
}

.page-hero .hero-tagline {
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .page-hero .hero-tagline {
    font-family: var(--font-ar);
}

.page-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .page-hero .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(196, 169, 98, 0.1), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .hero-tagline {
    font-family: var(--font-ar);
}

.hero-tagline .accent {
    color: var(--color-primary);
    display: block;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
        padding: 0;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .hero-actions {
        gap: 1rem;
        padding: 0;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

[dir="rtl"] .section-title {
    font-family: var(--font-ar);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* About Preview */
.about-preview {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-preview {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-surface);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

[dir="rtl"] .about-content h3 {
    font-family: var(--font-ar);
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Service Cards */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 3-column grid variant for homepage */
.services-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-navy);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-text {
    color: var(--color-text-muted);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-surface);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #fff;
    font-weight: 500;
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(196, 169, 98, 0.25);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--color-text-muted);
}

.contact-map {
    margin-top: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 300px;
    background: var(--color-surface);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--color-navy);
    color: #fff;
    padding: 4rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
    }
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

.footer-brand .logo-image {
    height: 80px;
    margin-bottom: 1rem;
    background: transparent;
    padding: 0;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 12px rgba(196, 169, 98, 0.3);
}

@media (max-width: 767px) {
    .footer-brand .logo-image {
        margin: 0 auto 1rem;
    }
}

/* Footer logo styling */
.footer-brand .logo {
    display: inline-block;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.footer-brand .logo:hover {
    transform: scale(1.02);
    box-shadow: none;
}

.footer-brand .logo-text {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

[dir="rtl"] .footer-link:hover {
    padding-left: 0;
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-links {
        justify-content: flex-start;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    border: 1px solid rgba(196, 169, 98, 0.3);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-navy);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 169, 98, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-cream), var(--color-bg));
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

[dir="rtl"] .page-hero-title {
    font-family: var(--font-ar);
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RTL */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-inner,
[dir="rtl"] .header-actions,
[dir="rtl"] .nav,
[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-tagline {
        font-size: 2.5rem;
    }

    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-hero-title {
        font-size: 1.875rem;
    }
}

/* Developer Credit - MutaibStudio */
.developer-credit {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.developer-credit a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.developer-credit a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Mission Vision Grid - Responsive */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mission-vision-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}