@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");

:root {
  --main-color: #443;
  --border-radius: 95% 4% 97% 5% / 4% 94% 3% 95%;
  --border-radius-hover: 4% 95% 6% 95% / 95% 4% 92% 5%;
  --border: 0.2rem solid var(--main-color);
  --border-hover: 0.2rem dashed var(--main-color);
}
/* Prevent horizontal scroll and force responsive layout */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}
/* body {
  overflow-y: hidden;
  overflow-x: hidden;
} */

body::-webkit-scrollbar {
  display: none;
}

section {
  padding: 2rem 9%;
}

.heading {
  font-size: 9rem;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 0.05rem var(--main-color);
  letter-spacing: 0.2rem;
  text-align: center;
  pointer-events: none;
  position: relative;
}

.heading span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: var(--main-color);
  font-size: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  border: var(--border);
  border-radius: var(--border-radius);
  color: var(--main-color);
  background: none;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 1.7rem;
  /* Add this line: */
  transition: all 0.9s ease;
}

.btn:hover {
  border-radius: var(--border-radius-hover);
  border: var(--border-hover);
  color: var(--main-color);
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  padding: 1rem 4%;
}
/* Custom Scrollbar Styles */
#custom-scrollbar {
  position: fixed;
  top: 73px; /* Adjust depending on your header height */
  left: 0;
  height: 5px;
  background-color: #695ec0b2;
  width: 0%;
  z-index: 800;
  transition: width 0.25s ease-out;
}
#scrollToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  width: 50px;
  height: 50px;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #292929;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#scrollToTopBtn:hover {
  background-color: #444;
  transform: translateY(-2px);
}
/* floating button */
/* a{
  text-decoration:none;
} */
.floating_btn {
  position: fixed;
  bottom: 110px;
  right: 20px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

@keyframes pulsing {
  to {
    box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
  }
}

/* custom alert */

.custom-alert {
  font-family: Arial, sans-serif;
  display: none;
  position: fixed;
  z-index: 9999;
}

/* Success alert (top right corner) */
.success-alert {
  top: 50px;
  right: 10px;
  background: #4caf50;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  min-width: 320px;
}

.success-alert .alert-icon {
  font-size: 20px;
  margin-right: 10px;
}

.success-alert .alert-close {
  margin-left: auto;
  cursor: pointer;
  font-weight: bold;
}
.alert-message {
  font-size: 1.8rem;
  color: #fff;
}

.success-alert .alert-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #fff;
  animation: shrink 5s linear forwards;
  width: 100%;
  border-radius: 0 0 6px 6px;
}

@keyframes shrink {
  to {
    width: 0%;
  }
}

/* Failure alert (center popup) */
.failure-alert {
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.failure-box {
  background: #ec5d53;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.failure-box button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #fff;
  color: #f44336;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}
.failure-box button:hover {
  border-color: #ffffff;
  border-width: 1px;
  /* color: #fff; */
  transform: scale(1.1); /* Increase the size of the button */
  transition: transform 0.3s ease, border-color 0.3s ease; /* Smooth transition */
}

/* contact */
.contact_icon {
  background-color: #2fd178;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 30px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translatey(0px);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 #33bf72;
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  font-weight: normal;
  font-family: sans-serif;
  text-decoration: none !important;
  transition: all 300ms ease-in-out;
}
.text_icon {
  margin-bottom: 10px;
  color: #707070;
  font-size: 13px;
}

/* header */
.header .logo {
  color: var(--main-color);
  font-size: 2.3rem;
}

.header .logo i {
  padding-left: 0.5rem;
}

.header .navbar a {
  margin: 0 1rem;
  font-size: 1.7rem;
  color: var(--main-color);
}

.header .btn {
  margin-top: 0;
  margin-right: 2rem;
}

#menu-btn {
  font-size: 3rem;
  color: var(--main-color);
  cursor: pointer;
  display: none;
  margin-left: 2rem;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* makes it appear just below the button; change to 'bottom: 100%' for above */
  left: 0;
  background-color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  z-index: 10000; /* super high to be above everything */
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.3rem 0;
  width: max-content;
  min-width: 320px;
  margin-top: 5px;
  transition: all 0.3s ease;
}
.dropdown-content a {
  position: relative;
  color: var(--main-color);
  padding: 0.4rem 1.9rem 0.5rem 1rem;
  text-decoration: none;
  display: block;
  font-size: small;
  white-space: nowrap;
  border-bottom: 1px solid #ddd;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a::after {
  content: "➜"; /* or use ➜ or ▶ */
  position: absolute;
  right: 0.75rem;
  color: rgb(138, 138, 128);
  font-size: 1.8rem;
  transition: transform 0.2s ease;
}

.dropdown-content a:hover::after {
  transform: translateX(10px);
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a i {
  float: right;
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

/* HOME */

.home {
  min-height: 100vh;
  padding-top: 12rem;
  background: url(../image/home-bg.png) no-repeat;
  background-position: center;
  background-size: cover;
}

.home .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.home .row .content {
  flex: 1 1 42rem;
  margin-left: 120px;
}

.home .row .image {
  flex: 1 1 42rem;
  padding-top: 10rem;
  text-align: center;
}

.home .row .image img {
  height: 35rem;
  animation: float 4s linear infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0rem);
  }

  50% {
    transform: translateY(-7rem);
  }
}

.home .row .content h3 {
  font-size: 6.5rem;
  color: var(--main-color);
  text-transform: uppercase;
}

.home .image-slider {
  text-align: center;
  padding: 3rem 0;
}

.home .image-slider img {
  height: 9rem;
  margin: 0 0.5rem;
  cursor: pointer;
  margin-top: 2rem;
  border: #443;
}

.home .image-slider img:hover {
  transform: translateY(-2rem);
}

/* ABOUT */

.about .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.about .row .image {
  flex: 1 1 42rem;
}

.about .row .image img {
  width: 100%;
  animation: aboutImage 4s linear infinite;
}
.about2 .row2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.about2 .row2 .image2 {
  flex: 1 1 42rem;
}

.about2 .row2 .image2 img {
  width: 20%;
  animation: aboutImage 4s linear infinite;
}
@keyframes aboutImage {
  0%,
  100% {
    transform: scale(0.9);
    border-radius: var(--border-radius-hover);
  }

  50% {
    transform: scale(0.8);
    border-radius: var(--border-radius);
  }
}

.about .row .content {
  flex: 1 1 42rem;
}

.about .row .content .title {
  color: var(--main-color);
  font-size: 3rem;
  line-height: 1.8;
}
.content .scheduled {
  color: var(--main-color);
  font-size: 1.2rem;
  margin-left: 70%;
}
.about .row .content p {
  color: var(--main-color);
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 1rem 0;
}

/* gallery */
.product-gallery {
  /* margin-top: 50px; */
  width: 500px;
  height: 360px;
  margin: auto;
  text-align: center;
}
.main-image {
  height: 80%;
}
.main-image img {
  width: 70%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.thumbnails {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 10px;
  padding: 5px;
}
.thumbnails2 {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  /* margin-bottom: 90px; */
  margin-top: 40px;
  padding: 5px;
  height: 26%;
}
.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s, border 0.3s;
}

.thumbnails img:hover {
  transform: scale(1.05);
  border: 2px solid #555;
}

.about .row .content .icons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 3rem;
}

.about .row .content .icons-container .icons {
  flex: 1 1 15rem;
  padding: 1.5rem;
  text-align: center;
  border: var(--border);
  border-radius: var(--border-radius);
}

.about .row .content .icons-container .icons img {
  height: 5rem;
}

.about .row .content .icons-container .icons h3 {
  font-size: 1.7rem;
  padding-top: 1rem;
  color: var(--main-color);
}

.about2 .row2 .content2 {
  flex: 1 1 2rem;
}

.about2 .row2 .content2 .title2 {
  color: var(--main-color);
  font-size: 2rem;
  line-height: 1.8;
}

.about2 .row2 .content2 p {
  color: var(--main-color);
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 1rem 0;
}

/* MENU */

.menu {
  background: url(../image/mid-bg.png) no-repeat;
  background-position: center;
  background-size: cover;
}

.menu .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.menu .box-container .box {
  flex: 1 1 42rem;
  padding: 2rem;
  border: var(--border);
  /* border-radius: var(--border-radius); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 6rem;
  transition: all 0.4s ease;
}

.menu .box-container .box:hover {
  border: var(--border);
  border-radius: var(--border-radius-hover);
}

.menu .box-container .box img {
  height: 8rem;
  margin-left: -6rem;
  padding: 1rem;
  background: #dbd0d0e7;
  border: var(--border);
  border-radius: var(--border-radius);
  border-color: #443;
}

.menu .box-container .box .content h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  line-height: 1.8;
}

.menu .box-container .box .content p {
  font-size: 1.6rem;
  color: var(--main-color);
  line-height: 1.8;
  padding: 1rem 0;
}

.menu .box-container .box .content span {
  font-size: 2rem;
  color: var(--main-color);
  line-height: 1.8;
}

/* REVIEW */
.review {
  background-color: #ffffffdb;
}
.review .review-slider {
  padding: 7rem 0;
}

.review .review-slider .box {
  border: var(--border);
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  z-index: 0;
  padding: 2rem;
}

.review .review-slider .box .fa-quote-left {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-size: 6rem;
  color: #5ce67589;
  z-index: -1;
}

.review .review-slider .box .fa-quote-right {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  font-size: 6rem;
  color: #5ce675ab;
  z-index: -1;
}

.review .review-slider .box:hover .fa-quote-left {
  top: -6.5rem;
}

.review .review-slider .box:hover .fa-quote-right {
  bottom: -6.5rem;
}

.review .review-slider .box img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  margin-bottom: 0.7rem;
}

.review .review-slider .box .stars {
  padding: 0.5rem 0;
}

.review .review-slider .box .stars i {
  font-size: 1.7rem;
  color: var(--main-color);
}

.review .review-slider .box p {
  font-size: 1.6rem;
  color: var(--main-color);
  padding: 1rem 0;
  line-height: 1.8;
}

.review .review-slider .box h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  line-height: 1.8;
}

.review .review-slider .box span {
  font-size: 1.5rem;
  color: var(--main-color);
}

.swiper-pagination-bullet {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 0;
}

.swiper-pagination-bullet-active {
  background: var(--main-color);
}

/* contactUs */

.contactUs {
  background: url(../image/contact-bg.png);
  background-position: center;
  background-size: cover;
}

.contactUs form {
  margin: 0 auto 2rem auto;
  max-width: 60rem;
  border-radius: 10px;
  padding: 3rem;
  border: 0.2rem solid var(--main-color); /* Ensure the border style is solid */
}

.contactUs form .box {
  width: 100%;
  font-size: 1.6rem;
  background: none;
  text-transform: none;
  color: var(--main-color);
  padding: 1rem 1.2rem;
  border-radius: 0.5rem;
  border: var(--border);
  margin: 0.7rem 0;
}

.contactUs form .box:focus {
  border: var(--border-hover);
}

.contactUs form textarea {
  height: 15rem;
  resize: none;
}

iframe {
  width: 100%;
  border: none;
  height: 400px;
  margin-bottom: -5px;
}

/* .footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
  gap: 1.5rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  padding: 1rem 0;
  color: var(--main-color);
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  padding: 1rem 0;
  color: var(--main-color);
}

.footer .box-container .box a i {
  padding-right: 0.5rem;
}

.footer .box-container .box a:hover i {
  padding-right: 2rem;
}

.footer .credit {
  text-align: center;
  font-size: 2rem;
  padding: 2rem 1rem;
  margin-top: 1rem;
  color: var(--main-color);
}

.footer .credit span {
  border-bottom: var(--border-hover);
} */

/* MEDIA QUERIES */

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 0.5rem;
  }

  section {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  /* body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  } */

  body::-webkit-scrollbar {
    display: none;
  }
  .heading {
    font-size: 6rem;
  }
  #custom-scrollbar {
    top: 58px;
  }
  .heading span {
    font-size: 2.3rem;
  }
  iframe {
    width: 100%;
    border: none;
    height: 1235px;
    /* margin-bottom: -10px; */
  }
  .product-gallery {
    margin-bottom: 60px;
    /* width: 500px; */
    height: 360px;
    /* margin: auto;
    text-align: center; */
  }
  .main-image {
    margin-top: 10px;
    height: 60%;
  }
  #menu-btn {
    display: initial;
    margin-right: -15%;
  }

  #menu-btn.fa-times {
    transform: rotate(180deg);
  }

  .header .navbar {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .navbar a {
    display: block;
    font-size: 2.2rem;
    margin: 0;
    padding: 1.5rem 2rem;
  }

  .home {
    text-align: center;
  }

  .home .row .content {
    width: 100%; /* Only take full width of container */
    display: flex; /* Use Flexbox for alignment */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center if needed */
    text-align: center; /* Center text inside */
    flex-direction: column; /* Stack children vertically */
    margin-left: 0px;
  }

  .home .row .content h3 {
    font-size: 4rem;
    width: 100%;
    margin: 0; /* Remove the margin offset */
  }

  .menu .box-container .box {
    margin-left: 0;
    margin-top: 6rem;
    flex-flow: column;
    text-align: center;
  }

  .menu .box-container .box img {
    margin-left: 0;
    margin-top: -6rem;
  }

  /* popup form*/
  #enqModal .modal-dialog {
    width: 95%;
    max-width: none;
  }

  #enqModal .modal-logo {
    max-width: 70px;
  }

  #enqModal .modal-title-secondary {
    font-size: 12px;
  }

  #enqModal .form-control {
    padding: 6px;
    font-size: 14px;
  }

  #enqModal .btn {
    font-size: 12px;
    padding: 8px;
  }

  .main-image {
    height: 80%;
  }
  .main-image img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .thumbnails2 {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
    overflow-x: auto;
    margin-bottom: 10px;
    padding: 2px;
    height: 60px;
    margin-top: -90px;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .home .row .image img {
    height: auto;
    width: 100%;
  }
}

/* addtional popups, model,model2, model3 */
.event-timeline {
  margin-top: 20px;
  padding: 30px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.timeline-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #0d47a1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  position: relative;
  margin-bottom: 25px;
  padding-left: 50px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  width: 15px;
  height: 15px;
  background: #0d47a1;
  border: 3px solid #bbdefb;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 25px;
  width: 3px;
  height: calc(100% - 25px);
  background: #0d47a1;
}

.timeline li:last-child::after {
  display: none;
}

.timeline-content {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0d47a1;
  text-transform: capitalize;
}

.timeline-content p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.video-gallery {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.video-gallery .thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-gallery .thumbnails video {
  width: 200px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.thumbnails video:hover {
  border-color: #007bff;
}

.main-video video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

.modal-content2 {
  background: #fff;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  padding: 20px;
  position: relative;
  margin-top: 10px;
  max-height: 90%;
  overflow-y: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.modal-content2::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #33333386;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 25px;
  cursor: pointer;
}

.modal-main-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.modal-description {
  font-size: 16px;
  margin-bottom: 20px;
}

.modal-gallery {
  display: flex;
  gap: 10px;
  margin-bottom: 17%;
}

.modal-gallery img {
  width: 30%;
  border-radius: 5px;
  cursor: pointer;
}

.modal-video {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.video-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  text-align: center;
}

.blog-footer {
  margin-top: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.footer-title {
  font-size: 22px;
  font-weight: bold;
  color: #0d47a1;
  margin-bottom: 10px;
}

.footer-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.footer-contact a {
  color: #0d47a1;
  text-decoration: none;
  font-weight: bold;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.modal3 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

.modal-content3 {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.close3 {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  background: #f0f0f0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close3:hover {
  background: #e0e0e0;
}
@media (max-width: 768px) {
  .event-timeline {
    margin-top: -45%;
    margin-bottom: 40%;
    padding: 20px;
  }

  .timeline li {
    padding-left: 40px;
  }

  .timeline li::before {
    left: 15px;
    width: 12px;
    height: 12px;
  }

  .timeline li::after {
    left: 21px;
  }

  .timeline-content {
    padding: 15px;
  }

  .timeline-content h4 {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  .modal-content2 {
    margin-top: 30px;
  }
  .modal-video {
    text-align: center;
    margin-top: -100px;
  }
  .select-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 350px;
    border-radius: 10px;
  }
  #country-code2 {
    font-size: 16px;
  }
  .mediaphone {
    width: 50%;
    font-size: 1.6rem;
    background: none;
    text-transform: none;
    color: var(--main-color);
    padding: 1rem 1.2rem;
    border-radius: 0.5rem;
    border: var(--border);
    /* margin: 0.7rem 0; */
    /* margin-left: -5%; */
  }
  .country-name {
    font-size: 13px;
  }
  #country-name {
    font-size: 13px;
  }
}
.mediaphone {
  width: 90%;
  margin: 0.7rem 0;
  margin-left: -25%;
  z-index: 99;
  font-size: 1.6rem;
  background: none;
  text-transform: none;
  color: var(--main-color);
  padding: 1rem 1.2rem;
  border-radius: 0.5rem;
  border: var(--border);
}

/* work model start */
/* Base styles – optional but ensures good scaling */
.modal-content2 {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* Large screens (default desktop view) */
@media screen and (min-width: 1025px) {
  .modal-main-image {
    font-size: 30px;
  }

  .modal-description {
    font-size: 16px;
  }

  .timeline-content h4 {
    font-size: 20px;
  }

  .timeline-content p {
    font-size: 15px;
  }
}

/* Medium screens – tablets (landscape and portrait) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .modal-content2 {
    padding: 15px;
  }

  .modal-main-image {
    font-size: 24px !important;
  }

  .modal-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .timeline-content h4 {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  .product-gallery img {
    width: 100%;
  }
}

/* Small screens – smartphones */
@media screen and (max-width: 767px) {
  .modal-content2 {
    padding: 10px;
    max-width: 95%;
  }

  .modal-main-image {
    font-size: 20px !important;
    text-align: center;
  }

  .modal-description {
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-align: left;
  }

  .timeline-title {
    font-size: 18px !important;
    text-align: center;
  }

  .timeline li {
    padding-left: 7px;
  }

  .timeline li::before {
    left: -15px;
  }

  .timeline li::after {
    left: -10px;
  }

  .timeline-content h4 {
    font-size: 12px;
  }

  .timeline-content p {
    font-size: 12px;
  }

  .video-gallery .main-video video {
    width: 100%;
    height: auto;
  }

  .thumbnails2 img {
    width: 60px;
    height: auto;
    margin: 4px;
  }

  .product-gallery {
    flex-direction: column;
    align-items: center;
  }
}

/* Extra small devices – older phones */
@media screen and (max-width: 480px) {
  .modal-main-image {
    font-size: 18px !important;
  }

  .modal-description {
    font-size: 12px !important;
  }

  .timeline-content h4 {
    font-size: 15px;
  }

  .timeline-content p {
    font-size: 12px;
  }
}

/* work model end */
/* 
display resolution: 368 x 690 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #f9f9f9;
  color: #333;
}

.category-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 10px;
  margin-bottom: 20px;
}
.category-bar button {
  padding: 10px 20px;
  background: #eee;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}
.category-bar button:hover,
.category-bar button.active {
  background: #6196ff;
  color: white;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.product {
  flex: 1 1 350px;
  max-width: 350px;
  min-width: 250px;
  height: 240px;
  margin: 10px;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product img,
.product video {
  width: 100%;
  border-radius: 8px;
}

.product-title {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

/* Filter Product */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  background: transparent;
  padding: 20px 0;
}

.scroll-container2 {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.product2 {
  flex: 0 0 auto;
  width: 350px;
  margin: 10px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product2:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.product2 img {
  width: 200px;
  height: 290px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.product2 img,
.product2 video {
  width: 100%;
  border-radius: 8px;
}

.produc_t-title2 {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

.In-model {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.moda_l-content2 {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.moda_l-content2 h2 {
  margin-bottom: 20px;
}

.moda_l-content2 button,
.moda_l-content2 input,
.moda_l-content2 textarea,
.moda_l-content2 select {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.In-close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
}

/* Hide scrollbar */
.marquee-wrapper::-webkit-scrollbar {
  display: none;
}
.marquee-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.shorts-section {
  padding: 3rem 2rem;
}
.shorts-section h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 2rem;
}
/* .shorts-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
} */
.shorts-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 10px; /* spacing below videos for scrollbar */
  scrollbar-width: thin; /* Firefox support */
  scrollbar-color: #888 transparent; /* Firefox support */
}

/* Custom scrollbar for WebKit browsers */
.shorts-container::-webkit-scrollbar {
  height: 8px;
}

.shorts-container::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.shorts-container::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.shorts-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ff4e9b, #5f56d5);
}
.shorts-container video {
  width: 250px;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .category-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .shorts-section h2 {
    font-size: 2rem;
    text-align: center;
  }

  /* .shorts-container {
    gap: 0.5rem;
    justify-content: center;
  } */

  /* .shorts-container video {
    width: 180px;
    height: 320px;
  } */
 .shorts-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    justify-content: flex-start; /* Ensures scrolling starts at the first video */
  }

  .shorts-container video {
    width: 185px;
    height: 320px;
    flex-shrink: 0; /* Prevent shrinking */
  }
  .product,
  .product2 {
    width: 90%;
    max-width: 300px;
  }

  .scroll-container2 {
    animation-duration: 10s;
  }

  .moda_l-content2 {
    padding: 20px;
    width: 95%;
  }
}
/* popup product */

.popup-product {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #ff6f61;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 12px;
  z-index: 100;
  width: 180px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.popup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-product img {
  width: 100%;
  border-radius: 8px;
}

.popup-title {
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  color: #ff6f61;
}

.popup-hidden {
  opacity: 0;
  visibility: hidden;
}
@keyframes bounceUpDown {
  0%,
  100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-10px);
  }
}

.popup-product.animate-bounce {
  animation: bounceUpDown 2s infinite;
}

.popup-show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ✅ Responsive Styles */
@media (max-width: 768px) {
  .popup-product {
    width: 150px;
    height: 190px;
    left: 10px;
    top: 50%;
    padding: 8px;
  }

  .popup-product img {
    height: 150px;
  }

  .popup-title {
    font-size: 0.9rem;
    /* margin-bottom: 6px; */
  }
}

@media (max-width: 480px) {
  .popup-product {
    width: 130px;
    height: 160px;
    left: 5px;
    padding: 6px;
  }

  .popup-product img {
    height: 120px;
  }

  .popup-title {
    font-size: 0.85rem;
    /* margin-bottom: 6px; */
  }
}

/* Fullscreen Modal */
/* .product-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.product-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 85%;
  max-width: 900px;
  display: flex;
  gap: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.product-left img {
  width: 250px;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  align-self: center;
}

.product-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-right h2 {
  color: #ff6f61;
  margin-top: 0;
}

.product-right p {
  margin: 6px 0;
  font-size: 15px;
  color: #333;
} */

/* Base Modal Styles */
.product-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.product-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  display: flex;
  gap: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Product Image Section */
.product-left img {
  width: 250px;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  align-self: center;
}

.product-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-right h2 {
  color: #ff6f61;
  margin-top: 0;
}

.product-right p {
  margin: 6px 0;
  font-size: 15px;
  color: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .product-modal-content {
    flex-direction: column;
    align-items: center;
    /* padding: 15px; */
  }

  .product-left img {
    width: 90%;
    max-width: 300px;
    height: auto;
    margin-bottom: 5px;
    margin-top: 10px;
  }

  .product-right {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .close-btn {
    top: 5px;
    right: 10px;
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .product-modal-content {
    width: 95%;
    padding: 12px;
  }

  .product-right p {
    font-size: 14px;
  }

  .close-btn {
    font-size: 24px;
  }
}

/* Marquee CSS*/

.marquee-container {
  width: 100%;
  height: 50px;
  top: 70px;
  z-index: 1000;
  overflow: hidden;
  background: linear-gradient(90deg, #111, #222);
  position: relative;
  border-top: #f1bcbc 2px solid;
  border-bottom: #f1bcbc 2px solid;
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  gap: 25px;
  animation: scroll-left linear infinite;
}

.marquee-text {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 50px;
  text-shadow: 0 0 5px #bbf8df, 0 0 10px #7a7979;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

/* ✅ Responsive Adjustments */
@media (max-width: 1024px) {
  .marquee-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .marquee-container {
    height: 40px;
    top: 55px;
  }

  .marquee-text {
    font-size: 1.3rem;
    line-height: 40px;
  }

  .marquee-track {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .marquee-container {
    height: 35px;
    top: 55px;
  }

  .marquee-text {
    font-size: 1.3rem;
    line-height: 35px;
  }

  .marquee-track {
    gap: 15px;
  }
}
