  body {
      /* font-family: "Titagarh", sans-serif; */
      overflow-x: hidden;
      background: #f8fafc;
      padding-top: 88px;
    }


.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; 
}

#responivemenu{
  display: none;
}

@media(max-width:600px){
  body {
      padding-top: 0px;
    }
  
  .nav-container{
    display: none;
    height: 0px!important;
  }
  #responivemenu{
    display: block;
    height: 90px;
    z-index: 9999;
    text-align: center;
    color: #fff!important;
  }
  #responsivemenu #mainNavbar{
    background-color: #fff!important;
    height: auto!important;
    margin-top: 100px!important;
  }

   #responivemenu::before {
      
      border-radius: 0px 0px 20px 20px;
      padding: 2px;
      background: linear-gradient(90deg, #240b36, #c31432, #240b36);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      animation: borderGlow 6s linear infinite;
    }

}



    .navbar-custom {
      position: relative;
      border-radius: 0 0 40px 40px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.25);
      padding: 12px 50px;
      z-index: 1; 
      
    }

    .navbar-custom::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      border-radius: inherit;
      padding: 2px;
      background: linear-gradient(90deg, #240b36, #c31432, #240b36);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      animation: borderGlow 6s linear infinite;
    }

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

    /* === Logo === */
    .navbar-brand img {
      height: 60px;
      transition: transform 0.3s ease;
    }

    .navbar-brand:hover img {
      transform: scale(1.05);
    }

    /* === Nav Links === */
    .nav-link {
      color: #000 !important;
      position: relative;
      margin: 0 3px;
      font-weight: 500;
      font-size: 14px!important;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      transition: 0.3s;
       font-family: "Titagarh", sans-serif;
    }

    .nav-link:hover {
      color: #c31432 !important;
    }

 
    .nav-link::after {
      content: "";
      position: absolute;
      width: 0%;
      height: 2px;
      background: #240b36;
      left: 50%;
      bottom: -4px;
      transform: translateX(-50%);
      transition: 0.3s;
    }

    .nav-link:hover::after {
      width: 60%;
    }

    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .dropdown-menu {
  z-index: 1000;
}

    .dropdown-item {
      font-weight: 500;
      color: #240b36;
      transition: all 0.3s ease;
      border-radius: 8px;
    }

    .dropdown-item:hover {
      background: linear-gradient(135deg, #c31432, #240b36);
      color: #fff;
      transform: translateX(4px);
    }

    .btn-register {
      position: relative;
      background: linear-gradient(135deg, #c31432, #240b36);
      color: #fff!important;
      border-radius: 50px!important;
      font-weight: 600;
      padding: 10px 40px!important;
      transition: 0.3s ease;
      border: none;
      z-index: 1;
      overflow: hidden;
    }

.btn-register::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 30px;
  background: conic-gradient(from 0deg, #c31432, #240b36, #c31432);
  animation: spinBorder 3s linear infinite;
  z-index: -1;
}

.btn-register:hover {
  box-shadow: 0 0 15px rgba(195, 20, 50, 0.6);
}


@keyframes spinBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.navbar-custom.scrolled {
  /* background: linear-gradient(120deg, #1e293b, #1e3a8a, #312e81); */
   /* background: linear-gradient(120deg, #1e293b, #fff, #fff); */
      background: linear-gradient(120deg, #fff, #fff, #fff);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  
}

.navbar-custom.scrolled .nav-link {
  color: #000!important;
}

.navbar-custom.scrolled .nav-link:hover {
  color: #c31432 !important;
}
.navbar-custom.hide-border::before {
  display: none !important;
}


    .hero h1 {
      color: #1e293b;
      font-weight: 700;
      font-size: 2.5rem;
    }

    .hero p {
      color: #475569;
      font-size: 1.1rem;
      margin-top: 10px;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .navbar-custom {
        padding: 12px 25px;
      }
    }

 .speakers-section {
      /* background: radial-gradient(circle at top left, #1e293b, #240b36 40%, #c31432 100%); */
      background: #fff;
      color: #000 !important;
      position: relative;
      overflow: hidden;
  }

  .speakers-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url('img/pattern.svg') repeat;
      opacity: 0.05;
  }

  .section-title {
      font-weight: 700;
      font-size: 2rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      position: relative;
  }

  .section-title::after {
      content: "";
      display: block;
      width: 80px;
      height: 3px;
      background: linear-gradient(90deg, #c31432, #240b36, #c31432);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      margin: 10px 0;
      animation: glowLine 2s infinite alternate;
  }

  @keyframes glowLine {
      from {
          opacity: 0.3;
          width: 40px;
      }

      to {
          opacity: 1;
          width: 80px;
      }
  }

  .speaker-card {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(12px);
      border-radius: 20px;
      overflow: hidden;
      /* This will be overridden for hover */
      min-height: 330px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      /* Updated transition for scroll animation */
      transition: transform 0.6s ease-out, box-shadow 0.4s ease, background 0.4s ease, min-height 0.5s ease-out, opacity 0.6s ease-out;
      position: relative;

      /* Initial state for scroll animation */
      opacity: 0;
      transform: translateY(40px);
  }

  .speaker-card.visible {
      opacity: 1;
      transform: translateY(0);
  }

  .speaker-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 20px;
      padding: 2px;
      background: linear-gradient(90deg, #c31432, #240b36, #c31432);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      animation: borderGlow 6s linear infinite;
  }

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

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

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

  .speaker-card:hover {
      transform: translateY(-12px) scale(1.07);
      box-shadow: 0 0 40px rgba(195, 20, 50, 0.7);
      background: rgba(255, 255, 255, 0.12);
      height: auto!important;
      overflow: visible;
      /* Allow content to be visible */
  }

  .speaker-img {
      padding: 20px;
      position: relative;
      overflow: hidden;
      border-radius: 20px 20px 0 0;
      /* Add border-radius to clip the image */
  }

  .speaker-img img {
      width: 100%;
      height: 130px;
      object-fit: fill;
      transition: transform 0.4s ease, filter 0.4s ease;
  }

  .speaker-card:hover .speaker-img img {
      transform: scale(1.05);
      /* Reduced the scale for a subtler animation */
      border-radius: 8px;
      height: auto!important;

  }

  .social-links {
      display: flex;
      justify-content: center;
      gap: 15px;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-top 0.5s ease-out;
  }

  .speaker-card:hover .social-links {
      margin-top: 15px;
      max-height: 40px;
      /* Should be at least the height of the links */
      opacity: 1;
  }

  .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: rgba(0, 0, 0, 0.1);
      color: #333;
      text-decoration: none;
      font-size: 16px;
      transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .social-links a:hover {
      background-color: #c31432;
      color: #fff;
      transform: scale(1.1);
  }

  .speaker-info {
      padding: 15px;
      text-align: center;
      position: relative;
      /* Needed for the pseudo-element line */
  }

  .speaker-info::after {
      content: '';
      position: absolute;
      bottom: 60px;
      /* Position it above the social links area */
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.2);
      transition: width 0.4s ease-out;
  }

  .speaker-card:hover .speaker-info::after {
      width: 80%;
      /* Animate the line to 80% width on hover */
  }

  .speaker-info h5 {
      font-weight: 700;
      margin-bottom: 5px;
      color: #000;
  }

  .speaker-info p {
      font-size: 0.9rem;
      color: #000;
  }


  .section-heading {
      font-size: 1.5rem;
      font-weight: bold;
      text-transform: uppercase;
      color: #003366;

  }


  .accordion-button:not(.collapsed) {
      background-color: #d0e8ff;
      color: #003366;
      box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
  }

  .accordion-body {
      background-color: #f8f9fa;
      border-radius: 0 0 8px 8px;
      padding: 20px;
  }

  .speaker-name {
      font-weight: 600;
      color: #212529;
  }

  .speaker-affiliation {
      color: #495057;
  }



.navbar-toggler {
  border: none;
  background-color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(36,11,54, 0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



.animated-bg {
  position: relative; /* ✅ Add this */
  z-index: 0;          /* ✅ Keep it above -1 */
  height: 550px;
  background: url('../img/Singapore.jpg') center/cover no-repeat;
  animation: zoomBg 20s ease-in-out infinite alternate;
  margin-top: 0;
  padding-top: 0;
}
@keyframes zoomBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.animated-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(36,11,54,0.6), rgba(195,20,50,0.6));
  z-index: 1; /* ✅ This is fine */
}



.content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.icled-section {
  /* background: linear-gradient(135deg, #240b36, #c31432);
  color: #fff; */
  position: relative;
  overflow: hidden;
}

.event-card, .abstract-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.event-card:hover, .abstract-card:hover {
  transform: translateY(-5px);
}


.background-shape {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #c31432, #240b36);
  animation: float 6s ease-in-out infinite;
  border-radius: 50%;
  opacity: 0.3;
}

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






  .hero-section1 {
      color: #000;
      text-align: center;
      height:300px!important;
      margin-top:60px;
      margin-bottom:20px;
      
      
    }

    .hero-section1 h1 {
      font-size: 2.8rem;
      font-weight: 700;
      text-transform: uppercase;
      overflow: hidden;
      white-space: nowrap;
      animation: typing 4s steps(30, end), blink .75s step-end infinite;
    }

    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }

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

    .hero-section1 h2 {
      font-size: 1.5rem;
      font-weight: 500;
      margin-bottom: 25px;
    }

    .hero-section1 p {
      font-size: 1.1rem;
      margin-bottom: 40px;
    }


    .btn-abstract {
      position: relative;
       background: linear-gradient(135deg, #c31432, #240b36);
      color: #fff!important;
      font-weight: 600;
      padding: 14px 45px;
      border-radius: 50px;
      border: none;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: 0.3s ease;
      overflow: hidden;
      z-index: 1;
    }

    .btn-abstract::before {
      content: "";
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      border-radius: 50px;
      background: conic-gradient(from 0deg, #c31432, #240b36, #c31432);
      animation: spinBorder 3s linear infinite;
      z-index: -1;
    }

    .btn-abstract:hover {
      background: #240b36;
      color: #fff;
      box-shadow: 0 0 15px rgba(255,255,255,0.6);
    }

    @keyframes spinBorder {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }


/* about code */

 /* Fade + Slide animation */
    @keyframes fadeUp {
      0% {
        opacity: 0;
        transform: translateY(40px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes slideInLeft {
      0% {
        opacity: 0;
        transform: translateX(-50px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes slideInRight {
      0% {
        opacity: 0;
        transform: translateX(50px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .animate-fade-up {
      animation: fadeUp 0.8s ease-out forwards;

    }

    .delay-1 {
      animation-delay: 0.2s;
    }

    .delay-2 {
      animation-delay: 0.4s;
    }

    .delay-3 {
      animation-delay: 0.6s;
    }

    .delay-4 {
      animation-delay: 0.8s;
    }

    .animate-slide-in-left {
      animation: slideInLeft 0.8s ease-out forwards;
    }

    .animate-slide-in-right {
      animation: slideInRight 0.8s ease-out forwards;
    }


    .josefin-sans-header {
      font-family: "Josefin Sans", sans-serif;
      font-optical-sizing: auto;
      font-weight: 600;
      font-style: normal;
    }

    .glow {
      text-shadow: 0 0 5px #06b6d4, 0 0 10px #06b6d4, 0 0 15px #06b6d4, 0 0 20px #0891b2;
    }

    .box-glow {
      box-shadow: 0 0 5px #06b6d4, 0 0 10px #06b6d4, inset 0 0 5px #06b6d4;
      transition: all 0.3s ease-in-out;
    }

    .box-glow:hover {
      box-shadow: 0 0 10px #06b6d4, 0 0 20px #0891b2, inset 0 0 10px #06b6d4;
    }

    @keyframes pulse-glow {

      0%,
      100% {
        text-shadow: 0 0 5px #06b6d4, 0 0 10px #06b6d4, 0 0 15px #06b6d4, 0 0 20px #0891b2;
      }

      50% {
        text-shadow: 0 0 10px #06b6d4, 0 0 20px #0891b2, 0 0 30px #0891b2, 0 0 40px #0891b2;
      }
    }






.icled-footer {
  position: relative;
  color: #e5e7eb;
  background: radial-gradient(1200px 500px at 10% -20%, rgba(195,20,50,0.25), transparent 60%),
              radial-gradient(900px 450px at 90% -10%, rgba(36,11,54,0.25), transparent 70%),
              linear-gradient(135deg, #0f172a, #1e293b 60%, #1e3a8a);
  overflow: hidden;
}

/* Decorative wave at top */
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 80px;
  background: url('img/footer-wave.svg') center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

/* Titles & text */
.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.6px;
}

.footer-text {
  color: #cbd5e1;
  line-height: 1.6;
}

/* Logo */
.footer-logo {
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* Social buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06) inset;
}
.social-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c31432, #240b36);
  box-shadow: 0 6px 18px #c3143259;
}

/* Links */
.footer-links li + li { margin-top: 6px; }
.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #c31432, #240b36);
  transition: width 0.25s ease;
}
.footer-links a:hover::after { width: 60%; }

/* Buttons */
.btn-footer, .btn-outline-footer {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
}
.btn-footer {
  background: linear-gradient(135deg, #c31432, #240b36);
  color: #fff;
  box-shadow: 0 6px 18px rgba(195,20,50,0.35);
}
.btn-footer:hover { filter: brightness(1.05); }

.btn-outline-footer {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}
.btn-outline-footer:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Contact list */
.footer-contact li + li { margin-top: 6px; }
.footer-contact strong { color: #fff; }

/* Associations */
.assoc-label { color: #cbd5e1; font-size: 0.85rem; }
.assoc-logo {
  height: 24px;
  opacity: 0.85;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}

/* Bottom bar */
.footer-bottom {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom .nav-link {
  color: #cbd5e1;
}
.footer-bottom .nav-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .assoc { flex-wrap: wrap; }
  .assoc-logo { margin-top: 6px; }
}


/* card code here */


.speakers-section {
 /* background: radial-gradient(circle at top left, #1e293b, #240b36 40%, #c31432 100%); */
 background: #fff;
  color: #000!important;
  position: relative;
  overflow: hidden;
}
.speakers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/pattern.svg') repeat;
  opacity: 0.05;   
}

.speaker-card:hover {
  transform: translateY(-12px) scale(1.07);
  box-shadow: 0 0 40px rgba(195,20,50,0.7);
  background: rgba(255,255,255,0.12);
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
   background: linear-gradient(90deg, #c31432, #240b36, #c31432);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  margin: 10px auto 0;
  animation: glowLine 2s infinite alternate;
}

@keyframes glowLine {
  from { opacity: 0.3; width: 40px; }
  to { opacity: 1; width: 80px; }
}

.speaker-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  height:330px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.speaker-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(90deg, #c31432, #240b36, #c31432);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGlow 6s linear infinite;
}

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

.speaker-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 30px rgba(195,20,50,0.6);
  height:auto!important;
}
.speaker-img{
  padding: 20px;
}

.speaker-img img {
  width: 100%;
  height: 160px;   
  object-fit: cover;
  transition: transform 0.4s ease;
}
.speaker-card:hover .speaker-img img {
  transform: scale(1.1);
  border-radius:8px;
  height: auto!important;
}

.speaker-info {
  padding: 15px;
  text-align: center;
}

.speaker-info h5 {
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}

.speaker-info p {
  font-size: 0.9rem;
  color: #000;
}


   .section-heading {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #003366;
  
}


    .accordion-button:not(.collapsed) {
      background-color: #d0e8ff;
      color: #003366;
      box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }

    .accordion-body {
      background-color: #f8f9fa;
      border-radius: 0 0 8px 8px;
      padding: 20px;
    }

    .speaker-name {
      font-weight: 600;
      color: #212529;
    }

    .speaker-affiliation {
      color: #495057;
    }




    /* about code here */
    




