/* ===============================
   General Fonts & Body
   =============================== */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #333;
}

/* ===============================
   Video Section
   =============================== */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
}

.responsive-video {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.responsive-video:hover {
  transform: scale(1.02);
}

.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.responsive-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

/* ===============================
   Our Mission Section
   =============================== */
.media-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 5%;
  gap: 2rem;
  flex-wrap: wrap;
}

.text-block {
  flex: 1;
  min-width: 300px;
}

.image-block {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-pair {
  display: flex;
  gap: 1rem;
}

.ourmissionroundimg {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}

.ourmissionsquareimg {
  width: 300px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
}

/* ===============================
   Our Services Section
   =============================== */
.ourservicesimg1 {
  width: 709px;
  height: 520px;
  border-radius: 10px;
  object-fit: cover;
  position: relative;
  left: 150px; /* Unchanged, as the image position is correct */
  bottom: 100px;
  z-index: 1; /* Ensure image is behind text if overlap occurs */
}

.ourservicestext {
  position: relative;
  left: 900px; /* Adjusted from 600px to pull much further to the left */
  top: 250px;
  max-width: 420px;
  overflow-wrap: break-word;
  z-index: 2; /* Ensure text is above image */
}

/* ===============================
   Moments Section
   =============================== */
.momentspictures {
  position: relative;
  left: 500px; /* Unchanged, as Moments section is correct */
  bottom: 300px;
}

.momentspicture1 {
  width: 503px;
  height: 480px;
}

.momentspicture2 {
  width: 297px;
  height: 480px;
}

.moments-text {
  position: relative;
  left: 150px; /* Unchanged, as Moments section is correct */
  max-width: 260px;
  overflow-wrap: break-word;
}

/* ===============================
   Responsive Styles
   =============================== */
@media (max-width: 768px) {

  /* General Padding Adjustments */
  .video-container {
    padding: 1rem;
  }

  /* Media Section Stack */
  .media-section {
    flex-direction: column;
    text-align: center;
  }

  .image-pair {
    flex-direction: column;
    align-items: center;
  }

  .text-block {
    text-align: center;
  }

  /* Services Section */
  .ourservicesimg1 {
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    position: static;
    margin: 0 auto;
    display: block;
  }

  .ourservicestext {
    position: static;
    margin: 2rem auto;
    text-align: center;
    max-width: 90%;
  }

  /* Moments Section */
  .momentspictures {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .momentspicture1,
  .momentspicture2 {
    width: 90%;
    height: auto;
  }

  .moments-text {
    position: static;
    margin: 2rem auto;
    text-align: center;
    max-width: 90%;
  }
}

/* ===============================
   Contact Section
   =============================== */
.contact-section {
  padding: 3rem 5%;
  background-color: #fafafa;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  width: 100%;
  resize: none;
  box-sizing: border-box;
}

.contact-form button {
  padding: 0.75rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #555;
}

.form-message {
  margin-top: 1rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.form-message.text-red-600 {
  color: #dc2626;
}

.form-message.text-green-600 {
  color: #16a34a;
}

.form-message.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 2rem;
  }

  .contact-form {
    max-width: 100%;
    padding: 0 1rem;
  }

  .contact-section h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 1.5rem 1rem;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .contact-form button {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .form-message {
    font-size: 0.9rem;
  }
}