* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Kufi Arabic', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #8b0000;
    --primary-hover: #a30000;
    --gold-color: #d4af37;
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --card-border: #2a2a2a;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    --glow-red: 0 0 15px rgba(139, 0, 0, 0.4);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo span {
    color: var(--gold-color);
}

.navbar nav {
    margin: 0 auto;
}

.navbar .nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
}

.navbar .nav-list a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar .nav-list a:hover,
.navbar .nav-list a.active {
    color: var(--gold-color);
}

.badge {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--gold-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--gold-color);
    display: inline-block;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-main);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--glow-red);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(163, 0, 0, 0.6);
}

.btn-secondary {
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--gold-color);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 8%;
    background: radial-gradient(circle at right, #220505 0%, var(--bg-dark) 70%);
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.highlight {
    color: var(--gold-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--gold-color);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.5);
}

.features, .contact-section {
    padding: 5rem 8%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 800;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

.contact-section {
    background-color: #161616;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-subtext {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
}

.contact-box {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex: 1 1 230px;
}

.contact-box:hover {
    transform: translateY(-4px);
    border-color: var(--gold-color);
}

.icon-gold {
    font-size: 1.8rem;
    color: var(--gold-color);
}

.contact-box h4 {
    font-size: 1rem;
}

.contact-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer {
    background-color: #0a0a0a;
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--card-border);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.2rem 5%;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar nav {
        margin: 0;
        width: 100%;
    }

    .navbar .nav-list {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.8);
        padding: 1.5rem 0;
        text-align: center;
        gap: 1.5rem;
    }

    .navbar .nav-list.active {
        display: flex !important;
    }
}