/* Base navbar styling */
.navbar {
  transition: all 0.4s ease;
  background: transparent;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

/* When scrolled */
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
  --bs-offcanvas-width: 260px;
}
.tp-bg {
  background-image: url("./img/tp-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.navbar-nav .nav-link {
  color: #11112c;
  font-weight: 600;
  transition: color 0.3s;
  padding: 0px 20px !important;
}

.navbar.scrolled .nav-link {
  color: #150184 !important;
  /* dark blue from your palette */
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar.scrolled .navbar-toggler-icon {
  filter: invert(0);
}

/* Center menu only on large screens */
@media (min-width: 992px) {
  .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

body {
  background-color: #fffdf2;
}

.title2 {
  font-size: 3rem;
  font-weight: 900;
  color: #11112c;
  font-family: "Story Script", sans-serif;
}

.text-writing {
  font-family: "Story Script", sans-serif;
  display: inline-block;
  font-size: 3rem;
  letter-spacing: 4px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  border-right: 4px solid rgba(255, 255, 255, 0.75);
  /* cursor */
  width: 0;
  text-align: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: #11112c;
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: typing 4s steps(25, end) forwards, blink 0.75s step-end infinite,
    gradientRun 6s linear infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 53%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes gradientRun {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* responsive behavior */
@media (max-width: 768px) {
  .text-writing {
    display: inline-block;
    white-space: normal; /* allow wrapping on smaller screens */
    width: 100%; /* full width so two-line fits naturally */
    line-height: 1.2;
    animation: none; /* disable typing for smoother mobile wrap */
  }

  .stats-section {
    background: #14c1e2 !important;
    background-image: none !important;
    padding: 20px 20px !important;
  }
  .min40 {
    margin-top: 0px !important;
  }
  .wtd {
    height: auto !important;
    padding: 40px 0px !important;
  }
}

/* Wrapper with curved masks */
#wrapper {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
}

#top-oval,
#bottom-oval {
  position: absolute;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fffdf2;
  z-index: 10;
  pointer-events: none;
}

#top-oval {
  top: 0;
  border-bottom-left-radius: 70%;
  border-bottom-right-radius: 70%;
}

#bottom-oval {
  bottom: 0;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}

/* The viewport that masks overflow */
.viewport {
  width: 100%;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

/* Track containing items (original + clone) */
.track {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 100%;
  /* will be moved by scrollLeft on the element (not transform) */
}

.card {
  flex: 0 0 280px;
  height: 60%;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  /* box-shadow: 0 10px 25px rgba(0,0,0,0.15); */
  transition: transform 0.18s ease;
}

/* Slight scale on active drag (optional) */
.dragging .card {
  transition: none;
}

/* hide native scrollbar for horizontal scroll */
.viewport::-webkit-scrollbar {
  display: none;
}

.viewport {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* center captions below (optional) */
.features {
  max-width: 1200px;
  margin: 22px auto 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}

.features h3 {
  font-weight: 600;
}

.features p {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 6px;
}

.wtd {
  background-image: url("./img/wtdbg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 220px;
  border-radius: 50px;
}

.image-wrap img {
  animation: zoomBlink 2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

/* Zoom + Blink animation */
@keyframes zoomBlink {
  0% {
    transform: scale(1);
    opacity: 9;
  }

  50% {
    transform: scale(1.08);
    opacity: 9;
  }

  100% {
    transform: scale(1);
    opacity: 9;
  }
}

.wrapper {
  max-width: 1080px;
  margin: 50px auto;
  padding: 0 20px;
  position: relative;
}

.wrapper .center-line {
  position: absolute;
  height: 100%;
  width: 4px;
  /* background: #933a3a; */
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  border-right: 2px dotted #000;
}

.wrapper .row {
  display: flex;
}

.wrapper .row-1 {
  justify-content: flex-start;
}

.wrapper .row-2 {
  justify-content: flex-end;
}

.wrapper .row section {
  background: #fff;
  border-radius: 20px;
  width: calc(50% - 40px);
  padding: 30px;
  position: relative;
  color: #fff;
}

.wrapper .row section::before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  /* background: #c19003; */
  top: 30px;
  z-index: -1;
  transform: rotate(45deg);
}

.first::before {
  background: #c19003 !important;
}
.two::before {
  background: #ff9a00 !important;
}
.three::before {
  background: #e2493b !important;
}
.four::before {
  background: #e8232a !important;
}
.five::before {
  background: #e82384 !important;
}
.six::before {
  background: #c123e8 !important;
}

.row-1 section::before {
  right: -7px;
}

.row-2 section::before {
  left: -7px;
}

.row section .icon,
.center-line .scroll-icon {
  position: absolute;
  background: #ffffff;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #0b1318;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0, 0, 0, 0.08),
    0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.center-line .scroll-icon {
  bottom: 0px;
  left: 50%;
  font-size: 25px;
  transform: translateX(-50%);
}

.row-1 section .icon {
  top: 15px;
  right: -60px;
}

.row-2 section .icon {
  top: 15px;
  left: -60px;
}

.row section .details,
.row section .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.row section .details .title {
  font-size: 22px;
  font-weight: 600;
}

.row section p {
  margin: 10px 0 17px 0;
}

.row section .bottom a {
  text-decoration: none;
  background: #3ea0e2;
  color: #fff;
  padding: 7px 15px;
  border-radius: 5px;
  /* font-size: 17px; */
  font-weight: 400;
  transition: all 0.3s ease;
}

.row section .bottom a:hover {
  transform: scale(0.97);
}

@media (max-width: 790px) {
  .wrapper .center-line {
    left: 40px;
  }

  .wrapper .row {
    margin: 30px 0 3px 60px;
  }

  .wrapper .row section {
    width: 100%;
  }

  .row-1 section::before {
    left: -7px;
  }

  .row-1 section .icon {
    left: -60px;
  }
}

@media (max-width: 440px) {
  .wrapper .center-line,
  .row section::before,
  .row section .icon {
    display: none;
  }

  .wrapper .row {
    margin: 10px 0;
  }
}

/* Base animation */
.fade-animate {
  opacity: 0;
  transition: all 1s ease-in-out;
}

/* Directions */
.fade-left {
  transform: translateX(-100px);
}

.fade-right {
  transform: translateX(100px);
}

.fade-top {
  transform: translateY(-100px);
}

.fade-bottom {
  transform: translateY(100px);
}

/* When visible */
.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.c-box-bg {
  background-image: url("./img/cboxbg.png");
  padding: 50px 0px;
  background-repeat: no-repeat;
  /* background-position: center center; */
  background-size: cover;
}

.gt-speaker-items-5 {
  margin-top: 30px;
  color: #fff;
}
.gt-speaker-items-5 .gt-speaker-image {
  overflow: hidden;
  position: relative;

  margin-bottom: 0px;
}

.spk-bg {
  background-image: url("./img/speakersbg.png");
  padding: 50px;
  background-repeat: no-repeat;
  /* background-position: center center; */
  background-size: cover;
}

.stats-section {
  background-image: url("./img/highlightbg.png");
  padding: 80px 20px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  border-radius: 20px;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/cartographer.png");
  opacity: 0.08;
}

.stats-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stats-icon {
  color: #ff7b00;
  font-size: 36px;
  margin-bottom: 15px;
}

.stats-number {
  font-size: 60px;
  font-weight: 700;
  color: #1eb2d0;
}

.stats-label {
  font-size: 18px;
  color: #003366;
  font-weight: 500;
}

.btn-custom {
  background-color: #ff7b00;
  color: #fff;
  border-radius: 10px;
  padding: 10px 25px;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: #ff5500;
  color: #fff;
}

/* Set the row height (controls the visual height of each slide) */
.slide-row {
  min-height: 350px;
}

/* Make image fill its column height and keep aspect with object-fit */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px 0px 0px 30px;
  display: block;
}

/* Right column visual card */
.carousel-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

/* Flex buttons centered below (no absolute positioning) */
.carousel-controls-row {
  margin-top: 20px;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #8f6d0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.15s ease;
}
.carousel-btn:hover {
  transform: scale(1.06);
  background: #ffffff;
  color: #8f6d0b;
}

@media (max-width: 767px) {
  .slide-row {
    min-height: 260px;
  }
  .carousel-content {
    padding: 20px;
  }
  .carousel-controls-row {
    margin-top: 12px;
  }
}

.sixpointbg {
  background-image: url("./img/sixpointsbg.png");
  padding: 80px 0px;
  background-repeat: no-repeat;
  background-size: cover;
}

.imgradius {
  border-radius: 50% 50% 0px 0px;
}

.ovel1 {
  background: #255959;
  color: #fff;
  width: 100%;
  height: 683px;
  border-radius: 225px;
  object-fit: cover;
  height: 800px;
}

.martop {
  margin-top: 30%;
}

.ovel2 {
  background: #811335;
  color: #fff;
  width: 100%;
  height: 683px;
  border-radius: 225px;
  object-fit: cover;
  height: 800px;
}

.bepartbg {
  background-image: url("./img/bepartbg.png");
  padding: 80px 0px;
  background-repeat: no-repeat;
  background-size: cover;
}

.gt-sponsor-bg-wrapper {
  border-radius: 20px;
  /* display: flex
; */
  /* align-items: center; */
  /* justify-content: space-between; */
  padding: 80px 50px 80px 50px;
  position: relative;
  z-index: 9;
  overflow: hidden;
  text-align: center;
}
.gt-sponsor-bg-wrapper::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, #112794 50%, #2addc8 100%);
  opacity: 0.8;
  z-index: -1;
}
.gt-sponsor-bg-wrapper .gt-sponsor-content {
  position: relative;
}
.gt-sponsor-bg-wrapper .gt-sponsor-content h2 {
  color: #fff;
  font-size: 40px;
}
.gt-sponsor-bg-wrapper .gt-sponsor-content p {
  color: #fff;
  font-size: 20px;
  /* max-width: 690px; */
  /* margin-bottom: 30px; */
}
.gt-sponsor-bg-wrapper .gt-sponsor-content .gt-theme-btn {
  background-color: #e2b560;
  color: #fff;
}
.gt-theme-btn {
  font-size: 15px;
  font-weight: 600;
  /* font-family: "Sora"; */
  text-transform: capitalize;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  /* min-width: 170px; */
  overflow: hidden;
  border-radius: 100px;
  padding: 15px 50px;
  background-size: 200% auto;
  /* background-image: linear-gradient(to right, #1539EE 0%, #ffabf4 50%, #1539EE 100%); */
  background-color: #fff;
  border-radius: 100px;
  transition: 0.5s;
}

.tag-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff9a00;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.card {
  border: none;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.card img {
  height: 250px;
  object-fit: cover;
}

.factbg {
  background-image: url("./img/factbg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.eventshe {
  background-image: url("./img/sh-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0px;
}

.gradient-background {
  line-height: 30px;
  color: #e2b560;
  font-size: 30px;
  font-weight: bold;
  margin: 30px 0px;
}

.min40 {
  margin-top: -40px;
}
