/* General header styling */
header {
  background-color: #fcfdfd;
  /* Bootstrap light */
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.header-center {
  flex: 1;
  text-align: center;
}


/* Container alignment */
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo styling */
.header-logo .logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 600;
  padding: 10px 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff !important;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 5px;
}

/* Navbar collapse area */
.navbar-collapse {
  flex-grow: 1;
  justify-content: center;
}

/* Search bar styling */
form[role="search"] input {
  width: 180px;
  transition: width 0.3s ease-in-out;
}

form[role="search"] input:focus {
  width: 220px;
}

/* Toggler icon customization */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar-collapse {
    justify-content: center;
  }

  form[role="search"] {
    margin-top: 10px;
    justify-content: center;
  }

  .header-logo .logo-img {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .navbar-nav .nav-link {
    padding: 8px 10px;
  }

  form[role="search"] input {
    width: 150px;
  }
}


/* Desktop hover dropdown */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .nav-item.dropdown:hover>.nav-link {
    color: #0d6efd;
  }
}

/* Dropdown UI */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #0d6efd;
  color: #fff;
}



 .marquee-container {
      background: linear-gradient(90deg, #0d6efd, #007bff); /* Blue gradient */
      color: #fff;
      padding: 10px 0;
      overflow: hidden;
      position: relative;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 25px;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}


.register-btn {
  background: #ff5722;
  color: #fff;
  padding: 6px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.register-btn:hover {
  background: #e64a19;
  transform: scale(1.05);
}
/* Label */
.label {
  display: inline-block;
  background: #ffd500;
  /* Yellow */
  color: white;
  /* Blue text */
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 16px;
  margin-right: 20px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* Text */
.marquee-text {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

/* Keyframes */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Pause on hover */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}
.cyber-section {
  background: #f4f6f9;
  font-family: "Segoe UI", sans-serif;
}

/* Banner */
.cyber-banner {
  position: relative;
  height: 430px;
}

.cyber-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.banner-overlay h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.banner-overlay p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Content blocks */
.content-block {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.speaker-inline img {
  height: 250px;
  border-radius: 10px;
}

.speaker-inline {
  padding-left: 15px;
}


/* Info cards */
.info-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.info-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

.info-card ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-card.danger { border-left: 5px solid #dc3545; }
.info-card.warning { border-left: 5px solid #ffc107; }
.info-card.success { border-left: 5px solid #198754; }

/* Helpline */
.helpline {
  background: #e8f6ff;
  padding: 30px;
  border-left: 6px solid #0dcaf0;
  border-radius: 12px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .speaker-block {
    flex-direction: column;
    text-align: center;
  }

  .cyber-banner {
    height: 300px;
  }
}


footer {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  /* Deep Blue → Light Blue */
  color: #ffffff;
}

footer h5 {
  color: #ffffff;
  font-weight: 750;
}

footer p {
  color: #e3f2fd;
  font-size: 17px;
  line-height: 1.7;
}

.ec-divider {
  /* width: 47%; */
  height: 4px;
  background: #d2def0;
  border-radius: 4px;
}

/* Social icons */
footer .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

footer .btn-outline-light:hover {
  background-color: #ffffff;
  color: #0d47a1;
}

/* Links hover (if added later) */
footer a {
  color: #bbdefb;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

#backToTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed at bottom right */
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border: none;
  outline: none;
  background-color: #2b3542;
  /* Blue circle */
  color: white;
  font-size: 24px;
  /* Arrow size */
  cursor: pointer;
  border-radius: 50%;
  /* Perfect circle */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
  text-align: center;
  line-height: 50px;
  /* Vertically center the arrow */
}

#backToTopBtn:hover {
  background-color: #0b5ed7;
  /* Darker blue */
  transform: translateY(-3px);
  /* Slight lift on hover */
}