* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    

  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.light-theme {
  background-color: #ffffff;
  color: #222;
}

.dark-theme {
  background-color: #121829;
  color: #f1f1f1;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 2;
    background: #020024;
    background: -webkit-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(58, 160, 166, 1) 0%, rgba(73, 196, 184, 1) 100%);
    background: -moz-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(58, 160, 166, 1) 0%, rgba(73, 196, 184, 1) 100%);
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(58, 160, 166, 1) 0%, rgba(73, 196, 184, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024", endColorstr="#49C4B8", GradientType=1);
    
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


body.light-theme .navbar {
  background: #020024;
background: -webkit-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(58, 160, 166, 1) 0%, rgba(73, 196, 184, 1) 100%);
background: -moz-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(58, 160, 166, 1) 0%, rgba(73, 196, 184, 1) 100%);
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(58, 160, 166, 1) 0%, rgba(73, 196, 184, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024", endColorstr="#49C4B8", GradientType=1);
}

/* 🔵 Dark Theme Navbar */
body.dark-theme .navbar {
background: #020024;
background: -webkit-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(13, 89, 92, 1) 0%, rgba(4, 43, 39, 1) 100%);
background: -moz-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(13, 89, 92, 1) 0%, rgba(4, 43, 39, 1) 100%);
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(13, 89, 92, 1) 0%, rgba(4, 43, 39, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024", endColorstr="#042B27", GradientType=1);
}


body.dark-theme .login-btn {
  background-color: rgba(2, 0, 36, 1);
  color: #ecf0f1;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 1px 1px 2px #0c8066;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: white;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#theme-toggle {
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}

#theme-toggle {

  border: none;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle:hover {
  transform: scale(1.05);
}

#theme-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Add shadow to all buttons globally if needed */
button, .mainbutton, .login-btn {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
#theme-toggle:hover {
  transform: rotate(20deg);
}

/* 🧩 Login Button */
.login-btn {
  background-color: white;
  color: #00846e;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.login-btn:hover {
  background-color: #dff6ee;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700&family=Poppins:wght@300;400;500&display=swap');

.bg{

  position: relative;
  height: 90vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* darkness for contrast */
  z-index: 2;
}

.head-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 80%;
}
.head-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;

}


.head-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 5;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  transition: right 0.3s ease-in-out;
  padding: 2rem 1rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-sidebar.open {
  right: 0;
}

.mobile-sidebar button#close-sidebar {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav a:hover {
  text-decoration: underline;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Sidebar layout */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#sidebar-theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
}

.sidebar-theme-icon {
  width: 24px;
  height: 24px;
}
#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 6;
  padding: 14px 18px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
#chatbot-toggle:hover {
  transform: scale(1.1);
}
#chatbot-frame-container {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 360px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 6;
  overflow: hidden;
  flex-direction: column;
}

#chatbot-frame {
  width: 100%;
  height: 100%;
  border: none;
}

#close-chatbot {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 6;
}


#map-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 6;
  padding: 14px 18px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
#map-toggle:hover {
  transform: scale(1.1);
}
#map-frame-container {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 650px;
  height: 500px;
  background: transparent; /* remove white background if iframe is full */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 6;
  overflow: hidden;
  padding: 0;             /* 🧼 remove any default spacing */
  margin: 0;
}

#map-frame {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  display: block;
}


#close-map {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 6;
}



@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav .login-btn {
    background-color: white;
    color: #00846e;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
}

html, body {
  overflow-x: hidden;
}
