body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #004A23; /* لون أخضر داكن */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 25px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #FFC000; /* لون ذهبي/برتقالي */
}

nav a.active::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #FFC000;
    border-radius: 2px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/1600x900/?tunisian,football,stadium') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.small-hero {
    padding: 70px 20px;
    min-height: 250px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: #FFC000;
    color: #004A23;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #e0ac00;
    color: #002D15;
}

.btn.secondary {
    background-color: #004A23;
    color: #FFC000;
    border: 2px solid #FFC000;
}

.btn.secondary:hover {
    background-color: #002D15;
    color: #FFC000;
    border-color: #FFC000;
}

.content-section {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.content-section h3 {
    font-size: 36px;
    color: #004A23;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.content-section h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: #FFC000;
    border-radius: 2px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.card h4 {
    font-size: 24px;
    color: #004A23;
    margin: 20px 15px 10px;
    font-weight: 700;
}

.card p {
    font-size: 16px;
    color: #555;
    padding: 0 15px 20px;
    margin: 0;
    line-height: 1.7;
}

.content-section ul {
    list-style: disc inside;
    margin-right: 20px;
    padding: 0;
}

.content-section ul li {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 10px;
}

.cta-section {
    background: #004A23;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #004A23;
    font-size: 17px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

.contact-info {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #e6f7e6;
    border-radius: 8px;
}

.contact-info h3 {
    color: #004A23;
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info a {
    color: #004A23;
    text-decoration: none;
    font-weight: 700;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: #002D15; /* لون أخضر أغمق */
    color: #fff;
    text-align: center;
    padding: 25px 0;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 40px;
    }
    .hero p {
        font-size: 18px;
    }
    .content-section h3 {
        font-size: 32px;
    }
    .cta-section h2 {
        font-size: 36px;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        margin-top: 20px;
    }
    nav ul li {
        margin-bottom: 10px;
        margin-right: 0;
    }
    nav a.active::after {
        left: 0;
        right: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .hero,
    .small-hero {
        padding: 60px 15px;
        min-height: 300px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    .content-section {
        padding: 40px 0;
    }

    .content-section h3 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .card h4 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }

    .cta-section {
        padding: 60px 15px;
    }

    .cta-section h2 {
        font-size: 30px;
    }

    .cta-section p {
        font-size: 18px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
    }
}