:root {
    --ministry-green: #006C35;
    --ministry-gold: #C8A050;
    --ministry-dark: #004D25;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --card-light: #ffffff;
    --card-dark: #1e1e1e;
}

body {
    font-family: 'Cairo', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
[data-bs-theme="dark"] .navbar {
    background: rgba(30, 30, 30, 0.95);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu overlay */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card-light);
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        z-index: 1050;
        padding: 80px 20px 20px;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
    }
    
    [data-bs-theme="dark"] .navbar-collapse {
        background: var(--card-dark);
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    /* Backdrop */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    [data-bs-theme="dark"] .navbar-nav .nav-item {
        border-bottom-color: rgba(255,255,255,0.05);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--ministry-green) 0%, var(--ministry-dark) 100%);
    min-height: 85vh;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a050' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Gold Accents */
.text-gold { color: var(--ministry-gold) !important; }
.bg-gold { background-color: var(--ministry-gold) !important; }
.btn-gold {
    background-color: var(--ministry-gold);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: #b08d45;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(5px);
}
.btn-outline-light-custom:hover {
    background: white;
    color: var(--ministry-green);
    border-color: white;
}

/* Features Cards */
.feature-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-light);
}
[data-bs-theme="dark"] .feature-card {
    background: var(--card-dark);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.icon-box {
    width: 70px; height: 70px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* How It Works Timeline */
.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}
.timeline-number {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    background: var(--ministry-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--ministry-gold), transparent);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ministry-dark) 0%, var(--ministry-green) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,160,80,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Testimonials */
.testimonial-card {
    background: var(--card-light);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s;
}
[data-bs-theme="dark"] .testimonial-card {
    background: var(--card-dark);
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--ministry-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* Trust Badges */
.trust-badge {
    padding: 20px;
    border-radius: 12px;
    background: var(--card-light);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}
[data-bs-theme="dark"] .trust-badge {
    background: var(--card-dark);
    border-color: rgba(255,255,255,0.05);
}
.trust-badge:hover {
    border-color: var(--ministry-gold);
    box-shadow: 0 5px 20px rgba(200,160,80,0.2);
}

/* Footer */
footer .hover-gold {
    transition: all 0.3s ease;
}
footer .hover-gold:hover {
    color: var(--ministry-gold) !important;
    padding-left: 5px;
}

footer hr {
    opacity: 0.1;
}

/* Utilities */
.ls-1 { letter-spacing: 0.5px; }
.ls-2 { letter-spacing: 1px; }