/* ----- Default desktop view (no change) ----- */
/* Desktop layout same rahega, so don't change anything for large screens */

/* ----- Responsive for tablets and mobiles ----- */
@media (max-width: 768px) {
  /* Nav links stack or hide for small screens */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .nav-links a {
    font-size: 14px;
  }

  /* Hero section responsive */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 32px !important;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  /* Card sections */
  .card-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
  }

  .card {
    width: 85% !important;
    height: auto !important;
    text-align: center;
    padding: 20px !important;
  }

  /* Calm Companion button fix */
  header nav:nth-of-type(2) {
    margin-right: 0 !important;
    margin-top: 10px !important;
    justify-content: center !important;
  }

  /* Footer responsive */
  footer {
    text-align: center;
    font-size: 13px;
    padding: 10px;
  }
}
/* 🌐 Default hamburger hidden */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #dba8e2;
}

/* Mobile view styling */
@media (max-width: 768px) {

  nav {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 50px;
    border-radius: 8px;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
    color: #333;
    font-size: 16px;
  }

  /*.nav-links a:last-child {
    border-bottom: none;
  }*/

  /* Hide the Calm Companion button nav on mobile */
  nav[style*="margin-right"] {
    display: none !important;
  }
}
