* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Tahoma, sans-serif;
  background-color: #f3f7f9;
  color: #555;
  direction: rtl;
  font-size: 15px;
}

:root {
  --main-teal: #079aa0;
  --main-bg: #f3f7f9;
  --card-bg: #eeeeee;
  --text-gray: #5f5f5f;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 78px;
  background: rgba(247, 247, 247, 0.62);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* Navbar */
.nav-container {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 92px;
  display: block;
}

/* Logo */
.logo img {
  height: 122px;
  display: block;
}

/* Navigation Buttons */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: #737373;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: #079aa0;
}

/* Contact Button */
.contact-btn {
  background: #079aa0;
  color: white;
  text-decoration: none;
  padding: 12px 38px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  transition: 0.2s ease;
}

.contact-btn:hover {
  background: #067e83;
}

/* Home Section */
.home-section {
  min-height: 100vh;
  padding-top: 43px;
  background-color: #f3f7f9;
   
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* About Section */
.about-section {
  background-color: #f3f7f9;
  padding: 120px 0 80px;
}

.section-container {
  width: min(1040px, 80%);
  margin: 0 auto;
  text-align: center;
}

.section-badge {
  display: inline-block;
  background-color: #079aa0;
  color: white;
  padding: 7px 20px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-title {
  color: #5a5a5a;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

.about-title span {
  color: #079aa0;
}

.about-subtitle {
  color: #5f5f5f;
  font-size: 19px;
  font-weight: 700;
  max-width: 980px;
  margin: 0 auto 34px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 28px;
}

.about-card {
  min-height: 195px;
  background-color: #eeeeee;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card h3 {
  color: #079aa0;
  font-size: 31px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-card p {
  color: #666;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

/* Services Section */
.services-section {
  background-color: #f3f7f9;
  padding: 120px 0 55px;
}

.services-badge {
  font-size: 18px;
  padding: 8px 28px;
  margin-bottom: 28px;
}

.services-title {
  color: #079aa0;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
}

.services-subtitle {
  color: #777;
  font-size: 21px;
  font-weight: 700;
  max-width: 1050px;
  margin: 0 auto 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 26px;
}

.service-card {
  min-height: 185px;
  background-color: #eeeeee;
  border-radius: 22px;
  padding: 24px 18px 22px;
  text-align: center;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-icon {
  height: 42px;
  margin-bottom: 10px;
}

.service-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.service-card h3 {
  color: #079aa0;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 800;
}

.service-card p {
  color: #5f5f5f;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 600;
}

/* Values Section */
.values-section {
  background-color: #f3f7f9;
  padding: 120px 0 30px;
}

.values-badge {
  font-size: 18px;
  padding: 8px 54px;
  margin-bottom: 20px;
}

.values-title {
  color: #079aa0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 8px;
}

.values-subtitle {
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.value-card {
  min-height: 80px;
  background-color: #eeeeee;
  border-radius: 22px;
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.value-card p {
  color: #5f5f5f;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
}

/* Projects Section */
.projects-section {
  background-color: #f3f7f9;
  padding: 120px 0 85px;
}

.projects-title {
  text-align: center;
  color: #079aa0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-image-box {
  width: 100%;
  max-width: 240px;
  height: 215px;
  background-color: #eeeeee;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Partners Section */
.partners-section {
  background-color: #f3f7f9;
  padding: 120px 0 85px;
  overflow: hidden;
}

.partners-title {
  text-align: center;
  color: #079aa0;
  font-size: 35px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.partners-carousel {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
}

.partners-carousel::-webkit-scrollbar {
  display: none;
}

.partner-item {
  flex: 0 0 33.333%;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 55px;
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  scroll-snap-align: start;
}

.partner-item:nth-child(3),
.partner-item:nth-child(6) {
  border-left: none;
}

.partner-item img {
  max-width: 220px;
  max-height: 110px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Clients Section */
.clients-section {
  background-color: #f3f7f9;
  padding: 120px 0 85px;
}

.clients-title {
  text-align: center;
  color: #079aa0;
  font-size: 35px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 40px;
  align-items: center;
}
.client-logo:nth-last-child(2) {
  grid-column: 2;
}

.client-logo:nth-last-child(1) {
  grid-column: 3;
}

.client-logo {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Contact Section */
.contact-section {
  background-color: #f3f7f9;
}

.contact-container {
  width: min(1040px, 80%);
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-heading {
  color: #079aa0;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.contact-form-area {
  order: 1;
}

.contact-info-area {
  order: 2;
}

.contact-form {
  background-color: #eef4f6;
  border-radius: 24px;
  padding: 26px 22px 26px;
  box-shadow: 0 8px 13px rgba(0, 0, 0, 0.22);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  color: #5f5f5f;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: right;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  outline: none;
  background-color: #f3f7f9;
  border-radius: 8px;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.8);
  padding: 12px 14px;
  color: #555;
  font-size: 15px;
  font-family: inherit;
}

.form-group input {
  height: 48px;
}

.form-group textarea {
  height: 156px;
  resize: none;
}

.submit-btn {
  display: block;
  width: 170px;
  height: 44px;
  margin: 4px auto 0;
  border: none;
  border-radius: 8px;
  background-color: #cdeff0;
  color: #666;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s ease;
}

.submit-btn:hover {
  background-color: #079aa0;
  color: white;
}

/* Contact Info */
.contact-info-card {
  background-color: #eef4f6;
  border: 1px solid rgba(7, 154, 160, 0.12);
  border-radius: 28px;
  padding: 40px 50px 5px 10px;
  box-shadow: 0 8px 13px rgba(0, 0, 0, 0.22);
  min-height: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-row {
  display: grid;
  grid-template-columns: 160px 250px;
  align-items: center;
  margin-bottom: 30px;
}



.contact-info-row strong {
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 800;
}

.contact-info-row a,
.contact-info-row span {
  color: #079aa0;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  direction: ltr;
  text-align: left;
}

.consultation-card {
  margin-top: 140px;
  background-color: #eef4f6;
  border-radius: 22px;
  padding: 22px 24px;
  text-align: center;
  box-shadow: 0 8px 13px rgba(0, 0, 0, 0.22);
}

.consultation-card h3 {
  color: #079aa0;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.consultation-card p {
  color: #5f5f5f;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

/* Footer */
.footer-mini {
  margin-top: 20px;
  text-align: center;
}

.footer-logo {
  width: 260px;
  height: auto;
  margin: 0 auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  opacity: 0.75;
  transition: 0.2s ease;
}

.social-link:hover img {
  opacity: 1;
}

.social-icons a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: block;
  margin-bottom: 90px;
}

/* Main Home Layout */
.home-container {
  width: min(1040px, 90%);
  margin: 0 auto;
  min-height: calc(100vh - 200px);

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* Text */
.home-content {
  text-align: right;
  padding-top: 30px;
}

.home-content h1 {
  font-size: 40px;
  line-height: 1.35;
  font-weight: 800;
  color: #5a5a5a;
  margin-bottom: 22px;
}

.home-content h1 span {
  display: block;
  color: #079aa0;
}

.home-content p {
  font-size: 20px;
  font-weight: 700;
  color: #5f5f5f;
  margin-bottom: 52px;
}

/* Buttons */
.home-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-btn,
.secondary-btn {
  min-width: 182px;
  text-align: center;
  padding: 18px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.primary-btn {
  background: #079aa0;
  color: white;
}

.primary-btn:hover {
  background: #067e83;
}

.secondary-btn {
  background: #eef0f1;
  color: #777;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.secondary-btn:hover {
  background: #e2e5e7;
}

/* Image */
.home-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-visual img {
  width: 100%;
  max-width: 560px;
  display: block;
}

/* Stats */
.stats {
  width: min(1040px, 90%);
  margin: 0 auto 24px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-box {
  padding: 0 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.stat-box:last-child {
  border-left: none;
}

.stat-box strong {
  display: block;
  color: #079aa0;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box span {
  display: block;
  color: #666;
  font-size: 21px;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 900px) {
  .site-header {
    height: auto;
  }

  .nav-container {
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo img {
    height: 44px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 15px;
  }

  .contact-btn {
    padding: 10px 22px;
    font-size: 15px;
  }

  .home-section {
    padding-top: 130px;
  }

  .home-container {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .home-content {
    text-align: center;
    order: 1;
  }

  .home-visual {
    order: 2;
  }

  .home-content h1 {
    font-size: 42px;
  }

  .home-content p {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .home-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .stat-box {
    border-left: none;
  }
  
}


@media (max-width: 520px) {
  .home-content h1 {
    font-size: 34px;
  }

  .home-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
  } 
}

@media (max-width: 900px) {
  .about-section {
    padding: 55px 0;
  }

  .about-title {
    font-size: 36px;
  }

  .about-subtitle {
    font-size: 16px;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-card h3 {
    font-size: 27px;
  }

  .about-card p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .services-section {
    padding: 55px 0;
  }

  .services-title {
    font-size: 36px;
  }

  .services-subtitle {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-card {
    min-height: 170px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-card p {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .values-section {
    padding: 55px 0;
  }

  .values-title {
    font-size: 36px;
  }

  .values-subtitle {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .value-card p {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .projects-section {
    padding: 55px 0 70px;
  }

  .projects-title {
    font-size: 36px;
    margin-bottom: 35px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project-image-box {
    max-width: 280px;
    height: 220px;
    margin-right: auto;
    margin-left: auto;
  }

  .project-content h3 {
    font-size: 21px;
  }

  .project-content p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .partners-section {
    padding: 55px 0 70px;
  }

  .partners-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .partner-item {
    flex: 0 0 50%;
    min-height: 160px;
    padding: 20px 35px;
  }

  .partner-item img {
    max-width: 180px;
    max-height: 90px;
  }
}

@media (max-width: 520px) {
  .partner-item {
    flex: 0 0 100%;
    border-left: none;
  }
}

@media (max-width: 900px) {
  .clients-section {
    padding: 55px 0 70px;
  }

  .clients-title {
    font-size: 36px;
    margin-bottom: 45px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 36px;
  }

  .client-logo img {
    max-width: 150px;
    max-height: 70px;
  }
}

@media (max-width: 520px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client-logo {
    min-height: 80px;
  }
}
@media (max-width: 900px) {
  .client-logo:nth-last-child(2),
  .client-logo:nth-last-child(1) {
    grid-column: auto;
  }
}
@media (max-width: 900px) {
  .contact-section {
    padding: 55px 0 35px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-area {
    order: 2;
  }

  .contact-info-area {
    order: 1;
  }

  .contact-heading {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .contact-form {
    padding: 30px 24px 42px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info-card {
    padding: 30px 24px;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
    margin-bottom: 30px;
  }

  .contact-info-row strong {
    font-size: 19px;
  }

  .contact-info-row a,
  .contact-info-row span {
    font-size: 20px;
    text-align: center;
  }

  .consultation-card {
    margin-top: 32px;
  }

  .consultation-card h3 {
    font-size: 20px;
  }

  .consultation-card p {
    font-size: 17px;
  }

  .footer-mini {
    margin-top: 45px;
  }
}

@media (max-width: 520px) {
  .submit-btn {
    width: 100%;
  }
}
.form-message {
  display: none;
  margin: 18px auto 0;
  padding: 12px 18px;
  max-width: 320px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background-color: #d9f3ec;
  color: #087c5d;
}

.form-message.error {
  background-color: #fde2e2;
  color: #a52828;
}
.copyright {
  margin-top: 28px;
  background-color: #079aa0;
  color: #ffffff;
  width: 100%;
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  box-sizing: border-box;
  unicode-bidi: isolate;
}

.copyright span {
  unicode-bidi: isolate;
}

.nav-actions {
  display: flex;
  align-items: center;
  
}

.lang-toggle {
  border: 1px solid #079aa0;
  background: transparent;
  color: #079aa0;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s ease;
}

.lang-toggle:hover {
  background: #079aa0;
  color: white;
}

@media (max-width: 900px) {
  .nav-actions {
    gap: 10px;
  }

  .lang-toggle {
    padding: 9px 14px;
    font-size: 14px;
  }
}
/* Language Toggle / Bilingual Direction Fixes */
.home-content h1 [data-i18n="homeTitle1"] {
  color: #5a5a5a;
}

.home-content h1 [data-i18n="homeTitle2"] {
  color: #079aa0;
}

/* Fix punctuation direction for translated English text without changing layout */
[data-i18n] {
  unicode-bidi: isolate;
}

body.lang-en [data-i18n] {
  direction: ltr;
}

body.lang-ar [data-i18n] {
  direction: rtl;
}