:root {
  --primary-bg: #27a39b;
  --navbar-bg: #1f7e77;
  --text-white: #ffffff;
  --text-dark: #0a3442;
  --text-muted: #666;
  --text-hover: #dcdcdc;
  --gradient-start: #d95eff;
  --gradient-end: #5e8bff;
  --heading-color: #0A3442;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --bg-light: #eafaf8;
  --card-bg: linear-gradient(180deg, #dff6f3, #038378);
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Zain', sans-serif;
}

body {
  background-color: #D9FDFF;
  direction: rtl;
}

/* النافبار والهيرو من landing.css */

/* Footer */
footer {
  width: 100%;
  background-color: #0e3e46;
  color: white;
  padding: 40px 0 0;
  box-sizing: border-box;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer-column h3 {
  color: #3db8a9;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
  font-size: 0.95rem;
  color: white;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-logo-text {
  font-size: 0.95rem;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.section .icon {
  width: 80px;
  height: 80px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  background-color: #36b7a9;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
}

.footer-left {
  justify-content: flex-start;
}

.footer-right {
  justify-content: flex-end;
}

.footer-bottom a {
  color: orange;
  font-weight: bold;
  text-decoration: none;
}

.social-icons img:hover {
  border-radius: 50%;
  background-color: #038378;
}

.footer-column i {
  margin-left: 8px;
  color: #3db8a9;
  transition: color 0.3s ease;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #FFC300;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-column {
      min-width: 100%;
  }

  .social-icons {
      justify-content: center;
  }
}


.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 20px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: 540px;
  height: 600px;
  padding: 30px;
  background-color: #dff6f3;
  border-radius: 10px;
  border: 1px solid #9be0da;
  margin: 0 auto; /* المركز التلقائي على العرض */
}

.contact-info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  order: 2;
}

.contact-form h2,
.contact-info h2 {
  color: #33A5A0;
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-info .info-box {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #9be0da;
  font-family: 'Zain', sans-serif;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff !important;
  color: #093443 !important;
  border: 2px solid #0A3442 !important;
  padding: 18px 0 !important;
  width: 120px !important;
  height: 40px !important;
  border-radius: 31px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  margin: auto;
}

.submit-button:hover {
  background-color: #0A3442 !important;
  color: #fff !important;
}

.info-box {
  background-color: #ffffff80;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #9be0da;
}

.info-box h2,
.info-box h3 {
  color: var(--heading-color);
  margin-bottom: 10px;
}

.info-box p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 5px;
}

.support-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.support-wrapper .info-box {
  flex: 1 1 calc(50% - 10px);
  background-color: #ffffff80;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #9be0da;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 600px;
  }

  .contact-info .info-box {
    width: 100%;
  }
  
  .support-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .support-wrapper .info-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-form {
    width: 100%; 
    max-width: 500px; /* عرض أقصى عند الشاشات الصغيرة */
    margin: 0 auto;  /* المركز التلقائي */
  }
}
