:root {
  --primary-color: #1C608F!important; /* Infodot blue #1C608F; */ /*#4361ee;*/ 
  --success-color: green;
  --secondary-color: #3a0ca3;
  /* --light-color: #f8f9fa; /* light grey */
  --light-color: #ddebff; /* light blue */
  --dark-color: #212529;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}
.themeColor {
  color: var(--primary-color);
}
.themeBackground {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn:hover {
  background-color: black;
}
.btn-outline-primary {
--bs-btn-color: black;
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0d6efd;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0d6efd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
}
section {
  border-left: 4px solid var(--primary-color)!important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
nav {
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
footer {
  border-left: 4px solid var(--primary-color);
}
.text-primary {
  color: #1C608F!important;
}
/* Dark Mode Variables */
.dark-mode {
  --primary-color: #4cc9f0;
  --secondary-color: #4895ef;
  --dark-color: #f1f3f5;  /* Lighter text for better contrast */
  --light-color: #1a1a2e;
  --box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode body {
  color: var(--dark-color);
  background-color: var(--light-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100px);
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.back-to-top:hover {
  background-color: red;
  transform: translateY(-5px);
}

.dark-mode .back-to-top {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Language Selector */
.language-selector {
  position: fixed;
  /*top: 120px;
  right: 20px;
  
  flex-direction: row;*/
  display: flex;
  gap: 5px;
  z-index: 900;

      top: auto;
    bottom: 30px;
    right: auto;
    left: 20px;
    flex-direction: row;
}

.language-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.language-btn:hover:not(.active) {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.dark-mode .language-btn {
  background-color: #272740;
  border-color: #3a3a60;
  color: #adb5bd;
}

.dark-mode .language-btn:hover:not(.active) {
  background-color: #1a1a2e;
}

@media (max-width: 768px) {
  .language-selector {
    top: auto;
    bottom: 30px;
    right: auto;
    left: 20px;
    flex-direction: row;
  }

  .back-to-top {
    bottom: 90px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Navbar */
.navbar {
  /* padding: 0.5rem 0; */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .navbar {
  background-color: #212140;  /* Slightly lighter than the background */
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: color 0.3s ease;

}

.dark-mode .nav-link {
  color: #f1f3f5 !important;  /* Ensure text is visible */
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.dark-mode .nav-link:hover {
  color: var(--primary-color) !important;
}

#theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  color: #888;
  transition: color 0.3s ease;
}

.dark-mode #theme-toggle {
  color: #f1f3f5;
}

#theme-toggle:hover {
  color: var(--primary-color);
}

/* General Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

.dark-mode .section-subtitle {
  color: #adb5bd;
}

.bg-light {
  background-color: #eff4fc!important; /* var(--light-color); */
}

.dark-mode .bg-light {
  background-color: #121228;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-right {
  animation: slideRight 1s ease forwards;
}

.animate-slide-left {
  animation: slideLeft 1s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-600 {
  animation-delay: 600ms;
}

.delay-800 {
  animation-delay: 800ms;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: white;
  overflow: hidden;
}

.dark-mode #hero {
  background-color: var(--light-color);
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.cta-button {
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dark-mode .cta-button:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-3d-container {
  perspective: 1000px;
  width: 100%;
  height: 350px;
}

.card-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
  animation: float 6s ease-in-out infinite;
}

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

.card-3d:hover {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .card-front:after {
  content: 'Digital Business Cards';
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: rgb(13,110,253);
  text-transform: uppercase;
  font-size:1rem;
  font-weight:700;
  position:inherit;
  padding-top:300px;
} */

.card-back {
  transform: rotateY(180deg);
}

/* Features Cards */
.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .feature-card {
  background-color: #212140;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .feature-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

.dark-mode .icon-box {
  background-color: rgba(76, 201, 240, 0.1);
}

.feature-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Features List */
.features-list {
  max-width: 500px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.dark-mode .feature-icon {
  background-color: rgba(76, 201, 240, 0.1);
}

.feature-text h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: #6c757d;
}

.dark-mode .feature-text p {
  color: #d1d5db;
}

/* Comparison Table */
.comparison-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: white;
}

.dark-mode .comparison-container {
  background-color: #212140;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.comparison-header {
  display: flex;
  border-bottom: 1px solid #dee2e6;
}

.dark-mode .comparison-header {
  border-bottom: 1px solid #3a3a60;
}

.comparison-cell {
  flex: 1;
  padding: 1.5rem;
  text-align: center;
}

.empty-cell {
  max-width: 180px;
}

.digital-cell {
  background-color: rgba(67, 97, 238, 0.05);
}

.dark-mode .digital-cell {
  background-color: rgba(76, 201, 240, 0.05);
}

.traditional-cell {
  background-color: rgba(248, 249, 250, 0.5);
}

.dark-mode .traditional-cell {
  background-color: rgba(26, 26, 46, 0.5);
}

.comparison-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparison-title i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.comparison-title h3 {
  font-weight: 700;
  font-size: 1.3rem;
}

.comparison-row {
  display: flex;
  border-bottom: 1px solid #dee2e6;
}

.dark-mode .comparison-row {
  border-bottom: 1px solid #3a3a60;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-feature {
  max-width: 180px;
  padding: 1.5rem;
  font-weight: 600;
}

.comparison-check {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-check i {
  margin-right: 0.5rem;
  background-color: rgba(67, 97, 238, 0.1);
  padding: 5px;
  border-radius: 50%;
  font-size: 0.8rem;
}

.dark-mode .comparison-check i {
  background-color: rgba(76, 201, 240, 0.2);
}

.comparison-x {
  color: #6c757d;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-x i {
  margin-right: 0.5rem;
  background-color: rgba(108, 117, 125, 0.1);
  padding: 5px;
  border-radius: 50%;
  font-size: 0.8rem;
}

.dark-mode .comparison-x {
  color: #adb5bd;
}

.dark-mode .comparison-x i {
  background-color: rgba(173, 181, 189, 0.2);
}

.comparison-tooltip {
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
}

.comparison-tooltip i {
  color: #6c757d;
  cursor: pointer;
}

.dark-mode .comparison-tooltip i {
  color: #adb5bd;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 1rem;
  font-weight: 400;
  color: #333;
  display: none;
  z-index: 100;
}

.dark-mode .tooltip-content {
  background-color: #212140;
  color: #f1f3f5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

.dark-mode .tooltip-content::after {
  border-color: #212140 transparent transparent transparent;
}

.comparison-tooltip:hover .tooltip-content {
  display: block;
}

@media (max-width: 992px) {
  .empty-cell, .comparison-feature {
    max-width: 120px;
  }

  .tooltip-content {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .comparison-header {
    flex-direction: column;
  }

  .comparison-row {
    flex-direction: column;
  }

  .empty-cell {
    display: none;
  }

  .comparison-feature {
    max-width: 100%;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
  }

  .dark-mode .comparison-feature {
    border-bottom: 1px solid #3a3a60;
    background-color: #1a1a2e;
  }

  .comparison-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .comparison-title {
    flex-direction: row;
  }

  .comparison-title i {
    margin-bottom: 0;
    margin-right: 1rem;
  }
}

/* Car Gallery */
.gallery-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.gallery-container {
  margin: 0 -10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 250px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-info h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gallery-info p {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  margin-bottom: 20px;
  object-fit: contain;
  animation: fadeIn 0.5s;
}

.lightbox-caption {
  margin: 20px 0;
  color: white;
  font-size: 20px;
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95%;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }
}

/* Interactive Demo */
.demo-container {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.dark-mode .demo-container {
  background-color: #272740;
  border: 1px solid #3a3a60;
}

.demo-tabs {
  display: flex;
  border-bottom: 1px solid #dee2e6;
  background-color: #f8f9fa;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.demo-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.dark-mode .demo-tabs {
  background-color: #1a1a2e;
  border-bottom: 1px solid #3a3a60;
}

.demo-tab {
  padding: 1rem 1.5rem;
  border: none;
  background: none;
  font-weight: 600;
  color: #6c757d;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.dark-mode .demo-tab {
  color: #adb5bd;
}

.demo-tab:hover {
  color: var(--success-color); 
}

.demo-tab.active {
  color: var(--success-color); 
}

.demo-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--success-color); 
}

.demo-content-container {
  position: relative;
}

.demo-content {
  display: none;
  padding: 2rem;
}

.demo-content.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.demo-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.demo-section-desc {
  color: #6c757d;
  margin-bottom: 2rem;
}

.dark-mode .demo-section-desc {
  color: #d1d5db;
}

/* Car Profile Tab */
.car-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.dark-mode .car-profile-header {
  border-bottom: 1px solid #3a3a60;
}

.car-header-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.car-owner {
  font-size: 1rem;
  color: #6c757d;
}

.dark-mode .car-owner {
  color: #d1d5db;
}

.car-owner span {
  font-weight: 600;
  color: var(--dark-color);
}

.dark-mode .car-owner span {
  color: #f1f3f5;
}

.owner-since {
  font-size: 0.9rem;
  color: #6c757d;
  margin-left: 0.5rem;
}

.car-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.car-tag-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.car-tag-label {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.car-image {
  margin-bottom: 1.5rem;
}

.car-specs {
  margin-bottom: 2rem;
}

.car-specs h4, .car-history-summary h4, .car-awards h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--success-color);
  display: inline-block;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.dark-mode .spec-label {
  color: #d1d5db;
}

.spec-value {
  font-weight: 600;
}

.car-timeline {
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--success-color); 
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.8rem;
  bottom: -1.8rem;
  width: 2px;
  background-color: #dee2e6;
}

.dark-mode .timeline-item::before {
  background-color: #3a3a60;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-date {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--success-color); 
}

.timeline-content p {
  margin-bottom: 0;
}

.award-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.award-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.award-list li i {
  color: #ffc107;
  margin-right: 0.75rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.document-item {
  display: flex;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.dark-mode .document-item {
  background-color: #1a1a2e;
}

.document-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.document-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: var(--success-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.document-info {
  flex: 1;
}

.document-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.document-info p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.dark-mode .document-info p {
  color: #d1d5db;
}

.document-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.document-link i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.document-link:hover i {
  transform: translateX(3px);
}

/* Responsive styles for demo */
@media (max-width: 768px) {
  .demo-content {
    padding: 1.5rem;
  }

  .car-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .car-tag {
    margin-top: 1rem;
    flex-direction: row;
    align-items: center;
  }

  .car-tag-img {
    margin-right: 1rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }
}

.demo-footnote {
  padding: 1rem;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

.dark-mode .demo-footnote {
  background-color: #1a1a2e;
  border-top: 1px solid #3a3a60;
}

/* Testimonials */
.testimonial-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .testimonial-card {
  background-color: #212140;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .testimonial-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
}

.dark-mode .testimonial-text {
  color: #f1f3f5;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.testimonial-author p {
  margin-bottom: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.dark-mode .testimonial-author p {
  color: #adb5bd;
}

/* Pricing Cards */
.pricing-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
}

.dark-mode .pricing-card {
  background-color: #212140;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .pricing-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: translateY(-10px);
  z-index: 1;
}
.pricing-card.featured2 {
  border: 2px solid green;
  transform: translateY(-10px);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: translateY(-15px);
}
.pricing-card.featured2:hover {
  transform: translateY(-15px);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-bottom-left-radius: var(--border-radius);
}

.popular-badge2 {
  position: absolute;
  top: 0;
  right: 0;
  background-color: green;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.dark-mode .pricing-header {
  border-bottom: 1px solid #3a3a60;
}

.pricing-header h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 0.5rem;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 400;
  color: #6c757d;
}

.dark-mode .pricing-price .period {
  color: #adb5bd;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 0.7rem;
}

.pricing-features li.text-muted {
  color: #6c757d;
}

.dark-mode .pricing-features li.text-muted {
  color: #adb5bd;
}

.pricing-features li.text-muted i {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.dark-mode .pricing-features li.text-muted i {
  color: #adb5bd;
}

.pricing-footer {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Blog Cards */
.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .blog-card {
  background-color: #212140;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .blog-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blog-img-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-container img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-top-right-radius: var(--border-radius);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.dark-mode .blog-date {
  color: #adb5bd;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.dark-mode .blog-excerpt {
  color: #d1d5db;
}

.blog-read-more {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.blog-read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(5px);
}

/* Contact Card */
.contact-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
}

.dark-mode .contact-card {
  background-color: #212140;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background-color: #f8f9fa;
  color: #333;
}

.dark-mode footer {
  background-color: #151530;
  color: #f1f3f5;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

footer xh5::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

footer ul li a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dark-mode footer ul li a {
  color: #d1d5db;
}

footer ul li a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f3f5;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dark-mode .social-icon {
  background-color: #212140;
  color: #f1f3f5;
}

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

.newsletter-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.dark-mode .newsletter-form .form-control {
  background-color: #1a1a2e;
  border-color: #3a3a60;
  color: #f1f3f5;
}

.newsletter-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-check-label {
  color: #6c757d;
}

.dark-mode .form-check-label {
  color: #adb5bd;
}

.newsletter-message {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  height: 20px;
}

/* FAQs */
.faq-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  border-bottom: 2px solid;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.accordion-item {
  border: 1px solid #dee2e6;
  border-radius: var(--border-radius) !important;
  overflow: hidden;
}

.dark-mode .accordion-item {
  border-color: #3a3a60;
  background-color: #212140;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem;
  background-color: white;
  color: #333;
}

.dark-mode .accordion-button {
  background-color: #212140;
  color: #f1f3f5;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.05);
  box-shadow: none;
}

.dark-mode .accordion-button:not(.collapsed) {
  background-color: rgba(76, 201, 240, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(67, 97, 238, 0.5);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 1.25rem;
  background-color: #f8f9fa;
}

.dark-mode .accordion-body {
  background-color: #1a1a2e;
  color: #f1f3f5;
}

/* SteveK - Pushed titles below menu */
.row {
  --bs-gutter-y-sk: 2.5rem;
  padding-top: var(--bs-gutter-y-sk);
}

.row>* {
  padding-top: var(--bs-gutter-x);
}

/* SteveK - Mobile versus desktop */
.desktop {display: block;}
.mobile {display: none;}
    @media only screen and (max-width: 768px) {
        .desktop {display: none;}
        .mobile {display: block;}
    }

.img-responsive {
  width:100%;
  height:auto;
}

#gallery {
      padding-top: 40px; 
    }
      @media screen and (min-width: 991px) {
        #gallery {
        padding: 60px 30px 0 30px;
        }
     
    }
    .img-wrapper {
      position: relative;
      margin-top: 15px;
    }
    .img-wrapper img {
      width: 100%;
    }
    .img-overlay {
      background: rgba(0, 0, 0, 0.7);
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
    }
    .img-overlay i {
      color: #fff;
      font-size: 3em;
    }
    #overlay {
      background: rgba(0, 0, 0, 0.7);
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }
    #overlay img {
      margin: 0;
      width: 80%;
      height: auto;
      -o-object-fit: contain;
      object-fit: contain;
      padding: 5%;
    }
      @media screen and (min-width: 768px) {
        #overlay img {
        width: 90%;
      }
    }
    @media screen and (min-width: 1200px) {
      #overlay img {
      width: 100%;
      }
    }
    #nextButton {
      color: #fff;
      font-size: 2em;
      transition: opacity 0.8s;
    }
    #nextButton:hover {
      opacity: 0.7;
    }
    @media screen and (min-width: 768px) {
      #nextButton {
        font-size: 3em;
      }
    }
    #prevButton {
      color: #fff;
      font-size: 2em;
      transition: opacity 0.8s;
    }
    #prevButton:hover {
      opacity: 0.7; 
    }
    @media screen and (min-width: 768px) {
      #prevButton {
        font-size: 3em;
      }
    }
    #exitButton {
      color: #f00;
      font-size: 2em;
      transition: opacity 0.8s;
      position: absolute;
      top: 75px;
      right: 15px;
      z-index:999999!important;
    }
    #exitButton:hover {
      opacity: 0.7;
    }
    @media screen and (min-width: 768px) {
      #exitButton {
        font-size: 3em;
      }
    }
    /* Style the navbar */
    #navbar {
      overflow: hidden;
      background-color: #333;          
    }
    /* Navbar links */
    #navbar a {
      float: left;
      display: block;
      color: #f2f2f2;
      text-align: center;
      padding: 14px;
      text-decoration: none;
    }
    /* Responsive Video Container */
    .video-container {
      padding-top:20px;
      position: relative;
      width: 100%;
      max-width: 800px; /* Set a max width */
      margin: auto;
    }
    video {
      width: 100%;
      height: auto;
      border-radius: 10px; /* Optional: Rounded corners */
    }
    /* Default padding to push content below navbar */
#hero {
  padding-top: 100px;
}

@media (min-width: 568px) {
  #hero {
    padding-top: 300px;
  }
}

/* Reduce navbar padding */
.navbar {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* Reduce spacing around brand */
.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
  font-size: 1.25rem; /* Adjust as needed */
}

/* Reduce link padding */
.navbar-nav .nav-link {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.9rem; /* Adjust font size smaller */
}

/* Ensure toggle icon doesn't get misaligned */
.navbar-toggler {
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}








  /* General section fix */
  section {
    min-height: auto;
    overflow: visible;
    clear: both;
  }

  .row::after {
    content: "";
    display: table;
    clear: both;
  }

  /* Section padding for content breathing room */
  #hero,
  #features,
  #about,
  #comparison,
  #testimonials,
  #pricing,
  #faq {
    padding-bottom: 60px;
  }

  /* Adjust hero section to stay clear of navbar */
  #hero {
    padding-top: 100px;
  }
  @media (min-width: 768px) {
    #hero {
      padding-top: 120px;
    }
  }

  /* Compact the navbar height */
  .navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1rem;
    font-size: 1.25rem;
  }
  .navbar-brand h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
  }
  .navbar-nav .nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 18px; /*font-size: 0.9rem;*/
  }
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
  }

  /* Ensure videos scale and don't break layout */
  .video-container {
    padding-top: 20px;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
  }
  video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }

  /* Scroll anchor offset fix */
  section[id] {
    scroll-margin-top: 100px;
  }
  :root {
  --info-blue: #0d6efd;
  --info-black: #000;
}

.infoDot {
  font-weight: 700;
  display: inline-flex;
  gap: 0rem;
  font-family: inherit;
}

.infoDot span {
  display: inline;
}

.infoDot .blue {
  color: var(--primary-color); 
} 
.blue {
  color:  var(--primary-color); 
}
.blueBtn {
  background-color: var(--primary-color); /*#1C608F;*/
  color:white;
}
.infoDot .black {
  color: var(--info-black);
}

/* Size modifiers */
.infoDot.sm { font-size: 1rem; }
.infoDot.md { font-size: 1.25rem; }
.infoDot.lg { font-size: 1.75rem; }
.infoDot.xl { font-size: 2.5rem; }
