
:root {
    --saudi-green: #165e3f;
    --saudi-green-dark: #0d4429;
    --saudi-green-light: #1a7a4f;
    --saudi-gold: #d4af37;
    --saudi-gold-dark: #b8941f;
    --saudi-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(22, 94, 58, 0.08);
    --shadow-md: 0 4px 16px rgba(22, 94, 58, 0.12);
    --shadow-lg: 0 8px 32px rgba(22, 94, 58, 0.16);
}
[data-bs-theme="dark"] {
    --saudi-green: #1a7a4f;
    --saudi-green-dark: #165e3f;
    --saudi-green-light: #20a05f;
    --saudi-gold: #e5c04a;
    --saudi-gold-dark: #d4af37;
    --text-dark: #e9ecef;
    --text-gray: #adb5bd;
    --border-light: rgba(26, 122, 79, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Dark mode */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    --text-primary: #e9ecef;
    --text-secondary: #adb5bd;
    --text-muted: #6c757d;
    --border-color: rgba(26, 122, 79, 0.2);

    --bs-body-color: linear-gradient(135deg, #1a1a1a 0%, #171717d1 100%) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8faf9 0%, #e8f5e9 100%);
    color: var(--text-dark);
}

[data-bs-theme="dark"] body {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s;
}

[data-bs-theme="dark"] .navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}
.navbar.scrolled {
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--saudi-green);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 28px;
    height: 28px;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--saudi-green);
    border: 2px solid var(--saudi-green);
}

.btn-outline:hover {
    background: var(--saudi-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--saudi-green-dark), var(--saudi-green));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* NAVBAR BASIC */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--saudi-green);
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ACTION BUTTONS */
.nav-actions {
    display: flex;
    gap: 1rem;
}

/* LANG */
.language-switcher a {
    margin: 0 0.5rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
}

.language-switcher a.active {
    color: var(--saudi-green);
    font-weight: 700;
}

/* THEME TOGGLE */
.theme-toggle {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}

/* MOBILE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }

    [data-bs-theme="dark"] .menu-toggle {
        color: white;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
        display: none;
        box-shadow: var(--shadow-md);
    }
    [data-bs-theme="dark"] .menu {
        background: #0d0d0d;
    }

    .menu.open {
        display: flex;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .language-switcher {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .theme-toggle {
        margin: auto;
    }
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 94, 63, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
    z-index: 0;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

.floating-1 {
    width: 300px;
    height: 300px;
    background: var(--saudi-green);
    top: 10%;
    left: 10%;
}

.floating-2 {
    width: 200px;
    height: 200px;
    background: var(--saudi-gold);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-3 {
    width: 150px;
    height: 150px;
    background: var(--saudi-green-light);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(22, 94, 63, 0.1), rgba(26, 122, 79, 0.1));
    border: 2px solid rgba(22, 94, 63, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--saudi-green);
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 400px;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(22, 94, 63, 0.1), rgba(26, 122, 79, 0.1));
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--saudi-green);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--saudi-green);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-dark));
    color: white;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--saudi-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-image {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.about-image svg {
    width: 50%;
    height: 50%;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light));
    padding: 4rem 3rem;
    border-radius: 32px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--saudi-green);
}

.btn-white:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    /* background: var(--text-dark); */
    color: black;
    text-align: center;
}
[data-bs-theme="dark"] .footer {
    color: white
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}
[data-bs-theme="dark"] .footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: var(--saudi-gold);
}

.footer-text {
    color: black;
    font-size: 0.875rem;
}

[data-bs-theme="dark"] .footer-text {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 3rem 2rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}