@font-face {
  font-family: "RenaultGroup-Book";
  src: local("RenaultGroup Book"), local("RenaultGroup-Book"),
    url("../assets/fonts/RenaultGroup-Book.woff2") format("woff2"),
    url("../assets/fonts/RenaultGroup-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "RenaultGroup-Book", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden !important;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.translating {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Navigation */
nav {
  background: #000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.logo svg {
  width: 24px;
  height: 24px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 0.7;
}
.lang-selector-wrapper {
  position: relative;
}
.lang-selector {
  background: transparent;
  color: #333;
  padding: 0.5rem 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-width: 80px;
  font-size: 0.9rem;
  font-family: inherit;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-selector:hover {
  border-color: #666;
}
.lang-selector.active {
  border-color: #666;
}
.lang-selector .selected-lang {
  font-size: 0.95rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-selector .lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1000;
}
.lang-selector.active .lang-dropdown {
  display: block;
}
.lang-selector .lang-option {
  padding: 0.75rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
}
.lang-selector .lang-option:hover {
  background: #796f66;
  color: #fff;
}
.lang-selector .lang-option:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}
.profile-selector {
  border: 1px solid #000000;
  color: #333;
  padding: 1rem 2.5rem 1rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  background-image: url("../assets/Img/svg/arrow-down-2.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.profile-selector:hover {
  border-color: #666;
}
.profile-selector .selected-profile {
  color: #333;
  display: block;
  min-height: 1.2em;
}
.profile-selector .profile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 0.25rem;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.profile-selector.active .profile-dropdown {
  display: block;
}
.profile-selector .profile-option {
  padding: 1rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  background: #f5f5f5;
}
.profile-selector .profile-option:hover {
  background: #796f66;
  color: #fff;
}
.profile-selector .profile-option:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}
/* Responsive profile selector for mobile */
@media (max-width: 768px) {
  .profile-selector {
    font-size: 0.9rem;
    padding: 1rem 10rem 1rem 1rem;
    min-width: 0;
    width: 100%;
  }
  .profile-selector .profile-dropdown {
    left: 0;
    right: 0;
    min-width: unset;
  }
  .profile-selector .profile-option {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  max-width: 800px;
}
.hero-btn {
  background: #978b7f;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-btn:hover {
  background: #796f66;
}

/* About Section */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0rem 2rem;
  max-width: 92rem;
  margin: 0 auto;
  align-items: start;
  background-color: transparent;
  min-height: 30rem;
  position: relative;
}
.about-content {
  position: relative;
  z-index: 10;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #000;
  font-weight: 700;
  line-height: 1.2;
}
.about-content h3 {
  font-size: 1.5rem;
  margin: 3rem 0 1.5rem;
  color: #000;
  font-weight: 600;
}
.about-content p {
  color: #333;
  line-height: 1.8;
}
.about-content p:nth-of-type(3) {
  margin-bottom: 2rem;
}
.about-btn {
  background: #978b7f;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.3s;
}
.about-btn:hover {
  background: #796f66;
}
.lang-fr .about-btn {
  margin-top: 1rem;
}
.about-image {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
}

.union-img-about {
  width: 200%;
  height: auto;
  border-radius: 8px;
  opacity: 0.5;
}


.features {
  background: #000;
  color: #fff;
  margin-top: -32rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: 4.5rem 3.1rem;
}
.features::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/Img/homeBkgImg.png") center/cover;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}
.features h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 2;
}
.features-grid {
  /* display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; */
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3.1rem;
}
.feature-item {
  /* padding: 0.5rem; */
  position: relative;
  z-index: 2;
}
.feature-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 0.5rem; */
}
.feature-highlight {
  color: #ffd100;
}

/* Multimarques Section */
.multimarques {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0rem 2rem;
  max-width: 92rem;
  margin: 0 auto;
  align-items: start;
  background: transparent;
  min-height: 30rem;
  position: relative;
  margin-bottom: 4rem;
}
.multimarques-content h2 {
  font-size: 2.5rem;
  color: #000;
  font-weight: 700;
  line-height: 1.2;
}
.multimarques-content p {
  color: #333;
  line-height: 1.8;
}
.multimarques-btn {
  background: #978b7f;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.3s;
}
.multimarques-btn:hover {
  background: #796f66;
}
.multimarques-image {
  position: absolute;
  width: 50%;
  right: -15%;
  bottom: -15%;
  /* overflow: hidden; */
}
.union-img-multimarques {
  object-fit: cover;
  opacity: 0.5;
  /* overflow-x: hidden; */
}
/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
  z-index: 10;
  display: flex;
  justify-content: space-between;
}

/* Section visibility */
.page-section {
  display: none;
}
#home.page-section.active {
  display: flex !important;
  flex-direction: column !important;
  gap: 4.5rem;
  flex: 1;
}
.page-section.active {
  display: block;
  max-width: 100vw;
  flex: 1;
  overflow: hidden;
}

/* Tutorial Section */
.tutorial-section {
  background: #f5f5f5;
  padding: 4.5rem 2rem;
}
.tutorial-container {
  max-width: 92rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}
.tutorial-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #000;
  font-weight: 700;
  line-height: 1.2;
}
.tutorial-content p {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}
.tutorial-content strong {
  color: #000;
  font-weight: 600;
}
.tutorial-image {
  position: relative;
  background: transparent;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tutorial-image img {
  width: 100%;
  border-radius: 4px;
}
.tutorial-image video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.ticket-section {
  margin-top: 3rem;
}
.ticket-section .tutorial-image {
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ticket-section .tutorial-image video {
  width: auto;
  height: auto;
  max-width: 52%;
  max-height: 100%;
  display: block;
}
.ticket-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 2rem 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

.faq-section a, .tutorial-section a{
  color: #000000;
  text-decoration: underline;
  font-weight: 600;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.faq-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.search-box input {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 24px;
  font-size: 1rem;
}
.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.faq-card {
  background: #f5f5f5;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.faq-card.hidden {
  display: none;
}
.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #000;
  font-weight: 700;
  line-height: 1.4;
}
.faq-card p {
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.faq-card p:last-of-type {
  margin-bottom: 1.5rem;
}
.faq-btn {
  background: #978b7f;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}
.faq-btn:hover {
  background: #796f66;
}
.faq-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 3rem 0;
}
.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1rem;
  display: none;
}
.no-results.show {
  display: block;
}

/* Form Section */
.form-section {
  padding: 3rem 2rem 6rem 2rem;
  max-width: 70rem;
  margin: 0 auto;
  background: #fff;
}
.price-tag p {
  font-size: 0.9rem;
  color: #333;
  display: inline;
}
.price-tag .price {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  display: inline;
}

.order-form {
  background: transparent;
  padding: 0;
}
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.row-2 {
  grid-template-columns: 1fr 1fr;
}
.form-row.row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  margin-bottom: 2rem;
  margin-right: 50rem;
}
.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 0.9rem;
  color: #999;
  transition: all 0.2s ease;
  pointer-events: none;
  background: #fff;
  padding: 0 0.3rem;
  z-index: 1;
}
.form-group .profile-selector + label {
  pointer-events: none;
}
.form-group .profile-selector.selected + label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid #000000;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
  border: 1px solid #ccc;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field-enabled {
  background-color: #f5f5f5;
}
.form-field-disabled {
  background-color: #f0f0f0;
}

/* Disabled-field hint */
/* ...existing code... */
.form-group input:focus,
.form-group input:not(:placeholder-shown),
.form-group select:focus,
.form-group textarea:focus,
.form-group textarea:not(:placeholder-shown) {
  outline: none;
  border-color: #666;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}
.form-group select {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M1 1l5 5 5-5"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color: #333;
  cursor: pointer;
}
.form-group select option {
  color: #333;
}
.form-group select:focus {
  border-color: #666;
}

/* Field hints and character counter */
.field-hint {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
  font-style: italic;
}
.char-counter {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}

.required-fields-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.submit-btn {
  background: #978b7f;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}
.submit-btn:hover {
  background: #796f66;
}
.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.submit-btn:disabled:hover {
  background: #978b7f;
}

/* Loader */
.loader {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}
.loader.show {
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.submit-btn.loading {
  pointer-events: none;
}
.submit-btn.loading .btn-text {
  opacity: 1;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 101;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 426px) {
  .burger-menu {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #000;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    gap: 1.5rem;
    display: none; /* Initially hidden */
  }

  .nav-links.nav-active {
    transform: translateY(0);
    display: flex; /* Show when active */
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .about,
  .multimarques {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .about {
    min-height: auto;
  }
  .features {
    margin-top: 0;
  }
  .about-image {
    position: relative;
    width: 100%;
    right: 0;
    bottom: 0;
  }
  .union-img-about {
    width: 180%;
  }
  .video-thumbnail-container {
    width: 70%;
    top: 10%;
    right: 10%;
  }
  .ticket-section .tutorial-image video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
  }
}

@media (max-width: 1444px) and (min-width: 1025px) {
  .features {
    margin-top: 0;
  }
  .about {
    min-height: auto;
  }
  .union-img-about {
    width: 160%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about,
  .multimarques {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 2rem;
    min-height: auto;
  }
  .about-content {
    order: 1;
    z-index: 10;
    position: relative;
  }
  .about-image {
    width: 100%;
    height: auto;
    position: relative;
    right: 0;
    order: 2;
    opacity: 1;
    margin-top: 2rem;
  }
  .union-img-about {
    width: 100%;
    display: none;
  }
  .video-thumbnail-container {
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    margin-bottom: 1.5rem;
    padding: 12px;
  }
  .features {
    margin-top: 0;
    padding: 3rem 1.5rem;
  }
  .multimarques-content {
    order: 1;
    z-index: 10;
    position: relative;
  }
  .multimarques-image {
    width: 200%;
    z-index: 1;
    right: unset;
    bottom: -1rem;
    opacity: 0.9;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.8rem;
    display: flex; /* Ensure it's flex on desktop */
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .tutorial-container {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-box {
    max-width: 100%;
  }
  .form-row,
  .form-row.row-2,
  .form-row.row-3 {
    grid-template-columns: 1fr;
  }
  .order-form {
    padding: 2rem 1.5rem;
  }
  .union-img-about {
    width: 100%;
    height: auto;
    margin: 0;
    right: 0;
    border-radius: 8px;
    opacity: 0.3;
  }
  .union-img-multimarques {
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    opacity: 0.3;
  }

  .lang-selector-wrapper {
    position: relative;
  }
  .lang-selector {
    min-width: 0;
  }
  .lang-selector .lang-dropdown {
    width: 5rem;
    left: -2rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .ticket-section .tutorial-image video {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 100%;
  display: block;
}
.tutorial-section {
  background: #f5f5f5;
  padding: 1.5rem 0.3rem;
}
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 40px 30px 30px;
  border: 1px solid #ddd;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-content p {
  font-size: 1.1rem;
  color: #333;
  margin: 20px 0 30px;
  line-height: 1.6;
}

.popup-ok-btn {
  background: #978b7f;
  color: #fff;
  padding: 0.75rem 3rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.popup-ok-btn:hover {
  background: #796f66;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* Video Thumbnail and Overlay Styles */
.video-thumbnail-container {
  position: absolute;
  width: 98%;
  height: auto;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  top: 13%;
  left: 3%;
  z-index: 2;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  aspect-ratio: 16/9;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.video-thumbnail-container:hover .play-button-overlay {
  opacity: 1;
}

.play-button-overlay svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.video-thumbnail-container:hover .play-button-overlay svg {
  transform: scale(1.1);
}

/* Video Overlay Modal Styles */
.video-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-overlay.active {
  display: flex;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 10001;
  line-height: 1;
}

.close-btn:hover {
  color: #ccc;
}

.video {
  width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  display: block;
}

/* Mobile Responsive Styles for Video */
@media (max-width: 480px) {
  .about {
    padding: 1.5rem 1rem;
    min-height: auto;
  }
  
  .about-content h2 {
    font-size: 1.8rem;
  }
  
  .about-image {
    width: 100%;
    margin-top: 1.5rem;
  }
  
  .union-img-about {
    display: none;
  }
  
  .video-thumbnail-container {
    padding: 8px;
    border-radius: 8px;
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
  }
  
  .features {
    margin-top: 0;
    padding: 2.5rem 1rem;
  }
  
  .play-button-overlay svg {
    width: 60px;
    height: 60px;
  }
  
  .video-container {
    width: 95%;
  }
  
  .close-btn {
    top: 10px;
    right: 10px;
    font-size: 32px;
  }
  
  .video {
    max-height: 60vh;
  }
}

@media (max-width: 770px) {
  .video-thumbnail-container {
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    margin-bottom: 1.5rem;
    padding: 12px;
  }

  .play-button-overlay {
    opacity: 0.8;
  }
  
  .close-btn {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 36px;
    height: 36px;
  }
}