* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
}

/* Navbar */
nav {
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  position: relative;
  z-index: 9999;
}


.logo a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo .text {
  font-weight: bold;
  font-size: 20px;
  color: black;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* Nav links */
#nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-links li {
  position: relative;
  list-style: none;
}

#nav-links a {
  display: block;
  padding: 10px 15px;
  color: black;
  font-size: 18px;
  text-decoration: none;
}

#nav-links a:hover {
  color: #facc15;
}


/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-links {
    flex-direction: column;
    align-items: stretch;
    background: #f9f9f9;
    width: 100%;
    position: absolute;
    top: 100%; /* directly below nav */
    left: 0;

    /* animation */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #nav-links.active {
    max-height: 600px; /* adjust if more items */
  }

  #nav-links li {
    width: 100%;
    
  }

  #nav-links li a {
    display: block;
    width: 100%;
    padding: 15px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    color: black;
  }
  

  /* Mobile dropdown inline */
  #nav-links li ul {
    display: none !important; /* force hidden */
  }

  #nav-links li.show > ul {
    display: none !important;
  }

  #nav-links li ul li a {
    padding-left: 30px;
  }
}













/* /* ============================= */
    /* 🌟 PROFESSIONAL FOOTER */
    /* ============================= */
    
    footer {
      background: #1c294a;
      color: white;
      padding: 3rem 1rem 1.5rem;
      width: 100%;
    }
    
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      padding-bottom: 2rem;
    }
    
    .footer-section h3 {
      font-size: 1.2rem;
      margin-bottom: 1.2rem;
      position: relative;
      padding-bottom: 0.5rem;
    }
    
    .footer-section h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 2px;
      background: #facc15;
    }
    
    .footer-section p {
      line-height: 1.6;
      margin-bottom: 1rem;
      color: #d1d5db;
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 0.8rem;
    }
    
    .footer-links a {
      color: #d1d5db;
      text-decoration: none;
      transition: color 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .footer-links a:hover {
      color: #facc15;
      padding-left: 5px;
    }
    
    .footer-links a::before {
      content: '›';
      margin-right: 8px;
      transition: margin-right 0.3s;
    }
    
    .footer-links a:hover::before {
      margin-right: 12px;
    }
    
    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }
    
    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      color: blue;
      transition: all 0.3s;
    }
    
    .social-links a:hover {
      transform: translateY(-3px);
    }
    
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 1.5rem;
      text-align: center;
      color: #9ca3af;
      font-size: 0.9rem;
    }
    
    .footer-bottom a {
      color: #facc15;
      text-decoration: none;
    }
    
    @media (max-width: 768px) {
      .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
      }
      
      .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
      }
      
      .social-links {
        justify-content: center;
      }
    }



/* Modal styles */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
}
.modal h2 {
    color: #2563eb;
    margin-top: 1rem;
}
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}
.consent-box {
    margin-top: 20px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #ddd;
}
.consent-box label {
    cursor: pointer;
}
.agree-btn {
    margin-top: 10px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}
.agree-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}