/* ==================== GLOBAL ==================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f5f7fa;
  color: #111;
  overflow-x: hidden;
}

/* ==================== HERO SLIDER ==================== */

.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Desktop Height */
@media (min-width: 992px){
  .hero-slider {
    height: 90vh;
    min-height: 650px;
  }
}

/* Mobile Height */
@media (max-width: 991px){
  .hero-slider {
    height: auto;
  }
}

/* ==================== SLIDES ==================== */

.swiper-slide {
  width: 100%;
  background-size: cover;
  background-position: center;
  padding: 120px 70px;
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile Slide Padding */
@media(max-width:991px){
  .swiper-slide {
    padding: 120px 25px 90px;
    text-align: center;
    align-items: center;
  }
}

/* ==================== SLIDE OVERLAY ==================== */

.swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.85)
  );
  z-index: 1;
}

/* ==================== SLIDE CONTENT ==================== */

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  opacity: 0;
  transform: translateY(40px);
  transition: .9s cubic-bezier(.2, .6, .2, 1);
}

/* Animate Active */
.swiper-slide-active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== TITLE ==================== */

.slide-title {
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 8px 28px rgba(0,0,0,0.7);
  margin-bottom: 10px;
}

.slide-title span {
  color: #ffb100;
}

@media(max-width:991px){
  .slide-title {
    font-size: 42px;
  }
}

/* ==================== DESC ==================== */

.slide-desc {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.7;
  color: #e8e8e8;
  max-width: 600px;
  text-shadow: 0 5px 25px rgba(0,0,0,.5);
}

/* ==================== BUTTONS ==================== */

.slide-buttons {
  margin-top: 35px;
  display: flex;
  gap: 18px;
  z-index: 2;
}

@media(max-width:991px){
  .slide-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
}

.btn-primary,
.btn-outline {
  display: inline-block;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  transition: .3s cubic-bezier(.2, .6, .2, 1);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
}

.btn-primary {
  background: #ff8400;
  color: white;
}

.btn-primary:hover {
  background: #ff9800;
  transform: translateY(-4px) scale(1.04);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  color: #000;
  transform: translateY(-4px) scale(1.04);
}

@media(max-width:991px){
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ==================== PAGINATION ==================== */

.swiper-pagination-bullet {
  background: rgba(255,255,255, .6);
  opacity: 1;
  width: 11px;
  height: 11px;
  transition: .3s ease;
}

.swiper-pagination-bullet-active {
  background: #ff8400;
  width: 32px;
  border-radius: 10px;
}

.swiper-pagination {
  bottom: 35px !important;
}

/* ======================================================
   SLIDE 1 SUBTEXT (CUSTOM)
====================================================== */

.slide-subtext {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 560px;
  color: #ff8a00;
  text-shadow: 0 7px 28px rgba(0,0,0,0.55);
  margin-bottom: 32px;
}

@media(max-width: 991px){
  .slide-title {
    font-size: 46px;
    text-align: center;
  }

  .slide-subtext {
    font-size: 18px;
    text-align: center;
    max-width: 100%;
  }
}

/* ======================================================
   SLIDE 3 FIX — APPLY BY CLASS NOT NTH-CHILD
====================================================== */

.slide-3 .slide-title {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0,0,0,.55);
  margin-bottom: 18px;
  max-width: 950px;
}

.slide-3 .slide-title span {
  color: #ffb100;
  display: inline-block;
  white-space: nowrap;
  letter-spacing: -1px;
}

.slide-3 .slide-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.75;
  color: #e8e8e8;
  max-width: 700px;
  margin-top: 12px;
  text-shadow: 0 6px 20px rgba(0,0,0,.45);
}

.slide-3 .slide-desc .slide-tagline {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  color: #ffb100;
  font-weight: 700;
}

/* ======================================================
   SLIDE 3 — RESPONSIVE TABLET
====================================================== */

@media(max-width: 991px){

  .slide-3 .slide-title {
    font-size: 52px;
    text-align: center;
    margin: 0 auto 14px;
  }

  .slide-3 .slide-title span {
    font-size: inherit;
    white-space: normal;
  }

  .slide-3 .slide-desc {
    font-size: 18px;
    text-align: center;
    margin: 10px auto 0;
    max-width: 90%;
  }

  .slide-3 .slide-desc .slide-tagline {
    margin-top: 8px;
    font-size: 18px;
  }
}

/* ======================================================
   SLIDE 3 — RESPONSIVE MOBILE
====================================================== */

@media(max-width: 600px){

  .slide-3 .slide-title {
    font-size: 36px;
    line-height: 1.18;
    text-align: center;
  }

  .slide-3 .slide-title span {
    display: block;
    white-space: nowrap;
    font-size: inherit;
  }

  .slide-3 .slide-desc {
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    margin: 12px auto 0;
  }

  .slide-3 .slide-desc .slide-tagline {
    font-size: 15px;
    margin-top: 8px;
  }

  .slide-3 .slide-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .slide-3 .btn-primary,
  .slide-3 .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ======================================================
   CUSTOMER SUPPORT SECTION
====================================================== */

.support-section {
  padding: 110px 0;
  background: #f5f7fa;
  position: relative;
  z-index: 2;
}

.support-container {
  max-width: 1250px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

/* TITLE */

.support-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111;
}

/* ITEMS */

.support-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  transition: .35s ease;
}

.support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* ICON */

.support-icon {
  width: 50px;
  height: 50px;
  background: #ff9900;
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* TEXT */

.support-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #222;
}

.support-link {
  font-size: 18px;
  color: #0077ff;
  font-weight: 600;
  text-decoration: none;
}

.support-link:hover {
  text-decoration: underline;
}

.support-note {
  margin-top: 25px;
  font-size: 15px;
  color: #444;
}

.support-note span {
  font-weight: 700;
  color: #ff7b00;
}

/* IMAGE */

.support-illustration img {
  width: 400px;
  filter: drop-shadow(0 25px 60px rgba(0,0,0,0.15));
  animation: floatAnim 5s ease-in-out infinite;
}

/* Floating effect */
@keyframes floatAnim {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-12px) }
}

/* ==================== RESPONSIVE ==================== */

@media(max-width: 990px) {
  .support-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .support-title {
    font-size: 34px;
  }

  .support-item {
    flex-direction: column;
    align-items: center;
  }

  .support-icon {
    margin-bottom: 10px;
  }

  .support-illustration img {
    width: 300px;
    margin-top: 40px;
  }
}

/* ================= ABOUT INTRO SECTION ================= */

.about-intro-section {
  text-align: center;
  padding: 120px 20px;
  background: #111;
  color: white;
  position: relative;
}

.about-intro-logo {
  width: 145px;
  margin-bottom: 25px;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.4));
}

.about-intro-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .5px;
}

.about-intro-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #ffb100;
  margin-top: 6px;
}

.about-intro-text {
  max-width: 800px;
  margin: 22px auto 45px;
  line-height: 1.75;
  font-size: 15px;
  opacity: .9;
}

/* FEATURES BOXES */

.about-intro-features {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.feature-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 160px;
  height: 160px;

  background: #1c1c1c;
  border-radius: 22px;

  box-shadow: 0 12px 25px rgba(0,0,0,.35);

  text-decoration: none;
  color: #ffffff;
  gap: 10px;

  transition: 0.3s ease;
}

.feature-btn i {
  font-size: 40px;
  color: #ffb100;
  transition: 0.3s ease;
}

.feature-btn span {
  font-size: 16px;
  font-weight: 600;
}

.feature-btn:hover {
  transform: translateY(-6px);
  background: #2a2a2a;
  box-shadow: 0 22px 35px rgba(0,0,0,.45);
}

.feature-btn:hover i {
  color: #ff8a00;
}

/* RESPONSIVE */

@media(max-width: 650px){
  .feature-btn {
    width: 140px;
    height: 140px;
  }

  .feature-btn i {
    font-size: 32px;
  }

  .feature-btn span {
    font-size: 14px;
  }
}

/* ================= SECTION WRAPPER ================= */

.car-search-section {
  width: 100%;
  padding: 70px 0;
  display: flex;
  justify-content: center;
  background: #ffffff;
}

.car-search-container {
  width: 90%;
  max-width: 1400px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;

  padding: 60px;
  border-radius: 28px;

  border: 4px solid transparent;
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(45deg, #ff5f00, #ff8a00);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  position: relative;
}

.car-search-container:hover {
  box-shadow:
    0 20px 55px rgba(255, 114, 0, 0.35),
    0 8px 25px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.3s ease;
}

/* FORM COLUMN */

.car-search-left {
  flex: 1;
  min-width: 460px;
}

.car-search-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #181818;
}

.car-search-subtitle {
  font-size: 16px;
  color: #666666;
  margin-bottom: 30px;
}

/* FIELDS */

.car-search-form {
  width: 100%;
}

.car-search-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.car-search-fields input {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #dddddd;
  outline: none;
  font-size: 15px;
  transition: 0.25s;
}

.car-search-fields input:focus {
  border-color: #ff7000;
  box-shadow: 0 0 0 3px rgba(255, 110, 0, 0.25);
}

/* BUTTONS */

.car-search-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

.btn-search {
  padding: 15px 35px;
  background: #ff7200;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}

.btn-search:hover {
  background: #ff8a00;
}

/* RIGHT PREMIUM AREA */

.car-search-right {
  width: 48%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.car-bg-glow {
  position: absolute;
  width: 500px;
  height: 260px;
  background: radial-gradient(
    circle at center,
    rgba(255, 122, 0, 0.35),
    rgba(255, 122, 0, 0.05),
    transparent
  );
  filter: blur(40px);
  z-index: 1;
  animation: glowPulse 4s infinite ease-in-out;
}

.car-search-img {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
  animation: floatCar 7s ease-in-out infinite;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.3));
}

/* ANIMATIONS */

@keyframes floatCar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* RESPONSIVE */

@media (max-width: 1050px) {

  .car-search-container {
    flex-direction: column;
    padding: 40px 30px;
  }

  .car-search-right {
    width: 100%;
    margin-top: -20px;
  }

  .car-search-img {
    max-width: 90%;
    margin: 0 auto;
  }

  .car-bg-glow {
    width: 80%;
    height: 200px;
  }
}

@media (max-width: 720px) {

  .car-search-left {
    min-width: 100%;
  }

  .car-search-title {
    font-size: 30px;
  }
}

/* ================= POPUP (MODAL) ================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 9998;
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 9999;
}

.modal-card {
  width: 90%;
  max-width: 700px;
  background: white;
  padding: 35px;
  border-radius: 22px;

  border: 2px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(45deg, #ff5f00, #ff8a00);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow: 0 18px 45px rgba(0,0,0,.2);
  position: relative;
  animation: modalPop .3s ease;
}

@keyframes modalPop {
  from { transform: scale(.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* TITLE */

.modal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #181818;
  text-align: center;
}

.modal-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.6;
}

/* GRID */

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-grid input,
.modal-card textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
}

/* TERMS */

.modal-terms {
  margin-top: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  font-size: 13px;
  color: #555;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-top: 6px;
}

/* BUTTON */

.modal-submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #ff7200;
  color: white;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.modal-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* CLOSE */

.modal-close {
  position: absolute;
  right: 18px;
  top: 8px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* SHOW MODAL */

.modal-overlay.active {
  display: block;
  opacity: 1;
}

.modal-wrapper.active {
  display: grid;
  opacity: 1;
}

.modal-overlay {
  opacity: 0;
  transition: opacity .25s ease;
}

.modal-wrapper {
  opacity: 0;
  transition: opacity .25s ease;
}

/* MOBILE */

@media(max-width:600px){
  .modal-grid {
    grid-template-columns: 1fr;
  }
}
.modal-overlay.active,
.modal-wrapper.active {
  opacity: 1 !important;
}
.modal-overlay.active {
  display: block !important;
}
.modal-wrapper.active {
  display: grid !important;
}

