:root {
  --primary: #3b82f6;
  --secondary: #60a5fa;
  --accent: #10b981;
  --highlight: #fbbf24;
  --text-dark: #384e6c;
  --text-light: #f9fafb;
  --bg-light: #f3f4f6;
  --bg-dark: #111827;
  --radius: 18px;
  --transition: 0.3s ease;
}


body {
  margin: 0;
  font-family: 'Montserrat' sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

a {
  text-decoration: none;
  color: inherit;
}
/* ============================================
   MODERN NAVBAR STYLES
   ============================================ */

/* Navbar Container */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--bg-light), var(--primary));
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo sup {
  font-size: 0.7rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  top: -0.5em;
  position: relative;
}

/* Navigation Links Container */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

/* Navigation Links */
.nav-links > a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links > a:hover {
  color: #6366f1;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition: width 0.2s ease;
}

.nav-links > a:hover::after {
  width: 100%;
}

/* Active Link */
.nav-links > a.active {
  color: #6366f1;
}

.nav-links > a.active::after {
  width: 100%;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.drop-btn {
  background: none;
  border: none;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.drop-btn:hover {
  color: #6366f1;
}

.drop-btn::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.dropdown:hover .drop-btn::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  padding: 0.5rem 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: #6366f1;
  padding-left: 1.5rem;
}

/* Auth Container */
#authContainer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

#loginLink {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

#loginLink:hover {
  background: #f0f4ff;
  color: #4f46e5;
}

/* Logout Button */
#logoutBtn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logoutBtn:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Dark Mode Toggle */
.dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-toggle:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

/* Hamburger Menu (Mobile) */
.nav-actions {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bar {
  width: 100%;
  height: 2px;
  background: #4b5563;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar1 {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active .bar2 {
  opacity: 0;
}

.hamburger.active .bar3 {
  transform: translateY(-10px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .nav-actions {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links > a,
  .dropdown {
    width: 100%;
  }

  .drop-btn {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 1rem;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  #authContainer {
    width: 100%;
    justify-content: space-between;
  }
}

/* Dark Mode Styles */
body.dark-mode .navbar {
  background: rgba(17, 24, 39, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav-links > a,
body.dark-mode .drop-btn {
  color: #9ca3af;
}

body.dark-mode .nav-links > a:hover,
body.dark-mode .drop-btn:hover {
  color: #818cf8;
}

body.dark-mode .dropdown-menu {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-menu a {
  color: #9ca3af;
}

body.dark-mode .dropdown-menu a:hover {
  background: #374151;
  color: #818cf8;
}

body.dark-mode .dark-toggle:hover {
  background: #374151;
}
@media (max-width:768px) {
  .hamburger {
    display: flex !important;
  }

  .dark-toggle {
    display: inline-flex !important;
  }
}

@media (min-width:769px) {

  .dark-toggle {
    display: inline-flex;
  }
}


.navbar.scrolled {
  box-shadow: 0 6px 22px rgba(2, 6, 23, 0.2);
  backdrop-filter: blur(6px);
}

body.dark .navbar.scrolled {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
}


.admin-login .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.admin-login .auth-container {
  margin-top: 110px;
}


.navbar .admin-logout-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  margin-left: 12px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.navbar .admin-logout-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}


.dark-toggle {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  margin-left: 12px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.dark-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}


body.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

body.dark .card {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

body.dark .navbar {
  background: linear-gradient(135deg, #0f172a, #0b1220);
}

body.dark .nav-links a {
  color: var(--text-light);
}

body.dark .footer {
  background: linear-gradient(135deg, #0f172a, #0b1220);
}

/*== HERO */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;


  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}


.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.7));
  z-index: 1;
}

/* HERO CONTENT FIX */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;


  margin-top: 60px;
}

/* TEXT ALIGNMENT */
.hero-content h1,
.hero-content h2,
.hero-content p {
  text-align: center;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 24px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {

  margin-bottom: 14px;
}

.hero-content h2 {

  margin-bottom: 18px;
  opacity: 0.95;
}

.hero-content p {
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-content .cta-btn {
  margin: 6px;
}

@media (max-width: 768px) {
  .hero-content {
    margin-top: 80px;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero-show {
  opacity: 1;
  transform: translateY(0);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}


.hero .cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero .cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background: linear-gradient(45deg, var(--primary), var(--accent), var(--highlight));
}


.image-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}



.image-hero-bg {
  position: absolute;
  inset: 0;
  background: url('./Asset/hero\ section.jpg') center / cover no-repeat;
  z-index: 0;
}

.image-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.7));
  z-index: 1;
}


/* Content */
.image-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  margin-top: 60px;
}

@media (min-width: 1024px) {
  .image-hero-bg {
    background-attachment: fixed;
  }
}


@media (max-width: 768px) {
  .image-hero {
    height: 60vh;
  }
}

/* ================= TYPEWRITER ================= */
.hero-typewriter {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: 18px;
  opacity: 0.95;
  white-space: nowrap;
}

/* Cursor blink */
.type-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

/* Mobile safety */
@media (max-width: 600px) {
  .hero-typewriter {
    white-space: normal;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .type-cursor {
    animation: none;
  }
}


/*== CONTAINER / GRID */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/*== CARDS */
.card {
  background: rgb(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.card img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.1) rotate(1deg);
}

/* Video card*/
.card.video {
  padding: 0;
  overflow: hidden;
}

.card.video .video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.card.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/*  (redirect to login/register) */
.card .card-cta {
  display: inline-block;
  margin-top: 10px;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  text-decoration: none;
}

.card:hover .card-cta {
  opacity: 1;
  transform: translateY(-4px);
}

.card .card-cta .cta-text {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  color: var(--text-light);
}

.testimonials .card{
  align-items: center;
padding:20px;
border-radius:12px;
margin:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.testimonials img{
width: 120px;;
height:120px;
border-radius:50%;
object-fit:cover;
margin:15px auto;
display:block;
}

/*== ADMIN DASHBOARD */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
  padding: 40px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sidebar ul li {
  margin-bottom: 15px;
}

.sidebar ul li a {
  color: var(--text-light);
  display: block;
  padding: 10px 15px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.sidebar ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dashboard-main {
  flex: 1;
  padding: 40px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.admin-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/*== AUTH PAGES */
body.login,
body.register {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-form button {
  background: var(--accent);
  color: var(--text-light);
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.auth-form a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.auth-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem;
  max-width: 400px;
  margin: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.auth-form input,
.auth-form button {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
}

.auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.auth-form button {
  background: var(--accent);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Auth validation styles */
.auth-container input.invalid {
  border-color: #b00020;
}

.form-message {
  margin-top: 12px;
  font-size: 0.95rem;
}

.form-message.error {
  color: #b00020;
}

.form-message.success {
  color: #0a8a3b;
}

/*== PROFILE */
.profile-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: var(--radius);
  max-width: 500px;
  margin: auto;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
  margin-bottom: 15px;
}

.progress-bar {
  background: #ddd;
  height: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
}

/*BUTTONS */
.btn,
.cta-btn {
  border-radius: var(--radius);
  padding: 12px 22px;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover,
.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer {
  background: #111827;
  color: var(--text-light);
  padding: 60px 20px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center ul li {
  margin-bottom: 8px;
}

.footer-center ul li a,
.footer-right a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-center ul li a:hover,
.footer-right a:hover {
  color: var(--accent);
}

.footer-right .social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-right .social-icons a {
  color: var(--text-light);
  font-size: 18px;
  transition: color 0.3s;
}

.footer-right .social-icons a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-right .social-icons {
    justify-content: center;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.slide-in {
  opacity: 0;
  transform: translateX(-20px);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
}

.visible {
  opacity: 1;
  transform: none;
  transition: 0.8s ease;
}


@media (max-width:768px) {
  .dashboard-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 20px;
  }

  .dashboard-main {
    width: 100%;
    padding: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }
}


@media (min-width:769px) {
  .nav-links {
    display: flex !important;
  }

  .hamburger {
    display: none !important;
  }
}

/* ---------------- LAND BOT CHATBOT STYLING ---------------- */
.landbot-livechat {
  width: 320px !important;
  height: 480px !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 1000 !important;
}

.landbot-bubble {
  width: 60px !important;
  height: 60px !important;
  bottom: 20px !important;
  right: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .landbot-livechat {
    width: 280px !important;
    height: 400px !important;
  }
  .landbot-bubble {
    width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 480px) {
  .landbot-livechat {
    width: 250px !important;
    height: 350px !important;
  }
  .landbot-bubble {
    width: 45px !important;
    height: 45px !important;
  }
}

.team-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  transition: 0.4s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.team-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0d6efd;
}

.role {
  color: #0d6efd;
  font-weight: 600;
  margin-bottom: 5px;
}

.carousel-indicators button {
  background-color: #0d6efd;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
