:root {
    --main-color: #f7dc79;
    --secondary-color: #f7e6b4;
    --back-color: #14594b;
    --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --text-color: #444648;
    --padding-top: 80px;
    --padding-bottom: 80px;
}

/* start variables */
:root {
    --main-color: #f7dc79;
    --secondary-color: #f7e6b4;
    --back-color: #14594b;
    --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --text-color: #444648;
    --padding-top: 80px;
    --padding-bottom: 80px;
}

/* fonts */
* {
    box-sizing: border-box;
}

body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
}

a,
ul,
li {
    text-decoration: none;
    list-style-type: none;
}

a {
    display: inline-block;
}

img {
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--back-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--main-color);
}

/* Start Container Media Screen */
.container {
    padding: 0 15px;
    margin: auto;
}

/* Small Screens */
@media (min-width : 576px) {
    .container {
        width: 540px;
    }
}

/* Medium Secreens */
@media (min-width : 768px) {
    .container {
        width: 750px;
    }
}

/* Large Secreen */
@media (min-width : 992px) {
    .container {
        width: 970px;
    }
}

/* X-Large Secreen */
@media (min-width : 1200px) {
    .container {
        width: 1170px;
    }
}

/* XX-Large Secreen */
@media (min-width : 1400px) {
    .container {
        width: 1320px;
    }
}

/* Start Contact Section */
/* Start Landing */
.contact {
    position: relative;
    background-image: url(../img/Contact_us1.jpg);
    background-size: cover;
    background-position: top;
    height: calc(100vh - 93px);
    margin-top: 93px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 89, 75, 0.8);
    z-index: -1;
}

.contact .text_box h1 {
    color: var(--main-color);
    text-align: center;
    font-size: 2.80rem;
}

.contact .text_box p {
    color: white;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
}

/* End Landing */

/* End Contact Section */
/* Start Content */
.contact_content {
    padding: 10px 0;
}

.contact_content h1 {
    text-align: center;
    font-size: 2rem;
    margin: 0.80em 0;
    color: var(--text-color);
}


.box {
    padding: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}

.box .card {
    padding: 20px 10px;
    border-radius: 5px;
    background-color: var(--back-color);
    color: #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}
.box .card:hover {
    transform: translateY(-10px);
    background-color: var(--text-color);
}
.box .card i {
    font-size: 35px;
    color: var(--main-color);
    margin: 10px 5px;
}
.box .card p {
    margin: 0;
    font-size: 1.1rem;
}

.box .card a {
    color: var(--secondary-color);
    margin-bottom: 5px;
}
/* End Content */
/* Start Message Form */
/* تنسيق السيكشن الحاوي */
.contact-section {
    background-color: var(--back-color);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* تنسيق الفورم نفسه */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #ffffff; /* خلفية بيضاء للفورم عشان تبرز فوق اللون الأخضر */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* تنسيق الصف اللي فيه حقلين */
.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-row input {
    flex: 1; /* عشان ياخدوا مساحة متساوية */
}

/* تنسيق الحقول (Inputs & Textarea) */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc; /* لون افتراضي للحدود */
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical; /* السماح بتكبير حقل الرسالة بالطول فقط */
}

/* تأثير عند الضغط على الحقول (Focus) */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 5px var(--secondary-color);
}

/* حاوية الزرار لتوسيطه */
.contact-form .submit-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* تنسيق الزرار */
.contact-form button {
    background-color: var(--main-color);
    color: var(--back-color); /* لون النص أخدناه من لون الخلفية عشان التباين */
    border: none;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}

/* التجاوب مع الشاشات الصغيرة (الموبايل) */
@media (max-width: 600px) {
    .contact-form .form-row {
        flex-direction: column;
        max-width: 100%;
    }
    .contact-form {
        padding: 20px;
    }
    .container {
        width: 100%;
    }
}
/* start Footer */
footer {
  background-image: url(../img/back_footer.png);
  background-repeat: no-repeat;
  padding: 40px 0;
  background-color: #f2f5f7;
  text-align: center;
}

.footer_content ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.2rem;
}

.footer_content ul li img {
  max-width: 150px;
}


.footer_content span {
  font-weight: bold;
  width: fit-content;
  font-size: 1.1rem;
  display: inline-block;
  margin: 15px auto;
}

.footer_content strong {
  color: #14594b;
  font-size: 0.800rem;
}

@media (max-width: 767px) {
  .footer_content ul {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
  }
}

/* End Footer */