/* RESET */
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #FF7F7F, #FFD700, #FF7F7F);
  min-height: 100vh;
}

/* ---------------- HEADER ---------------- */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 2px solid #ddd;
  background: #fff;
}
.top-header .logo img {
  height: 150px;
}
.top-header .header-text {
  text-align: center;
}
.top-header .header-text h1 {
  font-size: 50px;
  margin: 0;
  font-weight: bold;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(90deg, #000000, #434343);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  margin: 20px 0;
}

.top-header .header-text p {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}
.top-header .header-img img {
  height: 150px;
  border-radius: 50%;
}

/* ---------------- SLOGAN ---------------- */
.slogan {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-style: italic;
  text-align: center;
  max-width: 900px;
  margin: 10px auto;
  line-height: 1.6;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

/* ---------------- REGISTRATION NO ---------------- */
.registration-no {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  margin-top: 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #2C3E50;
  color: white;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.4rem;
  font-weight: bold;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}
.nav-links li a:hover {
  color: #FFD700;
}
.right-side {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ---------------- SEARCH BOX ---------------- */
.search-box {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.search-box input {
  padding: 6px 10px;
  border-radius: 5px;
  border: none;
}
.search-box button {
  padding: 6px 10px;
  border: none;
  background: #FFD700;
  border-radius: 5px;
  cursor: pointer;
}

/* ---------------- LANGUAGE SWITCHER ---------------- */
.language-switcher {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lang-btn .arrow {
  font-size: 0.8rem;
}
.lang-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  list-style: none;
  padding: 5px 0;
  min-width: 120px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}
.lang-menu li {
  padding: 8px 15px;
}
.lang-menu li a {
  text-decoration: none;
  color: #333;
  display: block;
}
.lang-menu li:hover {
  background: #f5f5f5;
}
.language-switcher.active .lang-menu {
  display: block;
}

/* ---------------- HAMBURGER ---------------- */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ---------------- SIDEBAR ---------------- */
.sidebar {
  position: relative;   /* ✅ normal flow, no stick */
  top: auto;
  left: 0;
  width: 16rem;
  height: auto;         /* expand naturally */
  background: #b22222;  /* your red background */
  padding: 20px;
  overflow-y: visible;  /* allow normal scrolling */
}

.sidebar.open {
  transform: translateX(0);
}

/* ---------------- MAIN CONTENT ---------------- */
.main-content {
  flex: 1;              /* take remaining space */
  margin-left: 16rem;   /* align with sidebar */
  padding: 20px;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .navbar-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
}
.layout {
  display: flex;
  align-items: flex-start;  /* sidebar + content aligned at top */
  min-height: calc(100vh - 200px); /* leave space for footer */
}

/* ---------------- FOOTER ---------------- */
.footer {
  margin-left: 0;        /* ✅ full width footer */
  background: #2C3E50;
  color: #fff;
  padding: 40px 20px 10px;
  font-family: 'Poppins', sans-serif;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}
.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}
.footer-section h3 {
  color:#27ae60;
  margin-bottom: 15px;
}
.footer-points {
  list-style: none;
  padding: 0;
}
.footer-points li::before {
  content: "✔ ";
  color: #ff6600;
  margin-right: 6px;
}
.footer-section p,
.footer-section li,
.footer-section a {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin: 6px 0;
}
.footer-section ul li a {
  text-decoration: none;
  color: #ddd;
  transition: 0.3s;
}
.footer-section ul li a:hover {
  color: #FFD700;
}

/* Newsletter */
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter input {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  outline: none;
}
.newsletter button {
  background: #8B0000;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.newsletter button:hover {
  background: #a80000;
}

/* Social Icons */
.social-icons {
  margin-top: 15px;
}
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #FFD700;
}

/* Registration highlight */
.registration {
  display: inline-block;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  font-size: 13px;
  margin-top: 8px;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    margin-left: 0;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-section {
    margin: 15px 0;
  }
  .newsletter {
    align-items: center;
  }
}

/* ---------------- PAGE BANNER ---------------- */
.page-banner {
  background: #f5f5f5;
  padding: 30px;
  text-align: center;
  border-bottom: 2px solid #ddd;
}
.page-banner h1 {
  font-size: 2rem;
  color: #222;
}

/* ---------------- CONTACT CONTAINER ---------------- */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
}
