/* Hide hamburger and mobile menu by default */
.hamburger, .mobile-menu {
  display: none;
}

/* Mobile-specific styling */
@media (max-width: 768px) {
  .main-navbar {
    flex-wrap: wrap;
  }

  .navbar-center,
  .navbar-right {
    display: none !important;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    margin-left: auto;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: white;
    width: 100%;
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease-in-out;
    z-index: 99;
  }

  .mobile-menu a,
  .mobile-menu .auth-btn {
    margin: 10px 0;
    text-align: left;
  }

  .mobile-login {
    width: fit-content;
  }

  .mobile-dropdown .dropbtn-mobile {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 0;
    cursor: pointer;
    text-align: left;
    color: #333;
  }

  .dropdown-content-mobile {
    display: none;
    flex-direction: column;
    padding-left: 10px;
  }

  .dropdown-content-mobile a {
    padding: 8px 0;
  }

  @keyframes slideDown {
    from {
      transform: translateY(-20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
@media (max-width: 768px) {
  #google_translate_element {
    display: none;
  }
}

@media (min-width: 769px) {
  #google_translate_element_mobile {
    display: none;
  }
}



@media (max-width: 768px) {
  .contact-form-container {
    width: 90%;
    padding: 20px;
    border-radius: 10px;
  }

  .contact-form-container h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
  }

  .contact-form-container input,
  .contact-form-container textarea {
    font-size: 14px;
    padding: 12px;
  }

  .contact-form-container button[type="submit"] {
    font-size: 16px;
    padding: 14px;
  }

  .close-form-btn {
    font-size: 24px;
    top: 10px;
    right: 10px;
  }

  .custom-popup {
    width: 90%;
    font-size: 14px;
    padding: 10px 16px;
    bottom: 16px;
  }
}
@media (max-width: 768px) {
  .form-footer {
    font-size: 11px;
    text-align: center;
    padding: 0 12px;
    line-height: 1.5;
  }

  .form-footer a.hero-link {
    display: inline;
    font-size: 12px;
    word-break: break-word;
  }

  .fade-container {
    display: block;
    text-align: left;
    margin: 10px 0 0 0;
  }

  #fadeWords {
    font-size: 16px;
  }

  .g_id_signin {
    width: 100% !important;
    justify-content: center;
  }

  #google-login {
    margin: 12px 0;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr; /* Stack cards */
    margin: 30px auto;
    padding: 0 10px;
    gap: 1.5rem;
  }

  .card {
    padding: 1.2rem;
    min-height: auto;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .quote {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .stars {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .view-btn {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    text-align: center;
  }

  /* Popup */
  .popup-box {
    width: 90%;
    padding: 1.5rem;
  }

  .popup-box h3 {
    font-size: 1.2rem;
  }

  .popup-box .quote,
  .popup-box .modal-message {
    font-size: 0.95rem;
  }

  .popup-box .stars {
    font-size: 1.3rem;
  }

  .close-btn {
    font-size: 1.1rem;
    top: 10px;
    right: 14px;
  }
}
@media (max-width: 600px) {
  .chat-box {
    width: 95vw;
    right: 2.5vw;
    bottom: 80px;
    max-height: 90vh;
  }

  .chat-messages {
    padding: 12px 15px;
    height: auto;
    max-height: 60vh;
    overflow-y: auto;
  }

  .demo-form input,
  .demo-form textarea {
    font-size: 13px;
    padding: 8px 10px;
  }

  .meet-btn {
    font-size: 14px;
    padding: 10px 0;
  }

  .chat-header {
    font-size: 15px;
    padding: 12px;
  }

  .ai-tooltip {
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    bottom: 70px;
    font-size: 13px;
    padding: 8px 16px;
  }

  .ai-icon {
    width: 50px;
    height: 50px;
  }

  .ai-img {
    width: 40px;
    height: 40px;
  }

  .custom-popup {
    padding: 10px 16px;
    font-size: 13px;
  }

  .contact-form-container {
    padding: 25px;
  }

  .contact-form-container input,
  .contact-form-container textarea {
    font-size: 14px;
  }

  .contact-form-container button[type="submit"] {
    font-size: 16px;
    padding: 14px;
  }
}


/* Hide mobile menu by default */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: white;
  width: 100%;
  padding: 20px;
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Show when open */
.mobile-menu.open {
  display: flex;
}

/* Show hamburger on mobile only */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 1001; /* Ensure it's above other items */
}

@media (max-width: 768px) {
  .navbar-center,
  .navbar-right {
    display: none;
  }

  .hamburger {
    display: block;
  }
}
.home-sections {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Responsive tweaks for mobile */
@media (max-width: 768px) {
  .home-sections {
    flex-direction: column;
    align-items: stretch;
  }

  .left-column {
    width: 100% !important;
    padding: 15px;
    box-sizing: border-box;
  }

  .profile-basic img {
    width: 100px;
    height: 100px;
  }

  .profile-form label,
  .profile-form select,
  .profile-form input,
  .profile-form button {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
  }

  .profile-form select,
  .profile-form input {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }

  .profile-form button {
    padding: 10px;
    background: #00bcd4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .flashes {
    padding: 0;
    margin-top: 10px;
  }

  .flashes li {
    list-style: none;
    background: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
  }
}
/* Default desktop layout styles */

/* 🔽 Responsive: Mobile First */
@media (max-width: 768px) {
  .top-row,
  .down-row {
    flex-direction: column;
  }

  .dashboard-box,
  .payment-info,
  .journal-section {
    flex: 1 1 100%;
    padding: 15px;
  }

  .feedback-container {
    margin-top: 10px;
    padding: 10px;
  }

  .journal-entry label {
    font-size: 14px;
  }

  .freddie-btn,
  .payment-btn,
  .add-btn,
  .save-btn {
    width: 100%;
  }
}
/* Responsive Styles */
@media (max-width: 768px) {
  .card {
    width: 100%;
    margin: 0 auto;
  }

  .popup-box {
    width: 90%;
    left: 5%;
    transform: none;
  }

  #coach-list button,
  #slots button {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .settings-content {
    margin: 10px;
    padding: 15px;
  }
}