/* General Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  direction: rtl;
  background: linear-gradient(to right, #000, #737373);
}

/* Header Styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(255, 255, 255, 0);
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

header.scrolled {
  background-color: black;
  color: white;
}

header nav {
  direction: rtl;
  text-align: center;
}

header nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

header nav a:hover {
  background-color: #555;
  color: #fff;
}

/* Logo Styles */
.logo-container {
  display: flex;
  align-items: center;
}

.logo1 {
  filter: brightness(0) invert(1);
  mix-blend-mode: darken;
}

/* Home Section */
.content {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imgs/newproject.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -1;
}

.text {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 10px;
  text-align: right;
  max-width: 600px;
  color: #000;
}

.text h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.text p {
  margin: 10px 0;
  line-height: 1.6;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  background-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.learn-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

/* Vision Section */
.vision-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: linear-gradient(to right, #000, #737373);
  min-height: 100vh;
  direction: rtl;
}

.vision-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.vision-image img {
  max-height: 70%;
  max-width: 70%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.vision-text {
  flex: 1;
  padding: 20px;
  text-align: right;
}

.vision-text h3 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.vision-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 20px;
  text-align: right;
  background: linear-gradient(to right, #000, #737373);
  min-height: 100vh;
}

.gallery-section h1 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 40px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.gallery img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Stakeholder Section */
.stakeholder-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  border-bottom: 1px solid #ddd;
  background: linear-gradient(to right, #000, #737373);
  gap: 20px;
  direction: rtl;
}

.image-container {
  flex: 1;
  text-align: center;
}

.image-container img {
  width: 80%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.text-container {
  flex: 2;
  padding: 20px;
  text-align: right;
}

.text-container h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 15px;
}

.text-container p {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
}

/* Contact Section */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  direction: rtl;
}

.container {
  width: 80%;
  max-width: 900px;
}

.screen {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.screen-body {
  display: flex;
  padding: 30px;
}

.screen-body-item {
  flex: 1;
  padding: 20px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333;
}

.app-title {
  font-size: 24px;
  color: #000000;
  font-weight: bold;
  margin-bottom: 10px;
}

.app-title span {
  display: block;
}

.app-contact {
  font-size: 14px;
  color: #000000;
  margin-bottom: 20px;
}

.app-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.app-form-group {
  display: flex;
  flex-direction: column;
}

.app-form-control {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ffffff4f;
  border-radius: 5px;
  outline: none;
  background-color: #f9f9f9;
  color: #000;
  text-align: right;
}

.app-form-control::placeholder {
  color: #aaa;
  text-align: right;
}

.app-form-group.message .app-form-control {
  height: 100px;
  resize: none;
}

.app-form-group.buttons {
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.app-form-button {
  background: linear-gradient(to right, #000, #737373);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.app-form-button:hover {
  background: linear-gradient(to right, #444, #999);
}

.app-form-button:active {
  transform: scale(0.98);
}

.app-form-button:focus {
  outline: 2px solid #ea1d6f;
  outline-offset: 2px;
}

.app-form-control:focus {
  background: linear-gradient(to right, #000, #737373);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Projects Section */
.projects-section {
  padding: 100px 20px;
  background: linear-gradient(to right, #000, #737373);
  color: #fff;
  text-align: right;
  min-height: 100vh;
}

.projects-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #ffffff;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.project-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.project-item p {
  font-size: 16px;
  line-height: 1.5;
  color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 20px 10px;
  }

  .stakeholder-section {
    flex-direction: column;
    text-align: center;
  }

  .image-container img {
    width: 100%;
    max-width: 250px;
  }

  .text-container {
    padding: 10px;
  }

  .logo {
    width: 40px;
  }

  .contact-section {
    padding: 50px 20px;
  }

  .contact-form button {
    font-size: 16px;
  }
}
