
/* ---------- BASE ---------- */
* {margin:0; padding:0; box-sizing:border-box;}
body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background-color: #f8f9fc;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing:antialiased;
}

/* ensure sections aren't hidden behind fixed navbar */
section { scroll-margin-top: 84px; }

/* ---------- NAVBAR (responsive) ---------- */
.navbar {
  top: 0; left: 0; right: 0;
  background: #1e3c72;
  color: white;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.navbar .brand {
  display:flex;
  align-items:center;
  gap:12px;
  color: white;
  text-decoration: none;
}
.navbar .brand h1 {
  font-size: 1.05rem;
  font-weight:700;
  margin:0;
  color: white;
}

/* Desktop links */
.nav-links {
  display:flex;
  gap:20px;
  list-style:none;
  align-items:center;
}
.nav-links a {
  color: #a8b9ff;
  text-decoration:none;
  font-weight:500;
  padding:8px 6px;
  border-radius:6px;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width:44px;
  height:44px;
  border-radius:8px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items:center;
  justify-content:center;
  color: white;
}
.nav-toggle:focus { outline: 2px solid rgba(255,255,255,0.2); }

.hero-section {
  background: #fff;
  padding: 60px 50px;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102,126,234,0.12), transparent);
  animation: shine 4s infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h2 {
  color: #1e3c72;
  font-size: 2.5em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  animation: fadeInDown 1s ease-out;
}

.hero-text p {
  color: #444;
  font-size: 1.08em;
  line-height: 1.9;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-out;
}

.hero-image {
  position: relative;
  height: 420px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: fadeInRight 1s ease-out;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(30,60,114,0.3), rgba(118,75,162,0.3));
  pointer-events: none;
}

.fallback-text {
  color: white;
  text-align: center;
  padding: 50px 20px;
  font-size: 1.2em;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
/* ---------- RESPONSIVE ---------- */
@media (max-width: 840px) {
  .nav-links { display: none; }            /* hide desktop links */
  .nav-toggle { display: flex; }           /* show hamburger icon */
  .mobile-panel { 
    right: 12px; 
    left: auto; 
    width: calc(100% - 24px); 
    max-width: 420px; 
  }
  .hero { 
    padding: 10px 18px 80px; 
    margin-top: 1px; 
  }
}

@media (min-width: 841px) {
  .mobile-panel, 
  .backdrop { 
    display: none !important; 
  }
}



/* Mobile panel (hidden by default) */
.mobile-panel {
  display:none;
  top: 64px;
  right: 16px;
  width: calc(100% - 32px);
  max-width: 360px;
  background: linear-gradient(180deg,#ffffff,#f5f7fa);
  color:#222;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  z-index: 1199;
  padding: 16px;
  transform-origin: top right;
  transition: transform .22s ease, opacity .18s ease;
  opacity:0;
  transform: translateY(-8px) scale(.98);
}
.mobile-panel.open {
  display:block;
  opacity:1;
  transform: translateY(0) scale(1);
}
.mobile-panel ul {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mobile-panel a {
  color:#1e3c72;
  text-decoration:none;
  padding:10px 12px;
  border-radius:8px;
  font-weight:600;
}
.mobile-panel a:hover { background:#eef2ff; }

/* small transparent backdrop when menu open */
.backdrop {
  display:none;
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.35);
  z-index: 1198;
  opacity:0;
  transition:opacity .18s ease;
}
.backdrop.show { display:block; opacity:1; }

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    background: linear-gradient(rgb(3 17 43 / 60%), rgb(8 19 39 / 60%)), url(Event.jpg?w=1600) center / cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 20px 100px;
    margin-top: 1px;
}
.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-out;
}
.hero h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.95;
  Color:yellow;
}
.cta-btn {
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: white;
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 1.05em;
  border: none;
  cursor: pointer;
  transition: all 0.28s ease;
}
.cta-btn:hover { transform: translateY(-4px); box-shadow:0 10px 30px rgba(102,126,234,0.25); }

/* ---------- DETAILS ---------- */
.details {
  background: white;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  margin-top: 20px;
}
.details h3 { color: #1e3c72; font-weight:700; margin-bottom:10px; }
.details .info { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; font-size:1.05em; color:#555; }

.details1 {
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  margin-top: 10px;
 
}
.details1 h3 { color: yellow; font-weight:700; margin-bottom:10px; }
.details1 .info { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; font-size:1.05em; color:#555;color:white; }

/* ---------- SECTION LAYOUT ---------- */
.section { max-width:1100px; margin:80px auto; padding:0 20px; line-height:1.8; }
.section h2 { color:#1e3c72; font-size:2em; text-align:center; margin-bottom:30px; }
.quote { margin:30px auto; background:linear-gradient(135deg,#667eea15,#764ba215); padding:20px; border-left:5px solid #667eea; border-radius:8px; font-style:italic; }

/* ---------- SPEAKERS ---------- */
.speakers { background:white; padding:60px 20px; text-align:center; box-shadow:0 8px 30px rgba(0,0,0,0.08); }
.speakers-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:30px; max-width:1000px; margin:0 auto; }
.speaker-card { background:linear-gradient(135deg,#f5f7fa,#c3cfe2); padding:24px; border-radius:12px; transition:all .25s ease; }
.speaker-card:hover { transform:translateY(-6px); box-shadow:0 10px 30px rgba(0,0,0,0.12); }
.speaker-image { width:140px; height:140px; border-radius:50%; margin:0 auto 12px; overflow:hidden; }
.speaker-image img { width:100%; height:100%; object-fit:cover; }

/* ---------- PREVIOUS LECTURES ---------- */
.previous { background: linear-gradient(135deg,#667eea15,#764ba215); padding:70px 20px; text-align:center; }
.previous-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; max-width:1000px; margin:0 auto; }
.prev-card { background:white; border-radius:10px; padding:18px; box-shadow:0 6px 18px rgba(0,0,0,0.07); }

/* ---------- REGISTER ---------- */
.register { background: linear-gradient(135deg,#667eea,#764ba2); color:white; padding:70px 20px; text-align:center; }
.register form { max-width:500px; margin:0 auto; }
.register input { width:100%; padding:12px; margin-bottom:12px; border:none; border-radius:8px; font-size:1em; }
.register button { background:white; color:#1e3c72; padding:12px; border-radius:8px; border:none; width:100%; font-weight:700; cursor:pointer; }
.register button:hover { transform:scale(1.02); }

/* ---------- FOOTER ---------- */
.footer { background:#1e3c72; color:white; padding:60px 20px; }
.footer .container { max-width:1100px; margin:auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:28px; }
.footer h4 { color:#a8b9ff; margin-bottom:10px; }
.footer a { color:#d0d8ff; text-decoration:none; display:block; margin-bottom:6px; }
.footer-bottom { text-align:center; margin-top:30px; color:#cfd6ff; font-size:.95em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 840px) {
  .nav-links { display: none; }            /* hide desktop links */
  .nav-toggle { display:flex; }            /* show burger */
  .mobile-panel { right: 12px; left: auto; width: calc(100% - 24px); max-width: 420px; }
  .hero { padding: 120px 18px 80px; margin-top:1px; }
}
@media (min-width: 841px) {
  .mobile-panel, .backdrop { display:none !important; }
}

/* ---------- small tweaks ---------- */
a { color:inherit; }
.container { max-width:1100px; margin:0 auto; padding:0 20px; }

/* animation */
@keyframes fadeInDown { from {opacity:0; transform:translateY(-16px);} to {opacity:1; transform:translateY(0);} }
