/* --------------------------------------------------
   GLOBAL RESET & BASE
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #2b2b2b;
  line-height: 1.7;
  padding: 20px;
}

/* --------------------------------------------------
   NAVBAR BASE
-------------------------------------------------- */
.navbar {
  width: 100%;
  background: #0d6efd;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
}

/* --------------------------------------------------
   DESKTOP NAV LINKS
-------------------------------------------------- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: #dce9ff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  top: 35px;
  right: 0;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #eef3ff;
  color: #0d6efd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --------------------------------------------------
   HAMBURGER ICON
-------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  top: 35px;
  right: 0;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  transition: 0.25s ease;
}

.dropdown-content a:hover {
  background: #eef3ff;
  color: #0d6efd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}


/* --------------------------------------------------
   BRAND HEADER
-------------------------------------------------- */
header {
  background: linear-gradient(135deg, #0d6efd, #3aa6ff);
  padding: 50px 20px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 40px;
  color: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* --------------------------------------------------
   SECTION CARDS
-------------------------------------------------- */
main section {
  background: white;
  padding: 30px;
  margin: 25px auto;
  border-radius: 16px;
  max-width: 900px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: #0d6efd;
  font-weight: 700;
}

/* --------------------------------------------------
   TEXT & LISTS
-------------------------------------------------- */
.heading span {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 10px;
  color: #444;
}

ol, ul {
  margin-left: 25px;
  margin-top: 12px;
}

ol > li {
  font-size: 1.2rem;
  margin-top: 18px;
  font-weight: 600;
}

ul li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

span b {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: #e7f1ff;
  border-radius: 6px;
  color: #0d6efd;
}

/* --------------------------------------------------
   DIVIDERS
-------------------------------------------------- */
hr {
  border: none;
  height: 1px;
  background: #dcdcdc;
  margin: 40px auto;
  max-width: 900px;
}

/* --------------------------------------------------
   BONUS TIPS
-------------------------------------------------- */
.bonus-tips ul li {
  background: #eef6ff;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  border-left: 5px solid #0d6efd;
  font-size: 1.05rem;
}

/* --------------------------------------------------
   ACCORDION (PROFESSIONAL VERSION)
-------------------------------------------------- */
.accordion {
  max-width: 900px;
  margin: 18px auto;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
}

.accordion-header {
  width: 100%;
  background: #f8f9fa;
  color: #222;
  padding: 18px 22px;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.25s ease, color 0.25s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: #eef3ff;
}

.accordion-header.active {
  background: #0d6efd;
  color: white;
}

.accordion-header::after {
  content: "▾";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  transform: rotate(-180deg);
}

/* CONTENT */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  background: #ffffff;
  transition: max-height 0.35s ease;
}

.accordion-content ul {
  margin-left: 20px;
}

.accordion-content li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 375px) {
  header h1 {
    font-size: 2.2rem;
  }

  main section {
    padding: 22px;
  }

  .accordion-header {
    font-size: 1.05rem;
    padding: 16px 18px;
  }

   .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0d6efd;
    width: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #0d6efd;
  }

  .dropdown-content a {
    color: white;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  
  .nav-logo {
    font-size: 1.2rem;
  }
}



