:root {
    --color-green: #007f3b;
    --color-red: #ce1126;
    --color-black: #101820;
    --color-gold: #c3a35c;
    --color-sand: #f6f1e6;
    --color-night: #0f1a2a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Cairo", sans-serif;
    background: linear-gradient(180deg, rgba(15, 26, 42, 0.95), rgba(15, 26, 42, 0.85)), url("https://images.unsplash.com/photo-1523978591478-c753949ff840?auto=format&fit=crop&w=1600&q=80") fixed;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header,
main,
footer {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 127, 59, 0.65), rgba(16, 24, 32, 0.85));
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1500&q=80") center/cover;
    opacity: 0.25;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(206, 17, 38, 0.3), rgba(0, 127, 59, 0.3));
    z-index: 1;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4vw;
    position: relative;
    z-index: 2;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.flag {
    width: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-green), var(--color-red));
    border: none;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

.menu-toggle::before {
    top: 18px;
}

.menu-toggle::after {
    bottom: 18px;
}

.menu-open.menu-toggle::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-open.menu-toggle::after {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 10vh 4vw 12vh;
    max-width: 640px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.cta {
    display: inline-block;
    padding: 0.85rem 2.4rem;
    background: linear-gradient(120deg, var(--color-green), var(--color-red));
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover,
.cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.section {
    position: relative;
    padding: 6rem 4vw;
    background: rgba(16, 24, 32, 0.9);
}

.section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.about-grid,
.services-grid,
.partner-cards,
.values-grid {
    display: grid;
    gap: 2rem;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.partner-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

article,
.value {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

article:hover,
.value:hover {
    transform: translateY(-6px);
    border-color: rgba(195, 163, 92, 0.6);
}

article h3,
.value h3 {
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.values {
    background: linear-gradient(135deg, rgba(12, 56, 87, 0.92), rgba(16, 24, 32, 0.9));
}

.timeline {
    background: rgba(0, 0, 0, 0.35);
}

.timeline-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.timeline-steps li {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 18px;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(195, 163, 92, 0.9);
    margin-bottom: 0.5rem;
}

.contact {
    background: linear-gradient(120deg, rgba(0, 127, 59, 0.8), rgba(206, 17, 38, 0.8));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    background: rgba(0, 0, 0, 0.45);
    padding: 3rem;
    border-radius: 24px;
}

.contact-intro h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
}

.contact-intro p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-details {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-weight: 600;
    letter-spacing: 0.05em;
}

.form-field input,
.form-field textarea {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(15, 26, 42, 0.7);
    color: #fff;
    font-size: 1rem;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(195, 163, 92, 0.3);
}

.footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
}

.footer a {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.08em;
}

.back-to-top {
    transition: color 0.3s ease;
}

.back-to-top:hover,
.back-to-top:focus {
    color: #fff;
}

@media (max-width: 960px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 4vw;
        background: rgba(15, 26, 42, 0.95);
        flex-direction: column;
        border-radius: 16px;
        padding: 1.5rem;
        gap: 1rem;
        min-width: 220px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding-top: 8rem;
    }

    .navbar {
        padding: 1.2rem 6vw;
    }

    .section {
        padding: 4.5rem 6vw;
    }

    .contact-wrapper {
        padding: 2rem;
    }
}
