* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; padding-top: 88px; }

:root {
  --brand: #00AE8E;
  --brand-dark: #00846D;
  --text-dark: #1E2C2F;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
  z-index: 1000;
  transition: .3s;
}

.nav-container {
  max-width: 1450px;
  margin: auto;
  padding: 0 22px;
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: var(--text-dark);
  font-size: 17px;
  text-decoration: none;
  font-weight: 500;
  transition: .25s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2.5px;
  width: 0;
  background: var(--brand);
  transition: .25s;
}

.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-actions input {
  border: 1.4px solid #cfcfcf;
  border-radius: 35px;
  padding: 10px 20px;
  outline: none;
  transition: .25s;
}

.nav-actions input:focus { border-color: var(--brand); }

.btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 11px 26px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 45px;
  transition: .3s;
}

.btn:hover { transform: translateY(-2px); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 310px;
  height: 100vh;
  background: #fff;
  padding: 35px;
  transform: translateX(-100%);
  transition: .45s cubic-bezier(.32,.08,.24,1);
  box-shadow: 4px 0 25px rgba(0,0,0,.2);
  z-index: 2000;
}

.mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 38px;
  border: none;
  background: none;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  margin-top: 48px;
}

.mobile-menu li { margin: 22px 0; }

.mobile-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
}

.mobile-menu input,
.mobile-menu .btn {
  width: 100%;
  margin-top: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 950px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }

  /* hide only search bar on mobile */
  .nav-actions input {
    display: none;
  }
}

@media (max-width: 950px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }

  .nav-actions input { display: none; }   /* hide desktop search */
  .mobile-menu input { display: none; }   /* hide mobile search */
}

#mobileMenu {
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.32,.08,.24,1);
}

#mobileMenu.active {
  transform: translateX(0);
}



.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;              /* SIDE BY SIDE */
    align-items: center;
    gap: 10px;                  /* space between logo and name */
}

.logo img {
    height: 68px;              /* big logo */
    width: auto;
    object-fit: contain;
}

.logo span {
    font-size: 24px;           /* name larger */
    font-weight: 700;
    color: var(--brand);       /* your theme color */
    letter-spacing: 1px;
}

@media (max-width: 950px) {
    .logo img {
        height: 58px; 
    }
    .logo span {
        font-size: 20px;
    }
}


.logo img {
    height: 68px;
    width: auto;
    object-fit: contain;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ================= FLASH MESSAGES ================= */

.flash-wrapper {
    position: fixed;
    top: 100px; /* navbar height + gap */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    width: calc(100% - 40px);
    max-width: 520px;
}

.flash-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: slideDown 0.4s ease;
}

/* SUCCESS */
.flash-message.success {
    background: #e6fff6;
    color: #0f5132;
    border-left: 5px solid #00AE8E;
}

/* ERROR */
.flash-message.error {
    background: #ffe6e6;
    color: #842029;
    border-left: 5px solid #dc3545;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Friendly */
@media (max-width: 600px) {
    .flash-wrapper {
        top: 90px;
        max-width: 95%;
    }

    .flash-message {
        font-size: 14px;
        padding: 12px 15px;
    }
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #00AE8E;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}
