/* === FONTS === */
@font-face {
  font-family: 'Urbane Medium';
  src: url('./fonts/Urbane-Medium.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Urbane Demi Bold';
  src: url('./fonts/Urbane-Demi-Bold.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

/* === GLOBAL RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  margin: 0;
  font-family: 'Urbane Medium';
  background: #4b3b66;
  color: #ddd;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* === HEADER === */
header {
  padding: 1rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.nav-left {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 5;
}

/* Only center the logo when mobile menu is open */
#header.menu-open .nav-left {
  position: absolute;
  top: 0; /* or whatever spacing you want from top */
  left: 50%;
  transform: translateX(-50%);
}

#header.menu-open .nav-toggle {
  top: 2.5rem; /* same as logo top */
  transform: none;
}

header.menu-open .nav-left {
  top: 1.5rem;
  transform: translate(-50%, 0);
}

.logo img {
  height: 55px;
  display: block;
  object-fit: contain;
}

.nav-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: bold;
  font-size: .8rem;
  padding-bottom: .2rem;
}

.lang-switcher a {
  color: white;
  text-decoration: none;
  position: relative;
}

.lang-switcher a span {
  display: inline-block;
  position: relative;
  padding: 0 2px;
  transition: color 0.3s ease;
}

/* white underline animation */
.lang-switcher a span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

/* hover: green text, white underline */
.lang-switcher a:hover span {
  color: #a1e45d;
}

.lang-switcher a:hover span::after {
  width: 100%;
}

/* active: green text, full underline */
.lang-switcher a.active span {
  color: #a1e45d;
}

.lang-switcher a.active span::after {
  width: 100%;
}

.lang-mobile {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 2rem;
  text-align: center;
}

.lang-mobile a {
  color: white;
  text-decoration: none;
  margin: 0 0.25rem;
  position: relative;
}

.lang-mobile a span {
  display: inline-block;
  position: relative;
  padding: 0 2px;
  transition: color 0.3s ease;
}

/* white underline always */
.lang-mobile a span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white; /* underline stays white */
  transition: width 0.3s ease;
}

/* hover: green text, white underline */
.lang-mobile a:hover span {
  color: #a1e45d; /* green */
}

.lang-mobile a:hover span::after {
  width: 100%;
}

/* active: green text, full underline */
.lang-mobile a.active span {
  color: #a1e45d;
}

.lang-mobile a.active span::after {
  width: 100%;
}
	
.nav-toggle {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  top: 2.5rem;
  right: 2.5rem;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open {
  right: 2.5rem; /* try lowering to 0.75rem or even 0.5rem if it's too far right */
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #fff;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  position: relative;
  padding-bottom: 4px;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links-fr {
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
}

/* === FULLSCREEN MOBILE MENU === */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem 3rem; /* More top/bottom spacing */
  overflow-y: auto;
}

.mobile-menu-overlay {
  background: rgba(50, 40, 68, 0.97); /* brand purple with 85% opacity */
}

.mobile-menu-overlay.show {
  display: flex;
}

.mobile-menu-overlay.show .mobile-menu-links {
  padding-top: 2rem;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.mobile-menu-links li {
  margin: 0;
}

.mobile-menu-links a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.mobile-menu-socials {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.mobile-menu-socials img {
  width: 70px;
  height: auto;
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding-top:2rem;
}

.hero video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.hero-content {
  z-index: 1;
  max-width: 100%;
  position: relative;
  padding-top: 50px;
}

.hero-content h1,
.hero-content h2 {
  line-height: 1.4;
  margin: 1rem 0;
}

.hero-content h1 {
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
}

.hero-content h2 {
  font-size: clamp(1rem, 1.5vw, 2rem);
}

.hero-content h1 span,
.hero-content h2 span {
  display: block;
}

.hero-content iframe {
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
  margin: 0 auto;
}

.hero-content img {
  width: 100%;       /* Make image take full width of container */
  max-width: 500px;  /* But never grow beyond 600px */
  height: auto;      /* Keep aspect ratio */
  display: block;    /* Remove inline gap */
}


/* === CONTENT SECTIONS === */

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #a1e45d;
}


section #work {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #4b3b66; /* fallback color */
}

#work,
#about {
  padding-top: 6rem;
}

#about {
  padding-bottom:4rem;
}

#work {
  padding-bottom:6rem;
}

#partners {
  padding-top:7rem;
  padding-bottom:6rem;
}

#contact {
  padding-top: 7rem;
  padding-bottom:1.5rem;
}

#contact h2, #contact p {
  color: #a1e45d;
}

.work-grid,
.team-grid,
.contact-form {
  width: 70%;
  max-width: 1000px;
  margin: 0 auto;
   padding: 0 2rem; /* Add side padding */
}


.work-item,
.team-member {
  margin-bottom: 2rem;
  text-align: center;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  border: none;
  color: #333;
  font-weight: bold;
  cursor: pointer;
}

.contact-address {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.contact-address img {
  height: 44px;
  padding-top: 4px;
}

footer {
  background: #242028;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .nav-links,
  .social-links {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .lang-switcher {
    display: none;
  }
}

/* === DESKTOP ONLY === */
@media (min-width: 769px) {
  .mobile-menu-overlay,
  .nav-toggle {
    display: none !important;
  }
}

.promise {
  text-align: center;
  font-size: .7rem;
  padding-top:2.5rem;
  padding-bottom:2rem;
}

ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

.no-bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;
  max-width: max-content;
}

.services {
  list-style: none;
  margin: 0 auto;
  padding: 0 6px 0 0;
  text-align: left;
  max-width: max-content;
}

.services li {
  font-size: clamp(1rem, 2vw, 1.75rem);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.emoji {
  display: inline;
  margin-right: 0.5rem;
  line-height: 1;
  font-style: normal;
}


.work-section {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 2rem 1rem 6rem;
}


.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}

.work-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 1200px;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
}



.partners-section {
  position: relative;
  overflow: hidden;
  padding: 0rem 1rem 0;
  text-align: center;
  background-color: #1e1e1e;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


/* Background video and overlay */
.partners-section .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.partners-section .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25); /* helps contrast */
  z-index: 0;
}


/* Foreground content */
.partners-section .partners-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 90%;
  margin: 0;
  padding: 0;
  color: #fff;
}

.partners-section .partners-content h2.section-title {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #a1e45d;
}

.partners-content p {
  padding: 0 0 1rem 0;
  font-size: clamp(.9rem, 2vw, 1.5rem);
}


.logo-grid {
  width: 100%;
  box-sizing: border-box;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  align-items: center;
  justify-items: center;
  width: 100%;
  /* Add min-width so container can’t shrink smaller than 2 columns */
  min-width: 300px; 
}

@media (min-width: 1024px) {
  .logo-grid {
    gap: 3rem;
    max-width: 1400px;
  }
}


.logo-grid img {
  max-width: 140px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.logo-grid img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.logo-grid img:nth-child(6) {
  transform: scale(0.8);
}

.logo-grid img:nth-child(6):hover {
  transform: scale(0.85);
}

.logo-grid img:nth-child(2) {
  transform: scale(0.8);
}

.logo-grid img:nth-child(2):hover {
  transform: scale(0.85);
}

.logo-grid img:nth-child(7) {
  transform: scale(0.85);
}

.logo-grid img:nth-child(7):hover {
  transform: scale(0.9);
}


.about-section {
  position: relative;
  overflow: hidden;
  /* Optionally set a min-height or use content-based height */
}

.about-section .bg-video,
.about-section .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-section .bg-video {
  object-fit: cover;
  z-index: 0; /* Background layer */
}

.about-section .bg-overlay {
  background: rgba(0, 0, 0, 0.2); /* Helps text stand out */
  z-index: 1;
}

.about-section .about-content {
  position: relative;
  max-width: 60%;
  width:60%;
  z-index: 2; /* Brings text above video */
  padding: 1rem 1rem;
  color: #fff; /* Or whatever text color works for contrast */
}

.about-section .about-content {
  margin: 0 auto;
}

.about-content p {
  padding: 0 0 1rem 0;
  font-size: clamp(.9rem, 1.5vw, 1.25rem);
}

.about-section .about-content {
    padding-bottom: 3rem;
  }

.about-images {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.about-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 auto;
}

.about-person img {
  flex: none;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  min-width: 120px;
}

.caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
  font-style: italic;
}

/* Default overlay — already at 0.25 */
.bg-overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* More transparency for About section */
.about-section .bg-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.contact-form {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    font-size: 1rem;
}

.contact-section .contact-content {
  padding: 0rem 1rem;
}

.contact-section .contact-content .section-title {
  font-size: 2rem;
  margin-bottom: .5rem;
  text-align: center;
  color: #a1e45d;
}

.contact-form {
  width: 95%;
  max-width: 600px;
  margin: 2rem auto 0;
}

.contact-form .name-row {
  display: flex;
  gap: 1rem;
}

.contact-form .name-row label {
  flex: 1;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form textarea {
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, #6dd6b7, #a1e45d);  /* default gradient */
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #a1e45d, #6dd6b7);  /* hover reverses the gradient */
}

.reel-video {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border: none;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  background: black;
  outline: none;
}


.custom-video-wrapper {
  position: relative;
  max-width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto;
}

.custom-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.play-btn {
  position: absolute;
  top: 51%;
  left: 50.12%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 3rem;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 10;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.75);
}

.privacy {
  padding: 5px;
}

.privacy a {
  color: #666;
}

.work-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Adjust transparency here */
  z-index: 0;
}

.work-section {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(270deg, #A1E45D, #4B3B66);
  background-size: 400% 400%;
  animation: animatedGradient 8s ease infinite;
  z-index: 0;
}

/* Animate the background position */
@keyframes animatedGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.work-content {
  position: relative;
  z-index: 1;
}



/* === MEDIUM VIEW === */

@media (max-width: 768px) {

.partners-section {
  min-height: 60vh;
}


}



/* === MOBILE VIEW === */


@media (max-width: 480px) {

.partners-section {
  min-height: 100vh;
}

  .logo-grid img {
    max-width: 90px; /* Smaller than the default 140px */
  }


#work, #about, #contact {
  padding-top:6rem;
}

#work {
  padding-bottom:4rem;
}

#partners {
  padding-top:6rem;
  padding-bottom:6rem;
}

.contact-section .contact-content {
  padding: 0 1rem;
}
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .work-content {
    padding: 0 0rem 2rem;
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
  }

  .work-section {
    height: auto; /* Let the wrapper define the height */
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	padding: 0;
  }
  .about-content {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .about-section {
    height: auto; /* Let the wrapper define the height */
    padding-top: 1rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

.about-section .about-content {
  position: relative;
  width: 100%;
  max-width: 90%;
  z-index: 2; /* Brings text above video */
  padding: 0 1rem;
  color: #fff; /* Or whatever text color works for contrast */
}

.about-content p {
    padding: 0 0 1rem 0; /* Remove side padding that was pushing inwards */
  }

.hero {
  padding-top:0;
}

  .hero-content {
    padding-top: 0px;
  }

.promise {
  padding-top:2rem;
  padding-bottom:2rem;
}

}



header .header-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.025);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(3, 3, 3, 0.1);
  z-index: 0;
}

/* When the menu is open, nudge it down */
body.menu-open header .header-bg {
  top: 4.4rem; /* Or adjust slightly if needed */
}

body.menu-open header img {
  margin-top: .75rem;
}
