.urbanist-400 {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight:400;
    font-style: normal;
  }
  .tinos-regular {
    font-family: "Tinos", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .tinos-bold {
    font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .tinos-regular-italic {
    font-family: "Tinos", serif;
    font-weight: 400;
    font-style: italic;
  }
  .zain-extralight {
    font-family: "Zain", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .zain-light {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .zain-regular {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .zain-bold {
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .zain-extrabold {
    font-family: "Zain", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .zain-black {
    font-family: "Zain", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .zain-light-italic {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .zain-regular-italic {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  .tinos-bold-italic {
    font-family: "Tinos", serif;
    font-weight: 700;
    font-style: italic;
  }
  
:root {
  --color-bg: #f5f1eb;
  --color-primary: #bfa17a;
  --color-dark: #111;
  --color-light: #fff;
  --spacing: 1.5rem;
  --max-width: 1200px;
}
html {scroll-behavior: smooth;}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background: #555555; color: var(--color-dark); }
a { color: inherit; text-decoration: none; }
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.nav.container {width: 100%;}
/* Navigation */
nav {
  /* background: var(--color-light); */
  padding: var(--spacing);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  
  width: 100%!important;
  
  
}
.nav-links {
  display: flex;
  gap: var(--spacing);
  align-items: center;
  font-size: 1.2rem;
}
.lang-switcher select {
  border: none;
  color:#A88764;
  padding: 0.5rem;
  border-radius: 4px;
  background: transparent;
  color: #A88764;
}

/* Hero */
.hero {
  position: relative;
  height: 110vh;
  overflow: hidden;
  margin-top: -185px;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
#about {
  padding: var(--spacing) 0;
  background-color:#555555;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing);
  align-items: center;
}
.about .content h2 {
  margin-bottom: 0;
  /* color: var(--color-dark); */
  font-size:1.9rem;
  /* color:#333333 */
}
.about .content h2 small {
  display: block;
  font-size: 1rem;
}
.register-title {
  font-size:1.9rem; color:rgb(145, 118, 97) ; margin:2.5rem 0; margin-bottom:0;
}
.about .content h3, h3 {
  /* margin-bottom: 1rem; */
  /* color: var(--color-dark); */
  font-size:1.2rem;
  line-height: 1;
  /* color:#333333 */
  margin-bottom: 1rem;
  font-weight: normal;
}
.about .image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.about .content .about-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgb(145, 118, 97);
    color: var(--color-light);
    font-size: 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .about .content .about-button:hover {
    background: #A88764; /* a slightly darker shade of your gold */
  }
/* Venue Section */
#venue {
  background: url('bg.png') center/cover no-repeat;
  color: var(--color-light);
  text-align: center;
  padding: 4rem 0;
}
#venue h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#partners h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #8F6F50;
  }

/* Partners */
#partners {
  background:#fff;
  padding: 7% 0;
  text-align: center;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing);
  justify-content: center;
  align-items: center;
}
.partners-logos img {
  max-height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.partners-logos img:hover { opacity: 1; }

/* Register Form */
#register {
  background: var(--color-light);
  padding: var(--spacing) 0;
}
.register-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.register-form input,
.register-form select,
.register-form button {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.register-form button {
  background: var(--color-primary);
  color: var(--color-light);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.register-form button:hover {
  background: darken(var(--color-primary), 10%);
}

/* Footer */
footer {
  background: #fff;
  color: rgb(145, 118, 97);
  padding: var(--spacing);
  text-align: center;
}
.social-icons {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.social-icons i {
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s;
}
  
  /* Flex container */
  .footer-container {
    display: flex;
    justify-content: space-between; /* copy left, socials right */
    align-items: center;
    padding: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  /* Social icons stay as before */
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  .social-icons i {
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.3s;
  }
  .social-icons i:hover {
    color: var(--color-primary);
  }
  
  /* (Optional) Stack on mobile */
  @media (max-width: 576px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 0.75rem;
    }
  }
.social-icons i:hover { color: var(--color-primary); }
.hero {
    position: relative;
    overflow: hidden;
  }
  
  /* make sure the video is at the back */
  .hero video {
    position: relative;
    z-index: 0;
  }
  
  /* gradient overlay */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* adjust the rgba to match your nav/bg color */
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,     /* opaque at very top */
      rgba(0, 0, 0, 0.0) 90%     /* fully transparent by 30% down */
    );
    pointer-events: none; /* let clicks pass through */
    z-index: 1;           /* sits above video but below nav */
  }
  #mainNav {
    /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
    background: transparent;
    /* transition: background 0.3s ease, box-shadow 0.3s ease; */
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  }

  #mainNav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

 
  /* Scrolled state */
  #mainNav.scrolled {
    background:rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color:#A88764;
  }
  #mainNav.scrolled a {
    color: #A88764; /* Change link color when scrolled */
  }
  .hero-logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* tweak size as needed */
    width: 320px;
    z-index: 2;
  }

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

  .cover-content .logo {
    width: 320px;
    margin-bottom: 1rem;
  }

  .cover-content .slogan {
    color:#e7d9b5;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 1.5rem
  }

  .cover-content .event {
    display: flex;
    align-items: center;
    /* option A: tightly spaced, centered */
    gap: 2rem;
    justify-content: center;
  
    z-index: 2;
    color:#D5CABD;
    font-size: 1.25rem;
    /* text-shadow: 2px 2px 12px #000000; */
  }

  .cover-content .event > * {
    /* width: 50%;  */
    flex: none;
  }

  .cover-content .event .event-date,
  .cover-content .event .event-location {
    margin: 0;  /* reset default p margins */
    font-weight: 600;
  }
  
  /* optional finer control */
  .cover-content .event .event-date { font-size: 1rem; text-align: right; }
  .cover-content .event .event-location { font-size: 1rem; opacity: .9; text-align: left; }

  .hero-content {
    position: absolute;
    top: 58%;               /* or wherever you like it */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    /* option A: tightly spaced, centered */
    gap: 2rem;
  
    z-index: 2;
    color:#D5CABD;
    font-size: 1.25rem;
    text-shadow: 2px 2px 12px #000000;

  }
  .hero-slogan {
    position: absolute;
    top: 50%;               /* or wherever you like it */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    /* option A: tightly spaced, centered */
    z-index: 2;
    color:#e7d9b5;
    font-size: 2rem;
    font-weight: bold;
    text-transform: capitalize;

  }
  .hero-content .event-date,
  .hero-content .event-location {
    margin: 0;  /* reset default p margins */
    font-weight: 600;
  }
  
  /* optional finer control */
  .hero-content .event-date { font-size: 1rem; text-align: right; }
  .hero-content .event-location { font-size: 1rem; opacity: .9; }
  
  /* style + animate the CTA button */
  .hero .cta-button {
    bottom: 15%;              /* or whatever vertical offset you like */
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 2rem;
    background: var(--color-primary);
    color: var(--color-light);
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    z-index: 2;
    /* gentle pulse/bounce animation */
    animation: bounce 3s ease-in-out infinite;
  }
  
  /* keyframes for a soft bounce */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(-10px);
    }
    60% {
      transform: translateX(-50%) translateY(-5px);
    }
  }
  .about p {
    font-size: 1.2rem;
    /* color:#333333; */
  }
  /* Reset any section padding/margin */
#register {
    margin: 0;
    padding: 0;
  }
  
  /* Full-width two-column grid */
  #register .register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;       /* stretch entire viewport width */
    max-width: 100%;
    margin-left: calc(-50vw + 50%); /* center the full-width grid */
  }
  
  /* Left half = full-height image */
  #register .register-image {
    /* background: url('register.jpg') center/cover no-repeat; */
    width: 100%;
    min-height: 400px;  /* adjust as needed */
  }
  
  /* Right half = centered form, no extra white borders */
  #register .register-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing);
    background: rgba(255, 255, 255, 0.7);
  }

  #register {
    background:url(bg2.jpeg) top no-repeat;
    background-size: cover;
  }
  
  /* Keep your form styles */
  .register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .register-form input,
  .register-form select,
  .register-form button {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  .register-form button {
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  .register-form button:hover {
    background: #A88764;
  }
  /* make the form a 2-column grid */
.my-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;               /* space between fields */
  }
  
  /* have your h2 span both columns */
  .my-form .form-heading {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  /* each .form-group is now one grid cell */
  .my-form .form-group {
    display: flex;
    flex-direction: column;
  }

  .my-form .form-group select{
   color:rgb(145, 118, 97)
  }
  
  /* let the submit button span both columns */
  .my-form .my-reg-btn {
    grid-column: 1 / -1;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
  }
  
  /* collapse to single-column on small screens */
  @media (max-width: 768px) {
    .my-form {
      grid-template-columns: 1fr;
    }
  }
  /* Mobile: stack into one column */
  @media (max-width: 768px) {
    #register .register-grid {
      grid-template-columns: 1fr;
      margin-left: 0; /* undo centering hack */
      width: 100%;
    }
  }
  /* Form element reset + base */
.my-form label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color:rgb(145, 118, 97);
    ;
  }
  .my-form input,
  .my-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .my-form ::placeholder {
    color: #aaa;
  }
  
  /* Focus state */
  .my-form input:focus,
  .my-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(191,161,122,0.2);
  }
  
  /* Adjust button styling for consistency */
  .my-form .my-reg-btn {
    grid-column: 1 / -1;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    background: rgb(145, 118, 97);
    color: var(--color-light);
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease, transform 0.2s ease;
  }
  .my-form .my-reg-btn:hover {
    background: #A88764;
    transform: translateY(-2px);
  }
  .my-form .my-reg-btn:active {
    transform: translateY(0);
  }
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  /* when scrolled into view */
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  /* 1) make #about a positioning context */
#about {
  position: relative; /* you already set inline, just ensure it */
  color:#D5CABD!important;
}

/* 2) add a left→transparent gradient overlay */
#about::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80%;       /* covers first half */
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0)   100%
  );
  z-index: 1;
}

/* 3) lift your text above it */
#about .container.about,
#about .content {
  position: relative;
  z-index: 2;
}
.about .content p {
  line-height: 1.2;
  margin-bottom: 1rem;
}
#about { position: relative;
  padding: 7% 0;
  background: url('fabric-bg.jpg') center/cover no-repeat;}
  /* Responsive: ensure 2-per-row stays intact */
.mobile-about-visual {
  display: none;
}
  @media (max-width: 768px) {
    .my-form {
      grid-template-columns: 1fr !important;
    }
  }
/* Responsive */
@media (max-width: 768px) {
  .about { grid-template-columns: 1fr; }
  nav { flex-direction: column; gap: var(--spacing); }
  .hero { margin-top:-170px; height: 100vh;}
  #register .register-image {min-height: 0;}
  #about { background-position: right;}
  .cover-content .event {
    flex-direction: column;     /* stack items vertically */
    gap: 1rem;                  /* tighten the spacing if you like */
    /* optionally center-align each row: */
    align-items: center!important;
    text-align: center!important;
  }
  .cover-content .event .event-date, .cover-content .event .event-location {
    text-align: center;
  }

  .about p {
    font-size: 1rem;
    /* color:#333333; */
  }

  #about {
    /* background: none; */
    background: url('about-bg.jpg') center/cover no-repeat;
    padding: 0;
    padding-bottom: 7px;
  }

  /* full-width image */
  .mobile-about-visual {
    position: relative;
    width: 100%;
    height: 490px;           /* tweak height as needed */
    overflow: hidden;
    display: block;
  }
  .mobile-about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* subtle fade at top */
  .mobile-gradient {
    /* position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0)   100%
    ); */
  }

  #about::before {
    display: none;
  }

  /* pull your text up over the image */
  .container.about {
    background: rgba(255, 255, 255, 0.7);
    margin: -70px auto 2rem;   /* negative top-margin to overlap */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 90%;
    color:rgb(145, 118, 97);
  }
}

.form-message {
  display: none; 
  /* display: flex; */
  text-align: center;
  line-height: 1.5;
  flex-direction: column;
  align-items: center;      /* center children horizontally */
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color:rgb(145, 118, 97);
  margin-bottom: 2rem;
}
.form-message.show {
  display: flex;           /* reveal when you add .show */
}
.form-message p {
  margin-bottom: 0.5rem;
}
.hidden {
  display: none !important;
}
/* Centering container already handled by .form-message */

/* SVG wrapper, size as needed */
.checkmark {
  width: 48px;
  height: 48px;
}

/* Animate only the check path */
.checkmark__check {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* approximate path length */
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: draw-check 1s ease-out forwards;
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}
/* iOS / WebKit: remove the big “play” button */
#heroVideo::-webkit-media-controls-start-playback-button,
#heroVideo::-webkit-media-controls {
  display: none !important;
}