/* Reset and Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #0F0F0F;
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 25px;
  background-color: #0F0F0F;
  padding: 15px 10px;
  flex-wrap: nowrap;
}
.navbar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}
.navbar a.active {
  color: #FF5900;
}
.nav-video video {
  height: 50px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

/* Home Page Intro Video */
#intro video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* What We Do */
#thumbnailImage {
  max-width: 960px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 40px auto 0 auto;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.modal-content {
  position: relative;
  width: 80%;
  max-width: 960px;
  height: 540px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-content iframe {
  width: 100%;
  height: 100%;
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #FF5900;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  transition: color 0.3s ease, transform 0.3s ease; /* 👈 NEW: Smooth fade and scale transition */
}

}

}
#muteToggle {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #FF5900;
  color: white;
  border: none;
  border-radius: 20px;
  font-family: 'P.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #FF5900;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  transition: color 0.3s ease, transform 0.3s ease; /* 👈 NEW: Smooth fade and scale transition */
}
.close:hover {
  color: white;
  transform: scale(1.2);
}

oppins', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: none;
}
#muteToggle:hover {
  background-color: white;
  color: #FF5900;
}

/* Our Work Gallery */
.work-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}
.work-item {
  width: 380px;
  text-align: center;
}
.thumb-wrapper {
  width: 100%;
  height: 213px;
  overflow: hidden;
  border-radius: 8px;
}
.thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer; /* 👈 Added for hand cursor */
}
.hover-text {
  margin-top: 10px;
  font-size: 16px;
  color: #FF5900;
  display: none;
}
.work-item:hover .hover-text {
  display: block;
}

/* About Us and Coming Soon Videos */
.about-container, .coming-soon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.about-container video,
.coming-soon-container video {
  width: 90%;
  max-width: 960px;
}
#muteBtn {
  margin-top: 15px;
  background-color: #FF5900;
  color: white;
  border: none;
  padding: 8px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}
#muteBtn:hover {
  background-color: #0F0F0F;
  color: #FF5900;
}

/* --- Contact Page Specific Layout --- */
.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 60px 60px;
  gap: 40px;
}
.contact-left {
  flex: 1;
}
.contact-left video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.contact-right {
  flex: 0.7;
  background-color: #0F0F0F;
  padding: 40px 20px 20px;
  border-radius: 10px;
  margin-top: 60px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row {
  display: flex;
  gap: 10px;
}
.row.full {
  flex-direction: column;
}
input, textarea {
  width: 100%;
  padding: 6px;
  font-size: 11px;
  background: #FFF;
  color: #000;
  border: 2px solid #FF5900;
  border-radius: 5px;
}
textarea {
  resize: none;
  height: 60px;
}
button#connectBtn {
  width: 100%;
  background: #FF5900;
  color: #FFFFFF;
  padding: 7px;
  font-size: 11px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  transition: color 0.3s ease;
}
button#connectBtn:hover {
  background: #0F0F0F;
  color: #FF5900;
}
#formResponse {
  margin-top: 10px;
  font-size: 14px;
}
/* Home Page Video Fix */
.homepage-video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#mainHomeVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Footer */
/* Newsletter Form Fix */
.footer form {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer input[type="email"] {
  padding: 8px;
  font-size: 16px;
  width: auto; /* ✅ No stretching full width */
  max-width: 300px;
}

.footer button {
  padding: 8px 16px;
  background-color: #FF5900;
  color: white;
  border: none;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.footer button:hover {
  background-color: #0F0F0F;
  color: #FF5900;
}

}

.footer input[type="email"] {
  width: 250px;
  max-width: 100%;
}

.footer button {
  width: 150px;
}

.footer {
  background-color: #0F0F0F;
  padding: 20px;
  text-align: center;
}
.footer form {
  margin-bottom: 10px;
}
.footer input {
  padding: 8px;
  font-size: 16px;
}
.footer button {
  padding: 8px 16px;
  background-color: #FF5900;
  color: white;
  border: none;
  font-family: 'Poppins', sans-serif;
}
.footer button:hover {
  background-color: #0F0F0F;
  color: #FF5900;
}
.social-icons a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}
.social-icons a:hover {
  color: #FF5900;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  .contact-main {
    flex-direction: column;
    align-items: center;
  }
  .contact-left video {
    width: 90%;
  }
  .contact-right {
    margin-left: 0;
    margin-top: 20px;
  }
  #thumbnailImage {
    width: 90%;
  }
  .modal-content {
    width: 90%;
    height: auto;
  }
}
/* --- FINAL What We Do Page Fixes --- */
#thumbnailImage {
  max-width: 960px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  margin: 40px auto 0 auto;
  display: block;
  object-fit: cover;
}

#videoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 960px;
  height: 540px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  padding: 0; /* NEW: Remove weird margins causing orange line */
  box-sizing: border-box;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #FF5900;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

#muteToggle {
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #FF5900;
  color: white;
  border: none;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: none;
}

#muteToggle:hover {
  background-color: white;
  color: #FF5900;
}

/* End of What We Do Fixes */

/* Home page video centering fix */
.homepage-video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* full viewport height */
  overflow: hidden;
  background-color: #0F0F0F; /* matches site background */
}

#mainHomeVideo {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}
/* Specific fix for YFDY modal close button line */
#videoModal2 .close::after {
  content: none !important;
  display: none !important;
}

#videoModal2 .close {
  border: none !important;
  box-shadow: none !important;
}
