
:root{
    --white:#ffffff;
    --blue:#5da9ff;
    --blue2:#7fc3ff;
    --dark:#02050a;
    --dark2:#07111f;
    --card:rgba(10,18,32,0.88);
    --border:rgba(93,169,255,0.18);
}

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'JetBrains Mono', monospace;
    font-family: 'Inter', sans-serif;
    background:linear-gradient(180deg,var(--dark) 0%, var(--dark2) 100%);
    color:var(--white);
    overflow-x:hidden;
}

/* =========================
   TOP NAVBAR
========================= */

.topbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:75px;
    font-family:'JetBrains Mono', monospace;
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 50px;

    background:rgba(5,10,20,0.85);
    backdrop-filter:blur(14px);

    border-bottom:1px solid var(--border);

    z-index:999;

    animation:topFade 1s ease;
}

@keyframes topFade{
    from{transform:translateY(-20px);opacity:0;}
    to{transform:translateY(0);opacity:1;}
}
/* LEFT */

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo{
    width:52px;
    height:52px;
    margin-top: -3px;
    border-radius:50%;
    border:2px solid var(--blue);

    object-fit:cover;

    box-shadow:0 0 20px rgba(93,169,255,0.3);
}

.logo-text{
    font-size:28px;
    font-weight:700;
    letter-spacing:2px;
}

.logo-text .blue{
    color:var(--blue);
}

/* RIGHT */

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    color:#c7d9f5;
    text-decoration:none;

    font-size:14px;
    letter-spacing:2px;
    text-transform:uppercase;

    transition:0.3s;
    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;

    width:0%;
    height:2px;

    background:var(--blue);

    transition:0.3s;
}

.nav-links a:hover{
    color:var(--white);
}

.nav-links a:hover::after{
    width:100%;
}
/* =========================================================
   MOBILE NAVBAR OPTIMIZATION (ALL DEVICES)
   Paste this at the VERY END of style.css
========================================================= */

/* --- TABLET & LARGE PHONES (Max 980px) --- */
@media (max-width: 980px) {
  .topbar {
    height: auto;
    min-height: 70px;
    padding: 12px 24px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
  }

  .logo-area {
    gap: 12px;
  }

  .logo {
    width: 46px;
    height: 46px;
    margin-top: 0;
  }

  .logo-text {
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(93, 169, 255, 0.1);
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1.5px;
    padding: 6px 8px;
  }

  .nav-links a::after {
    bottom: -4px;
  }
}

/* --- STANDARD MOBILE (Max 768px) --- */
@media (max-width: 768px) {
  .topbar {
    padding: 10px 20px;
    min-height: 68px;
    gap: 10px;
  }

  .logo {
    width: 42px;
    height: 42px;
  }

  .logo-text {
    font-size: 20px;
    letter-spacing: 1.2px;
  }

  .nav-links {
    gap: 12px;
    padding: 6px 0 2px;
  }

  .nav-links a {
    font-size: 11px;
    letter-spacing: 1.2px;
    padding: 5px 6px;
  }
}

/* --- SMALL PHONES (Max 480px) --- */
@media (max-width: 480px) {
  .topbar {
    padding: 8px 16px;
    min-height: 64px;
    gap: 8px;
  }

  .logo-area {
    gap: 10px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .nav-links {
    gap: 8px;
    padding: 4px 0 2px;
  }

  .nav-links a {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 4px 5px;
  }
}

/* --- VERY SMALL PHONES (Max 360px) --- */
@media (max-width: 360px) {
  .topbar {
    padding: 6px 12px;
    min-height: 60px;
    gap: 6px;
  }

  .logo {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 16px;
    letter-spacing: 0.8px;
  }

  .nav-links {
    gap: 6px;
    padding: 3px 0 2px;
  }

  .nav-links a {
    font-size: 9px;
    letter-spacing: 0.8px;
    padding: 3px 4px;
  }
}

/* --- TINY PHONES (Max 320px) --- */
@media (max-width: 320px) {
  .topbar {
    padding: 5px 10px;
    min-height: 56px;
  }

  .logo {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 14px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
}

/* =========================
   SECTION
========================= */
.section{
    padding:100px 20px;
    opacity:0;
    transform:translateX(-60px);
    transition:0.9s ease;
}

.section.show{
    opacity:1;
    transform:translateX(0);
}

.section-inner{
    max-width:1200px;
    margin:auto;
}

.section-title{
    text-align:center;
    font-size:42px;
    margin-bottom:20px;
}

.section-title span{
    color:var(--blue);
    text-transform:uppercase;
}

.section-sub{
    text-align:center;
    color:#9db2d3;
    margin-bottom:60px;
    line-height:1.8;
}

/* =========================
   CARDS
========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:var(--card);

    border:1px solid var(--border);
    border-radius:10px;

    padding:30px;

    transition:0.35s;
}
.card:hover{
    transform:translateY(-8px) scale(1.02);
    border-color:rgba(93,169,255,0.45);
    box-shadow:0 0 40px rgba(93,169,255,0.15);
}
.card h3{
    color:var(--blue);
    margin-bottom:15px;
    font-size:22px;
}

.card p{
    color:#b9c9e5;
    line-height:1.8;
    font-size:14px;
}
.card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:10px;
    padding:30px;

    transition:0.4s ease;

    /* start hidden */
    opacity:0;
    transform:translateY(30px);
}
/* CARD IMAGE */

.card-img{
    width:100%;
    height:220px;

    object-fit:cover;

    border-radius:20px;

    margin-bottom:22px;

    border:1px solid rgba(255,255,255,0.08);

    transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;

    box-shadow:
    0 0 25px rgba(93,169,255,0.08);
}

/* IMAGE HOVER */

.card:hover .card-img{
    transform:scale(1.03);

    box-shadow:
    0 0 35px rgba(93,169,255,0.16);
}

/* CARD IMPROVEMENT */

.card{
    overflow:hidden;
}
/* when section becomes visible */
.section.show .card{
    animation:cardFade 0.8s ease forwards;
}

/* stagger delays */
.section.show .card:nth-child(1){
    animation-delay:0.1s;
}

.section.show .card:nth-child(2){
    animation-delay:0.25s;
}

.section.show .card:nth-child(3){
    animation-delay:0.4s;
}

.section.show .card:nth-child(4){
    animation-delay:0.55s;
}

/* animation */
@keyframes cardFade{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* =========================
   FOOTER
========================= */

footer{
    padding:35px 20px;

    border-top:1px solid var(--border);

    text-align:center;

    color:#8fa4c8;
    font-size:13px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .topbar{
        padding:0 20px;
    }

    .nav-links{
        gap:18px;
    }

    .hero-title{
        font-size:52px;
    }

    .logo-text{
        font-size:22px;
    }

}

@media(max-width:560px){

    .topbar{
        flex-direction:column;
        height:auto;
        padding:15px;
        gap:15px;
    }

    .hero{
        padding-top:170px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

}
/* =========================
   SCROLL TEXT
========================= */

.scroll-text{
    position:absolute;
    font-family:'JetBrains Mono', monospace;
    left:78%;

    transform:translateX(-50%);

    font-size:11px;
    font-weight:500;

    color:rgba(255,255,255,0.55);

    letter-spacing:4px;

    text-transform:uppercase;

    animation:scrollFloat 2.8s ease-in-out infinite;

    user-select:none;

    text-shadow:
      0 0 10px rgba(0,195,255,0.15);
}

/* SMOOTH FLOAT */

@keyframes scrollFloat{

    0%,100%{
        transform:translateX(-50%) translateY(0px);
        opacity:0.55;
    }

    50%{
        transform:translateX(-50%) translateY(10px);
        opacity:1;
    }
}
/* ================= CONTACT ================= */
.contact-wrap{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    max-width:1000px;
    margin:auto;
}

form{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:10px;
}

input,textarea{
    padding:12px;
    border-radius:8px;
    border:1px solid var(--border);
    background:#0b1628;
    color:white;
    font-family:'JetBrains Mono';
}

button{
    padding:12px;
    background:var(--blue);
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

/* RIGHT INFO */
.contact-info{
    flex:1;
    padding:20px;
}
/* =========================================================
   ABOUT SECTION — PROFESSIONAL MEDIA UNIT STYLE
========================================================= */

.about-section{
  position:relative;
  padding:110px 7%;
  overflow:hidden;
}

/* SOFT BACKGROUND LIGHT */
.about-section::before{
  content:"";
  position:absolute;
  inset:0;

  background:
  radial-gradient(circle at top left,
  rgba(0,195,255,0.08),
  transparent 35%),

  radial-gradient(circle at bottom right,
  rgba(120,80,255,0.08),
  transparent 35%);

  pointer-events:none;
}

/* =========================================================
 MAIN LAYOUT
========================================================= */

.about-container{
  position:relative;
  z-index:2;

  max-width:1250px;
  margin:auto;

  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:65px;

  align-items:center;
}

/* =========================================================
 IMAGE CARD
========================================================= */

.about-image-card{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:850px;
  border-radius:30px;

  background:
  linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
  );

  border:
  1px solid rgba(255,255,255,0.08);

  padding:16px;

  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  box-shadow:
  0 15px 50px rgba(0,0,0,0.32),
  0 0 30px rgba(0,195,255,0.06);

  opacity:0;
  transform:translateY(40px);

  transition:
  opacity .9s ease,
  transform .9s ease,
  border-color .4s ease,
  box-shadow .4s ease;
}

/* REVEAL */
.section.show .about-image-card{
  opacity:1;
  transform:translateY(0);
}

/* LIGHT SWEEP */
.about-image-card::before{
  content:"";

  position:absolute;
  top:0;
  left:-120%;

  width:45%;
  height:100%;

  background:
  linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.12),
      transparent
  );

  transform:skewX(-20deg);

  transition:1s ease;
}

.about-image-card:hover::before{
  left:140%;
}

/* PROFESSIONAL HOVER */
.about-image-card:hover{
  border-color:rgba(99,223,255,0.22);

  box-shadow:
  0 20px 60px rgba(0,0,0,0.4),
  0 0 40px rgba(0,195,255,0.08);
}

/* IMAGE */
.about-image-card img{
  width:100%;
  height:510px;

  object-fit:cover;

  border-radius:22px;

  display:block;
}

/* =========================================================
 CONTENT SIDE
========================================================= */

.about-content{
  opacity:0;
  transform:translateY(40px);

  transition:
  opacity .9s ease,
  transform .9s ease;
}

/* REVEAL */
.section.show .about-content{
  opacity:1;
  transform:translateY(0);
}

/* MINI TEXT */
.about-mini{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'JetBrains Mono', monospace;
  padding:10px 18px;

  border-radius:999px;

  background:
  rgba(0,195,255,0.08);

  border:
  1px solid rgba(0,195,255,0.18);

  color:#79e7ff;

  font-size:11px;
  font-weight:600;

  letter-spacing:3px;

  margin-bottom:24px;

  backdrop-filter:blur(10px);
}

/* TITLE */
.about-title{
  font-size:58px;
  line-height:1.08;
  font-weight:800;

  color:#ffffff;

  margin-bottom:28px;

  letter-spacing:-2px;
}

.about-title span{
  color:#63dfff;

  text-shadow:
  0 0 18px rgba(0,195,255,0.14);
}

/* DESCRIPTION */
.about-text{
  color:rgba(255,255,255,0.68);

  font-size:15.5px;
  line-height:2;

  max-width:620px;

  margin-bottom:38px;
}

/* =========================================================
 STATS
========================================================= */

.about-stats{
  display:grid;
  grid-template-columns:
  repeat(3,minmax(0,1fr));

  gap:18px;
}

/* STAT CARD */
.stat-card{
  position:relative;

  overflow:hidden;

  padding:26px 22px;

  border-radius:22px;

  background:
  linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.025)
  );

  border:
  1px solid rgba(255,255,255,0.07);

  backdrop-filter:blur(12px);

  transition:
  border-color .35s ease,
  box-shadow .35s ease,
  transform .35s ease;
}

/* LIGHT LINE */
.stat-card::before{
  content:"";

  position:absolute;
  top:0;
  left:-100%;

  width:50%;
  height:1px;

  background:
  linear-gradient(
      90deg,
      transparent,
      rgba(99,223,255,0.85),
      transparent
  );

  transition:.8s ease;
}

.stat-card:hover::before{
  left:140%;
}

/* HOVER */
.stat-card:hover{
  transform:translateY(-4px);

  border-color:
  rgba(99,223,255,0.2);

  box-shadow:
  0 12px 35px rgba(0,0,0,0.28),
  0 0 25px rgba(0,195,255,0.07);
}

/* NUMBER */
.stat-card h3{
  font-size:34px;
  font-weight:800;

  color:#63dfff;

  margin-bottom:10px;
}

/* TEXT */
.stat-card p{
  color:rgba(255,255,255,0.62);

  font-size:13px;

  letter-spacing:.3px;
}

/* =========================================================
 MOBILE OPTIMIZATION
========================================================= */

@media(max-width:1100px){

  .about-container{
      grid-template-columns:1fr;
      gap:55px;
  }

  .about-image-card img{
      height:500px;
  }

  .about-content{
      text-align:center;
  }

  .about-text{
      margin-left:auto;
      margin-right:auto;
  }
}

@media(max-width:768px){

  .about-section{
      padding:90px 22px;
  }

  .about-title{
      font-size:42px;
  }

  .about-image-card img{
      height:400px;
  }

  .about-stats{
      grid-template-columns:1fr;
  }

  .stat-card{
      text-align:center;
  }
}

@media(max-width:520px){

  .about-title{
      font-size:34px;
  }

  .about-text{
      font-size:14px;
      line-height:1.9;
  }

  .about-image-card{
      padding:12px;
      border-radius:24px;
  }

  .about-image-card img{
      height:320px;
      border-radius:18px;
  }

  .about-mini{
      font-size:10px;
      letter-spacing:2px;
  }
}
/* =========================================================
   EVENTS SECTION
========================================================= */

#events{
  position:relative;
  overflow:hidden;
}

/* GRID */

.event-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(340px,1fr));

  gap:32px;
}

/* =========================================================
   EVENT CARD
========================================================= */

.event-card{
  position:relative;

  overflow:hidden;

  border-radius:28px;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.03)
  );

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(14px);

  transition:
  transform .4s ease,
  border-color .4s ease,
  box-shadow .4s ease;

  opacity:0;
  transform:translateY(40px);
}


/* HOVER */

.event-card:hover{
  transform:translateY(-8px);

  border-color:
  rgba(99,223,255,0.2);

  box-shadow:
  0 15px 40px rgba(0,0,0,0.35),
  0 0 30px rgba(0,195,255,0.08);
}
.event-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.event-card.show {
  opacity: 1;
  transform: translateY(0);
}
/* =========================================================
   IMAGE
========================================================= */

.event-image-wrap{
  position:relative;
  overflow:hidden;
}

.event-img{
  width:100%;
  height:250px;

  object-fit:cover;

  display:block;
}

/* =========================================================
   OVERLAY
========================================================= */

.event-overlay{
  position:absolute;

  left:18px;
  bottom:18px;

  padding:10px 18px;

  border-radius:999px;

  background:
  rgba(255,255,255,0.08);

  border:
  1px solid rgba(255,255,255,0.14);

  backdrop-filter:blur(12px);

  font-size:11px;
  letter-spacing:2px;

  color:#ffffff;
}

.live-badge{
  background:
  rgba(255,0,0,0.15);

  border-color:
  rgba(255,0,0,0.35);

  color:#ff9090;

  animation:livePulse 1.6s infinite;
}

@keyframes livePulse{
  0%,100%{
    box-shadow:
    0 0 0 rgba(255,0,0,0);
  }

  50%{
    box-shadow:
    0 0 18px rgba(255,0,0,0.35);
  }
}
/* =========================================================
   LIVE WRAPPER CENTER
========================================================= */

.live-wrapper{
  display:flex;
  justify-content:center;
  margin-bottom:80px;
}

/* =========================================================
   LIVE FEATURED CARD (DIFFERENT FROM OTHERS)
========================================================= */

.live-featured{
  width:100%;
  max-width:700px;

  border-radius:32px;

  border:1px solid rgba(255,0,0,0.25);

  background:
  linear-gradient(
    180deg,
    rgba(255,0,0,0.08),
    rgba(255,255,255,0.03)
  );

  box-shadow:
  0 0 40px rgba(255,0,0,0.08);
}

/* =========================================================
   TOP LIVE BADGE
========================================================= */

.live-top-badge{
  position:absolute;
  top:18px;
  left:18px;

  padding:10px 18px;

  border-radius:999px;

  font-size:11px;
  letter-spacing:2px;

  color:#ffb3b3;

  background:rgba(255,0,0,0.12);

  border:1px solid rgba(255,0,0,0.25);

  backdrop-filter:blur(10px);

  animation:liveGlow 1.6s infinite;
}

@keyframes liveGlow{
  0%,100%{
    box-shadow:0 0 0 rgba(255,0,0,0);
  }
  50%{
    box-shadow:0 0 25px rgba(255,0,0,0.35);
  }
}

/* =========================================================
   LIVE BUTTON (DIFFERENT STYLE)
========================================================= */

.live-btn{
  width:100%;
  height:58px;

  border:none;
  outline:none;

  border-radius:18px;

  cursor:pointer;

  font-size:15px;
  font-weight:700;

  color:#fff;

  background:
  linear-gradient(
    90deg,
    rgba(255,0,0,0.25),
    rgba(255,80,80,0.18)
  );

  border:1px solid rgba(255,0,0,0.3);

  transition:.35s ease;

  letter-spacing:0.5px;
}

/* hover effect */
.live-btn:hover{
  transform:translateY(-3px);

  box-shadow:
  0 0 30px rgba(255,0,0,0.25);
}

/* =========================================================
   IMAGE IMPROVEMENT FOR LIVE CARD
========================================================= */

.live-featured .event-img{
  height:320px;
  border-radius:0;
}
/* =========================================================
   CONTENT
========================================================= */

.event-content{
  padding:28px;
}

.event-date{
  color:#79e7ff;

  font-size:12px;

  letter-spacing:2px;

  margin-bottom:16px;
}

.event-content h3{
  color:#ffffff;

  font-size:28px;

  margin-bottom:16px;

  line-height:1.35;
}

.event-content p{
  color:rgba(255,255,255,0.68);

  line-height:1.9;

  font-size:14px;

  margin-bottom:26px;
}

/* =========================================================
   BUTTON
========================================================= */

.event-btn{
  width:100%;

  height:54px;

  border:none;
  outline:none;

  border-radius:16px;

  cursor:pointer;

  background:
  linear-gradient(
    90deg,
    rgba(0,195,255,0.18),
    rgba(98,0,255,0.18)
  );

  border:
  1px solid rgba(99,223,255,0.18);

  color:#dff8ff;

  font-size:14px;
  font-weight:600;

  letter-spacing:.5px;

  transition:.35s ease;
}

.event-btn:hover{
  transform:translateY(-2px);

  border-color:
  rgba(99,223,255,0.32);

  box-shadow:
  0 0 24px rgba(0,195,255,0.16);
}

/* =========================================================
   OLDER BUTTON
========================================================= */

.older-wrap{
  display:flex;
  justify-content:center;

  margin-top:55px;
}

.older-btn{
  border:none;
  outline:none;

  padding:16px 34px;

  border-radius:999px;

  cursor:pointer;

  background:
  rgba(255,255,255,0.06);

  border:
  1px solid rgba(255,255,255,0.1);

  color:#ffffff;

  font-size:14px;

  transition:.35s ease;
}

.older-btn:hover{
  transform:translateY(-3px);

  border-color:
  rgba(99,223,255,0.24);

  box-shadow:
  0 0 24px rgba(0,195,255,0.08);
}

/* =========================================================
   MODAL BACKDROP
========================================================= */

.event-modal,
.video-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* ACTIVE STATE */

.event-modal.active,
.video-modal.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   MODAL BOX (MAIN FIX)
========================================================= */

.event-modal-box,
.video-box {
  width: 92%;
  max-width: 780px;

  max-height: 85vh;

  border-radius: 24px;

  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(16, 20, 30, 0.98),
    rgba(10, 12, 20, 0.98)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  position: relative;

  animation: modalPop 0.35s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* POP ANIMATION */

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================================================
   IMAGE
========================================================= */

.event-modal-box img {
  width: 100%;
  height: 320px;

  object-fit: cover;

  transition: transform 0.6s ease;
}

/* smooth zoom inside modal */
.event-modal-box:hover img {
  transform: scale(1.05);
}

/* =========================================================
   CONTENT AREA (FIXED SCROLL)
========================================================= */

.modal-content {
  padding: 28px;

  max-height: calc(85vh - 320px);
  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* custom scrollbar (chrome) */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.25);
}

/* =========================================================
   TEXT STYLING
========================================================= */

.modal-date {
  color: #79e7ff;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.modal-content h2 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.modal-content p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 24px;
}

/* =========================================================
   FACEBOOK BUTTON
========================================================= */

.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 52px;
  padding: 0 22px;

  border-radius: 14px;

  text-decoration: none;

  background: rgba(0, 140, 255, 0.14);
  border: 1px solid rgba(0, 140, 255, 0.25);

  color: #bfe8ff;

  transition: 0.3s ease;
}

.fb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 140, 255, 0.18);
}

/* =========================================================
   CLOSE BUTTON (BLUR PREMIUM STYLE)
========================================================= */

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  border: 1px solid rgba(255,255,255,0.12);

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);

  color: #fff;
  font-size: 18px;

  cursor: pointer;

  transition: 0.3s ease;
}

.close-modal:hover {
  transform: rotate(90deg) scale(1.05);
  background: rgba(255,255,255,0.14);
}

/* =========================================================
   VIDEO MODAL FIX
========================================================= */

.video-box iframe {
  width: 100%;
  height: 480px;
  border: none;
}

/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */

@media (max-width: 768px) {

  .event-modal-box,
  .video-box {
    width: 95%;
    max-height: 90vh;
    border-radius: 18px;
  }

  .event-modal-box img {
    height: 220px;
  }

  .modal-content {
    max-height: calc(90vh - 220px);
    padding: 20px;
  }

  .modal-content h2 {
    font-size: 24px;
  }

  .video-box iframe {
    height: 260px;
  }

  .close-modal {
    width: 40px;
    height: 40px;
  }
}
/* FACEBOOK BUTTON */

.fb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:54px;
  padding:0 26px;

  border-radius:16px;

  text-decoration:none;

  background:
  rgba(0,140,255,0.16);

  border:
  1px solid rgba(0,140,255,0.25);

  color:#bfe8ff;

  transition:.35s ease;
}

.fb-btn:hover{
  transform:translateY(-2px);

  box-shadow:
  0 0 22px rgba(0,140,255,0.16);
}

/* CLOSE */

.close-modal{
  position:absolute;

  top:18px;
  right:18px;

  width:48px;
  height:48px;

  border:none;
  outline:none;

  border-radius:50%;

  cursor:pointer;

  background:
  rgba(255,255,255,0.08);

  color:#ffffff;

  font-size:18px;

  z-index:10;
}

/* VIDEO */

.video-box iframe{
  width:100%;
  height:540px;

  border:none;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

  .event-grid{
    grid-template-columns:1fr;
  }

  .event-content h3{
    font-size:24px;
  }

  .modal-content h2{
    font-size:30px;
  }

  .event-modal-box img{
    height:280px;
  }

  .video-box iframe{
    height:280px;
  }
}
.hidden-event {
  display: none;
}
.event-card.reveal {
  opacity: 1;
  transform: translateY(0);
}
.event-img {
  transition: transform 0.6s ease;
}

.event-card:hover .event-img {
  transform: scale(1.08);
}

/* =========================
   TEAM SECTION
========================= */

.team-grid{
    display:grid;
    font-family:'JetBrains Mono', monospace;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
    margin-top:40px;
}

/* CARD */

.team-card{
    position:relative;

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:28px;

    overflow:hidden;

    backdrop-filter:blur(14px);

    transition:0.45s ease;

    opacity:0;
    transform:translateY(60px);

    animation:teamFade 1s ease forwards;
}

/* stagger */

.team-card:nth-child(1){animation-delay:0.1s;}
.team-card:nth-child(2){animation-delay:0.2s;}
.team-card:nth-child(3){animation-delay:0.3s;}
.team-card:nth-child(4){animation-delay:0.4s;}
.team-card:nth-child(5){animation-delay:0.5s;}
.team-card:nth-child(6){animation-delay:0.6s;}
.team-card:nth-child(7){animation-delay:0.7s;}
.team-card:nth-child(8){animation-delay:0.8s;}

@keyframes teamFade{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.team-card:hover{
    transform:translateY(-10px);

    border-color:rgba(93,169,255,0.4);

    box-shadow:
    0 0 35px rgba(93,169,255,0.18);
}

/* IMAGE */

.team-image-wrap{
    position:relative;
    width:100%;
    height:280px;
    overflow:hidden;
}

.team-image-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:0.6s ease;
}

.team-card:hover img{
    transform:scale(1.08);
}

/* glow */

.team-image-wrap::after{
    content:'';

    position:absolute;
    inset:0;

    background:linear-gradient(
    to top,
    rgba(2,5,10,0.9),
    transparent 50%);

}

/* INFO */

.team-info{
    padding:24px;
    position:relative;
}

.team-info h3{
    color:white;
    font-size:22px;
    margin-bottom:10px;
}

.team-info span{
    display:inline-block;

    color:var(--blue);

    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;

    margin-bottom:18px;
}

.team-info p{
    color:#b7c8e6;
    line-height:1.8;
    font-size:14px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .team-grid{
        grid-template-columns:1fr;
    }

    .team-image-wrap{
        height:320px;
    }

    .team-info{
        padding:22px;
    }

    .team-info h3{
        font-size:20px;
    }

}

@media(max-width:480px){

    .team-image-wrap{
        height:280px;
    }

    .team-card{
        border-radius:24px;
    }

}
/* MAIN LAYOUT */
.contact-wrap{
  display:flex;
  gap:60px; /* MORE SPACE BETWEEN CONTAINERS */
  flex-wrap:wrap;
  margin-top:40px;
}
.contact-info{
  position: relative; /* IMPORTANT FIX */
}
/* GLASS CARD */
.glass-card{
  flex:1;
  min-width:320px;

  padding:28px;
  border-radius:18px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border:1px solid rgba(0,140,255,0.2);
  box-shadow:0 0 25px rgba(0,140,255,0.15);

  color:#fff;
  transition:0.3s;
}

.glass-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 35px rgba(0,140,255,0.3);
}

/* HEADER ICON */
.form-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:15px;
}

.header-icon{
  width:22px;
  height:22px;
  fill:#008cff; /* BLUE THEME */
}

/* INPUTS */
.input-box{
  margin-bottom:14px;
}

.input-box input,
.input-box textarea{
  width:100%;
  padding:12px;
  border-radius:10px;

  background:rgba(0,0,0,0.4);
  border:1px solid rgba(0,140,255,0.2);

  color:#fff;
  outline:none;
}

.input-box input:focus,
.input-box textarea:focus{
  border-color:#008cff;
}

/* BUTTON */
.send-btn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:12px;

  background:#008cff;
  color:#fff;
  font-weight:bold;

  cursor:pointer;
  transition:0.3s;
}

.send-btn:hover{
  background:#006fd6;
  transform:scale(1.03);
}

body {
background-color: white; /* Ensure the iframe has a white background */
}

/* =========================
CONTACT SECTION
========================= */
#contact { position: relative; overflow: hidden; padding: 100px clamp(20px, 5vw, 80px); }
#contact::before {
content: ""; position: absolute; inset: 0;
background: radial-gradient(circle at top right, rgba(0,195,255,0.08), transparent 35%),
radial-gradient(circle at bottom left, rgba(120,80,255,0.08), transparent 35%);
pointer-events: none; z-index: -1;
}
/* Ensure parent stretches children */
.contact-wrap {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  align-items: stretch; /* Forces equal height */
}
/* HEADER ICON STYLE - LARGER SIZE */
.header-icon {
  width: 36px;        /* Increased from 28px */
  height: 36px;       /* Increased from 28px */
  filter: drop-shadow(0 0 8px rgba(0,140,255,0.45));
  transition: 0.3s ease;
  flex-shrink: 0;     /* Prevents shrinking in flex layout */
}

/* Optional: Enhance hover effect for bigger icon */
.form-header:hover .header-icon {
  transform: scale(1.1) rotate(-3deg);  /* Slightly stronger scale */
  filter: drop-shadow(0 0 12px rgba(0,180,255,0.65));
}
/* Make glass cards fill container height */
.glass-card {
  flex: 1;
  min-width: 320px;
  height: 100%; /* Fill parent height */
  display: flex;
  flex-direction: column; /* Stack children vertically */
}

/* Ensure form and info content also stretch */
.contact-form,
.contact-info {
  height: 100%;
}

/* Make social column push to bottom if needed */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center; /* Keep your centering */
}

.social-column {
  margin-top: auto; /* Pushes social icons to bottom */
  width: 100%;
}

/* Ensure developer credit stays at bottom */
.developer-credit {
  margin-top: auto;
}

/* Mobile: maintain equal height on small screens */
@media (max-width: 768px) {
  .contact-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  
  .glass-card {
    width: 100%;
    height: auto; /* Let content define height on mobile */
    min-height: auto;
  }
}
.contact-wrap {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 40px;
margin-top: 50px;
align-items: start;
}

/* Glass Cards */
.glass-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 24px;
padding: 32px;
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
opacity: 0; transform: translateY(30px);
animation: contactFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.contact-form { animation-delay: 0.1s; }
.contact-info { animation-delay: 0.25s; display: flex; flex-direction: column; align-items: flex-start; align-items: center;}
.glass-card:hover {
transform: translateY(-8px);
border-color: rgba(0, 195, 255, 0.35);
box-shadow: 0 15px 50px rgba(0, 140, 255, 0.15), 0 0 30px rgba(0, 195, 255, 0.08);
}
@keyframes contactFadeUp { to { opacity: 1; transform: translateY(0); } }

/* Form Elements */
.form-header { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.form-header h3 { font-size: 20px; font-weight: 700; color: #fff; }
.form-header h3 span { color: var(--blue); }
.input-box { margin-bottom: 16px; }
.input-box input, .input-box textarea {
width: 100%; padding: 14px 16px; border-radius: 14px;
background: rgba(0, 10, 20, 0.45); border: 1px solid rgba(93, 169, 255, 0.15);
color: #fff; font-family: inherit; font-size: 14px; outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.input-box input:focus, .input-box textarea:focus {
border-color: var(--blue); background: rgba(0, 10, 20, 0.65);
box-shadow: 0 0 18px rgba(0, 140, 255, 0.18);
}
.input-box textarea { resize: vertical; min-height: 120px; }

.send-btn {
width: 100%; padding: 15px; border-radius: 14px;
background: linear-gradient(135deg, var(--blue), #0072ff);
color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.5px;
cursor: pointer; display: flex; align-items: center; justify-content: center;
transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
box-shadow: 0 6px 20px rgba(0, 140, 255, 0.25);
}
.send-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 140, 255, 0.35); filter: brightness(1.1); }
.send-btn:active { transform: translateY(0) scale(0.98); }

/* Info Card */
.gl3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.5px; }
.gl3 span { color: var(--blue); }

/* Pill Title */
.pill-title {
display: inline-flex; align-items: center; justify-content: center;
margin-bottom: 25px; margin-top:5px; padding: 10px clamp(16px, 4vw, 40px);
position: relative; overflow: hidden; isolation: isolate;
border-radius: 999px; background: linear-gradient(180deg, rgba(0,195,255,0.10), rgba(0,140,255,0.05));
border: 1px solid rgba(120,220,255,0.16); color: #a8f3ff;
font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 0 14px rgba(0,195,255,0.10);
animation: smoothGlow 5s ease-in-out infinite, pillFade 0.8s ease 0.3s forwards; opacity: 0;
}
@keyframes pillFade { to { opacity: 1; } }
.pill-title::after {
content:""; position:absolute; inset:0; border-radius:inherit; padding:1.2px;
background: linear-gradient(115deg, rgba(0,195,255,0.02), rgba(0,195,255,0.32), rgba(160,240,255,0.95), rgba(0,195,255,0.32), rgba(0,195,255,0.02));
background-size:250% 100%; animation:borderStream 6s linear infinite; opacity:.9;
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none;
}
.pill-title::before {
content:""; position:absolute; top:-40%; left:-180%; width:65%; height:180%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), rgba(255,255,255,0.22), rgba(255,255,255,0.12), transparent);
transform: rotate(12deg) skewX(-18deg); filter:blur(10px); animation:lightSweep 7s ease-in-out infinite; pointer-events:none;
}
@keyframes smoothGlow { 0%,100%{box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 0 14px rgba(0,195,255,0.10);} 50%{box-shadow: inset 0 1px 1px rgba(255,255,255,0.06), 0 0 20px rgba(0,195,255,0.16), 0 0 55px rgba(0,195,255,0.08);} }
@keyframes borderStream { from{background-position:0% 50%;} to{background-position:250% 50%;} }
@keyframes lightSweep { 0%{left:-180%;opacity:0;} 15%,55%{opacity:1;} 100%{left:220%;opacity:0;} }

/* Email Copy */
.email-copy {
color: #8fa4c8; font-size: 13px; display: flex; gap: 8px;
cursor: pointer; position: relative; user-select: none; transition: 0.3s ease;
margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.08); width: 100%; justify-content: left;
}
.email-copy:hover { color: #aef5ff; background: rgba(0, 140, 255, 0.06); transform: translateX(2px); }
.copied-msg {
position: absolute; right: 10px; top: 50%; transform: translateY(-50%) scale(0.9);
background: rgba(0,140,255,0.2); border: 1px solid rgba(0,140,255,0.4);
color: #8fd3ff; font-size: 11px; padding: 5px 12px; border-radius: 8px;
opacity: 0; pointer-events: none; white-space: nowrap; transition: 0.25s ease;
}
.email-copy.active .copied-msg { opacity: 1; transform: translateY(-50%) scale(1); }

/* Social Icons Grid */
.social-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin-top: 8px;
}
.social-btn {
  position: relative; 
  overflow: hidden;
  display: flex; 
  align-items: center; 
  justify-content: center;
  
  /* Medium Size: Balanced and professional */
  width: 60px;
  height: 60px;
  margin: 0 auto;
  
  /* Clean square look */
  border-radius: 14px; 
  
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  
  box-shadow: 0 0 12px rgba(0,140,255,0.05);
  
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

/* Icon size adjusted to fit the 55px box perfectly */
.social-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  transition: 0.3s ease;
}
/* Hover Effects */
.fb:hover { background: rgba(24,119,242,0.15); border-color: rgba(24,119,242,0.4); box-shadow: 0 8px 24px rgba(24,119,242,0.25); }
.fb:hover svg { fill: #69b3ff; }

.ig:hover { background: linear-gradient(135deg, rgba(245,133,63,0.15), rgba(225,48,108,0.15)); border-color: rgba(225,48,108,0.4); box-shadow: 0 8px 24px rgba(225,48,108,0.2); }
.ig:hover svg { fill: #ff6b8b; }

.wa:hover { background: rgba(0,255,115,0.12); border-color: rgba(0,255,115,0.35); box-shadow: 0 8px 24px rgba(0,255,115,0.2); }
.wa:hover svg { fill: #4dff9a; filter: drop-shadow(0 0 8px rgba(0,255,115,0.4)); }

.yt:hover { background: rgba(255,0,0,0.12); border-color: rgba(255,0,0,0.35); box-shadow: 0 8px 24px rgba(255,0,0,0.2); }
.yt:hover svg { fill: #ff4a4a; }

.tt:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); box-shadow: 0 0 20px rgba(0,242,234,0.2), 0 0 20px rgba(255,0,80,0.2); }
.tt:hover svg { filter: drop-shadow(-2px 0 4px #00f2ea) drop-shadow(2px 0 4px #ff0050); fill: #fff; }

.web:hover { background: rgba(255,200,0,0.12); border-color: rgba(255,200,0,0.4); box-shadow: 0 8px 24px rgba(255,200,0,0.2); }
.web:hover svg { fill: #ffd95e; filter: drop-shadow(0 0 8px rgba(255,200,0,0.45)); }

/* =========================
   CONTACT DETAILS
========================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: contactFadeUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a8b9d6;
  font-size: 13px;
  line-height: 1.5;
  transition: 0.3s ease;
  padding: 8px 0;
}

.contact-item:hover {
  color: #c7d9f5;
  transform: translateX(4px);
}

.contact-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  transition: 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(93, 169, 255, 0.4));
}

.contact-item:hover .contact-icon {
  color: #7fc3ff;
  transform: scale(1.1);
}

/* =========================
   DEVELOPER CREDIT
========================= */
.developer-credit {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #647899;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.3px;
  animation: contactFadeUp 0.8s ease 0.55s forwards;
  opacity: 0;
}

.developer-credit span {
  color: var(--blue);
  font-weight: 600;
  position: relative;
  transition: 0.3s ease;
  cursor: default;
}

.developer-credit span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--blue);
  transition: 0.3s ease;
}

.developer-credit span:hover::after {
  width: 100%;
}

.developer-credit span:hover {
  color: #7fc3ff;
  text-shadow: 0 0 12px rgba(93, 169, 255, 0.3);
}

@keyframes contactFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {
  .contact-details {
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
  }
  
  .contact-item {
    font-size: 12.5px;
    gap: 10px;
  }
  
  .contact-icon {
    width: 17px;
    height: 17px;
  }
  
  .developer-credit {
    font-size: 11px;
    margin-top: 18px;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .contact-item {
    font-size: 12px;
    flex-wrap: wrap;
  }
  
  .contact-item span {
    flex: 1;
    min-width: 0;
  }
  
  .developer-credit {
    font-size: 10.5px;
    padding: 14px 0 0;
  }
}

/* Mobile Optimization */
@media (max-width: 900px) {
.contact-wrap { grid-template-columns: 1fr; gap: 32px; }
.social-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social-btn { max-width: 80px; }
}
@media (max-width: 480px) {
.glass-card { padding: 24px; border-radius: 20px; }
.social-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.social-btn { max-width: 72px; border-radius: 14px; }
.social-btn svg { width: 20px; height: 20px; }
.pill-title { font-size: 11px; padding: 8px 14px; }
.gl3 { font-size: 19px; }
.section-title { font-size: clamp(28px, 8vw, 36px); }
.section-sub { font-size: 14px; line-height: 1.7; margin-bottom: 35px; }
}

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
    color:inherit;
}
/* =========================
   HERO SECTION
========================= */

.hero{
    position:relative;
    overflow:hidden;
  
    min-height:100vh;
  
    display:flex;
    align-items:center;
    justify-content:flex-start;
  
    padding:0 8%;
  
    background:
      radial-gradient(circle at top right,
      rgba(0,140,255,0.12),
      transparent 35%),
  
      radial-gradient(circle at bottom left,
      rgba(0,255,170,0.08),
      transparent 30%),
  
      #050816;
  }
  
  /* =========================
     AI BACKGROUND
  ========================= */
  
  .ai-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
  }
  
  /* MOVING LINES */
  
  .ai-bg span{
    position:absolute;
    display:block;
  
    width:2px;
    height:220px;
  
    background:linear-gradient(
      to bottom,
      transparent,
      rgba(0,195,255,0.8),
      transparent
    );
  
    filter:blur(0.2px);
  
    animation:aiMove 8s linear infinite;
  }
  
  /* DIFFERENT POSITIONS */
  
  .ai-bg span:nth-child(1){
    left:72%;
    animation-delay:0s;
  }
  
  .ai-bg span:nth-child(2){
    left:78%;
    height:260px;
    animation-delay:2s;
  }
  
  .ai-bg span:nth-child(3){
    left:84%;
    height:200px;
    animation-delay:4s;
  }
  
  .ai-bg span:nth-child(4){
    left:90%;
    height:300px;
    animation-delay:1s;
  }
  
  .ai-bg span:nth-child(5){
    left:96%;
    height:240px;
    animation-delay:3s;
  }
  
  /* MOVEMENT */
  
  @keyframes aiMove{
    0%{
      transform:translateY(-250px);
      opacity:0;
    }
  
    15%{
      opacity:1;
    }
  
    85%{
      opacity:1;
    }
  
    100%{
      transform:translateY(120vh);
      opacity:0;
    }
  }
  
  /* =========================
     HERO CONTENT
  ========================= */
  
  .hero-content{
    position:relative;
    z-index:5;
  
    max-width:760px;
  
    text-align:left;
  
    animation:heroFade 1.2s ease;
  }
  
  @keyframes heroFade{
    from{
      opacity:0;
      transform:translateY(30px);
    }
  
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
  
  /* =========================
     SMALL TEXT
  ========================= */
  
  .hero-small{
    display:inline-flex;
    align-items:center;
    margin-top:55px;
    margin-bottom:10px;
    padding:12px 24px;
    font-family:'JetBrains Mono', monospace;
    border-radius:999px;
  
    background:rgba(0,195,255,0.10);
  
    border:1px solid rgba(0,195,255,0.22);
  
    color:#7fe9ff;
  
    font-size:15px;
    font-weight:600;
    letter-spacing:2px;
  
    backdrop-filter:blur(12px);
  
    box-shadow:
      0 0 20px rgba(0,195,255,0.10);
  
    position:relative;
    overflow:hidden;
    text-transform:uppercase;
  }
  
  /* LIGHT EFFECT */
  
  .hero-small::before{
    content:"";
  
    position:absolute;
    top:0;
    left:-120%;
  
    width:50%;
    height:100%;
  
    background:linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.18),
      transparent
    );
  
    transform:skewX(-25deg);
  
    animation:shine 5s linear infinite;
  }
  
  @keyframes shine{
    100%{
      left:140%;
    }
  }
  
  /* =========================
     TITLE
========================= */
.cursor{
    display: inline-block;
    animation: blink 0.8s infinite;
}

@keyframes blink{
    0%, 50%{
        opacity: 1;
    }
    51%, 100%{
        opacity: 0;
    }
}
/* =========================
   HERO TITLE INTRO
========================= */

.hero-title{
    font-size:78px;
    line-height:1.05;
    font-weight:800;

    margin-bottom:26px;
  
    color:#ffffff;
    letter-spacing:-2px;
  }
  
  /* ONLY Sanghabodhi College */
  .hero-title .main-title{
    display:inline-block;
    font-size:77px;
    opacity:0;
    transform:translateX(-40px);
  
    animation:smoothLeftReveal 1.4s cubic-bezier(.22,.61,.36,1) forwards;
  
    will-change:transform, opacity;
  }
  
  /* MEDIA UNIT */
  .hero-title span{
    display:block;
  
    margin-top:10px;
    margin-bottom:-10px;
    color:#63dfff;
    font-size:68px;
  
    opacity:0;
    transform:translateY(10px);
  
    animation:smoothFade 1.3s cubic-bezier(.22,.61,.36,1) forwards;
    animation-delay:.25s;
  
    text-shadow:
      0 0 18px rgba(0,195,255,0.18);
    text-transform:uppercase;
  }
  
  /* LEFT → RIGHT */
  @keyframes smoothLeftReveal{
    from{
      opacity:0;
      transform:translateX(-40px);
      filter:blur(6px);
    }
  
    to{
      opacity:1;
      transform:translateX(0);
      filter:blur(0);
    }
  }
  
  /* SOFT FADE */
  @keyframes smoothFade{
    from{
      opacity:0;
      transform:translateY(10px);
      filter:blur(4px);
    }
  
    to{
      opacity:1;
      transform:translateY(0);
      filter:blur(0);
    }
  }
  .hero-title span{
    display:block;
    margin-top:10px;
  
    color:#63dfff;
    font-size:68px;
  
    text-shadow:
      0 0 18px rgba(0,195,255,0.18);
  
    opacity:0;
  
    animation:subReveal 1.4s cubic-bezier(.22,.61,.36,1) forwards;
    animation-delay:.18s;
  }
  
  /* MAIN TITLE */
  @keyframes titleReveal{
    from{
      opacity:0;
      transform:translateY(12px);
    }
  
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
  
  /* SUB TITLE */
  @keyframes subReveal{
    from{
      opacity:0;
      transform:translateY(8px);
    }
  
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
  /* =========================
     DESCRIPTION
  ========================= */
  
  .hero-desc{
    max-width:700px;
  
    color:#cfd8ead2;
  
    font-size:16.5px;
    line-height:1.9;
    margin-top:5px;
    margin-bottom:20px;
  
    animation:fadeText 1.4s ease;
  }
  
  @keyframes fadeText{
    from{
      opacity:0;
      transform:translateY(20px);
    }
  
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
  
  /* =========================
     BUTTONS
  ========================= */
  
  .hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
  }
  
  /* =========================
     BUTTON BASE
  ========================= */
  
  .btn{
    position:relative;
    overflow:hidden;
  
    padding:15px 34px;
    border-radius:14px;
  
    text-decoration:none;
  
    font-weight:600;
    letter-spacing:0.5px;
  
    transition:
      transform .28s ease,
      box-shadow .28s ease,
      background .28s ease;
  }
  
  /* PRIMARY */
  
  .btn-primary{
    background:linear-gradient(
      135deg,
      rgba(0,195,255,0.20),
      rgba(0,140,255,0.12)
    );
  
    border:1px solid rgba(0,195,255,0.28);
  
    color:#a8f3ff;
  
    box-shadow:
      0 0 24px rgba(0,195,255,0.12);
  }
  
  /* OUTLINE */
  
  .btn-outline{
    background:rgba(255,255,255,0.03);
  
    border:1px solid rgba(255,255,255,0.08);
  
    color:#ffffff;
  }
  
  /* HOVER */
  
  .btn:hover{
    transform:translateY(-3px);
  
    box-shadow:
      0 0 30px rgba(0,195,255,0.18);
  }
  
  /* =========================
     CENTER LOGO
  ========================= */
  
  .hero-logo-wrap{
    position:absolute;
  
    right:10%;
    top:50%;
  
    transform:translateY(-50%);
  
    width:320px;
    height:320px;
  
    display:flex;
    align-items:center;
    justify-content:center;
  
    z-index:3;
  }
  
  /* LOGO */
  
  .hero-logo{
    width:150px;
    height:150px;
  
    object-fit:cover;
  
    border-radius:50%;
  
    position:relative;
    z-index:5;
  
    box-shadow:
      0 0 35px rgba(0,195,255,0.28);
  
    animation:logoFloat 5s ease-in-out infinite;
  }
  
  /* FLOAT */
  
  @keyframes logoFloat{
    0%,100%{
      transform:translateY(0px);
    }
  
    50%{
      transform:translateY(-10px);
    }
  }
  
  /* GLOW RINGS */
  
  .hero-logo-ring,
  .ring2{
    position:absolute;
  
    border-radius:50%;
  
    border:1px solid rgba(0,195,255,0.14);
  
    animation:rotateRing 10s linear infinite;
  }
  
  /* FIRST */
  
  .hero-logo-ring{
    width:240px;
    height:240px;
  
    box-shadow:
      0 0 40px rgba(0,195,255,0.10);
  }
  
  /* SECOND */
  
  .ring2{
    width:300px;
    height:300px;
  
    animation-direction:reverse;
    animation-duration:16s;
  
    border-color:rgba(0,140,255,0.10);
  }
  
  /* ROTATE */
  
  @keyframes rotateRing{
    from{
      transform:rotate(0deg);
    }
  
    to{
      transform:rotate(360deg);
    }
  }
  
/* =========================================================
   COMPLETE MOBILE HERO OPTIMIZATION (FINAL VERSION)
   Paste this at the VERY END of style.css
========================================================= */

/* --- TABLET & LARGE PHONES (Max 980px) --- */
@media (max-width: 980px) {
  /* Remove AI background on mobile */
  .ai-bg {
    display: none !important;
  }

  /* Hero section restructure */
  .hero {
    min-height: 100svh;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  /* Logo with rings - centered with proper spacing */
  .hero-logo-wrap {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: clamp(200px, 24vw, 240px);
    height: clamp(200px, 24vw, 240px);
    margin: clamp(40px, 10vw, 60px) auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo { 
    width: clamp(90px, 11vw, 110px); 
    height: clamp(90px, 11vw, 110px); 
  }
  .hero-logo-ring { 
    width: clamp(160px, 19vw, 180px); 
    height: clamp(160px, 19vw, 180px); 
  }
  .ring2 { 
    width: clamp(200px, 23vw, 235px); 
    height: clamp(200px, 23vw, 235px); 
  }

  /* Center all content */
  .hero-content {
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Small badge text */
  .hero-small {
    display: inline-flex;
    justify-content: center;
    margin: 0 auto 18px;
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  /* Main title - Sanghabodhi College (SMALLER) */
  .hero-title {
    font-size: clamp(26px, 5.5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    text-align: center;
  }
  
  .hero-title .main-title {
    display: block;
    opacity: 0;
    transform: translateY(12px);
    animation: titleReveal 1s ease forwards;
  }

  /* Subtitle - MEDIA UNIT (BIGGER) */
  .hero-title span {
    display: block;
    margin-top: 8px;
    font-size: clamp(30px, 6.5vw, 68px);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: subReveal 1.2s ease forwards 0.2s;
    letter-spacing: 1px;
  }

  @keyframes titleReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes subReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Description */
  .hero-desc {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto 28px;
    text-align: center;
  }

  /* Buttons - centered with proper spacing */
  .hero-buttons {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin: 0 auto;
  }

  .btn {
    flex: 1;
    max-width: 190px;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  /* Scroll text - visible and centered at bottom */
  .scroll-text,
  .scroll-down {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    text-align: center;
    margin-top: 36px;
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.7;
    animation: scrollFloat 2.5s ease-in-out infinite;
  }

  @keyframes scrollFloat {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(8px); opacity: 1; }
  }
}

/* --- STANDARD MOBILE (Max 768px) --- */
@media (max-width: 768px) {
  .hero {
    padding: 90px 20px 50px;
  }

  .hero-logo-wrap {
    width: clamp(180px, 40vw, 220px);
    height: clamp(180px, 40vw, 220px);
    margin: clamp(35px, 9vw, 50px) auto 24px;
  }

  .hero-logo { 
    width: clamp(82px, 18vw, 100px); 
    height: clamp(82px, 18vw, 100px); 
  }
  .hero-logo-ring { 
    width: clamp(145px, 32vw, 170px); 
    height: clamp(145px, 32vw, 170px); 
  }
  .ring2 { 
    width: clamp(185px, 40vw, 220px); 
    height: clamp(185px, 40vw, 220px); 
  }
  .hero-title {
    font-size: clamp(18px, 5.5vw, 28px);
  }
  .hero-title span {
    font-size: clamp(26px, 7.5vw, 52px);
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
    margin-top: 10px;
  }

  .btn {
    font-size: 13px;
    padding: 13px 14px;
  }

  .scroll-text,
  .scroll-down {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-top: 35px;
  }
}

/* --- SMALL PHONES (Max 480px) --- */
@media (max-width: 480px) {
  .hero {
    padding: 85px 16px 45px;
  }

  .hero-logo-wrap {
    width: clamp(160px, 44vw, 190px);
    height: clamp(160px, 44vw, 190px);
    margin: clamp(28px, 8vw, 42px) auto 20px;
  }

  .hero-logo { 
    width: clamp(72px, 20vw, 88px); 
    height: clamp(72px, 20vw, 88px); 
  }
  .hero-logo-ring { 
    width: clamp(128px, 35vw, 150px); 
    height: clamp(128px, 35vw, 150px); 
  }
  .ring2 { 
    width: clamp(165px, 45vw, 190px); 
    height: clamp(165px, 45vw, 190px); 
  }

  /* Smaller badge */
  .hero-small {
    font-size: 11px;
    padding: 8px 16px;
    margin-bottom: 16px;
    letter-spacing: 1.2px;
  }

  /* Smaller main title */
  .hero-title {
    font-size: clamp(18px, 9vw, 28px);
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
  }

  /* Bigger subtitle relative to main title */
  .hero-title span {
    font-size: clamp(22px, 8vw, 38px);
    margin-top: 6px;
    letter-spacing: 0.8px;
  }

  /* Smaller description */
  .hero-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  /* Full-width buttons stacked */
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }

  .btn {
    max-width: none;
    width: 100%;
    font-size: 12px;
    padding: 13px 12px;
  }

  /* Keep scroll text visible but smaller */
  .scroll-text,
  .scroll-down {
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 28px;
    opacity: 0.6;
  }
}

/* --- VERY SMALL PHONES (Max 360px) --- */
@media (max-width: 360px) {
  .hero {
    padding: 80px 14px 40px;
  }

  .hero-logo-wrap {
    width: clamp(145px, 46vw, 170px);
    height: clamp(145px, 46vw, 170px);
    margin: clamp(24px, 7vw, 36px) auto 18px;
  }

  .hero-logo { 
    width: clamp(65px, 22vw, 80px); 
    height: clamp(65px, 22vw, 80px); 
  }
  .hero-logo-ring { 
    width: clamp(115px, 38vw, 135px); 
    height: clamp(115px, 38vw, 135px); 
  }
  .ring2 { 
    width: clamp(150px, 48vw, 170px); 
    height: clamp(150px, 48vw, 170px); 
  }

  .hero-small {
    font-size: 10px;
    padding: 7px 14px;
  }

  .hero-title {
    font-size: 18px;
  }

  .hero-title span {
    font-size: 20px;
  }

  .hero-desc {
    font-size: 12px;
  }

  .btn {
    font-size: 11px;
    padding: 12px 10px;
  }

  .scroll-text,
  .scroll-down {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}

/* =========================================================
   SERVICES SECTION — PROFESSIONAL MEDIA UNIT STYLE
========================================================= */

#services{
  position:relative;
  padding:120px 7%;
  overflow:hidden;
}

/* SOFT BACKGROUND GLOW */
#services::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    radial-gradient(circle at top right,
    rgba(0,195,255,0.08),
    transparent 35%),

    radial-gradient(circle at bottom left,
    rgba(120,80,255,0.08),
    transparent 35%);

  pointer-events:none;
}

/* =========================================================
   SECTION CONTENT
========================================================= */

.section-inner{
  position:relative;
  z-index:2;
}

/* =========================================================
   TITLE
========================================================= */

.section-title{
  text-align:center;
  font-size:58px;
  font-weight:800;
  color:#ffffff;
  margin-bottom:16px;
  letter-spacing:-1.5px;

  opacity:0;
  transform:translateY(18px);

  animation:fadeTitle 1s ease forwards;
}

.section-title span{
  color:#63dfff;

  text-shadow:
    0 0 18px rgba(0,195,255,0.16);
}

/* =========================================================
   SUBTITLE
========================================================= */

.section-sub{
  text-align:center;

  max-width:760px;
  margin:auto auto 70px auto;

  font-size:17px;
  line-height:1.8;

  color:rgba(255,255,255,0.72);

  opacity:0;
  transform:translateY(14px);

  animation:fadeTitle 1s ease forwards;
  animation-delay:.15s;
}

/* =========================================================
   CARD GRID
========================================================= */

.cards{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:28px;
}

/* =========================================================
   CARD
========================================================= */

.card{
  position:relative;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.025)
    );

  border:
    1px solid rgba(255,255,255,0.06);

  border-radius:26px;

  overflow:hidden;

  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  transition:
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;

  opacity:0;
  transform:translateY(35px);

  animation:cardReveal .9s ease forwards;
}

/* STAGGER EFFECT */

.card:nth-child(1){animation-delay:.05s;}
.card:nth-child(2){animation-delay:.12s;}
.card:nth-child(3){animation-delay:.18s;}
.card:nth-child(4){animation-delay:.24s;}
.card:nth-child(5){animation-delay:.30s;}
.card:nth-child(6){animation-delay:.36s;}

/* =========================================================
   TOP LIGHT LINE
========================================================= */

.card::before{
  content:"";

  position:absolute;
  top:0;
  left:-120%;

  width:50%;
  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(99,223,255,0.9),
      transparent
    );

  transition:1s ease;
}

.card:hover::before{
  left:140%;
}

/* =========================================================
   HOVER
========================================================= */

.card:hover{
  border-color:
    rgba(99,223,255,0.22);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.03)
    );

  box-shadow:
    0 12px 40px rgba(0,0,0,0.34),
    0 0 30px rgba(0,195,255,0.08);
}

/* =========================================================
   IMAGE
========================================================= */

.card-img{
  width:100%;
  height:250px;

  object-fit:cover;
  display:block;

  transition:
    filter .45s ease;
}

/* IMAGE HOVER */

.card:hover .card-img{
  filter:brightness(1.05);
}

/* =========================================================
   CARD CONTENT
========================================================= */

.card h3{
  font-size:27px;
  font-weight:700;
  
  color:#24a7ffb7;

  margin:
    28px 28px 14px;
}

/* PARAGRAPH */

.card p{
  color:
    rgba(255,255,255,0.60);

  font-size:15.5px;
  line-height:1.9;

  margin:
    0 28px 34px;

  letter-spacing:.2px;
}

/* =========================================================
   SMOOTH ENTRANCE
========================================================= */

@keyframes fadeTitle{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes cardReveal{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */

@media(max-width:992px){

  .section-title{
    font-size:46px;
  }

  .section-sub{
    font-size:15px;
  }

  .card-img{
    height:220px;
  }
}

@media(max-width:768px){

  #services{
    padding:90px 20px;
  }

  .cards{
    gap:22px;
  }

  .section-title{
    font-size:38px;
  }

  .section-sub{
    margin-bottom:50px;
  }

  .card{
    border-radius:22px;
  }

  .card-img{
    height:210px;
  }

  .card h3{
    font-size:24px;
  }
}

@media(max-width:520px){

  .section-title{
    font-size:32px;
  }

  .card-img{
    height:200px;
  }

  .card p{
    font-size:14px;
    line-height:1.8;
  }
  /* Make Sanghabodhi College title smaller on small screens */
  .hero-title .main-title{
    font-size:35px;
    transform:translateX(0);
    opacity:1;
    display:block;
  }
}
/* =========================================================
   EVENTS SECTION
========================================================= */

#events{
  position:relative;
  overflow:hidden;
}
/* SOFT BACKGROUND GLOW */
#events::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    radial-gradient(circle at top right,
    rgba(0,195,255,0.08),
    transparent 35%),

    radial-gradient(circle at bottom left,
    rgba(120,80,255,0.08),
    transparent 35%);

  pointer-events:none;
}
/* =========================================================
   BACKGROUND CIRCLES
========================================================= */

.event-bg-circle{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  z-index:-1;
}

.circle-1{
  width:380px;
  height:380px;

  background:
  rgba(0,195,255,0.08);

  top:-120px;
  left:-120px;
}

.circle-2{
  width:340px;
  height:340px;

  background:
  rgba(140,0,255,0.08);

  bottom:-120px;
  right:-120px;
}

/* =========================================================
   HEADER
========================================================= */

.event-head{
  text-align:center;
  margin-bottom:70px;
}

.featured-title{
  margin-bottom:28px;
}

.featured-title h3{
  color:#fff;
  font-size:28px;
  font-weight:700;
}

/* =========================================================
   LIVE SECTION
========================================================= */

.live-wrapper{
  margin-bottom:80px;
}

/* =========================================================
   GRID
========================================================= */

.event-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:30px;
}

/* =========================================================
   CARD
========================================================= */

.event-card{
  position:relative;

  overflow:hidden;

  border-radius:28px;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.03)
  );

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(14px);

  opacity:1;
  transform:none;
  
  transition:
    opacity .6s ease,
    transform .6s ease,
    box-shadow .4s ease,
    border-color .4s ease;

}
.event-card{
  will-change:transform,opacity;
  backface-visibility:hidden;
}
/* REVEAL */

.event-card.reveal{
  opacity:1;
  transform:translateY(0);
}

/* HOVER */

.event-card:hover{
  transform:translateY(-10px);

  border-color:
  rgba(99,223,255,0.22);

  box-shadow:
  0 18px 45px rgba(0,0,0,0.35),
  0 0 30px rgba(0,195,255,0.08);
}

/* =========================================================
   IMAGE
========================================================= */

.event-image-wrap{
  position:relative;
  overflow:hidden;
}

.event-img{
  width:100%;
  height:240px;

  object-fit:cover;
  display:block;

  transition:
  transform .7s ease;
}

.event-card:hover .event-img{
  transform:scale(1.08);
}

/* =========================================================
   OVERLAY
========================================================= */

.event-overlay{
  position:absolute;

  left:18px;
  bottom:18px;

  padding:10px 18px;

  border-radius:999px;

  background:
  rgba(255,255,255,0.08);

  border:
  1px solid rgba(255,255,255,0.12);

  backdrop-filter:blur(12px);

  color:#fff;

  font-size:11px;
  letter-spacing:2px;
}

.live-badge{
  background:
  rgba(255,0,0,0.14);

  border-color:
  rgba(255,0,0,0.25);

  color:#ff8d8d;

  animation:livePulse 1.5s infinite;
}

@keyframes livePulse{

  0%,100%{
    box-shadow:none;
  }

  50%{
    box-shadow:
    0 0 20px rgba(255,0,0,0.35);
  }
}

/* =========================================================
   CONTENT
========================================================= */

.event-content{
  padding:26px;
}

.event-date{
  color:#79e7ff;

  font-size:12px;

  letter-spacing:2px;

  margin-bottom:16px;
}

.event-content h3{
  color:#fff;

  font-size:26px;

  line-height:1.4;

  margin-bottom:16px;
}

.event-content p{
  color:rgba(255,255,255,0.7);

  line-height:1.8;

  font-size:14px;

  margin-bottom:24px;
}

/* =========================================================
   BUTTONS
========================================================= */

.event-btn{
  width:100%;
  height:54px;

  border:none;
  outline:none;

  border-radius:16px;

  cursor:pointer;

  color:#fff;

  font-size:14px;
  font-weight:600;

  background:
  linear-gradient(
    90deg,
    rgba(0,195,255,0.18),
    rgba(132,0,255,0.18)
  );

  border:
  1px solid rgba(99,223,255,0.18);

  transition:.35s ease;
}

.event-btn:hover{
  transform:translateY(-3px);

  box-shadow:
  0 0 24px rgba(0,195,255,0.14);
}

/* =========================================================
   HIDDEN EVENTS
========================================================= */

.hidden-event {
  display: none;
}

.hidden-event.show {
  display: block;
}

/* =========================================================
   LOAD MORE
========================================================= */

.older-wrap{
  display:flex;
  justify-content:center;

  margin-top:60px;
}

.older-btn{
  border:none;
  outline:none;

  padding:16px 34px;

  border-radius:999px;

  cursor:pointer;

  background:
  rgba(255,255,255,0.06);

  border:
  1px solid rgba(255,255,255,0.12);

  color:#fff;

  font-size:14px;
  font-weight:600;

  transition:.35s ease;
}

.older-btn:hover{
  transform:translateY(-3px);

  border-color:
  rgba(99,223,255,0.24);

  box-shadow:
  0 0 24px rgba(0,195,255,0.08);
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

  .event-grid{
    grid-template-columns:1fr;
  }

  .featured-title h3{
    font-size:24px;
  }

  .event-content h3{
    font-size:22px;
  }

  .event-img{
    height:220px;
  }

  .older-btn{
    width:100%;
  }

}

#eventModal {
  position: fixed;
  inset: 0;

  display: none !important;   /* 🔥 CRITICAL */

  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.75);
  z-index: 9999;
}

#eventModal.active {
  display: flex !important;
}
.event-modal-box {
  display: none;
}

#eventModal.active .event-modal-box {
  display: block;
}
#videoModal {
  position: fixed;
  inset: 0;

  display: none !important;

  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.75);
  z-index: 9999;
}

#videoModal.active {
  display: flex !important;
}
.video-box {
  display: none;
}

#videoModal.active .video-box {
  display: block;
}

/* =========================
   HIDE CONTACT LINK ON MOBILE
========================= */
@media (max-width: 768px) {
  .nav-links a[href="#contact"] {
    display: none !important;
  }
}
