/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  line-height: 1.6;
  color: #333;
}

/* TOP BAR */
/* .top-bar {
  background: #f8f9fa;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
}
.top-logos img {
  height: 80px;
  margin: 0 1rem;
  transition: 0.3s;
}
.top-logos img:hover {
  transform: scale(1.1);
} */

.top-bar {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap; /* keep in one line */
}

.top-logos img {
  max-height: 80px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Adjust sizes for tablets */
@media (max-width: 991px) {
  .top-logos img {
    max-height: 60px;
  }
}

/* Adjust sizes for mobiles */
@media (max-width: 600px) {
  .top-logos {
    gap: 10px;
  }
  .top-logos img {
    max-height: 45px;
  }
}

/* Logo end */

/* NAVBAR FLEX REARRANGE */
.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00274d;
  order: 1;
}
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  order: 2;
}
.menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}
.menu-item a {
  text-decoration: none;
  color: #00274d;
  padding: 0.5rem 0.8rem;
  transition: 0.3s;
}
.menu-item a:hover {
  color: #06b6d4;
}
.register-btn {
  order: 3;
  background: #06b6d4;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: 0.3s;
}
.register-btn:hover {
  background: #028090;
}

/* MOBILE NAVBAR */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #00274d;
  order: 4;
}
@media (max-width: 992px) {
  nav {
    flex: 100%;
    order: 3;
  }
  .menu {
    display: none;
    flex-direction: column;
    background: white;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
  }
  .menu.open {
    display: flex;
  }
  .menu-item a {
    padding: 1rem;
  }
  .mega-menu {
    position: static;
    width: 100%;
    flex-direction: column;
    padding: 1rem;
    display: none;
  }
  .mega-parent.open > .mega-menu {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .register-btn {
    order: 2;
  }
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00274d;
}
nav {
  flex: 1;
  margin-left: 2rem;
}
.menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  position: relative;
}
.menu-item {
  position: relative;
}
.menu-item a {
  text-decoration: none;
  color: #00274d;
  padding: 0.5rem;
  transition: 0.3s;
}
.menu-item a:hover {
  color: #06b6d4;
}
.btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: #06b6d4;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #028090;
}

/* MEGA MENU */
.mega-parent:hover > .mega-menu {
  display: flex;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px;
  background: white;
  padding: 1rem 2rem;
  display: none;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.mega-col h4 {
  margin-bottom: 0.5rem;
  color: #00274d;
}
.mega-col ul {
  list-style: none;
  padding: 0;
}
.mega-col ul li {
  margin-bottom: 0.5rem;
}
.mega-col ul li a {
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
.mega-col ul li a:hover {
  color: #06b6d4;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #00274d;
}
@media (max-width: 992px) {
  .menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  .menu-item {
    width: 100%;
  }
  .menu-item a {
    padding: 1rem;
    display: block;
  }
  .menu-toggle {
    display: block;
  }
  .mega-menu {
    position: static;
    width: 100%;
    flex-direction: column;
    padding: 1rem;
    display: none;
    box-shadow: none;
  }
  .mega-parent.open > .mega-menu {
    display: flex;
  }
}

/* HERO */
/* .hero{position:relative; display:flex; justify-content:center; align-items:center; text-align:center; height:80vh; background:url('images/hero.jpg') center/cover no-repeat;}
.hero-overlay{position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5);}
.hero-content{position:relative; color:white; z-index:2; max-width:800px;}
.hero h1{font-size:3rem; margin-bottom:1rem;}
.hero p{font-size:1.2rem; margin-bottom:2rem;}
.hero-buttons .btn{margin:0 0.5rem;} */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 1rem;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn-hero {
  background: #06b6d4;
  padding: 0.8rem 2rem;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-hero:hover {
  background: #028090;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* INFO SECTION */
.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1rem;
  background: #f8f9fa;
}
.info-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 220px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.info-card i {
  font-size: 2rem;
  color: #06b6d4;
  margin-bottom: 1rem;
}
.info-card h3 {
  margin-bottom: 0.5rem;
  color: #00274d;
}
.info-card p {
  color: #555;
}
.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
footer {
  background: #00274d;
  color: white;
  padding: 4rem 1rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col {
  flex: 1 1 220px;
}
.footer-col h4 {
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
.footer-col a:hover {
  color: #06b6d4;
}
.footer-copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
}
.social a {
  margin: 0 0.5rem;
  color: white;
  transition: 0.3s;
}
.social a:hover {
  color: #06b6d4;
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .info-section {
    flex-direction: column;
    align-items: center;
  }
}

/* Marquee Tag */
.news-marquee {
  width: 100%;
  background: #0b2545;
  color: white;
  overflow: hidden;
  padding: 1rem 0;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.news-marquee::before,
.news-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}
.news-marquee::before {
  left: 0;
  background: linear-gradient(to right, #0b2545, transparent);
}
.news-marquee::after {
  right: 0;
  background: linear-gradient(to left, #0b2545, transparent);
}

.marquee-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll 50s linear infinite; /* adjust speed as needed */
}

.marquee-content span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  transition: transform 0.4s, background 0.4s, box-shadow 0.4s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.marquee-content span:hover {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* half because we duplicated content */
}

@media (max-width: 768px) {
  .marquee-content span {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Conference details */
.conference-details {
  background: linear-gradient(135deg, #0b2545 0%, #066d9c 100%);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.conference-details::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(45deg);
  z-index: 0;
}

.conference-details .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
}

.conference-details .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.details-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.detail-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 15px;
  width: 350px;
  transition: transform 0.4s, box-shadow 0.4s;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.detail-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.detail-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.detail-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.detail-card p {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .details-grid {
    flex-direction: column;
    align-items: center;
  }
}
