/* General Reset */
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background-color: #e9f3f1;
}

/* ===== HEADER BASE ===== */
.custom-header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: 100%;
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #020716, #0d2e27);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: top 0.7s ease-in-out, opacity 0.4s ease-in-out,
    transform 0.4s ease-in-out;
}

.header-scrolled-down {
  top: 6vh !important;
}

.header-fixed-top {
  top: 0vh !important;
}

.header-hidden {
  opacity: 0;
  transform: translate(-50%, -100%);
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.header-fixed-top,
.header-scrolled-down {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes smoothReturn {
  0% {
    top: 20vh;
  }
  100% {
    top: 2vh;
  }
}

@keyframes bumpUp {
  0% {
    top: 20vh;
  }
  50% {
    top: -20px;
  }
  100% {
    top: 0;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  direction: rtl;
  gap: 1.5rem;
  padding-right: 1rem;
}

/* ===== LOGO ===== */
.logo {
  flex: 0;
}

.logo img {
  width: 130px;
}

/* ===== NAVIGATION LINKS ===== */
.nav-links {
  flex: 0.4;
  display: flex;
  justify-content: center;
  top: 60px; /* تقليل المسافة */
  z-index: 1000; /* تأكد من أن القيمة عالية بما يكفي */
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 3rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  bottom: 0px; /* لضمان ظهورها في الأسفل */
}

.nav-links ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: #f2c94c;
  transition: width 0.3s ease;
}

.nav-links ul li a:hover {
  color: #f2c94c;
  transform: translateX(-5px) scale(1.05);
}

.nav-links ul li a:hover::after {
  width: 100%;
}

/* ===== ACTIONS (BUTTON + MENU) ===== */
.header-actions {
  flex: 0.3;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.interest-btn {
  background-color: #ffffff;
  color: #0d2e27;
  padding: 1.2rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  transition: 0.3s;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 20px;
}

.interest-btn:hover {
  background-color: #020716;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-search {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}

.search-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.search-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  color: #f2c94c;
}

.search-icon {
  width: 20px;
  height: 20px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-input {
  display: none;
  padding: 0.5rem 2rem;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  width: 15.5rem;
  transition: all 0.3s ease;
}

.search-wrapper.active .search-input {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.lang-switch img {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  height: 50px;
  width: 70px;
}

.lang-switch:hover,
.search-btn:hover {
  color: #f2c94c;
}

.separator {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.4);
}

/* ===== HERO SECTION ===== */
.hero-section {
  top: 0rem;
  left: 50%;
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  transform: translateX(-50%);
}

.hero-bg-video {
  position: absolute;
  top: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s ease-in-out;
  animation: smoothReturn 0.7s ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 80%;
  right: 4%;
  transform: translateY(-50%);
  max-width: 950px;
  padding: 2rem 1rem;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 2;
  color: #f2c94c;
  margin-bottom: 50rem;
  margin-right: 400px;
}

.w-btn-wrapper {
  display: flex;
  justify-content: center;
}

.w-btn.us-btn-style_1 {
  background-color: #ffffff;
  color: #0d2e27;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.w-btn.us-btn-style_1:hover {
  background-color: #0d2e27;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.animated-text {
  z-index: 100;
}

.animated-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-in-out;
}

.animated-text h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ddd;
  animation: fadeInUp 1.2s ease-in-out;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-in-out;
}

.hero-content h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #f2c94c;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease-in-out;
  max-width: 900px;
  margin: 0 auto;
}

.cta-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #0d2e27;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 70px;
  width: fit-content;
  border-radius: 500px;
}

.cta-more-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.arrow-icon {
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

/* ===== RESPONSIVE ===== */
.menu-btn {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .custom-header {
    width: 100%;
    border-radius: 0;
    left: 0;
    top: 0;
    transform: none;
    padding: 0.4rem 1rem;
    background: #020716;
    backdrop-filter: blur(10px);
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
  }

  .logo img {
    width: 70px;
  }

  .logo {
    order: 1;
  }

  .lang-switch {
    order: 2;
    font-size: 1.4rem;
    padding: 0.5rem 0.5rem;
  }

  .separator {
    order: 3;
    height: 25px;
    margin: 0 0.3rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #020716;
    backdrop-filter: blur(15px);
    color: #fff;
    position: fixed;
    top: 75px; /* تبدأ من أول الهيدر */
    right: 0;
    width: 75vw;
    height: 90vh; /* تغطي الشاشة من أول الهيدر */
    padding: 2rem 1.5rem;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    border-radius: 0 0 0 20px;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 998;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 300px; /* لضمان وجود مساحة أسفل القائمة */
  }

  .nav-links ul li a {
    display: block;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
  }

  .nav-links ul li a:hover {
    color: #f2c94c;
  }

  .menu-btn {
    order: 4;
    display: flex;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    align-items: center;
  }

  .interest-btn,
  .search-wrapper {
    display: none !important;
  }

  #main-separator {
    display: block;
  }

  .interest-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 769px) {
  .menu-btn {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .menu-btn {
    display: none !important;
  }

  .nav-links::after {
    content: "";
    flex-grow: 1;
  }

  .nav-links::before {
    content: "";
    display: block;
  }

  .nav-links .interest-btn {
    display: block;
    font-size: 1rem;
    padding: 1rem;
    margin-top: auto;
    width: 100%;
    background-color: #ffffff;
    color: #0d2e27;
    text-align: center;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
  }
  .nav-links .interest-btn:hover {
    background-color: #0d2e27;
    color: #ffffff;
    border: 1px solid #ffffff;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-links .close-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
  }
}

@media (max-width: 768px) {
  .separator {
    display: none;
  }

  .hero-section {
    position: relative;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    margin-top: 85px !important; /* نفس ارتفاع الهيدر */
    padding: 0 !important;
    overflow: hidden;
    transform: none !important;
  }

  .hero-bg-video {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1;
  }

  .hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-more-btn {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .arrow-icon {
    width: 35px;
    height: 35px;
  }
}

.about-section {
  background-color: #e9f3f1;
  padding: 20px 20px;
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

/* عكس الترتيب لجعل الفيديو يمين والنص شمال */
.reverse-row {
  flex-direction: row-reverse;
}

.about-media {
  flex: 1 1 0px;
}

.about-media video,
.about-media img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-top: 100px;
}

.about-text {
  flex: 1 1 100px;
  text-align: right;
}

.about-text h2 {
  color: #020716;
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 20px;
  line-height: 2;
  color: #020716;
}

@media (max-width: 768px) {
  .about-media video {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .about-text {
    padding: 1rem;
    text-align: right;
  }
}
@media (max-width: 768px) {
  .reverse-row {
    flex-direction: column-reverse !important;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .about-media {
    margin-right: 0;
  }
}

.service-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s ease;
  cursor: pointer;
  align-items: center;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.service-card .icon img {
  width: 60px;
  margin-bottom: 1rem;
}

.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5rem;
  padding: 4rem 19rem;
}

.service-card .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  margin-top: -20px;
  margin-right: 60px;
}

.service-card h2 {
  color: #020716;
  font-size: 36px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #020716;
  margin-bottom: 2.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.services-title {
  font-size: 2.5rem;
  color: #020716;
  margin-bottom: 1rem;
  grid-column: 1 / -1;
  justify-self: start;
  text-align: right;
}

@media (max-width: 768px) {
  .services-section {
    grid-template-columns: 1fr;
    margin-right: 1rem;
    padding: 2rem;
    gap: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .service-card .icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    margin-top: -10px;
    margin-right: 7rem;
  }

  .services-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    grid-column: 1 / -1; /* تأكد من أن العنوان يغطي كل الأعمدة */
  }
}

.projects-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.image-2 {
  clip-path: inset(100% 0% 0% 0%);
}

.progress-bar {
  position: absolute; /* بدل fixed */
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.progress-fill {
  position: absolute; /* بدل fixed */
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 0%; /* البداية */
  background-color: #ffffff;
  transform-origin: bottom;
  z-index: 11;
}

.project-name {
  position: absolute;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  top: 50%;
  right: 2rem;
  transform: translateY(-50%) rotate(180deg);
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  z-index: 20; /* خليه فوق كل حاجة */
  opacity: 0;
}

.project-caption {
  position: absolute;
  bottom: 15%;
  right: 10%;
  max-width: 40%;
  color: white;
  z-index: 10;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
}

.project-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-caption h2 span {
  color: #ffffff;
}

.project-caption p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f0f0f0;
}

.cta-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: #000;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.project-caption.show {
  opacity: 1;
  transform: translateY(0);
}

.projects-section {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  text-align: center;
}

.projects-section h2,
.projects-section p {
  color: #222; /* أو أي لون غامق */
}


.cta-btn:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .project-caption {
    bottom: 10%;
    right: 5%;
    left: 5%;
    max-width: 90%;
    font-size: 1rem;
    text-align: center;
    transform: translateY(30px);
  }

  .project-caption h2 {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .project-caption p {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

.news-section {
  padding: 3rem 2rem;
  background-color: #f5f5f5;
  color: #333;
  font-family: "Cairo", sans-serif;
  padding-left: 0 !important;
}

.news-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* اجعل البطاقات تأخذ كامل مساحة السلايد */
.news-card {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  max-width: 300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 300px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 180px;
}

.news-card h3 {
  margin: 1rem 0 0.5rem 0;
  font-size: 1.2rem;
  color: #005f73;
}

.news-card p {
  font-size: 1rem;
  line-height: 1.4;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #0a9396;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #005f73;
}

.clients-section {
  padding: 10px 20px;
  text-align: center;
}

.clients-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 120px;
  height: auto;
  filter: grayscale(100%);
  transition: 0.3s;
  border-radius: 25px;
}

.client-logo img:hover {
  filter: grayscale(0%);
}

/* file: styles.css */

.form-section {
  background: #f9f9f9;
  padding: 3rem 1rem;
  font-family: "Cairo", sans-serif;
  direction: rtl;
}

.form-container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hidden {
  display: none;
}

label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
}

input,
select,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0f766e;
  outline: none;
  box-shadow: 0 0 5px rgba(15, 118, 110, 0.3);
}

button {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #0f766e;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #0d5e59;
}

/* Contact Us Section */
.contact-section {
  background: #fdfdfd;
  padding: 3rem 1rem;
  font-family: "Cairo", sans-serif;
  direction: rtl;
}

.contact-container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  text-align: right;
}

.contact-container p {
  margin-bottom: 1rem;
  color: #333;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-list a {
  color: #0f766e;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.icon {
  width: 25px;
  height: 25px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  z-index: 999;
  padding: 8px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.whatsapp-button img {
  width: 50px;
  height: 50px;
}

.whatsapp-button:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  color: #333;
}

.form-steps-indicator {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
}

.form-steps-indicator li {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  color: #999;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.form-steps-indicator li.active {
  color: #007bff;
  border-bottom-color: #007bff;
}

.form-container label {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  color: #444;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-container button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 10px 5px 0 5px;
}

.form-container button:hover {
  background-color: #218838;
}

.hidden {
  display: none;
}

.upload-label {
  display: block;
  background-color: #f1f1f1;
  padding: 12px;
  border: 2px dashed #ccc;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-section {
    margin: 20px;
    padding: 20px;
  }
  .form-steps-indicator li {
    font-size: 13px;
    padding: 8px;
  }
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 20px 0;
}

.map {
  width: 100%;
  height: 100%;
}

.map-container h2 {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
  display: block;
}
.creative-footer {
  background: linear-gradient(135deg, #020716, #0d2e27);
  color: #f0f0f0;
  padding: 3rem 1.5rem 1rem;
  font-family: "Cairo", sans-serif;
  direction: rtl;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #ffffff22;
  margin-top: 20px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.footer-brand,
.footer-nav,
.footer-contact {
  flex: 1 1 250px;
}

.footer-brand h2 {
  color: #f2c94c;
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.8;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #f2c94c;
}

.footer-nav a,
.footer-contact p a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact p a:hover {
  color: #f2c94c;
  transform: scale(1.2);
}

.footer-contact i {
  color: #f2c94c;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #f2c94c;
  transform: scale(1.2);
}

.footer-credits {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.95rem;
  color: #bbb;
}

.footer-credits .made-by {
  margin-top: 5px;
  font-size: 0.9rem;
}

.footer-credits a {
  color: #f2c94c;
  font-weight: bold;
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .footer-brand h2 {
    font-size: 1.5rem;
  }
  .footer-nav h4,
  .footer-contact h4 {
    font-size: 1rem;
  }
  .footer-nav a,
  .footer-contact p {
    font-size: 0.9rem;
  }
}

/* ===== صفحة من نحن (about.html) ===== */

.hero-section {
  position: relative;
  height: 70vh;
  background-color: #0d2e27;
  overflow: hidden;
}

.hero-section video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1rem;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f2c94c;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #eee;
}

/* نبذة عن الشركة */
.about-section {
  background: #f5f5f5;
  padding: 4rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2rem;
  color: #0d2e27;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 2;
}

.about-media {
  flex: 1 1 400px;
}

.about-media img {
  max-width: 200px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-right: 100px;
}

/* رؤية الشركة */
.services-section {
  padding: 4rem 2rem;
  background: #fff;
}

.services-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #0d2e27;
}

.service-card {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  margin: auto;
  max-width: 500px;
  margin-bottom: 2rem;
}

.service-card .icon {
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #0d2e27;
}

.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

/* لماذا نحن */
.service-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}

/* ===== صفحة مشروعاتنا (projects.html) ===== */

.projects-section {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  text-align: center;
}

.projects-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #0d2e27;
  font-weight: bold;
}

.project-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 900px;
  margin: 2rem auto;
  display: flex;
  flex-direction: row;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.project-info {
  padding: 2rem;
  text-align: right;
  flex: 1;
}

.project-info h3 {
  color: #0d2e27;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.project-info p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }

  .project-card img {
    width: 100%;
  }

  .project-info {
    padding: 1.5rem;
  }
}

/* ===== صفحة اتصل بنا (contact.html) ===== */

.contact-section {
  padding: 4rem 2rem;
  background-color: #fafafa;
  text-align: center;
}

.contact-intro h2 {
  font-size: 2rem;
  color: #0d2e27;
  margin-bottom: 1rem;
  font-weight: bold;
}

.contact-intro p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.contact-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-6px);
}

.contact-box i {
  color: #f2c94c;
  margin-bottom: 1rem;
}

.contact-box h4 {
  color: #0d2e27;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-box p,
.contact-box a {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

@media (max-width: 768px) {
  .contact-boxes {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ✅ استجابة خاصة بكروت صفحة مشروعاتنا فقط */
body.projects-page .project-card {
  flex-direction: column;
  margin-bottom: 2rem;
}

body.projects-page .project-card img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

body.projects-page .project-info {
  padding: 1.5rem;
  text-align: right;
}

@media (max-width: 768px) {
  .menu-btn {
    font-size: 2.2rem;
    padding: 1rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 9999; /* فوق أي حاجة */
  }
}

/* ✅ Creative Glassy Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0a3c74, #bfa046);
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0a3c74, #e6c46f);
  transform: scaleX(1.1);
}

/* ✅ Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #bfa046 rgba(255, 255, 255, 0.6);
}
