* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 100%;
  overflow-x: hidden;
}

section,
.section {
  scroll-margin-top: 100px;
}

/* Header section */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: #4a90e2 !important;
  text-decoration: none;
}

.navbar-brand img,
.navbar-brand img {
  width: 100%;
  height: 100%;
  max-height: 55px;
  object-fit: contain;
  object-position: center;
}

.navbar-toggler {
  color: #fff;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #4a90e2 !important;
}

.navbar-link.active {
  color: #4a90e2 !important;
}

.btn-test-drive {
  background: linear-gradient(45deg, #4a90e2, #357abd);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-test-drive:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  color: #ffffff;
}

/* Header section */
.dynamics-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dynamics-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 1s ease-in-out;
}

.dynamics-img img:hover {
  transform: scale(1.2);
}

/* banner section */
.image-slider {
  height: auto;
  width: 100%;
  margin-top: 97px;
}

.image-slider .swiper {
  width: 100%;
  height: 100%;
}

.image-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Swiper Navigation Buttons */
.image-slider .swiper-button-next,
.image-slider .swiper-button-prev {
  color: white;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.image-slider .swiper-button-next:hover,
.image-slider .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.image-slider .swiper-button-next:after,
.image-slider .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination */
.image-slider .swiper-pagination {
  bottom: 20px;
}

.image-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.image-slider .swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .image-slider .swiper-button-next,
  .image-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .image-slider .swiper-button-next:after,
  .image-slider .swiper-button-prev:after {
    font-size: 14px;
  }

  .image-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {

  .image-slider .swiper-button-next,
  .image-slider .swiper-button-prev {
    display: none;
  }
}

/* banner section */

.hero-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 1s ease-in-out;
}

.hero-image img:hover {
  transform: scale(1.2);
}

/* About Section */
.main-section {
  padding: 60px 0;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #6c757d;
  /* margin-bottom: 2rem; */
}

.main-section .stats-section {
  margin: 60px 0;
}

.main-section .stat-item {
  text-align: center;
  margin-bottom: 30px;
}

.main-section .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #007bff;
  margin-bottom: 10px;
  display: block;
}

.main-section .stat-label {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 500;
}

.main-section .features-grid {
  margin-top: 30px;
}

.main-section .feature-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.main-section .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.main-section .feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #b8a253 0%, #d4c875 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: white;
}

.main-section .feature-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.main-section .feature-description {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .main-section .stat-number {
    font-size: 2.5rem;
  }

  .main-section .main-section {
    padding: 50px 0;
  }
}

/* About Section */

/* Color Change Section */

/* .studio-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  padding: 40px;
} */
.car-studio {
  background-color: #f7f7f7;
}

.car-display {
  position: relative;
  height: 600px;
  /* background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%); */
  /* border-radius: 15px; */
  overflow: hidden;
  /* box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.1); */
  margin-bottom: 30px;
}

.car-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); */
  /* filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)); */
}

/* .car-image:hover { */
/* transform: scale(1.05); */
/* } */

.model-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.model-btn {
  background: transparent;
  border: 2px solid #6c757d;
  color: #6c757d;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.model-btn:hover {
  background: #6c757d;
  color: white;
  transform: scale(1.1);
}

.model-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin: 0 20px;
  min-width: 120px;
  position: relative;
}

.model-name::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

.color-palette {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.color-swatch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.color-swatch:hover::before {
  width: 100%;
  height: 100%;
}

.color-swatch.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px #007bff, 0 12px 35px rgba(0, 0, 0, 0.25);
}

.color-swatch.grey {
  background-color: rgb(70, 70, 68);
}

.color-swatch.beige {
  background-color: rgb(231, 232, 232);
}

.color-swatch.pink {
  background-color: rgb(212, 202, 200);
}

.color-swatch.black {
  background-color: rgb(37, 36, 37);
}

.color-swatch.blue {
  background-color: #71A5CC;
}

.color-swatch.white {
  background-color: #f7f7f7;
}

.car-info {
  text-align: center;
  padding: 20px;
  /* background: linear-gradient(145deg, #f8f9fa, #ffffff); */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.car-specs {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

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

.spec-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.spec-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* .loading-effect { */
/* opacity: 0.7; */
/* transform: scale(0.98); */
/* } */

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* .pulse { */
/* animation: pulse 1s ease-in-out; */
/* } */
@media (max-width: 1199px) {
  .btn-test-drive {
    border: none;
    padding: 0.75rem 0.8rem;
  }

  .main-section {
    padding: 40px 0;
  }
}

@media (max-width: 992px) {

  .navbar-brand img {
    max-height: 45px;
    max-width: 125px;
  }

  .image-slider {
    margin-top: 90px;
  }
}

@media (max-width: 768px) {
  .model-selector {
    flex-direction: column;
    gap: 15px;
  }

  .color-swatch {
    width: 40px;
    height: 40px;
  }

  .car-display {
    height: 300px;
  }
}

/* Color Change Section */

/* Interior Section */
.theme-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.theme-toggle {
  display: flex;
  background: #f8f9fa;
  border-radius: 50px;
  padding: 6px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.theme-btn {
  background: transparent;
  border: none;
  padding: 10px 25px;
  border-radius: 45px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #6c757d;
  position: relative;
  z-index: 2;
  min-width: 150px;
  cursor: pointer;
}

.theme-btn.active {
  color: white;
  transform: translateY(-2px);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  border-radius: 45px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.theme-toggle.gray::before {
  background: linear-gradient(135deg, #495057, #6c757d);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.theme-toggle.beach::before {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  transform: translateX(100%);
}

.interior-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.gallery-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: all 0.4s ease;
}

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

#fallbackImageContainer {
  text-align: center;
  padding: 2rem 0;
}

#fallbackImageContainer img {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.modal-fullscreen {
  background: rgba(0, 0, 0, 0.95);
}

.modal-content-custom {
  background: transparent;
  border: none;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-showcase {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.showcase-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.image-title {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn:disabled:hover {
  transform: translateY(-50%) scale(1);
  background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 992px) {
  .interior-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .interior-gallery {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 30px 20px;
  }

  .theme-btn {
    min-width: 120px;
    padding: 10px 0px;
    font-size: 0.9rem;
  }

  .gallery-image {
    height: 250px;
  }
}

/* Interior Section */

/* Exterior Section */
.gallery-container {
  position: relative;
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 20px 10px 30px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: none;
  width: 100%;
  height: 380px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

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

.zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

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

.scroll-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.scroll-btn {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scroll-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Lightbox Modal */
.lightbox-modal {
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  background: transparent;
  border: none;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1060;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1060;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.image-counter {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .gallery-item {
    width: 100%;
    height: 220px;
  }

  .section-container {
    padding: 30px 20px;
  }

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

  .lightbox-close {
    width: 45px;
    height: 45px;
    top: 20px;
    right: 20px;
  }

  .image-counter {
    top: -50px;
    left: 0;
  }
}

/* Exterior Section */

/* Specification Section */
.specs-tabs {
  border: none;
  justify-content: center;
  /* margin-bottom: 3rem; */
}

.specs-tabs .nav-link {
  background: none;
  border: none;
  color: #6c757d;
  font-weight: 500;
  padding: 15px 30px;
  margin: 0 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  text-wrap: nowrap;
}

.specs-tabs .nav-link:hover {
  background-color: #f8f9fa;
  color: #2c3e50;
  transform: translateY(-2px);
}

.specs-tabs .nav-link.active {
  background-color: #e9ecef;
  color: #2c3e50;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-icon {
  font-size: 1.1rem;
}

.specs-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.specs-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f8f9fa;
}

.specs-header-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #b8a253 0%, #d4c875 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.specs-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

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

.spec-label {
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 500;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.spec-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e9ecef, transparent);
  margin: 20px 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .specs-content {
    padding: 25px;
  }

  .specs-tabs .nav-link {
    padding: 12px 20px;
    margin: 5px;
    font-size: 0.9rem;
  }

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

  .specs-section {
    padding: 50px 0;
  }

  .specs-tabs {
    border: none;
    justify-content: space-between;
    /* flex-wrap: nowrap; */
    /* overflow-x: auto; */
    /* margin-bottom: 3rem; */
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Specification Section */
/* Map Section */
.map-container {
  width: 100%;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.onetouch-img-wrapper {
  width: 100%;
  height: 100%;
  /* height: 500px; */
  overflow: hidden;
}

.one-touch-list {
  list-style: none;
}

.one-touch-list li {
  padding-bottom: 0.5rem;
}

.onetouch-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 1s ease-in-out;
}

.onetouch-img-wrapper img:hover {
  transform: scale(1.2);
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

.card-description {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  text-align: center;
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-footer-custom {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: none;
  padding: 1rem 2rem;
  text-align: center;
}

.feature-highlight {
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animation for cards appearing */
.card-animate {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.card-animate:nth-child(1) {
  animation-delay: 0.1s;
}

.card-animate:nth-child(2) {
  animation-delay: 0.2s;
}

.card-animate:nth-child(3) {
  animation-delay: 0.3s;
}

.card-animate:nth-child(4) {
  animation-delay: 0.4s;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
}

.logo-section {
  margin-bottom: 50px;
}

.brand-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a9eff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  height: 65px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-logo i {
  margin-right: 10px;
  font-size: 2rem;
}

.brand-description {
  color: #b0b0b0;
  line-height: 1.6;
  /* max-width: 400px; */
  margin-bottom: 30px;
}

.contact-info {
  /* margin-bottom: 30px; */
  gap: 2rem;
}

.contact-info a {
  text-decoration: none;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #d0d0d0;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #4a9eff;
}

.contact-item i {
  margin-right: 12px;
  width: 20px;
  color: #4a9eff;
}

.insights-section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: #667eea;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.insight-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insight-card:hover .card-image img {
  transform: scale(1.05);
}

.category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #667eea;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.4;
}

.card-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #8e9aaf;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #5a67d8;
  gap: 12px;
}

.view-all-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 3rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  color: white;
}

/* Desktop: Show cards in grid, hide carousel */
.desktop-grid {
  display: block;
}

.mobile-carousel {
  display: none;
}

/* Mobile: Hide grid, show carousel */
@media (max-width: 768px) {
  .desktop-grid {
    display: none;
  }

  .mobile-carousel {
    display: block;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-item .insight-card {
    margin: 0 15px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .carousel-control-prev {
    left: -25px;
  }

  .carousel-control-next {
    right: -25px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 20px 20px;
    filter: invert(1);
  }

  .carousel-indicators {
    bottom: -40px;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(102, 126, 234, 0.3);
    border: none;
  }

  .carousel-indicators button.active {
    background-color: #667eea;
  }
}

@media (max-width: 576px) {

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.footer-heading {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #4a9eff, #00d4ff);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #4a9eff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.footer-links a:hover::before {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4a9eff, #00d4ff);
  transition: left 0.3s ease;
  z-index: -1;
}

.social-icon:hover {
  color: #ffffff;
  border-color: #4a9eff;
  transform: translateY(-3px);
}

.social-icon:hover::before {
  left: 0;
}

.newsletter-section {
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 15px;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #4a9eff, #00d4ff, #4a9eff);
  border-radius: 15px;
  z-index: -1;
  opacity: 0.1;
}

.newsletter-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.newsletter-description {
  color: #b0b0b0;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-btn {
  background: linear-gradient(135deg, #4a9eff, #00d4ff);
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #4a9eff;
}

.lovable-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #666;
}

.lovable-credit .heart {
  color: #ff4757;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.lovable-credit a {
  text-decoration: none;
  color: #b0b0b0;
}

.lovable-credit a:hover {
  color: #4a9eff;
}

@keyframes heartbeat {

  0%,
  50%,
  100% {
    transform: scale(1);
  }

  25%,
  75% {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 50px 0 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    min-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 20px;
  }
}

/* Footer Section */