/**
 * Political Laboratory Website
 * Site-Specific Styles
 * 
 * Custom styles for layout, navigation, sections, and components
 */

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Flex", sans-serif;
  min-height: 100vh;
  transition: all 0.3s ease;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 600;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* ========================================
   LOADING SPINNER
   ======================================== */

#spinner {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 9999;
}

#spinner.show {
  opacity: 1;
  visibility: visible;
}

#spinner:not(.show) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--glass-border);
  border-top: 4px solid var(--bs-brand);
  border-right: 4px solid var(--bs-brand);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 20px rgba(1, 170, 173, 0.3);
}

[data-bs-theme="dark"] .spinner {
  box-shadow: 0 0 20px rgba(51, 188, 191, 0.3);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Spinner background */
#spinner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bs-body-bg);
  opacity: 0.95;
  z-index: -1;
}

/* ========================================
   TOPBAR STYLES
   ======================================== */

.topbar {
  background: rgba(9, 30, 62, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .topbar {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar small {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.topbar small i {
  color: var(--bs-brand);
  margin-right: 0.5rem;
}

.topbar .btn-sm-square {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar .btn-sm-square:hover {
  background: var(--bs-brand);
  border-color: var(--bs-brand);
  transform: translateY(-2px);
}

.topbar .btn-sm-square i {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */

.navbar {
  padding: 0.4rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

/* Light theme navbar background */
[data-bs-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Dark theme navbar background */
[data-bs-theme="dark"] .navbar {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Sticky Navbar */
.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* Scrolled state - only change shadow, NOT size */
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Logo */
.navbar-brand {
  padding: 0;
  margin-right: 2rem;
}

.navbar-brand img,
.nav-logo-img {
  height: 42px;
  width: auto;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
  opacity: 0.8;
}

/* Desktop Navigation Links - NO UNDERLINE */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.25rem;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  border-radius: 0.375rem;
}

/* Light theme navbar links */
[data-bs-theme="light"] .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.8);
}

/* Hover and Active States - Background highlight instead of underline */
.navbar-nav .nav-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--bs-accent);
}

[data-bs-theme="light"] .navbar-nav .nav-link:hover {
  background: rgba(10, 37, 64, 0.08);
  color: var(--bs-brand);
}

.navbar-nav .nav-link.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--bs-accent);
  font-weight: 600;
}

[data-bs-theme="light"] .navbar-nav .nav-link.active {
  background: rgba(10, 37, 64, 0.1);
  color: var(--bs-brand);
}

/* Navbar Toggler (Mobile Hamburger) */
.navbar-toggler {
  border: 2px solid rgba(212, 175, 55, 0.5);
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
}

[data-bs-theme="light"] .navbar-toggler {
  border-color: rgba(10, 37, 64, 0.3);
}

.navbar-toggler:hover {
  border-color: var(--bs-accent);
  background: rgba(212, 175, 55, 0.1);
}

[data-bs-theme="light"] .navbar-toggler:hover {
  border-color: var(--bs-brand);
  background: rgba(10, 37, 64, 0.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

[data-bs-theme="light"] .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(10, 37, 64, 0.15);
}

.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='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme="light"] .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='rgba%2810, 37, 64, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   OFFCANVAS MOBILE MENU
   ======================================== */

/* Offcanvas Container */
.offcanvas {
  width: 300px !important;
  max-width: 85vw;
}

.offcanvas-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bs-brand);
}

.offcanvas-body {
  padding: 1.5rem;
}

/* Light theme offcanvas */
[data-bs-theme="light"] .offcanvas {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Dark theme offcanvas */
[data-bs-theme="dark"] .offcanvas {
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Close button */
.offcanvas .btn-close {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.offcanvas .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

[data-bs-theme="light"] .offcanvas .btn-close {
  filter: invert(0);
}

[data-bs-theme="dark"] .offcanvas .btn-close {
  filter: invert(1);
}

/* Mobile Menu Links */
.offcanvas .navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offcanvas .nav-item {
  margin-bottom: 0.5rem;
}

.offcanvas .nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: var(--bs-body-color);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
}

.offcanvas .nav-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--bs-accent);
  transform: translateX(5px);
}

[data-bs-theme="light"] .offcanvas .nav-link:hover {
  background: rgba(10, 37, 64, 0.08);
  color: var(--bs-brand);
}

.offcanvas .nav-link.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--bs-accent);
  font-weight: 600;
}

[data-bs-theme="light"] .offcanvas .nav-link.active {
  background: rgba(10, 37, 64, 0.1);
  color: var(--bs-brand);
}

.offcanvas .nav-link i {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Offcanvas Backdrop */
.offcanvas-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

[data-bs-theme="light"] .offcanvas-backdrop {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Mobile CTA Button in Offcanvas */
.offcanvas .btn-brand {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

/* ========================================
   RESPONSIVE NAVBAR
   ======================================== */

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand img,
  .nav-logo-img {
    height: 37px;
  }
}

/* Bootstrap Icons sizing */
.bi {
  vertical-align: -0.125em;
}

/* Service icon sizing */
.service-icon i.bi {
  font-size: 2.5rem;
}

/* Bootstrap Icons size utilities (replacing Font Awesome fa-2x, etc.) */
.bi.fa-2x,
i.bi.fa-2x {
  font-size: 2em;
}

.bi.fa-3x,
i.bi.fa-3x {
  font-size: 3em;
}

.bi.fa-lg {
  font-size: 1.33333em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}

/* Contact Us CTA Button in Navbar */
.navbar .btn-brand {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.navbar-dark .dropdown-divider {
  border-color: var(--glass-border);
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */

.theme-toggle {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: var(--glass-hover);
}

.theme-toggle:active {
  transform: translateY(0) scale(0.95);
}

.theme-toggle i {
  font-size: 1.25rem;
  color: var(--bs-body-color);
  transition: all 0.3s ease;
}

/* Icon rotation animation */
.theme-toggle.rotating i {
  animation: rotate-icon 0.5s ease-in-out;
}

@keyframes rotate-icon {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(0.8);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Hide sun icon in light theme, show moon */
[data-bs-theme="light"] .theme-toggle .bi-moon-stars-fill {
  display: inline-block;
}

[data-bs-theme="light"] .theme-toggle .bi-sun-fill {
  display: none;
}

/* Hide moon icon in dark theme, show sun */
[data-bs-theme="dark"] .theme-toggle .bi-sun-fill {
  display: inline-block;
}

[data-bs-theme="dark"] .theme-toggle .bi-moon-stars-fill {
  display: none;
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-title h5 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title h1 {
  font-weight: 600;
  line-height: 1.2;
}

/* ========================================
   PAGE HEADER / BREADCRUMB
   ======================================== */

.page-header {
  background: #0d6efd;
  padding: 8rem 0 4rem;
  margin-bottom: 0;
  position: relative;
}

[data-bs-theme="light"] .page-header {
  background: #0d6efd;
}

[data-bs-theme="dark"] .page-header {
  background: #0a1628;
}

.page-header h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.breadcrumb-item {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: #d4af37;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* Responsive Page Header */
@media (max-width: 991.98px) {
  .page-header {
    padding: 5rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 4rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .breadcrumb-item {
    font-size: 0.9rem;
  }
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a2332 50%, #0f1922 100%);
  padding: 0;
}

[data-bs-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #050a12 0%, #0a1420 50%, #060d16 100%);
}

[data-bs-theme="light"] .hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f5 100%);
}

/* Animated Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(13, 110, 253, 0.15),
      transparent 50%
    ),
    radial-gradient(circle at 80% 80%, rgba(1, 170, 173, 0.15), transparent 50%);
}

/* Gradient Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float-orb 20s ease-in-out infinite;
}

[data-bs-theme="dark"] .gradient-orb {
  opacity: 0.15;
}

[data-bs-theme="light"] .gradient-orb {
  opacity: 0.4;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.6), transparent);
  top: -15%;
  left: -15%;
  animation-delay: 0s;
}

[data-bs-theme="dark"] .orb-1 {
  background: radial-gradient(circle, rgba(13, 110, 253, 0.3), transparent);
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 170, 173, 0.6), transparent);
  bottom: -15%;
  right: -15%;
  animation-delay: 7s;
}

[data-bs-theme="dark"] .orb-2 {
  background: radial-gradient(circle, rgba(1, 170, 173, 0.3), transparent);
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(110, 168, 254, 0.5), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

[data-bs-theme="dark"] .orb-3 {
  background: radial-gradient(circle, rgba(110, 168, 254, 0.25), transparent);
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Grid Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(1, 170, 173, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(1, 170, 173, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
  opacity: 0.5;
}

[data-bs-theme="light"] .grid-overlay {
  background-image: linear-gradient(
      rgba(13, 110, 253, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(13, 110, 253, 0.05) 1px, transparent 1px);
}

@keyframes grid-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Dark theme text colors */
[data-bs-theme="dark"] .hero-section .hero-title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .hero-section .hero-description {
  color: rgba(255, 255, 255, 0.85);
}

[data-bs-theme="dark"] .hero-section .stat-card p {
  color: rgba(255, 255, 255, 0.75);
}

/* Light theme text colors */
[data-bs-theme="light"] .hero-section .hero-title,
[data-bs-theme="light"] .hero-section .hero-description,
[data-bs-theme="light"] .hero-section .stat-card p {
  color: var(--bs-body-color);
}

/* Hero Content */
.hero-content {
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #d4af37;
  animation: fadeInDown 1s ease-out;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

[data-bs-theme="dark"] .hero-badge {
  background: rgba(10, 20, 35, 0.9);
  color: #e6c068;
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

[data-bs-theme="light"] .hero-badge {
  background: rgba(10, 37, 64, 0.1);
  color: #0a2540;
  border-color: rgba(10, 37, 64, 0.3);
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Gradient Text - Navy + Gold */
.gradient-text {
  background: linear-gradient(135deg, #0a2540, #d4af37, #1e4976);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

[data-bs-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #5a9fd4, #e6c068, #7eb3d9);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.2);
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--bs-body-color);
  opacity: 0.85;
  animation: fadeInUp 1s ease-out 0.4s both;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  animation: fadeInUp 1s ease-out 0.6s both;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

[data-bs-theme="dark"] .stat-card {
  background: rgba(10, 20, 35, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0a2540, #d4af37);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .stat-card:hover {
  background: rgba(15, 30, 50, 0.98);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4), 0 0 30px rgba(212, 175, 55, 0.2);
}

[data-bs-theme="light"] .stat-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.2),
    rgba(212, 175, 55, 0.2)
  );
  border-radius: 50%;
  font-size: 1.5rem;
  color: #d4af37;
}

[data-bs-theme="dark"] .stat-icon {
  background: linear-gradient(
    135deg,
    rgba(74, 142, 194, 0.4),
    rgba(230, 192, 104, 0.4)
  );
  color: #e6c068;
  box-shadow: 0 0 20px rgba(230, 192, 104, 0.3);
}

[data-bs-theme="light"] .stat-icon {
  color: #0a2540;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
}

[data-bs-theme="dark"] .stat-card h3 {
  background: linear-gradient(135deg, #7eb3d9, #e6c068);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.1);
}

[data-bs-theme="light"] .stat-card h3 {
  color: var(--bs-body-color);
}

.stat-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="light"] .stat-card p {
  color: var(--bs-body-color);
  opacity: 0.8;
}

/* Hero Buttons */
.hero-buttons {
  animation: fadeInUp 1s ease-out 0.8s both;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  font-weight: 600;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .hero-buttons .btn:hover {
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

[data-bs-theme="dark"] .hero-buttons .btn-outline-brand {
  background: rgba(10, 20, 35, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(230, 192, 104, 0.6);
  color: #e6c068;
}

[data-bs-theme="dark"] .hero-buttons .btn-outline-brand:hover {
  background: rgba(230, 192, 104, 0.2);
  border-color: #e6c068;
  color: #e6c068;
  box-shadow: 0 0 30px rgba(230, 192, 104, 0.4);
}

/* Feature Pills */
.feature-pills {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1s both;
  width: 100%;
}

/* Mobile: Hide feature pills */
@media (max-width: 767.98px) {
  .feature-pills {
    display: none !important;
  }
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  pointer-events: none;
  user-select: none;
}

[data-bs-theme="light"] .feature-pill {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--bs-body-color);
}

.feature-pill:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.1);
}

.feature-pill i {
  color: #f5c842;
}

[data-bs-theme="light"] .feature-pill i {
  color: #d4af37;
}



/* Hero Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Hero Section */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-card h3 {
    font-size: 1.75rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0 !important;
  }

  .feature-pills {
    flex-direction: column;
    align-items: center;
  }

  .scroll-indicator {
    display: none;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    width: 200px;
    height: 200px;
    filter: blur(60px);
  }

  .grid-overlay {
    background-size: 30px 30px;
  }
}

/* ========================================
   CAROUSEL STYLES (DEPRECATED - KEPT FOR REFERENCE)
   ======================================== */

/* Carousel Container */
#heroCarousel {
  position: relative;
}

/* Carousel Images */
.carousel-img {
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  object-fit: cover;
  object-position: center;
}

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Carousel Caption */
.carousel-caption {
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(1, 170, 173, 0.5);
  border-radius: 50%;
  padding: 0.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(1, 170, 173, 0.8);
}

/* Carousel Indicators */
.carousel-indicators {
  margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(1, 170, 173, 0.8);
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--bs-brand);
  transform: scale(1.2);
}

/* Carousel Animations */
@keyframes slideInDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.slideInDown {
  animation-name: slideInDown;
}

.slideInLeft {
  animation-name: slideInLeft;
}

.slideInRight {
  animation-name: slideInRight;
}

.zoomIn {
  animation-name: zoomIn;
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

[data-bs-theme="light"] .feature-icon {
  background: linear-gradient(135deg, var(--bs-brand), rgba(1, 117, 120, 0.9));
}

[data-bs-theme="dark"] .feature-icon {
  background: linear-gradient(
    135deg,
    var(--bs-brand),
    rgba(102, 207, 207, 0.9)
  );
}

.feature-icon i {
  font-size: 1.75rem;
  color: white;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  position: relative;
  background: var(--bs-body-bg);
}

[data-bs-theme="light"] .services-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

[data-bs-theme="dark"] .services-section {
  background: linear-gradient(180deg, #0a1628 0%, #050a12 100%);
}

/* Services Section Header */
.services-section .section-title h5 {
  color: var(--bs-brand);
}

[data-bs-theme="dark"] .services-section .section-title h5 {
  color: #e6c068;
}

.services-section .section-title .lead {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

[data-bs-theme="dark"] .services-section .section-title .lead {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Service Card */
.service-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0a2540, #d4af37);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

[data-bs-theme="dark"] .service-card:hover {
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.5);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Service Icon Wrapper */
.service-icon-wrapper {
  position: relative;
  display: inline-block;
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0a2540, #d4af37);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

[data-bs-theme="dark"] .service-icon {
  background: #0a2540;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.5);
}

.service-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

[data-bs-theme="dark"] .service-card:hover .service-icon {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
}

.service-card:hover .service-icon::before {
  width: 100%;
  height: 100%;
}

.service-icon i {
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

/* Service Card Content */
.service-card h4 {
  font-weight: 700;
  transition: all 0.3s ease;
  color: var(--bs-body-color);
}

.service-card:hover h4 {
  color: var(--bs-brand);
}

[data-bs-theme="dark"] .service-card:hover h4 {
  background: linear-gradient(135deg, #7eb3d9, #e6c068);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service card description */
.service-card p.text-muted {
  line-height: 1.6;
  min-height: 3.2em;
}

[data-bs-theme="dark"] .service-card p.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Service Features List */
.service-features {
  font-size: 0.9rem;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li:hover {
  padding-left: 0.5rem;
  color: var(--bs-brand);
}

[data-bs-theme="dark"] .service-features li:hover {
  color: #e6c068;
}

.service-features i {
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

/* Checkmark icon color in dark mode */
[data-bs-theme="dark"] .service-features .text-brand {
  color: #d4af37 !important;
}

.service-features li:hover i {
  transform: scale(1.1);
}

/* Featured Service Card */
.featured-service {
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #d4af37, #f5c842);
  color: #0a2540;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  z-index: 10;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
  }
}

[data-bs-theme="dark"] .featured-badge {
  background: linear-gradient(135deg, #e6c068, #f5d76e);
  box-shadow: 0 4px 20px rgba(230, 192, 104, 0.5);
  animation: badge-pulse-dark 2s ease-in-out infinite;
}

@keyframes badge-pulse-dark {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(230, 192, 104, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(230, 192, 104, 0.7);
  }
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.05), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--glass-border);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-box:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

[data-bs-theme="dark"] .cta-box {
  background: linear-gradient(135deg, rgba(30, 73, 118, 0.2), rgba(230, 192, 104, 0.1));
  border-color: rgba(212, 175, 55, 0.3);
}

[data-bs-theme="dark"] .cta-box:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

[data-bs-theme="dark"] .cta-box p.text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-box h3 {
  position: relative;
  z-index: 1;
}

.cta-box p {
  position: relative;
  z-index: 1;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

/* Focus States for Accessibility */
.service-card:focus-within {
  outline: 2px solid var(--bs-brand);
  outline-offset: 2px;
}

[data-bs-theme="dark"] .service-card:focus-within {
  outline-color: #e6c068;
}

.cta-box .btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* Responsive Service Cards */
@media (max-width: 991.98px) {
  .services-section {
    padding: 3rem 0 !important;
  }

  .services-section .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 1.75rem;
  }

  .service-card h4 {
    font-size: 1.35rem;
  }

  .service-card p.text-muted {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .services-section {
    padding: 2rem 0 !important;
  }

  .services-section .container {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  .service-card h4 {
    font-size: 1.25rem;
  }

  .service-card {
    margin-bottom: 1rem;
  }

  .service-card p.text-muted {
    font-size: 0.9rem;
    min-height: auto;
  }

  .service-features {
    font-size: 0.85rem;
  }

  .featured-badge {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
  }

  .cta-box {
    padding: 2rem 1.5rem !important;
  }

  .cta-box h3 {
    font-size: 1.5rem;
  }

  .cta-box .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* ========================================
   FOOTER STYLES - NAVY + GOLD THEME
   ======================================== */

/* Footer Section Container */
.footer-section {
  position: relative;
  overflow: hidden;
}

/* Footer Main Area */
.footer-main {
  background: linear-gradient(135deg, #0a2540 0%, #061829 100%);
  padding: 4rem 0 2rem;
  position: relative;
}

[data-bs-theme="dark"] .footer-main {
  background: linear-gradient(135deg, #0a1628 0%, #050a12 100%);
}

/* Animated Background Pattern */
.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  animation: grid-move 20s linear infinite;
}

/* Footer Brand Section */
.footer-brand {
  position: relative;
  z-index: 1;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-size: 0.95rem;
}

[data-bs-theme="dark"] .footer-description {
  color: rgba(255, 255, 255, 0.65);
}

/* Footer Stats */
.footer-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.footer-stat-item:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

[data-bs-theme="dark"] .footer-stat-item {
  background: rgba(255, 217, 102, 0.08);
  border-color: rgba(255, 217, 102, 0.25);
}

[data-bs-theme="dark"] .footer-stat-item:hover {
  background: rgba(255, 217, 102, 0.12);
  border-color: rgba(255, 217, 102, 0.4);
}

.footer-stat-item i {
  color: #FFD966;
  font-size: 1rem;
}

.footer-stat-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background: linear-gradient(135deg, #d4af37, #f5c842);
  border-color: #d4af37;
  color: #0a2540;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

[data-bs-theme="dark"] .footer-social-link:hover {
  background: linear-gradient(135deg, #FFD966, #FFE699);
  color: #0a1628;
  box-shadow: 0 5px 20px rgba(255, 217, 102, 0.5);
}

/* Footer Links Section */
.footer-links {
  position: relative;
  z-index: 1;
}

.footer-title {
  color: #FFD966;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

[data-bs-theme="dark"] .footer-title {
  color: #FFE699;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: #FFD966;
  transform: translateX(5px);
}

[data-bs-theme="dark"] .footer-menu a:hover {
  color: #FFE699;
}

.footer-menu a i {
  font-size: 0.75rem;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-menu a:hover i {
  opacity: 1;
  color: #FFD966;
}

/* Footer Contact Section */
.footer-contact {
  position: relative;
  z-index: 1;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.5rem;
  color: #FFD966;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.5);
  transform: scale(1.05);
}

[data-bs-theme="dark"] .footer-contact-icon {
  background: rgba(255, 217, 102, 0.1);
  border-color: rgba(255, 217, 102, 0.25);
}

[data-bs-theme="dark"] .footer-contact-item:hover .footer-contact-icon {
  background: rgba(255, 217, 102, 0.15);
  border-color: rgba(255, 217, 102, 0.4);
}

.footer-contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-contact-text span,
.footer-contact-text a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-text a:hover {
  color: #FFD966;
  transform: translateX(3px);
}

[data-bs-theme="dark"] .footer-contact-text a:hover {
  color: #FFE699;
}

/* Footer Bottom / Copyright */
.footer-bottom {
  background: rgba(6, 24, 41, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.5rem 0;
}

[data-bs-theme="dark"] .footer-bottom {
  background: rgba(5, 10, 18, 0.95);
  border-top-color: rgba(255, 217, 102, 0.15);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-brand-link {
  color: #FFD966;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-brand-link:hover {
  color: #FFE699;
  text-decoration: underline;
}

[data-bs-theme="dark"] .footer-brand-link {
  color: #FFE699;
}

[data-bs-theme="dark"] .footer-brand-link:hover {
  color: #FFF;
}

.footer-credits {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.footer-credits i {
  color: #d4af37;
  font-size: 0.85rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

[data-bs-theme="dark"] .footer-credits i {
  color: #FFD966;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

/* Responsive Footer */
@media (max-width: 991.98px) {
  .footer-main {
    padding: 3rem 0 1.5rem;
  }

  .footer-logo-img {
    height: 42px;
  }

  .footer-stats {
    gap: 1rem;
  }

  .footer-stat-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .footer-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-logo {
    margin-bottom: 1rem;
  }

  .footer-logo-img {
    height: 38px;
  }

  .footer-stats {
    justify-content: center;
    gap: 0.75rem;
  }

  .footer-stat-item {
    padding: 0.35rem 0.75rem;
  }

  .footer-stat-item i {
    font-size: 0.9rem;
  }

  .footer-stat-item span {
    font-size: 0.8rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social-link {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .footer-links,
  .footer-contact {
    margin-bottom: 2rem;
  }

  .footer-title {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .footer-menu a,
  .footer-contact-text span,
  .footer-contact-text a {
    font-size: 0.85rem;
  }

  .footer-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 1.25rem 0;
  }

  .footer-copyright,
  .footer-credits {
    font-size: 0.85rem;
  }

  .footer-credits {
    margin-top: 0.5rem;
  }
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 50px;
  height: 50px;
  display: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.back-to-top.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-info-card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-info-card a {
  color: var(--bs-body-color);
  transition: all 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--bs-brand);
}

.contact-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

[data-bs-theme="light"] .contact-icon {
  background: linear-gradient(135deg, var(--bs-brand), rgba(1, 117, 120, 0.9));
}

[data-bs-theme="dark"] .contact-icon {
  background: linear-gradient(
    135deg,
    var(--bs-brand),
    rgba(102, 207, 207, 0.9)
  );
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
  font-size: 1.75rem;
  color: white;
}

/* Contact Form Styles */
#contactForm .form-floating > label {
  color: var(--bs-body-color);
  opacity: 0.7;
}

#contactForm .form-control:focus + label {
  color: var(--bs-brand);
}

#formMessage {
  padding: 1rem;
  border-radius: 0.375rem;
  display: none;
}

#formMessage.success {
  display: block;
  background: rgba(25, 135, 84, 0.15);
  border: 1px solid rgba(25, 135, 84, 0.3);
  color: var(--bs-success);
}

#formMessage.error {
  display: block;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: var(--bs-danger);
}

/* Google Map Responsive */
.contact-map {
  border-radius: 0.375rem;
  overflow: hidden;
}

/* Business Hours */
.border-bottom {
  border-color: var(--glass-border) !important;
}

/* Responsive Contact Page */
@media (max-width: 767.98px) {
  .contact-info-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem;
  }

  .navbar-brand img,
  .nav-logo-img {
    height: 37px;
  }

  .carousel-img {
    height: 70vh;
    min-height: 500px;
  }

  .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .carousel-caption h5 {
    font-size: 1.1rem;
  }

  .carousel-caption .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .carousel-img {
    height: 60vh;
    min-height: 400px;
  }

  .carousel-caption h1 {
    font-size: 1.75rem;
  }

  .carousel-caption h5 {
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
  }

  .carousel-caption .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem;
    margin: 0.25rem !important;
  }

  .carousel-caption .p-3 {
    padding: 1rem !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 767.98px) {
  .theme-toggle {
    bottom: 1rem;
    left: 1rem;
    width: 45px;
    height: 45px;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .footer-about {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .footer .col-md-6,
  .footer .col-lg-2,
  .footer .col-lg-3,
  .footer .col-lg-4 {
    margin-bottom: 2rem;
  }

  .footer .col-md-6:last-child,
  .footer .col-lg-3:last-child {
    margin-bottom: 0;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.rounded-circle {
  border-radius: 50% !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* =
=======================================
   MOBILE HORIZONTAL OVERFLOW FIX
   ======================================== */

/* Prevent horizontal scrolling on mobile devices */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    overflow-x: hidden;  /* Fallback for older browsers */
    overflow-x: clip;    /* Modern browsers - allows sticky positioning */
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Wrapper to ensure sticky works with overflow */
body > * {
    position: relative;
}

/* Ensure all containers respect viewport width */
.container,
.container-fluid,
.hero-section,
.hero-background,
.footer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Navbar needs special handling for sticky positioning */
.navbar {
    max-width: 100vw;
    overflow-x: hidden;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Mobile-specific fixes */
@media (max-width: 767.98px) {
    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100vw;
    }
    
    /* Fix container padding */
    .container,
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    /* Fix row margins */
    .row {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        max-width: 100%;
    }
    
    .row > * {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Fix hero section */
    .hero-section {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
        max-width: 100vw;
    }
    
    .hero-section .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .hero-content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%;
    }
    
    .hero-title,
    .hero-description {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%;
    }
    
    .hero-stats-grid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%;
    }
    
    .feature-pills {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%;
    }
    
    /* Fix navbar */
    .navbar .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Fix animated elements that might overflow */
    .gradient-orb,
    .orb-1,
    .orb-2,
    .orb-3 {
        max-width: 100vw;
    }
    
    /* Fix any absolute positioned elements */
    .theme-toggle {
        left: 0.75rem;
        z-index: 999;
    }
    
    /* Ensure cards don't overflow */
    .card,
    .card-glass,
    .stat-card,
    .service-card {
        max-width: 100%;
    }
    
    /* Fix buttons */
    .btn {
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Fix images */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Tablet-specific fixes */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container,
    .container-fluid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .hero-section .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}


/* ========================================
   ABOUT SECTION STYLES
   ======================================== */

.about-section {
  position: relative;
  overflow: hidden;
}

[data-bs-theme="light"] .about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
}

[data-bs-theme="dark"] .about-section {
  background: linear-gradient(135deg, #0a1628 0%, #0f1922 50%, #0a1420 100%);
}

/* About Feature Cards */
.about-feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] .about-feature-card {
  background: rgba(10, 20, 35, 0.5);
  border-color: rgba(212, 175, 55, 0.15);
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 37, 64, 0.15);
  border-color: var(--bs-brand);
  background: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .about-feature-card:hover {
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.25);
  background: rgba(10, 20, 35, 0.8);
  border-color: #d4af37;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 37, 64, 0.08);
  border-radius: 0.75rem;
  color: #0a2540;
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .about-feature-icon {
  background: rgba(212, 175, 55, 0.12);
  color: #e6c068;
}

.about-feature-card:hover .about-feature-icon {
  background: #0a2540;
  color: white;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

[data-bs-theme="dark"] .about-feature-card:hover .about-feature-icon {
  background: #d4af37;
  color: #0a1628;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Services Overview Card */
.services-overview-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.services-overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0a2540, #4a8ec2, #d4af37);
}

[data-bs-theme="dark"] .services-overview-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .services-overview-card::before {
  background: linear-gradient(90deg, #4a8ec2, #d4af37, #e6c068);
}

.services-header {
  margin-bottom: 2rem;
}

.services-header h3 {
  color: var(--bs-body-color);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.services-header p {
  font-size: 0.95rem;
  color: var(--bs-body-color);
  opacity: 0.75;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

[data-bs-theme="dark"] .service-item {
  background: rgba(10, 20, 35, 0.5);
  border-color: rgba(212, 175, 55, 0.15);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 37, 64, 0.15);
  border-color: var(--bs-brand);
  background: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .service-item:hover {
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  background: rgba(10, 20, 35, 0.8);
}

.service-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 37, 64, 0.08);
  border-radius: 0.75rem;
  color: #0a2540;
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .service-item-icon {
  background: rgba(212, 175, 55, 0.12);
  color: #e6c068;
}

.service-item:hover .service-item-icon {
  background: #0a2540;
  color: white;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

[data-bs-theme="dark"] .service-item:hover .service-item-icon {
  background: #d4af37;
  color: #0a1628;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.service-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.service-item-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bs-body-color);
  line-height: 1.3;
  display: block;
}

.service-item-text span {
  font-size: 0.8rem;
  color: var(--bs-body-color);
  opacity: 0.65;
  line-height: 1.3;
  display: block;
}

/* Responsive Services Grid */
@media (max-width: 991.98px) {
  .services-overview-card {
    margin-top: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .services-overview-card {
    padding: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    padding: 1rem;
  }

  .service-item-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 1.25rem;
  }

  .service-item-text strong {
    font-size: 0.9rem;
  }

  .service-item-text span {
    font-size: 0.8rem;
  }
}



/* Responsive About Section */
@media (max-width: 991.98px) {
  .about-image-wrapper {
    min-height: 400px;
    margin-top: 2rem;
  }

  .about-badge {
    padding: 1.25rem 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .about-badge i {
    font-size: 2rem;
  }

  .about-badge h4 {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .about-image-wrapper {
    min-height: 350px;
  }

  .about-feature-card {
    padding: 1rem;
  }

  .about-feature-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 1.25rem;
  }

  .about-badge {
    padding: 1rem 1.25rem;
    bottom: 1rem;
    left: 1rem;
    gap: 0.75rem;
  }

  .about-badge i {
    font-size: 1.75rem;
  }

  .about-badge h4 {
    font-size: 1.5rem;
  }

  .about-badge p {
    font-size: 0.8rem;
  }

  .about-decoration-1,
  .about-decoration-2 {
    display: none;
  }
}


/* Mission & Vision Cards */
.mission-vision-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 37, 64, 0.05);
  border-left: 4px solid var(--bs-brand);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .mission-vision-card {
  background: rgba(212, 175, 55, 0.08);
  border-left-color: #d4af37;
}

.mission-vision-card:hover {
  transform: translateX(5px);
  background: rgba(10, 37, 64, 0.08);
}

[data-bs-theme="dark"] .mission-vision-card:hover {
  background: rgba(212, 175, 55, 0.12);
}

.mv-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-brand);
  color: white;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}

[data-bs-theme="dark"] .mv-icon {
  background: #d4af37;
  color: #0a1628;
}

.mission-vision-card h6 {
  color: var(--bs-body-color);
  font-size: 1rem;
}

.mission-vision-card p {
  color: var(--bs-body-color);
  opacity: 0.8;
  line-height: 1.6;
}

/* Story Card */
.story-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

[data-bs-theme="dark"] .story-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.story-header {
  text-align: center;
}

.story-icon-badge {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a2540;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
}

[data-bs-theme="dark"] .story-icon-badge {
  background: #d4af37;
  color: #0a1628;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.story-header h3 {
  color: var(--bs-body-color);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.story-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0a2540, #d4af37);
  margin: 0 auto;
  border-radius: 2px;
}

[data-bs-theme="dark"] .story-divider {
  background: linear-gradient(90deg, #4a8ec2, #e6c068);
}

.story-content p {
  color: var(--bs-body-color);
  opacity: 0.85;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Timeline Highlights */
.timeline-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 37, 64, 0.05);
  border-radius: 0.5rem;
  border-left: 3px solid var(--bs-brand);
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .timeline-item {
  background: rgba(212, 175, 55, 0.08);
  border-left-color: #d4af37;
}

.timeline-item:hover {
  transform: translateX(5px);
  background: rgba(10, 37, 64, 0.08);
}

[data-bs-theme="dark"] .timeline-item:hover {
  background: rgba(212, 175, 55, 0.12);
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bs-brand);
  min-width: 50px;
}

[data-bs-theme="dark"] .timeline-year {
  color: #e6c068;
}

.timeline-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bs-body-color);
  opacity: 0.9;
}

/* Story Quote */
.story-quote {
  position: relative;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid #d4af37;
  border-radius: 0.75rem;
  font-style: italic;
}

[data-bs-theme="dark"] .story-quote {
  background: rgba(212, 175, 55, 0.12);
  border-left-color: #e6c068;
}

.quote-icon {
  font-size: 2rem;
  color: #d4af37;
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

[data-bs-theme="dark"] .quote-icon {
  color: #e6c068;
}

.story-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-left: 2rem;
  color: var(--bs-body-color);
  opacity: 0.9;
}

/* Responsive Story Card */
@media (max-width: 991.98px) {
  .story-card {
    margin-top: 2rem;
    padding: 2rem;
  }

  .story-icon-badge {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .story-card {
    padding: 1.5rem;
  }

  .mission-vision-card {
    padding: 1.25rem;
  }

  .timeline-item {
    padding: 0.65rem 0.85rem;
  }

  .timeline-year {
    font-size: 1.1rem;
    min-width: 45px;
  }

  .timeline-text {
    font-size: 0.85rem;
  }
}


/* ========================================
   FOUNDER SECTION STYLES
   ======================================== */

.founder-section {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
}

[data-bs-theme="dark"] .founder-section {
  background: linear-gradient(135deg, #0a1628 0%, #0f1922 50%, #0a1420 100%);
}

/* Founder Image Wrapper */
.founder-image-wrapper {
  position: relative;
}

.founder-image-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.25);
  transition: all 0.4s ease;
}

.founder-image-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(10, 37, 64, 0.35);
}

[data-bs-theme="dark"] .founder-image-container {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .founder-image-container:hover {
  box-shadow: 0 30px 80px rgba(212, 175, 55, 0.4);
}

.founder-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.founder-image-container:hover .founder-image {
  transform: scale(1.05);
}

/* Founder Badge */
.founder-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid #d4af37;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  color: #0a2540;
}

[data-bs-theme="dark"] .founder-badge {
  background: rgba(10, 20, 35, 0.98);
  border-color: #e6c068;
  color: #e6c068;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.founder-badge i {
  font-size: 1.25rem;
  color: #d4af37;
}

[data-bs-theme="dark"] .founder-badge i {
  color: #e6c068;
}

/* Founder Social Links */
.founder-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.founder-social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--bs-body-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.founder-social-link:hover {
  background: #0a2540;
  color: white;
  border-color: #0a2540;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
}

[data-bs-theme="dark"] .founder-social-link:hover {
  background: #d4af37;
  color: #0a1628;
  border-color: #d4af37;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Founder Info */
.founder-info {
  padding-left: 2rem;
}

.founder-header {
  border-bottom: 2px solid rgba(10, 37, 64, 0.1);
  padding-bottom: 1.5rem;
}

[data-bs-theme="dark"] .founder-header {
  border-bottom-color: rgba(212, 175, 55, 0.2);
}

.founder-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bs-body-color);
  line-height: 1.2;
}

.founder-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bs-body-color);
  opacity: 0.8;
}

.founder-location {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(10, 37, 64, 0.08);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .founder-location {
  background: rgba(212, 175, 55, 0.12);
}

.founder-location i {
  color: #d4af37;
}

[data-bs-theme="dark"] .founder-location i {
  color: #e6c068;
}

.founder-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--bs-body-color);
  opacity: 0.9;
}

/* Founder Highlight Cards */
.founder-highlight-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 0.875rem;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .founder-highlight-card {
  background: rgba(10, 20, 35, 0.5);
  border-color: rgba(212, 175, 55, 0.15);
}

.founder-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.15);
  border-color: var(--bs-brand);
  background: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .founder-highlight-card:hover {
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  background: rgba(10, 20, 35, 0.8);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 37, 64, 0.08);
  border-radius: 0.75rem;
  color: #0a2540;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .highlight-icon {
  background: rgba(212, 175, 55, 0.12);
  color: #e6c068;
}

.founder-highlight-card:hover .highlight-icon {
  background: #0a2540;
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

[data-bs-theme="dark"] .founder-highlight-card:hover .highlight-icon {
  background: #d4af37;
  color: #0a1628;
}

.founder-highlight-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bs-body-color);
  margin-bottom: 0.25rem;
}

.founder-highlight-card p {
  color: var(--bs-body-color);
  opacity: 0.7;
}

/* Founder Achievements */
.founder-achievements {
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.05);
  border-left: 4px solid #d4af37;
  border-radius: 0.75rem;
}

[data-bs-theme="dark"] .founder-achievements {
  background: rgba(212, 175, 55, 0.08);
  border-left-color: #e6c068;
}

.founder-achievements h5 {
  color: var(--bs-body-color);
}

.achievements-grid {
  display: grid;
  gap: 0.75rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--bs-body-color);
  opacity: 0.9;
  line-height: 1.6;
}

.achievement-item i {
  color: #d4af37;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

[data-bs-theme="dark"] .achievement-item i {
  color: #e6c068;
}

/* Responsive Founder Section */
@media (max-width: 991.98px) {
  .founder-info {
    padding-left: 0;
    margin-top: 2rem;
  }

  .founder-name {
    font-size: 2rem;
  }

  .founder-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .founder-name {
    font-size: 1.75rem;
  }

  .founder-title {
    font-size: 1rem;
  }

  .founder-bio {
    font-size: 0.95rem;
  }

  .founder-highlight-card {
    padding: 1rem;
  }

  .highlight-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 1.25rem;
  }

  .founder-achievements {
    padding: 1.25rem;
  }

  .achievement-item {
    font-size: 0.9rem;
  }
}

/* ========================================
   SUCCESS PAGE STYLES
   ======================================== */

.success-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.success-icon-wrapper {
  position: relative;
  display: inline-block;
}

.success-icon-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 135, 84, 0.1);
  border-radius: 50%;
  position: relative;
  animation: successPulse 2s ease-in-out infinite;
}

[data-bs-theme="dark"] .success-icon-circle {
  background: rgba(25, 135, 84, 0.15);
}

.success-icon-circle i {
  font-size: 4rem;
  animation: successScale 0.6s ease-out;
}

@keyframes successPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(25, 135, 84, 0);
  }
}

@keyframes successScale {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-details {
  background: rgba(var(--bs-success-rgb), 0.1);
  border: 1px solid rgba(var(--bs-success-rgb), 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

[data-bs-theme="dark"] .success-details {
  background: rgba(var(--bs-success-rgb), 0.08);
  border-color: rgba(var(--bs-success-rgb), 0.15);
}

.btn-outline-brand {
  color: var(--bs-brand);
  border: 2px solid var(--bs-brand);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover {
  color: white;
  background: var(--bs-brand);
  border-color: var(--bs-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 170, 173, 0.3);
}

[data-bs-theme="dark"] .btn-outline-brand:hover {
  box-shadow: 0 8px 20px rgba(51, 188, 191, 0.3);
}

/* Responsive Success Page */
@media (max-width: 767.98px) {
  .success-section {
    padding: 3rem 0;
  }

  .success-icon-circle {
    width: 100px;
    height: 100px;
  }

  .success-icon-circle i {
    font-size: 3rem;
  }

  .success-section h1 {
    font-size: 2rem;
  }

  .success-section .lead {
    font-size: 1rem;
  }

  .success-details {
    padding: 1.25rem;
  }

  .btn-lg {
    padding: 0.75rem 2rem !important;
  }
}
