html {
  scroll-behavior: smooth;
}
 .header {
      background-image: url("../images/IMG_3382_.jpg"); /* Local path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh; /* Or any preferred height */
    }
.lhs_logo{
    margin: 0 auto;
}

.lhs_logo img {
  max-width: 150px;
  height: auto;
}

.header_image .col-sm-5 {
    background-color: #12234F; 
    opacity: 80%;
    border-radius: 10px;
    padding: 60px;
    margin: 180px 0 0 40px;
   display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical center */
  align-items: center;     /* Horizontal center */
  text-align: center;
}

.header_mob{
    display: none;
}
.header_image_mob .col-sm-7 {
    background-color: #12234F; 
    opacity: 80%;
    padding: 60px;
  justify-content: center; /* Vertical center */
  align-items: center;     /* Horizontal center */
  text-align: center;
    width: 100%;
}

#our-story{
    justify-content: center;
  align-items: center;     /* Horizontal center */
  text-align: center;
    margin-top: 30px;
}

.os_img img{
    max-width: 120px;
    height: auto;
}

.os_date{
    margin-top: 10px;
}
.os_date h1{
    color: #12234F;
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
}
.os_header{
    margin-top: 20px;   
}

.os_header h1{
    font-family: "Niconne", cursive;
    color: #12234F;
    font-weight: 400;
}
.os_header h1::after {
  content: "";
  display: block;
  width: 150px;               /* You can adjust this */
  height: 1px;               /* Thickness of the underline */
  background-color: #F77E20; /* Underline color */
  margin: 8px auto 0;       /* Top space from the text */
  border-radius: 1px;        /* Optional: rounded edges */
}

#mtt{
    width: 85%;
    margin: auto;
    margin-top: 30px;
    text-align: center;
}

.mtt_header{
    margin-top: 20px;
}

.mtt_header h1{
    font-family: "Niconne", cursive;
    color: #12234F;
    font-weight: 400;
}

.mtt_header h1::after {
  content: "";
  display: block;
  width: 240px;               /* You can adjust this */
  height: 1px;               /* Thickness of the underline */
  background-color: #F77E20; /* Underline color */
  margin: 8px auto 0;       /* Top space from the text */
  border-radius: 1px;        /* Optional: rounded edges */
}

#gallery{
    width: 85%;
    margin: auto;
    margin-top: 40px;
    text-align: center;
}

#venue{
    width: 75%;
    margin: auto;
    margin-top: 40px;
    text-align: center;
}

#footer{
    width: 75%;
    margin: auto;
    margin-top: 60px;
    text-align: center;
}

.footer_img img{
    max-width: 95px;
    height: auto;
    
}

.footer_right{
    margin-top: 20px;
}
.footer_right h1{
    color: #000000;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
}
#polls{
    margin: auto;
    margin-top: 40px;
    text-align: center;
    color: #fff;
      padding: 40px 20px;
      display: flex;
      justify-content: center;
    background-color: #12234F;
}

.gallery_header{
    margin-top: 20px;
}

.gallery_header h1{
    font-family: "Niconne", cursive;
    color: #12234F;
    font-weight: 400;
}

.gallery_header h1::after {
  content: "";
  display: block;
  width: 150px;               /* You can adjust this */
  height: 1px;               /* Thickness of the underline */
  background-color: #F77E20; /* Underline color */
  margin: 8px auto 0;       /* Top space from the text */
  border-radius: 1px;        /* Optional: rounded edges */
}

.venue_header{
    margin-top: 20px;
}

.venue_header h1{
    font-family: "Niconne", cursive;
    color: #12234F;
    font-weight: 400;
}

.venue_header h1::after {
  content: "";
  display: block;
  width: 150px;               /* You can adjust this */
  height: 1px;               /* Thickness of the underline */
  background-color: #F77E20; /* Underline color */
  margin: 8px auto 0;       /* Top space from the text */
  border-radius: 1px;        /* Optional: rounded edges */
}

.poll-container p{
    font-size: 14px;
    font-family: "DM Sans", sans-serif;
    font-weight: 200;
    margin-top: 30px;
    letter-spacing: 3px;
}

.poll-container h1{
    font-family: "Niconne", cursive;
    color: #FFFFFF;
    font-weight: 400;
}

.poll-container h1::after {
  content: "";
  display: block;
  width: 300px;               /* You can adjust this */
  height: 1px;               /* Thickness of the underline */
  background-color: #F77E20; /* Underline color */
  margin: 8px auto 0;       /* Top space from the text */
  border-radius: 1px;        /* Optional: rounded edges */
}

.os_story p{
   color: #12234F;
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
}

.os_story{
  max-width: 800px;       /* Keeps content readable */
  margin: 0 auto;         /* Centers it horizontally */
  padding: 20px;          /* Optional: Adds breathing space */
  font-size: 1.1rem;      /* Optional: Improve readability */
  line-height: 1.7;       /* Optional: Better spacing */
  text-align: justify;    /* Optional: Aligns paragraph edges */
}

.gallery_rhs{
   padding: 2rem;
    background-color: #F4F4F3;
    color: #12234F;
    text-align: left;
   min-height: 100%;
}

.gallery_rhs h3{
    font-family: "Niconne", cursive;
    color: #12234F;
    font-weight: 400;
    font-size: 40px;
    position: relative;
    display: inline-block;
}

.gallery_rhs h3::after {
  content: "";
  display: block;
  width: 120px;              /* You can adjust this */
  height: 1px;               /* Thickness of the underline */
  background-color: #F77E20; /* Underline color */
  margin-top: 8px ;          /* Top space from the text */
  border-radius: 1px;        /* Optional: rounded edges */
}

.gallery_rhs p{
   font-family: "DM Sans", sans-serif;
    line-height: 30px;
    margin-top: 20px;
    
}
.lhs_header{
    margin-top: 40px;
}
.lhs_header h1{
    font-family: "Niconne", cursive;
    color: #ffffff;
    font-size: 25px;
}

.sign_btns a{
    text-decoration: none;
    color: #bfbfbf;
    padding-left: 30px;
}

.form-inline a{
    text-decoration: none;
    color: #bfbfbf;
}
.head-part-container{
    margin-top: 70px;
}

.sign_btns{
    float: right;
    margin-top: 30px;
    margin-right: 60px;
    border: 1px solid #000000;
    border-radius: 50px;
    background-color: #ffffff;
    font-family: "DM Sans", sans-serif;
}

.sign_btns a {
    color: #000000;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}
/* Countdown Styling */
#countdown {
  font-family: "Notable", sans-serif;
  font-weight: 400;
    color: #F77E20;
    font-size: 25px;
    margin-top: -10px;
}

#countdown_mob {
  font-family: "Notable", sans-serif;
  font-weight: 400;
    color: #F77E20;
    font-size: 25px;
    margin-top: -10px;
}
hr{
    width: 85%;
    margin: 0 auto;
    padding-bottom: 20px
}
.navbar-toggler-icon {
  display: none; /* Hide Bootstrap’s default icon */
}
.carousel-wrapper {
    position: relative;
  }
.carousel-nav-btn {
  border: 2px solid #12234F;
  background-color: #F4F4F4;
  color: #12234F;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel-nav-btn .carousel-control-prev-icon,
.carousel-nav-btn .carousel-control-next-icon {
  filter: invert(18%) sepia(26%) saturate(1484%) hue-rotate(206deg) brightness(94%) contrast(91%);
}

  .carousel-toggle-btn {
    background-color: #F4F4F4;
    border: 2px solid #12234F;
    color: #12234F;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    border-radius: 30px;
    cursor: pointer;
  }

  .carousel-toggle-btn.active {
    background-color: #F77E20;
    color: white;
  }


.arrow-btn {
  width: 40px;
  height: 40px;
  background-color: #F4F4F4;
  color: #12234F;
  border: 1px solid #12234F;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.arrow-btn:hover {
  background-color: #e0e0e0;
}

.carousel-item {
  max-height: 60vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes sure the full image fits without cropping */
}
.masonry-gallery {
  column-count: 3;
  column-gap: 0.5rem;
}

.gallery-toggle-btn.active {
  background-color: #F77E20;
  color: white;
}

.gallery-toggle-btn {
    background-color: #F4F4F4;
    border: 2px solid #12234F;
    color: #12234F;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    border-radius: 30px;
    cursor: pointer;
  }

.venue-toggle-btn.active {
  background-color: #F77E20;
  color: white;
}

.venue-toggle-btn {
    background-color: #F4F4F4;
    border: 2px solid #12234F;
    color: #12234F;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    border-radius: 30px;
    cursor: pointer;
  }
 .masonry-gallery a {
      break-inside: avoid;
      display: block;
      margin-bottom: 1rem;
    }


.poll-container {
      width: 100%;
      max-width: 600px;
      border-radius: 10px;
      text-align: center;
    }


    .option {
      background-color: #fff;
      color: #333;
      border-radius: 8px;
      padding: 10px 15px;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      position: relative;
    }

    .option input[type="radio"] {
      margin-right: 15px;
    }

    .progress-bar {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      background-color: #b3e5fc;
      border-radius: 8px;
      z-index: 0;
      width: 0%;
      transition: width 0.5s;
    }

    .option-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      position: relative;
      z-index: 1;
    }

    .percentage {
      font-weight: bold;
    }

    .submit-section {
      margin-top: 20px;
      text-align: right;
    }

    .submit-section .total-votes {
      margin-bottom: 10px;
      font-size: 14px;
    }

    .submit-btn {
      background-color: #ff8c00;
      border: none;
      padding: 10px 25px;
      font-size: 16px;
      color: white;
      border-radius: 20px;
      cursor: pointer;
    transition: background-color 0.3s ease; /* smooth color change */
    }

    .submit-btn:hover {
      background-color: #e67e00;
    }

.submit-btn svg {
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.submit-btn.show-check svg {
  opacity: 1;
  transform: translateX(0);
}

/* Success deep navy */
.submit-btn.success {
  background-color: #12234F;
}

.video-wrapper {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    /* Background static image */
    .background-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('../images/IMG_3399.JPG') no-repeat center center;
      background-size: cover;
      filter: blur(30px) brightness(0.6);
      z-index: 1;
    }

    /* Foreground portrait video */
    .video-foreground {
      position: relative;
      z-index: 2;
      max-height: 100vh;
      max-width: 100%;
      margin: 0 auto;
      display: block;
      border-radius: 12px; /* optional: rounded corners */
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* optional: soft shadow */
    }


@media (min-width: 992px) {
  .masonry-grid {
    column-count: 4;
  }

}

@media screen and (max-width: 768px) {
    
    
}

@media screen and (max-width: 768px) {

  .background-image{
    display: none;
  }
   .video-foreground {
        width: 100%;
        height: auto;
      }
  
   #polls{
    width: 100%
}
    .lhs_logo img {
  max-width: 120px;
  height: auto;
}
    
    .header_mob{
    display: block;
}
    .header{
        display: none;
    }
    
    .sign_btns {
    background-color: none;
  }
     .masonry-gallery {
    column-count: 3;
  }
    .poll-container h1::after {
        width: 230px;
    }
    .carousel-nav-buttons {
      top: -50px;
      right: 0;
    }
     .gallery_rhs {
      padding: 1rem;
    }
.carousel-item {
  max-height: 115vh;
  
}
    #venue{
        width: 100%;
    }
    #mtt{
        width: 100%;
    }
    #gallery{
        width: 100%;
    }
    .os_story{
     text-align: center;
    }
.gallery_header h1::after {
        width: 100px;
    }
.venue_header h1::after {
        width: 215px;
    }
.mtt_header h1::after {
        width: 180px;
    }
    .external-arrows {
      justify-content: center;
      margin-top: 15px;
    }
}