/* === Reset and Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: #fdfdfd;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* === Universal Container === */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
  }
  
  /* === Navbar === */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    height: 80px; /* was 50px */
    max-width: 100%;
    display: block;
  }
  
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #6a0dad;
  }
  
  /* === Dropdown === */
  .more-projects {
    position: relative;
  }
  
  .more-projects .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    list-style: none;
    padding: 1rem;
    border-radius: 0.5rem;
  }
  
  .more-projects:hover .dropdown {
    display: block;
  }
  
  .dropdown li {
    margin-bottom: 0.5rem;
  }
  
  .dropdown li a {
    color: #555;
    font-size: 0.95rem;
  }
  
  .dropdown li a:hover {
    color: #6a0dad;
  }
  
  /* === Hamburger for Mobile === */
  .hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* === Hero Section === */
  .hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f9e5ff, #e0f7fa);
    border-radius: 1rem;
    margin-top: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
    color: #6a0dad;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
  }
  
  /* === Section Light === */
  .section-light {
    background: #fafafa;
    border-radius: 1rem;
    margin-top: 2rem;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  .about-teaser h2 {
    font-size: 2rem;
    color: #6a0dad;
    margin-bottom: 1rem;
  }
  
  .about-teaser p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
  }
  
  /* === Buttons === */
  .start-button, .about-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #6a0dad;
    color: white;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
  }
  
  .start-button:hover, .about-button:hover {
    background: #5400a8;
    transform: translateY(-3px);
  }
  
  /* === Form (Start Page) === */
  .name-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .name-form input {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.75rem;
    font-size: 1rem;
  }
  
  .name-form button {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background: #6a0dad;
    color: white;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .name-form button:hover {
    background: #5400a8;
  }
  
  /* === Quiz Section === */
  .quiz-section {
    margin-top: 2rem;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }
  
  .quiz-section h2 {
    font-size: 1.8rem;
    color: #6a0dad;
    margin-bottom: 1rem;
  }
  
  .answer-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .answer-buttons button {
    padding: 0.8rem 1rem;
    border: 2px solid #6a0dad;
    background: transparent;
    color: #6a0dad;
    font-weight: 600;
    border-radius: 2rem;
    transition: background 0.3s, color 0.3s;
  }
  
  .answer-buttons button:hover {
    background: #6a0dad;
    color: white;
  }
  
  /* === Progress Bar === */
  .progress-container {
    width: 100%;
    background: #eee;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 1rem;
  }
  
  .progress-bar {
    height: 100%;
    background: #6a0dad;
    width: 0%;
    transition: width 0.4s ease;
  }
  
  /* === Footer === */
  .footer {
    background: #f0f0f0;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
  }
  
  .footer p {
    color: #777;
    font-size: 0.9rem;
  }
  
  /* === Mobile Responsive === */
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 70px;
      right: 0;
      background: white;
      flex-direction: column;
      width: 200px;
      align-items: center;
      padding: 1rem;
      gap: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      display: none;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .hamburger {
      display: block;
    }
  
    .hero {
      flex-direction: column;
    }
  }
  
  /* === Fade In Animation === */
  .fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* Kundali */
/* SVG-based North Indian style Kundali chart, 12 houses tiling one square */
.kundali-wrap {
  text-align: center;
}

.kundali-wrap h3 {
  margin-bottom: 1rem;
}

.kundali-svg {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.kundali-outer {
  stroke: #333;
  stroke-width: 2;
}

.kundali-house {
  fill: var(--kundali-tint, #fdfdfd);
  stroke: #333;
  stroke-width: 1.5;
}

.kundali-house-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.15;
  padding: 2px;
  overflow: hidden;
  box-sizing: border-box;
}

.kundali-house-content .house-number,
.kundali-house-content .house-label,
.kundali-house-content .house-trait {
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.kundali-house-content .house-number {
  font-size: 0.62rem;
  font-weight: bold;
  opacity: 0.55;
}

.kundali-house-content .house-label {
  font-size: 0.64rem;
  font-weight: 600;
  margin-top: 1px;
}

.kundali-house-content .house-trait {
  font-size: 0.54rem;
  margin-top: 1px;
}

.kundali-house-content-small .house-label {
  font-size: 0.48rem;
}

.kundali-house-content-small .house-trait {
  font-size: 0.42rem;
  line-height: 1.05;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rabbit-button {
  display: inline-block;
  text-align: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(45deg, #00B4D8, #90E0EF);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rabbit-button:hover {
  background: linear-gradient(45deg, #48CAE4, #00B4D8);
  transform: translateY(-3px);
  box-shadow: 0px 8px 15px rgba(0,0,0,0.1);
}
