/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Premium Light Theme Color Palette - Solid Red Theme */
  --bg-main: #fff5f5;
  --bg-card: #ffffff;
  --bg-nav: #990000; /* Solid Dark Red */
  
  --primary: #ff0000; /* Solid Red */
  --primary-hover: #cc0000; /* Darker Solid Red */
  --primary-light: #ffebee; /* Light Red */
  
  --accent: #cc0000; /* Solid Red */
  --accent-hover: #990000;
  --accent-light: #ffcdd2;
  
  --text-main: #7f0000; /* Solid Dark Red */
  --text-muted: #990000; /* Red */
  --text-light: #e57373; /* Light Red */
  
  --border-color: #ffcdd2;
  --border-focus: #ff0000;
  
  --success: #2e7d32;
  --error: #c62828;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* Image Protection (No Selection, No Dragging) */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5%;
}

p {
  margin-bottom: 10px;
  line-height: 1.55;
}

p:last-child {
  margin-bottom: 0;
}

.section {
  padding: 45px 0;
}

.text-center { text-align: center; }

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 28px auto;
  font-size: 1.125rem;
}

/* Glassmorphism Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.nav-container-fluid {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  color: #ffffff; /* Solid White logo text */
  letter-spacing: 0.3px;
}

.logo-text-odia {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: #ffffff; /* Solid White Odia text */
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.logo-slogan {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #ffffff; /* Solid White navbar links */
  position: relative;
  padding: 8px 0;
}

.nav-item a:hover, .nav-item.active a {
  color: #fbbf24; /* Amber yellow accent hover color */
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fbbf24; /* Amber yellow bottom indicator line */
  transition: var(--transition);
}

.nav-item a:hover::after, .nav-item.active a::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: var(--bg-nav) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta i {
  transition: transform 0.3s ease;
}

.nav-cta:hover {
  background-color: #fbbf24;
  color: #000000 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.45);
}

.nav-cta:hover i {
  transform: translateX(4px) rotate(-15deg);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: #dbeafe;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-outline {
  border-color: var(--border-color);
  background-color: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0;
  overflow: hidden;
  background-color: #000000;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* Solid dark overlay for premium high contrast text rendering */
  z-index: 3;
}

.hero-grid {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.75rem;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  color: #ffffff;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 4px solid #ffffff;
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-banner-wrapper:hover {
  transform: rotate(0) scale(1.02);
}

.hero-banner {
  width: 100%;
  max-height: 400px;
  display: block;
  object-fit: cover;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
}

/* Empty State Styling */
.empty-state {
  text-align: center;
  padding: 48px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-color);
  max-width: 500px;
  margin: 40px auto;
  box-shadow: var(--shadow-sm);
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.course-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

.course-img-wrapper {
  position: relative;
  height: 200px;
  background-color: #f1f5f9;
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.course-duration {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.course-footer {
  padding: 0 24px 24px 24px;
}

.course-footer .btn {
  width: 100%;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
}

.gallery-caption {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-light);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Filter Button Styles */
.filter-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.about-img-wrapper {
  position: relative;
}

.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--primary-light);
  z-index: -1;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: block;
}

.about-content h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

.contact-info {
  background-color: var(--primary-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info h3 {
  color: var(--primary-hover);
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  margin: 32px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 4px;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Installation Wizard Page */
.install-card {
  max-width: 800px;
  margin: 60px auto;
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.install-header {
  text-align: center;
  margin-bottom: 40px;
}

.install-logo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 16px auto;
  font-weight: bold;
}

.install-step-title {
  font-size: 1.25rem;
  margin: 24px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  color: var(--primary);
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.install-full-width {
  grid-column: span 2;
}

/* Alert Boxes */
.alert {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 550px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.open .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
}

/* Default Admin Mobile Elements - Hidden on Desktop */
.admin-mobile-header {
  display: none;
}
.admin-sidebar-close {
  display: none;
}
.admin-sidebar-overlay {
  display: none;
}

/* Admin Panel Layout */
.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: 100vh;
  overflow: hidden;
}

.admin-sidebar {
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  align-self: start;
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.admin-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin-nav-item a:hover, .admin-nav-item.active a {
  background-color: var(--primary-light);
  color: var(--primary);
}

.admin-logout {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.admin-logout a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--error);
  font-weight: 600;
}

.admin-content {
  padding: 40px;
  background-color: var(--bg-main);
  overflow-y: auto;
  height: 100vh;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-page-title h2 {
  font-size: 1.75rem;
}

.admin-page-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Dashboard Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-info h3 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.stat-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background-color: #f8fafc;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary { background-color: var(--primary-light); color: var(--primary); }
.badge-success { background-color: #d1fae5; color: #065f46; }

.table-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  transition: var(--transition);
}

.action-btn:hover {
  color: var(--primary);
}

.action-btn.btn-delete:hover {
  color: var(--error);
}

/* Admin forms split */
.admin-card {
  background-color: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Footer styling */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 40px 0 16px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-about h3 {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  text-align: center;
  font-size: 0.8rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.08);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  font-size: 1.75rem;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Login Card page */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.login-header p {
  color: var(--text-muted);
}

/* Responsive Grid Tweaks */
@media (max-width: 992px) {
  .about-grid, .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-illustration {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Can add toggling menu if needed */
  }
  
  .nav-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info {
    padding: 24px;
  }

  .contact-info-text p {
    word-break: break-word;
  }
  
  .install-grid {
    grid-template-columns: 1fr;
  }
  
  .install-full-width {
    grid-column: span 1;
  }
  
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .nav-container, .nav-container-fluid {
    height: 90px;
    padding: 0 16px;
  }
  
  .logo-img {
    height: 42px;
    width: 42px;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-text-odia {
    font-size: 0.95rem;
  }

  .logo-slogan {
    display: none;
  }
  
  .logo-link {
    gap: 8px;
  }
  
  #navMenu {
    top: 90px !important;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 320px;
    padding: 40px 0;
  }
  .hero-content h1 {
    font-size: 1.85rem;
  }
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
}

/* Popup Banner Modal */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  position: relative;
  max-width: 850px;
  width: auto;
  max-height: 85vh;
  background-color: transparent;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 10;
}

.popup-close:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1) rotate(90deg);
}

.popup-content img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  border: 4px solid #ffffff;
}

@media (max-width: 768px) {
  .popup-content {
    max-width: 90%;
    width: auto;
  }
  .popup-content img {
    max-width: 85vw;
    max-height: 70vh;
    border-width: 3px;
  }
  .popup-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
}

/* Animated "New" Badge */
.badge-new-animated {
  background: linear-gradient(45deg, #ff0055, #ff5500, #ffcc00, #33ccff, #ae00ff, #ff0055);
  background-size: 400% 400%;
  color: #ffffff !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 0, 85, 0.3);
  animation: newBadgeShift 3s ease infinite, newBadgePulse 1.5s ease-in-out infinite;
  border: none;
}

@keyframes newBadgeShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes newBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 0, 85, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.5);
  }
}

.announcement-bar-container {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  height: 48px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 99;
  overflow: hidden;
  font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.announcement-bar-label {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}
.announcement-bar-label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 10px solid var(--primary);
  z-index: 2;
}
.announcement-bar-ticker {
  flex-grow: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  width: 100%;
  height: 100%;
  padding: 0 15px;
}
.ticker-slide-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ticker-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.ticker-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
.announcement-bar-all {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  background-color: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 2;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.announcement-bar-all:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.animate-bounce {
  animation: bounce 1.2s infinite;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 768px) {
  .announcement-bar-container {
    height: 44px;
  }
  .announcement-bar-label {
    font-size: 0.75rem;
    padding: 0 10px;
  }
  .announcement-bar-label::after {
    border-top-width: 22px;
    border-bottom-width: 22px;
  }
  .ticker-link {
    font-size: 0.8rem;
  }
  .announcement-bar-all {
    padding: 0 10px;
    font-size: 0.75rem;
  }
}

/* Responsive Admin Layout Overrides */
@media (max-width: 992px) {
  .admin-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
  }

  .admin-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
  }

  .admin-mobile-toggle:hover {
    background-color: var(--primary-light);
  }

  .admin-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
  }

  .admin-sidebar-close:hover {
    background-color: var(--primary-light);
    color: var(--primary);
  }

  .admin-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .admin-sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-wrapper {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-top: 60px;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 1002;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-content {
    padding: 24px 16px;
    height: auto;
    overflow: visible;
    background-color: var(--bg-main);
  }

  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .admin-page-header .btn {
    width: 100%;
    text-align: center;
  }

  .admin-card {
    padding: 20px 16px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Responsive Grid Utility */
.grid-2-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }
  .grid-2-col > * {
    min-width: 0 !important;
  }
}

/* Page Grid Responsive Overrides */
@media (max-width: 992px) {
  .settings-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
  }
  .settings-grid > * {
    min-width: 0 !important;
  }
  .admin-card {
    min-width: 0 !important;
  }
}

/* Modal text wrapping and constraints */
.modal-body p, 
.modal-body a,
.modal-body span,
.modal-body div {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}



/* Premium Toggle Switch */
.switch-container {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-main);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.switch-label-group {
  flex-grow: 1;
}
.switch-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}
.switch-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.theme-switch {
  display: inline-block;
  height: 28px;
  position: relative;
  width: 50px;
}
.theme-switch input {
  display: none;
}
.slider {
  background-color: #cbd5e1;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 20px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
input:checked + .slider {
  background-color: var(--primary);
}
input:checked + .slider:before {
  transform: translateX(22px);
}

