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

:root {
  --mg-red: #cf2230;
  --mg-dark: #0a0a0a;
  --mg-gray: #1a1a1a;
  --mg-light: #f5f5f5;
  --mg-gold: #c9a961;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Montserrat", sans-serif;
  background: var(--mg-dark);
  color: white;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .headline-section {
    padding: 40px 20px;
  }
  .headline-title {
    letter-spacing: 2px;
    font-size: 22px;
  }
  .specs-content {
    grid: none !important;
  }
}

.btn-primary {
  background: var(--mg-red);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid var(--mg-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(207, 34, 48, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 1s ease 2s forwards;
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, white, transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Features Section */
.features {
  padding: 80px 40px;
  background: var(--mg-dark);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  color: var(--mg-red);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--mg-gray);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(207, 34, 48, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 34, 48, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--mg-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.feature-desc {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Specs Section */
.specs {
  padding: 80px 40px;
  background: linear-gradient(180deg, var(--mg-dark) 0%, #111 100%);
  position: relative;
  overflow: hidden;
}

.specs::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(207, 34, 48, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.specs-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.specs-image {
  position: relative;
}

.specs-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.specs-image:hover img {
  transform: scale(1.02);
}

.specs-list {
  display: grid;
  gap: 20px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-left: 3px solid var(--mg-red);
  transition: var(--transition);
}

.spec-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(8px);
}

.spec-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--mg-red);
  line-height: 1;
}

.spec-info h3 {
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 600;
  color: white;
}

.spec-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Registration Form Section */
.registration {
  padding: 80px 40px;
  background: var(--mg-gray);
  position: relative;
}

.registration-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.form-container {
  background: var(--mg-dark);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
select{
  width:100%;
  padding:14px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:15px;
  background:#fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  text-align: left;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.form-group label span {
  color: var(--mg-red);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--mg-red);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  text-align: left;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--mg-red);
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.checkbox-group a {
  color: var(--mg-red);
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--mg-red);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 15px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(207, 34, 48, 0.3);
}

/* FAQ Section */
.faq {
  padding: 80px 40px;
  background: var(--mg-dark);
}

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

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Question */
.faq-question {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 14px;
  font-weight: 600;
  padding-right: 20px;
  color: white;
}

/* Icon */
.faq-icon {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  border-color: var(--mg-red);
  background: var(--mg-red);
}

/* Answer (IMPORTANT FIX 🔥) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px; /* fixed value = no bug */
}

.faq-answer p {
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 12px;
}

@media (max-width: 768px) {
  .features,
  .specs,
  .registration,
  .faq {
    padding: 60px 20px;
  }

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

  .form-container {
    padding: 25px;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* VIDEO */
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* SHOW HIDE VIDEO */
.desktop {
  display: block;
}

.mobile {
  display: none;
}

@media (max-width: 768px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-overlay .logo {
  width: 140px;
  margin-bottom: 20px;
}

.hero-overlay h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-overlay h1 span {
  font-style: italic;
}

.hero-overlay button {
  margin-top: 20px;
  padding: 12px 26px;
  border: none;
  background: #fff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.car-color-section {
  background: #555;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.car {
  width: 45%;
  transition: 0.4s ease;
}

.color-dots {
  margin-top: 30px;
}

.dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: inline-block;
  margin: 10px;
  cursor: pointer;
  border: 2px solid #999;
}

.dot.active {
  border: 2px solid #fff;
  transform: scale(1.2);
}

.car {
  opacity: 1;
}

.car.fade {
  opacity: 0;
}

.mhub-slider {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.6s;
}

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

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔥 BUTTON CONTAINER */
.modes {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  /* MOST IMPORTANT */
  display: flex;
  gap: 15px;
}

/* BUTTON STYLE */
.modes button {
  padding: 12px 22px;
  border: none;
  background: #ffffff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
}

.mhub-content {
  position: absolute;
  top: 18%;
  left: 8%;
  color: #fff;
  max-width: 520px;
  z-index: 5;
}

/* SMALL TOP HEADING */
.sub-heading {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 15px;
}

/* MAIN HEADING */
.main-heading {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
}

/* RED ITALIC WORD */
.main-heading span {
  font-style: italic;
  color: #ff2a2a;
}

/* DESCRIPTION */
.desc {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}
.main-heading {
  text-align: center;
  margin-bottom: 40px;
}

.main-heading h2 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.main-heading p {
  font-size: 20px;
  color: #555;
  font-family: sans-serif;
}

.dimension-section {
  position: relative;
  color: #fff;
  overflow: hidden;
  height: 700px;
}

/* IMAGE */
.dimension-section img {
  width: 100%;
  display: block;
}

/* 🔥 FULL IMAGE GRADIENT OVERLAY */
.dimension-section::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0 left:0 right:0 bottom:0 */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    /* TOP DARK */ rgba(0, 0, 0, 0.35) 40%,
    /* CENTER LIGHT */ rgba(0, 0, 0, 0.35) 60%,
    /* CENTER LIGHT */ rgba(0, 0, 0, 0.85) 100% /* BOTTOM DARK */
  );
  z-index: 1;
}

/* CONTENT IMAGE KE UPAR DIKHNE KE LIYE */
.dimension-top,
.dimension-features {
  position: absolute;
  z-index: 2;
}

/* TOP TEXT */
.dimension-top {
  top: 10%;
  left: 8%;
}

/* BOTTOM FEATURES */
.dimension-features {
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding: 40px 20px;
}

.dimension-top h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 2px;
}

.dimension-top p {
  margin-top: 10px;
  font-size: 18px;
}

.feature {
  text-align: left;
}

.feature h3 {
  font-size: 28px;
  margin: 8px 0 4px;
}

.feature p {
  font-size: 14px;
  color: #ccc;
}

.red-line {
  width: 25px;
  height: 3px;
  background: red;
  display: block;
  margin-bottom: 10px;
}

.full-image-section {
  width: 100%;
  line-height: 0; /* extra gap remove */
}

.full-image-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional – full screen cinematic desktop */
@media (min-width: 1024px) {
  .full-image-section img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
}
.majestor-section {
  padding: 80px 20px;
  background: #f5f5f5;
  text-align: center;
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 50px;
  color: #fff;
}

/* CARD */
.car-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 6px;
}

.car-card img {
  width: 100%;
  max-width: 320px;
  margin: auto;
}

.car-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 25px 0;
  color: black;
}

/* BUTTON */
.reserve-btn {
  background: #d71920;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.reserve-btn:hover {
  background: #000;
}
.section-title2 {
  color: black;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .dimension-section {
    height: 100vh;
  }

  .dimension-section img {
    height: 100vh;
    object-fit: cover;
  }

  /* TOP TEXT */
  .dimension-top {
    top: 6%;
    left: 6%;
    right: 6%;
  }

  .dimension-top h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .dimension-top p {
    font-size: 14px;
    margin-top: 6px;
  }

  /* FEATURES LAYOUT */
  .dimension-features {
    bottom: 40px;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  /* LAST ITEM FULL WIDTH */
  .dimension-features .feature:last-child {
    grid-column: 1 / -1;
  }

  .feature h3 {
    font-size: 22px;
  }

  .feature p {
    font-size: 13px;
  }

  .red-line {
    height: 3px;
    width: 22px;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .main-heading h2 {
    font-size: 32px;
    color: black;
  }

  .main-heading p {
    font-size: 14px;
  }
}

.video-section {
  padding: 60px 20px;
  background: #f5f5f5;
}

.video-carousel .item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.video-carousel video {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.content {
  padding: 20px;
}

.content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.content p {
  font-size: 16px;
  color: #555;
}

/* Active center zoom effect */
.owl-item.center .item {
  transform: scale(1.05);
  transition: 0.4s;
}

@media (max-width: 768px) {
  .video-carousel video {
    height: 220px;
  }

  .content h2 {
    font-size: 22px;
  }
}

@media only screen and (max-width: 600px) {
  .car {
    width: 80%;
    transition: 0.4s ease;
  }

  .mhub-content {
    top: 14%;
    left: 20px;
    right: 20px;
  }

  .main-heading {
    font-size: 36px;
  }

  .desc {
    font-size: 14px;
  }
}
