html{
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  height: 200vh;
  background: linear-gradient(90deg, #C97D2A, #F7EBA1);
  transition: background 0.4s ease, color 0.4s ease;
}
/* Theme button */
.theme-btn {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
h1, h2, h3, h4, h5 {
  font-weight: 600;
}

p {
  font-weight: 400;
}
/* Glass Navbar */
.glass-navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
/* Glass box */
.glass-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);

  max-width: 700px;
  margin: auto;
}
/* Brand + links */
.glass-navbar .navbar-brand {
  color: #1f1f1f;
  font-weight: 600;
}

.glass-navbar .nav-link {
  color: #000000;
  font-weight: 500;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

/* Hover */
.glass-navbar .nav-link:hover {
  color: #fff;
  background: rgba(201, 125, 42, 0.8);
  border-radius: 8px;
}

/* Active link */
.glass-navbar .nav-link.active {
  color: #fff;
  background: #C97D2A;
  border-radius: 8px;
}
/* Hamburger styling */




/* Remove default Bootstrap icon */
.custom-toggler {
  border: none;
  box-shadow: none;
}
.navbar-toggler {
  border: none;
  box-shadow: none;
}

/* FORCE hamburger visibility */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* Bars */
.custom-toggler .bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background-color: #000; /* change if navbar is dark */
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Animate to X when collapsed is open */
.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* Brand hover */
.glass-navbar .navbar-brand:hover {
  color: #C97D2A;
}
.navbar-logo {
  height: 65px;   /* adjust size */
  width: auto;
  object-fit: contain;
}
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(1); /* makes icon visible on light/glass */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* optional: better alignment */
.glass-navbar .navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}
.navbar-logo:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}
/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url('images/bg.jpg') center/cover no-repeat;

  position: relative;
  overflow: hidden;
}

/* Optional overlay (makes text clearer) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}
/* FORM INPUTS */
.form-control {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #000;
  padding: 12px;
}

.form-control::placeholder {
  color: #333;
}

/* BUTTON */
.btn-dark {
  background: #C97D2A;
  border: none;
  padding: 12px;
  transition: 0.3s;
}

.btn-dark:hover {
  background: #a9651f;
  transform: scale(1.03);
}

/* ANIMATIONS */
.animate-fade {
  animation: fadeIn 1.2s ease;
}

.animate-slide {
  animation: slideUp 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-box {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  color: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: pop 0.3s ease;
}

.popup-box button {
  margin-top: 15px;
  padding: 8px 20px;
  border: none;
  background: #C97D2A;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  display: none;
  margin-left: 10px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* button layout */
#sendBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* LOADER SCREEN */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(90deg, #C97D2A, #F7EBA1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* LOGO ANIMATION */
.loader-logo {
  width: 120px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* FADE OUT */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
}
.chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #C97D2A;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  z-index: 999;
}












/* Footer base */
footer {
  background: linear-gradient(90deg, #C97D2A, #F7EBA1);
  color: #2b2b2b;
  padding-top: 50px;
  padding-bottom: 20px;
}

/* Footer headings */
footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

/* Footer links */
footer a {
  color: #2b2b2b;
  text-decoration: none;
  transition: 0.3s ease;
}

footer a:hover {
  color: #000;
  text-decoration: underline;
}

/* Social icons */
footer img {
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.2);
}

/* Divider */
footer hr {
  border-color: rgba(0, 0, 0, 0.2);
}