:root{
  --purple: #9b30ff;
  --muted: #d1d5db;
  --black: #000;
  --glass: rgba(255,255,255,0.03);
  --text-shadow: 0 6px 24px rgba(155,48,255,0.08);
}
html, body {
  overflow-x: clip;
  position: relative;
}

body {
  margin:0;
  font-family: 'Barlow', sans-serif;
  color: var(--muted);
  background: #000;
}




/* Sub-backgrounds */
.sub-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh; /* each sub-background takes full viewport height */
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain; /* or 'cover' if you want it to fill */
    z-index: -5; /* above main bg, below content */
}

/* Assign each sub-background its SVG */
#page-1 {
  background-image: url('../assets/PAGE-1-1.webp');
  width: 100%;
  height: 200vh; /* Adjust as needed based on image height */
  top: 23vh;
  left: -19vh;
}
#page-2 { background-image: url('../assets/PAGE-2-2.webp'); top: 29vh; background-size: 60%; margin-left: 12%;}
#page-5 { background-image: url('../assets/PAGE-5-5.webp'); top: 115vh; background-size: 80%;}





.glow1-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: black; */
}

.glow1-bg::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    #9b30ff3b 0%,
    rgba(155, 48, 255, 0.1) 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}


.glow2-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: black; */
}

.glow2-bg::before {
  content: "";
  position: absolute;
  top: 22%;
  left: -20vw;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    #9b30ff3a 0%,
    rgba(155, 48, 255, 0.1) 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}


/* .glow3-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow3-bg::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 80%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    #cb30ff39 0%,
    rgba(155, 48, 255, 0.1) 70%,
    transparent 100%
  );
  filter: blur(80px);
  pointer-events: none;
} */





.glow4-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: black; */
}

.glow4-bg::before {
  content: "";
  position: absolute;
  top: 65%;
  left: -45vw;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    circle,
    #cb30ff57 0%,
    rgba(155, 48, 255, 0.1) 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}


.glow5-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: black; */
}

.glow5-bg::before {
  content: "";
  position: absolute;
  top: 65%;
  left: 70vw;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    circle,
    #cb30ff57 0%,
    rgba(155, 48, 255, 0.1) 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}

.smaller-image{
  max-width: 15rem;
}

@media (max-width: 768px){
  .smaller-image{
    max-width: 10rem;
  }
}


.bold-purple{
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: bold;
  line-height: 0.8;
}


/* NAVBAR */
.navbar-absolute {
    background: transparent;
    /* position: absolute; */
    top: 0;
    width: 100%;
    z-index: 40;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Optional: when menu is open on mobile */
.navbar-relative {
    position: relative !important;
}

.navbar-absolute.scrolled {
    background: rgba(15, 12, 29, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand { 
    color: #fff; 
    letter-spacing: 1px; 
    font-weight: 700; 
    font-size: 1.5rem;
}

.nav-link { 
    color: rgba(255, 255, 255, 0.916); 
    margin-right: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover { 
    color: var(--purple); 
    transform: translateY(-2px);
}

/* CTA button */
.btn-cta {
    /* background: linear-gradient(90deg, var(--purple), #7d24d9); */
    color: var(--purple);
    text-decoration: none;
    border-radius: 36px;
    /* padding: 10px 20px; */
    /* box-shadow: 0 8px 26px rgba(155, 48, 255, 0.18); */
    border: none;
    font-size: 2.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(155, 48, 255, 0.3);
}



footer {
    background: rgba(10, 8, 20, 0.95);
    padding: 4rem 0 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
}

.navbar-logo {
    height: 60px;   /* adjust to fit your navbar */
    width: auto;    /* keeps aspect ratio */
    display: block;
}
/* SECTIONS */
.section {
  padding-top: 4rem;
  padding-bottom: 2rem;
}
/* .section-dark { background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.3)); } */

/* section title */
.section-title {
  color: var(--purple);
  font-weight: 900;
  /* font-size: clamp(24px, 6vw, 64px); */
  font-size: 4.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 50px rgb(155, 48, 255);
}


/* welcome */
/* .speaker-img { width: 150px; height:150px; object-fit:cover; border: 3px solid rgba(155,48,255,0.12); box-shadow: 0 12px 40px rgba(0,0,0,0.6); } */



/* .speaker-img :hover{
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(111, 66, 193, 0.15), rgba(80, 40, 150, 0.15));
  box-shadow: 0 15px 35px rgba(110, 66, 193, 0.574);
} */


/* lead paragraph styling */
.lead-paragraph {
    color: rgb(188 192 197);
    font-size: 1.12rem;
    line-height: 1.3;
}
.lead-paragraph2 {
  color: rgba(209,213,219,0.95);
  font-size: 0.9rem;
  line-height: 1.2;
}


/* footer */
.footer-dark {
  background: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,1));
}


/* small devices */
@media (max-width: 575px){
  .navbar-absolute { padding: 0.6rem 0; }
  .nav-link { font-size: 0.92rem; }
  /* .speaker-img { width:120px; height:120px; } */
}


.partner-img {
  max-height: 110px;
  margin: 20px;
  filter: grayscale(100%) brightness(200%);
  transition: all 0.3s ease;
}

.partner-img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.05);
}

.sponsor-img {
  max-height: 80px;
  margin: 20px;
  filter: grayscale(100%) brightness(200%);
  transition: all 0.3s ease;
}

.sponsor-img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.05);
}







@media (max-width: 768px) {

  .speaker-popup{
    position: relative !important;
  }


  .margin-when-phone{
    margin-top: 40% !important;
  }

  /* Navigation */
  .navbar-absolute {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    margin: 0 auto;
  }

  
  .navbar-nav {
    gap: 20px !important;
    text-align: center;
  }
  
  .btn-cta {
    font-size: 1.5rem;
    margin-top: 1rem;
  }
  
  /* Event details */
  .display-3 {
    font-size: 2.5rem;
  }
  
  .row.text-start.align-items-center {
    text-align: start !important;
  }
  
  .row.text-start.align-items-center .col-12 {
    margin-bottom: 1.5rem;
  }
  
  /* Welcome section */
  .section-title {
    font-size: 2.5rem !important;
  }
  
  /* .speaker-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
  } */
  
  .col-lg-3, .col-lg-8 {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px;
  }
  
  .lead-paragraph, .lead-paragraph2 {
    font-size: 1rem !important;
    text-align: left;
  }
  .for-phone-size{
    padding-left: 3rem !important;
  }
  

  /* Sponsors section */
  .sponsor-img {
    max-height: 50px;
    margin: 10px;
  }
  
  /* Reduce spacing on mobile */
  .py-6, .pt-6, .pb-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mt-4, .mb-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  br {
    display: none;
  }
}

/* Additional small screen adjustments */
@media (max-width: 576px) {
  
  .section-title {
    font-size: 2rem !important;
  }
  
  .container-fluid.px-5 {
    padding-left: 15px !important;
    padding-right: 15px;
  }
  
  .btn-cta {
    font-size: 1.2rem;
  }
}




    .speaker-card {
      position: relative;
      text-align: center;
      margin-bottom: 30px;
      cursor: pointer;
    }

    .speaker-img {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #6f42c1;
      transition: transform 0.3s;
    }

    .speaker-card:hover .speaker-img {
      transform: scale(1.05);
      box-shadow: 0 15px 35px rgba(110, 66, 193, 0.647);
    }

    .speaker-name {
      margin-top: 10px;
      font-weight: bold;
      font-size: 14px;
      color: var(--purple);
    }

    .speaker-role{
      font-size: 14px;
      color: #aaa;
    }

    .speaker-role-location  {
      font-weight: bold;
      font-size: 13px;
      color: #dbdbdbe7;
    }
/* Speaker Popup (Base - good for mobile) */
.speaker-popup {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  width: 320px;              /* default small screen size */
  background: #1a1a2e;
  border: 2px solid #9b30ff;
  border-radius: 15px;
  padding: 20px;
  color: #fff;
  text-align: left;
  box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
  z-index: 200;
  opacity: 0;
  transition: all 0.3s ease;
}

/* Smooth show effect */
.speaker-card:hover .speaker-popup {
  display: block;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Popup Header */
.speaker-popup .popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 10px;
}

.speaker-popup .popup-header img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid #9b30ff;
}

.speaker-popup h5 {
  margin: 0;
  font-size: 16px;
  color: #9b30ff;
}

.speaker-popup span {
  font-size: 13px;
  color: #bbb;
}

.speaker-popup p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0;
}
































        /* LARGE POPUP STYLES */
        .speaker-popup2 {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            width: 85%;
            max-width: 900px;
            max-height: 85vh;
            overflow-y: auto;
            /* background: linear-gradient(to right, #1a1a2e 0%, #16213e 100%); */
            background: rgba(0, 0, 0, 0.286);
            /* border: 3px solid var(--purple); */
            border: 3px solid #a430ff80;
            border-radius: 20px;
            padding: 30px;
            color: #fff;
            text-align: left;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
            z-index: 1000;
            opacity: 0;
            transition: all 0.4s ease;
        }
        
        .speaker-popup2.active {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        
        .popup-header2 {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            border-bottom: 2px solid rgba(155, 48, 255, 0.4);
            padding-bottom: 20px;
        }
        
        .popup-header2 img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 25px;
            border: 3px solid #9b30ff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .popup-header2-content {
            flex: 1;
        }
        
        .popup-header2 h5 {
            margin: 0;
            font-size: 28px;
            color: #c9adff;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
        
        .popup-header2 span {
            font-size: 20px;
            color: #dcc7ff;
            font-weight: 500;
        }
        
        .speaker-popup2 p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 0;
            color: #f0e6ff;
        }
        
        .close-popup2 {
            position: absolute;
            top: 20px;
            right: 25px;
            color: #fff;
            background: #9b30ff80;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 22px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        
        .close-popup2:hover {
            background: var(--lighter-purple);
            transform: rotate(90deg);
        }
        
        .overlay2 {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 999;
        }
        
        .overlay2.active {
            display: block;
        }
        
        /* Info icon for mobile */
        .mobile-info {
            display: none;
            position: absolute;
            top: 20px;
            right: 20px;
            color: var(--purple);
            font-size: 22px;
            background: rgba(0, 0, 0, 0.5);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 992px) {
            .speaker-popup2 {
                width: 90%;
                padding: 25px;
            }
            
            .popup-header2 {
                flex-direction: column;
                text-align: center;
            }
            
            .popup-header2 img {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .popup-header2 h5 {
                font-size: 24px;
            }
            
            .popup-header2 span {
                font-size: 18px;
            }
            
            .speaker-popup2 p {
                font-size: 16px;
            }
        }
        
        @media (max-width: 768px) {
            .mobile-info {
                display: flex;
            }
            
            .speaker-popup2 {
                width: 95%;
                padding: 20px;
            }
            
            .popup-header2 h5 {
                font-size: 22px;
            }
            
            .popup-header2 span {
                font-size: 16px;
            }
            
            .speaker-popup2 p {
                font-size: 15px;
                line-height: 1.6;
            }
        }




        /* Fade + Slide In Up Animation */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade + Slide In Left Animation */
@keyframes fadeSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply on load */
.animate-on-load {
  opacity: 0; /* start hidden */
  animation: fadeSlideUp 1s ease forwards;
}

.animate-on-load-left {
  opacity: 0;
  animation: fadeSlideLeft 1s ease forwards;
}



@media (max-width: 768px) {
    .partner-img {
        max-height: 75px;
        margin: 10px;
    }
}
