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

:root {
  /* Color Palette */
  --primary-color: #0F4C45;
  --secondary-color: #D4A017;
  --accent-color: #D4A017;
  --bg-color: #F8FAFC;
  --bg-color-alt: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  --gradient-hover: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  /* Utilities */
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --transition: all 0.3s ease-in-out;
}

[data-theme="dark"] {
  --bg-color: #0F172A;
  --bg-color-alt: #1E293B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode Bootstrap Utility Overrides */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-light.bg-opacity-50 {
  background-color: var(--bg-color-alt) !important;
}

[data-theme="dark"] .text-dark {
  color: var(--text-main) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .card {
  background-color: var(--bg-color-alt) !important;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .glass-panel {
  background: var(--glass-bg);
  border: var(--glass-border);
  color: var(--text-main);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background-color: rgba(0, 0, 0, 0.2) !important;
  color: var(--text-main) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: var(--text-main) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(15, 76, 69, 0.25) !important;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

p {
  font-family: var(--font-primary);
}

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

a:hover {
  color: var(--accent-color);
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-custom {
  background: var(--gradient-primary);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.section-padding {
  padding: 100px 0;
}

.btn-custom {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hover);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-custom:hover::before {
  opacity: 1;
}
.transition {
  transition: all 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.2);
}

.btn-custom:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(11, 94, 215, 0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 10px 28px;
  font-family: var(--font-primary);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary-color);
  color: white;
}

/* Navbar */
.navbar-custom {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

[data-theme="dark"] .navbar-custom {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 10px 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--text-main) !important;
  margin: 0 5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-main);
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(128, 128, 128, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #f0fdfa, #f8fafc, #fef3c7, #f0fdfa);
  background-size: 300% 300%;
  animation: heroGradientBG 12s ease infinite;
}
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #022c22, #0f172a, #422006, #022c22);
  background-size: 300% 300%;
  animation: heroGradientBG 12s ease infinite;
}

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

/* Animated Orbs */
.hero-bg-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 10s infinite ease-in-out alternate;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
  animation-duration: 12s;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary-color);
  bottom: -150px;
  right: -100px;
  animation-duration: 15s;
  animation-delay: -5s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  top: 40%;
  left: 50%;
  animation-duration: 14s;
  animation-delay: -2s;
}
[data-theme="dark"] .orb {
  opacity: 0.3;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 60px) scale(0.9); }
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-illustration {
  position: relative;
  z-index: 1;
  perspective: 1000px;
}

.hero-3d-element {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 0 10px rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
  animation: floatGlass 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-floating-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 0 15px rgba(255,255,255,0.3);
}
[data-theme="dark"] .hero-floating-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 10px rgba(255,255,255,0.05);
}

@keyframes floatGlass {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.fc-1 { top: 10%; right: -5%; animation-delay: 0s; }
.fc-2 { bottom: 20%; left: -10%; animation-delay: 2s; }
.fc-3 { bottom: -5%; right: 10%; animation-delay: 4s; }

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.bg-purple { background: var(--accent-color); }
.bg-blue { background: var(--primary-color); }
.bg-cyan { background: var(--secondary-color); }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Stats Section */
.stats-section {
  position: relative;
  margin-top: -50px;
  z-index: 10;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 5px;
}

.stat-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* About Section */
.about-img-wrapper {
  position: relative;
}

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

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-primary);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 15px 30px rgba(11, 94, 215, 0.3);
}

/* Service Cards */
.service-card {
  padding: 40px 30px;
  height: 100%;
  text-align: center;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(11, 94, 215, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Solutions Section */
.solution-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.solution-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.solution-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
  z-index: 1;
}

.solution-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
}

.solution-card:hover .solution-bg {
  transform: scale(1.1);
}

/* Process Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--gradient-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }

/* Portfolio */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-color);
  color: white;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
}

.portfolio-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 94, 215, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
}

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

.portfolio-item:hover img {
  transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
  padding: 40px;
  text-align: center;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.rating {
  color: #FFC107;
  margin-bottom: 15px;
}

/* Footer */
.footer-custom {
  background: #0F172A;
  color: #F8FAFC;
  padding-top: 80px;
}

.footer-custom a {
  color: #94A3B8;
}

.footer-custom a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-title {
  color: white;
  font-family: var(--font-heading);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  position: relative;
}

.whatsapp-btn { background: #25D366; }
.call-btn { background: var(--primary-color); }
.chat-btn { background: var(--accent-color); }
.top-btn { 
  background: var(--text-main); 
  opacity: 0; 
  visibility: hidden;
}
.top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title { font-size: 2.5rem; }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item.right { left: 0%; }
  .timeline-item::after { left: 21px; }
  .timeline-item.right::after { left: 21px; }
}

@media (max-width: 768px) {
  .hero-section { text-align: center; padding-top: 120px; }
  .hero-illustration { margin-top: 50px; }
  .hero-floating-card { display: none; }
}

/* New Mega Menu & Navbar Enhancements */
.navbar-custom {
  background: transparent;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}
.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 10px 0;
}
[data-theme="dark"] .navbar-custom.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-custom.scrolled .nav-link,
.navbar-custom.scrolled .navbar-brand,
.navbar-custom.scrolled .nav-icon-btn {
  color: var(--text-main) !important;
}
/* When at top, if theme is light, text could be white if hero bg was dark, but hero is light grey. So text is dark anyway. */

.dropdown-menu {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--box-shadow);
  padding: 15px;
  animation: fadeUp 0.3s ease forwards;
  opacity: 0;
  transform: translateY(10px);
  display: block;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-top: 20px; /* offset for hover gap */
}
.dropdown:hover > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0;
}
.dropdown-item {
  font-family: var(--font-secondary);
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: rgba(11, 94, 215, 0.05);
  color: var(--primary-color);
  transform: translateX(5px);
}
.dropdown-header {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.w-20px {
  width: 25px;
  display: inline-block;
}

/* Mega Menu */
.mega-dropdown { position: static !important; }
.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  padding: 30px 0;
}
[data-theme="dark"] .dropdown-menu {
  background-color: var(--bg-color-alt);
}
[data-theme="dark"] .dropdown-item {
  color: var(--text-main);
}
[data-theme="dark"] .dropdown-item:hover {
  background-color: rgba(255,255,255,0.05);
}

/* Navbar Right Icons */
.nav-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.2rem;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-icon-btn:hover {
  background: rgba(128, 128, 128, 0.1);
  color: var(--primary-color);
}
.lang-dropdown .dropdown-toggle::after { display: none; }
.lang-dropdown .dropdown-menu {
  min-width: 80px;
  padding: 10px;
}
.btn-cta {
  padding: 10px 24px;
  font-size: 0.95rem;
}
.glow-effect {
  box-shadow: 0 0 15px rgba(11, 94, 215, 0.4);
}
.glow-effect:hover {
  box-shadow: 0 0 25px rgba(11, 94, 215, 0.6);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.close-search {
  transition: transform 0.3s ease;
}
.close-search:hover {
  transform: rotate(90deg);
}

/* Mobile Offcanvas Drawer */
.mobile-menu-drawer {
  background-color: var(--bg-color-alt);
}
[data-theme="dark"] .mobile-menu-drawer {
  background-color: var(--bg-color-alt);
}
.mobile-nav-link {
  transition: var(--transition);
}
.mobile-nav-link:hover {
  color: var(--primary-color) !important;
  padding-left: 20px;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}
.bento-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15, 76, 69, 0.4);
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-item:hover img {
  transform: scale(1.1);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  transition: background 0.4s ease;
}
.bento-item:hover .bento-overlay {
  background: linear-gradient(to top, rgba(15, 76, 69, 0.95) 0%, rgba(0,0,0,0.4) 100%);
}
.bento-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--primary-color);
  border: 1px solid rgba(255,255,255,0.2);
}
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-wide {
  grid-column: span 2;
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .bento-large, .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* FAQ Accordion */
.custom-accordion .accordion-button {
  background-color: #ffffff;
  color: #1F2937;
  transition: all 0.3s ease;
}
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(15, 76, 69, 0.05);
  color: var(--primary-color);
  box-shadow: none;
}
.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(15, 76, 69, 0.1);
}
.custom-accordion .accordion-body {
  background-color: #ffffff;
}
[data-theme="dark"] .custom-accordion .accordion-item {
  background-color: #1E293B;
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .custom-accordion .accordion-button,
[data-theme="dark"] .custom-accordion .accordion-body {
  background-color: #1E293B;
  color: #ffffff;
}
[data-theme="dark"] .custom-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(15, 76, 69, 0.4);
  color: var(--secondary-color);
}
[data-theme="dark"] .custom-accordion .accordion-button::after {
  filter: invert(1);
}
.hover-primary:hover {
  color: var(--primary-color) !important;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Premium Footer Styles */
.footer-premium {
  background-color: #0F4C45;
  padding-top: 5rem;
  color: #fff;
  z-index: 1;
}

.footer-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  filter: blur(150px);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.footer-glow-1 {
  top: -100px;
  left: -100px;
}

.footer-glow-2 {
  bottom: -100px;
  right: -100px;
  background: var(--secondary-color);
}

.footer-newsletter-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.footer-newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.newsletter-form .form-control {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  padding-left: 1.5rem;
  box-shadow: none;
  transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(15, 76, 69, 0.25);
  background: rgba(0, 0, 0, 0.6) !important;
}

.social-link-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.05);
}

.social-link-item:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(15, 76, 69, 0.3);
  border-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
  font-size: 0.8em;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hover-white:hover {
  color: #fff !important;
}

/* Light Navbar Initial State (for pages with dark backgrounds) */
.navbar-custom.navbar-light-initial:not(.scrolled) .nav-link,
.navbar-custom.navbar-light-initial:not(.scrolled) .nav-icon-btn,
.navbar-custom.navbar-light-initial:not(.scrolled) .navbar-brand,
.navbar-custom.navbar-light-initial:not(.scrolled) .navbar-nav .nav-link.active {
    color: #ffffff !important;
}
.navbar-custom.navbar-light-initial:not(.scrolled) .nav-link::after {
    background: #ffffff !important;
}
.navbar-custom.navbar-light-initial:not(.scrolled) .navbar-toggler i {
    color: #ffffff !important;
}
