/* CSS Code */
:root {
    --primary-color: #2596be;
    --secondary-color: #FFA500;
    --accent-color: #FFC107;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --text-color: #555;
}
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #c3184c;
    color: var(--text-color);
    direction: rtl;
    text-align: right;
}
h1, h2, h3 {
    color: var(--dark-color);
    font-weight: 700;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}
.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    padding: 10px 15px;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--secondary-color);
}
.login-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}
.login-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1473216859702-863a15206977?fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
}
.hero-section h1 {
    font-size: 3.5em;
    color: #fff;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
}
section {
    padding: 80px 0;
}
.contact-section {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}
.contact-section .section-title {
    color: #fff;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1em;
}
.contact-form textarea {
    resize: vertical;
}
.status-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.success-message {
    background-color: #d4edda;
    color: #155724;
}
.contact-info {
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}
.contact-info h3 {
    color: #fff;
    font-size: 1.5em;
    margin-top: 0;
}
.contact-info p {
    margin: 10px 0;
}
.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info a:hover {
    color: var(--accent-color);
}
.footer {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 20px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}
.form-container h2 {
    margin-top: 0;
    font-size: 2em;
    color: var(--primary-color);
}
.form-container .close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5em;
    color: var(--dark-color);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.form-container .close-btn:hover {
    transform: rotate(90deg);
}
.form-container form input {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Tajawal', sans-serif;
    box-sizing: border-box;
}
.form-container form button {
    width: 100%;
    font-size: 1em;
    margin-top: 10px;
}
.form-container .form-links {
    margin-top: 20px;
}
.form-container .form-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.form-container .form-links a:hover {
    text-decoration: underline;
}