/* === Global Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f0f10, #1a1a1c);
  color: #f5f5f5;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  color: #dddddd;
}

p {
  max-width: 700px;
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.2px;
}

a {
  max-width: 700px;
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.2px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #4a90e2, #357ABD);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(58, 132, 247, 0.3);
}

/* === Inputs === */
.input {
  background: #1e1e20;
  color: #ffffff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 400px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

/* === Div Containers === */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: 1rem 0;
  width: 100%;
  max-width: 700px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* === Navigation Bar === */
.navbar {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 1rem;
  z-index: 100;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: #4a90e2;
}

/* === Responsive Navbar === */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }

  .navbar.active ul {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem 2rem;
    border-radius: 12px;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
  }
}

.menu-toggle {
  display: none;
}

/* === Section Layout === */
.section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section h2 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.8rem;
  border-left: 4px solid #4a90e2;
  padding-left: 0.75rem;
}

.section p {
  color: #ccc;
  max-width: 800px;
}


/* === Info Bar === */
.info-bar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1rem;
  margin: 2rem auto;
  backdrop-filter: blur(8px);
  text-align: center;
}

.info-item h3 {
  color: #4a90e2;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: #cccccc;
  font-size: 1rem;
  margin: 0;
}

/* === Responsive === */
@media (max-width: 768px) {
  .info-bar {
    flex-direction: column;
    padding: 1.5rem;
  }

  .info-item h3 {
    font-size: 1.25rem;
  }
}


/* === Popup / Modal === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 16, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeIn 0.3s ease forwards;
}

.popup-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 3rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease forwards;
}

.popup-card-wide {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 3rem;
  text-align: center;
  max-width: 1000px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease forwards;
}

.popup-card h2 {
  color: #4a90e2;
  margin-bottom: 1rem;
}

.popup-card p {
  color: #ccc;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* === Footer === */
.footer {
  margin-top: 4rem;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Utilities === */
.center {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }





/* === Responsive Styles === */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    background: #0d1117;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    text-align: center;
    padding: 1rem 0;
  }

  .navbar.active ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 3rem 1rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 0.95rem;
  }

  .card {
    margin: 1rem 0.5rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}