html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
    direction: rtl;
}

header {
    background-image: url('images/header2.jpg');
    background-size: cover;
    background-position: center;
    color: black;
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    display: inline-block;
    background-color: linear-gradient(135deg, #4facfe, #00f2fe);
    color: black;
    padding: 6px 30px;
    border-radius: 15px;
    border: 2px solid white;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
    background-color: #333;
    padding: 10px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: yellow;
}

section.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.cards {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgb(0, 0, 0, 0.2);
}

input,
textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid#ccc;
    font-size: 16px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

#formResponse {
    margin-top: 10px;
    font-size: 16px;
}

#formResponse.success {
    color: green;
    font-weight: bold;
}

#formResponse.error {
    color: red;
    font-weight: bold;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: aqua;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #333;
}

.about-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.about-card {
    max-width: 700px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border: 2px solid #333;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgb(0, 0, 0, 0.2);
    max-width: 800px;
    text-align: center;
}

.about-card h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 28px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.about-card p strong {
    color: #e74c3c;
    font-weight: bold;
}

.about-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.about-buttons.btn {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3;
}

.about-buttons.btn:hover {
    background-color: #555;
}

nav a {
    transition: color 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}