@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* Fullscreen preloader */
#preloader {
  position: fixed;
  inset: 0;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Container for loader */
.loader {
  position: relative;
  width: 150px;
  height: 150px;
}

/* Main moving ball */
.ball {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #50AEE6;
  border-radius: 50%;
  animation: loopPath 1s infinite ease-in-out;
}

/* Trail dots (faded ghost versions of the ball) */
.trail {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: #50AEE6;
  border-radius: 50%;
  opacity: 0.4;
  animation: loopPath 1s infinite ease-in-out;
}

/* Delay each trail dot to create trail effect */
.t1 { animation-delay: -0.1s; opacity: 0.3; }
.t2 { animation-delay: -0.2s; opacity: 0.2; }
.t3 { animation-delay: -0.3s; opacity: 0.1; }

/* Weird looping path */
@keyframes loopPath {
  0%   { transform: translate(65px, 0px); }
  25%  { transform: translate(90px, 30px); }
  50%  { transform: translate(40px, 80px); }
  75%  { transform: translate(0px, 40px); }
  100% { transform: translate(65px, 0px); }
}

/* preloader */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
}

html,
body {
  overflow: auto !important;
  /* or scroll */
  -ms-overflow-style: none !important;
  /* IE and Edge */
  scrollbar-width: none !important;
  /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  /* Chrome, Safari, Opera */
}
.page-section {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.page-section.active {
  display: block;
  opacity: 1;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  background-color: white;
  position: relative;
  z-index: 100;
  /* border-bottom: 1px solid lightgray; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-active {
  color: #50AEE6!important;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

.color-gray {
  color: #3D3D46;
  /* color: red; */
}

.color-blue {
  color: #50AEE6;
}

.logo {
  width: 100px;
}



.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.op-6 {
  opacity: 0.6;
}



.nav-links a {
  text-decoration: none;
  /* color: #3D3D46; */
  color: #1a1b1f;
  opacity: 0.6;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #50AEE6;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #3D3D46;
  transition: 0.4s;
}

/* Hamburger transform to X */
.hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open div:nth-child(2) {
  opacity: 0;
}

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

.hero {
  min-height: calc(100vh - 100.93px);
  width: 100%;
  /* background: linear-gradient(to bottom, #ffffff, #f0f0f0); */
  background: url('https://www.transparenttextures.com/patterns/white-wall-3.png');
  background-size: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #3D3D46;
  position: relative;
}

.hero-other-section {
  min-height: calc(100vh - 100.93px);
  width: 100%;
  /* background: linear-gradient(to bottom, #ffffff, #f0f0f0); */
  background: url('https://www.transparenttextures.com/patterns/white-wall-3.png');
  background-size: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #3D3D46;
  position: relative;
}

.hero-other-section img {
  height: 400px;              /* or any height that fits your layout */
  width: 100%;
  object-fit: cover;  
  object-position: 50% 30%;  /* adjust as needed to focus on the desired part of the image */
  border-radius: 12px;        /* keep your rounded corners */
}

.bubble-text {
  user-select: none;
  cursor: default;
  font-size: 4rem!important;
}

#special-n {
  display: inline-block!important;
  transform: scale(1.3) rotate(5deg)!important;
  color: #50AEE6!important;
}


.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1, .hero-other-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p, .hero-other-section p{
  font-size: 1.25rem;
  margin-bottom: 6rem;
  letter-spacing: 5px;
  opacity: 0.6;
}

.ls-2 {
  letter-spacing: 2px;
}

.cta-button {
  padding: 0.8rem 1.6rem;
  background-color: transparent;
  color: #3D3D46;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  background-color: #50AEE6;
  color: white;
  
  /* border: 1px solid #3D3D46; */
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #3D3D46;
}


/* Intro */
.intro-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  padding: 10px;
}

.card {
  border: none !important;
}

.card-custom {
  transition: 0.1s ease-in-out;
}

.card-custom:hover {
  cursor: pointer;
  transform: translateY(-5px);
}

.read-more:hover {
  color: #3D3D46;
}

.read-more {
  margin-top: 100px;
}



/* SLIDER PARTNERS */
.slider {
  height: 100px;
  position: relative;
  width: 100%;
}

.slide-track {
  width: calc(250px * 10); /* Adjust if you add more logos */
  animation: scroll 20s linear infinite;
}

.slide {
  width: 250px;
  height: 100px;
  flex-shrink: 0;
  padding: 0 15px;
}

.slide img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.slide img:hover {
  opacity: 1;
  filter: none;
}
/* ---------partners hompage start */

.partner-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-top: 2rem;
  padding-bottom: 2rem;
}

.partner-card p {
  min-height: 48px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.partner-logo {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

/* -------partners homepage end */

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

@media (min-width: 992px) and (max-width: 1199.98px) {
  .responsive-stack {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

    .responsive-footer-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
}

@media (max-width: 558px) {
  .width-responsive{
    width: 90%;
  }
}

@media (min-width: 559px) and (max-width: 600px) {
  .width-responsive{
    width: 75%;
  }
}

@media (min-width: 601px) and (max-width: 991px) {
  .width-responsive{
    width: 50%;
  }
}

@media (min-width: 992px) {
  .width-responsive{
    width: 45%;
  }
}

/* Mobile styles */
@media (max-width: 768px) {


  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 150;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
    position: relative;
  }

  .bubble-text .letter {
    font-size: 3.6rem;
  }

  .hero h1 {
   font-size: 2rem;
  }

  .hero p {
    font-size: 1.5rem;
  }
}

@media (max-width: 564px) { 
  .hero p {
    font-size: 1rem;
  }
}

/* CONTACT */
.contact-main {
  background: url('https://www.transparenttextures.com/patterns/white-wall-3.png');
}

.contact-card {
  background: white;
  border-top: 5px solid #50AEE6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
} */

/* Inputs */
.form-control {
  border: 1.5px solid #d9e4ee;
  border-radius: 10px;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: #50AEE6;
  box-shadow: 0 0 0 3px rgba(80,174,230,0.1);
}

/* Decorative wave section */
.map-section {
  position: relative;
  overflow: hidden;
}

.wave-bg {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: radial-gradient(circle at 50% 50%, #50AEE6 0%, #007bbf 100%);
  clip-path: ellipse(70% 100% at 50% 0%);
  z-index: 1;
}

.map-section iframe {
  position: relative;
  z-index: 2;
}

/* Icons and text alignment */
.contact-info i {
  color: #50AEE6;
}

.social-links a:hover {
  opacity: 0.8;
}

/* CONTACT END */

/* PARTNERS */
.partner-logo-box {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.partner-logo-box img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.partner-detail-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.coordinator-card {
  border-left: 5px solid #667eea;
}

/* PARTNERS END */
/* EVENTS PAGE */
.events-timeline {
  position: relative;
}

.timeline-wrapper {
  position: relative;
}

.timeline-item {
  position: relative;
}

.event-date-ribbon {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.event-card-header {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.event-card-body {
  background: #fff;
}

.event-partners-section {
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  margin-top: 1rem;
}

.training-topics {
  border-left: 4px solid #f5576c;
}

.coming-soon-card {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(79, 172, 254, 0.6);
  }
}

.stat-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .event-card-header h3 {
    font-size: 1.25rem;
  }
  
  .event-date-ribbon {
    position: static;
    margin-bottom: 1rem;
  }
  
  .event-date-ribbon .badge {
    font-size: 0.75rem !important;
  }
}
/* EVENTS PAGE END */

/* RESOURCES PAGE */
.resources-section {
  position: relative;
}

.featured-resource-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.featured-resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
}

.resource-image-section {
  position: relative;
}

.whats-inside-section {
  border-left: 4px solid #f5576c;
}

.topic-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.resource-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.resource-card-header {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-card-body {
  min-height: 200px;
}

.training-materials-section {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.material-highlight {
  transition: transform 0.2s ease;
}

.material-highlight:hover {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .resource-card-header {
    min-height: 150px;
  }
}
/* RESOURCES PAGE END */

/* EVENTS HERO SECTION */
.events-hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.events-hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.events-hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.events-hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-hero-text-wrapper {
  display: flex;
  justify-content: center;
}

.events-hero-text-container {
  max-width: 800px;
}

.events-hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* RESOURCES HERO SECTION */
.resources-hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: relative;
  overflow: hidden;
}

.resources-hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.resources-hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.resources-hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.resources-hero-text-wrapper {
  display: flex;
  justify-content: center;
}

.resources-hero-text-container {
  max-width: 800px;
}

.resources-hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* SHARED HERO ELEMENTS */
.hero-icon-left,
.hero-icon-right {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

.hero-icon-left {
  animation-delay: 0s;
}

.hero-icon-right {
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-stats-inline {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
}

.stat-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-pill i {
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-icon-left,
  .hero-icon-right {
    font-size: 1.5rem;
  }
  
  .events-hero-title,
  .resources-hero-title {
    font-size: 2rem;
  }
  
  .stat-pill {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .events-hero-description,
  .resources-hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-icon-left,
  .hero-icon-right {
    display: none;
  }
  
  .events-hero-title,
  .resources-hero-title {
    font-size: 1.75rem;
  }
}

/* SHARED HERO ELEMENT END */
/* bounce */
:root {
  --bounce-distance: -40px;
  --lottie-size: 90px;
  --shadow-width: 70px;
  --shadow-height: 12px;
}

@media (max-width: 992px) {
  :root {
    --bounce-distance: -30px;
    --lottie-size: 72px;
    --shadow-width: 56px;
    --shadow-height: 10px;
  }
}

@media (max-width: 576px) {
  :root {
    --bounce-distance: -22px;
    --lottie-size: 62px;
    --shadow-width: 48px;
    --shadow-height: 8px;
  }
}

@media (max-width: 430px) {
  :root {
    --bounce-distance: -20px;
    --lottie-size: 64px;
    --shadow-width: 50px;
    --shadow-height: 8px;
  }
}

@media (max-width: 375px) {
  :root {
    --bounce-distance: -17px;
    --lottie-size: 58px;
    --shadow-width: 45px;
    --shadow-height: 7px;
  }
}

/* Single keyframe — references the variable updated by each breakpoint */
@keyframes bounceUpDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(var(--bounce-distance)); }
}

@keyframes shadowScale {
  0%, 100% {
    transform: translateX(-50%) scaleX(1) scaleY(1);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) scaleX(1.4) scaleY(0.7);
    opacity: 0.8;
  }
}

.lottie-wrapper {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  animation: bounceUpDown 1s ease-in-out infinite;
  pointer-events: none;
}

.bounce-lottie {
  width: var(--lottie-size);
  height: var(--lottie-size);
  display: block;
}

.lottie-shadow {
  position: absolute;
  bottom: calc(3% - 8px);
  left: 50%;
  width: var(--shadow-width);
  height: var(--shadow-height);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(6px);
  transform: translateX(-50%);
  transform-origin: center;
  animation: shadowScale 1s ease-in-out infinite;
  pointer-events: none;
}
/* bounce end */


