/* Only essential and used CSS for the current HTML structure is kept below */

/* Add Playfair Display and Raleway fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@100;400;700&family=Raleway:wght@400;500;700&display=swap');

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

body{
  font-family: "Raleway", sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header{
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top{
  background: #1e3a5f;
  color: white;
  padding: 10px 0;
}

.header-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dealer-text{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.phone-number{
  background: #0066cc;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

#header span.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
}
footer {
    margin: 0;
    padding: 0;
}
.sub-footer {
    margin-top: 0px;
}
#header span.show-models {
    font-family: 'Source Sans Pro';
}



/* Hero Banner */
.hero-banner{
  background: url('https://hyundailucknow.com/images/Rec@4x-100.jpg') center center no-repeat;
  background-size: cover;
  min-height: 350px;
  width: 100%;
  position: relative;
  padding: 0;
  overflow: hidden;
  text-align: center;
  color: white;
}

.confetti-bg, .hero-content{
  display: none;
}

.anniversary-badge{
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
}

.number{
  font-size: 120px;
  font-weight: bold;
  color: #d4af37;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  display: inline-block;
  position: relative;
}

.badge-text{
  position: absolute;
  right: -80px;
  top: 20px;
  text-align: left;
}

.years{
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #d4af37;
}

.excellence{
  display: block;
  font-size: 18px;
  color: white;
  margin-top: 5px;
}

.reassured{
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #d4af37;
  color: #1e3a5f;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

/*Progress-bar*/

 #progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  counter-reset: step;
  display: flex;
  justify-content: space-between;
  padding-left: 0;
}

#progressbar li {
  list-style-type: none;
  text-transform: uppercase;
  font-size: 10px;
  color: #7d7d7d;
  position: relative;
  text-align: center;
  width: 100%;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  height: 30px;
  line-height: 30px;
  display: block;
  background: #ddd;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  color: #000;
  font-weight: bold;
}

#progressbar li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ddd;
  top: 14px;
  left: -43%;
  z-index: -1;
}

#progressbar li:first-child:after {
  content: none;
}

#progressbar li.active:before,
#progressbar li.active:after {
  background: #1e3a5f;
  color: white;
}
/*Progress-bar*/

.brand-logos{
  margin: 30px 0;
}

.defaar{
  font-size: 32px;
  font-weight: bold;
  color: white;
  margin-right: 20px;
}

.hyundai{
  font-size: 32px;
  font-weight: bold;
  color: #d4af37;
}

.celebration-text{
  font-size: 18px;
  font-style: italic;
  color: #e2e8f0;
  margin-top: 20px;
}

.intro-text{
  background: #f8f9fa;
  padding: 30px 0;
  text-align: center;
}

.intro-text p{
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content */
.main-content{
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
     background: #fff;
}
label .error{
  border: 2px solid #e1e5e9!important;
}

.form-container{
  background: white;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 700px;
  position: relative;
}

.form-header{
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.form-header h2{
  color: #1e3a5f;
  font-size: 28px;
  margin-bottom: 10px;
}

.step{
  display: none;
}

.step.active{
  display: block;
}

.step-header{
  text-align: center;
  margin-bottom: 30px;
}

.step h2{
  font-size: 25px;
  font-weight: 100;
  font-family: 'Playfair Display', serif;
  color: rgb(0, 40, 86);
  margin-bottom: 20px;
}

.step-number{
  background: #1e3a5f;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.step-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.step-description{
  color: #666;
  font-size: 14px;
}

.form-group{
  margin-bottom: 20px;
}

label{
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 18px;
}


input[type="text"],
input[type="tel"],
input[type="email"]{
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e5e9;
  font-size: 16px;
  transition: border-color 0.3s;
  border-radius: 0;
}
select{
  width: 100%;
  border: 2px solid #e1e5e9;
  font-size: 16px;
  transition: border-color 0.3s;
  border-radius: 0;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,select:focus{
  outline: none;
  border-color: #1e3a5f;
}


.navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn{
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.req-star{
color:red;
}

.refer-next{
  background: #002856;
  color: white;
  border-radius:0;
}

    button:hover {
      opacity: 0.8;
    }

.refer-next:hover{
  color: white;
  background: #002856;
  
}

.refer-previous{
  background: #002856;
  color: white;
border-radius:0;
}

.refer-previous:hover{
  background: #002856;
  color: white;
}

.refer-next, .refer-previous{
  
  font-family: 'Playfair Display';
}

.btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}
.btn:focus{
    outline: 0;
    box-shadow: none;
}

/* Error Message Styles */
.error-message {
  color: #d32f2f !important;
  font-size: 13px;
  margin-top: 4px;
  min-height: 18px;
}

label.error, .error-message, .requirement-group label.error, .brand-group label.error {
  color: #d32f2f !important;
  font-size: 13px;
  margin-top: 4px;
  min-height: 18px;
border: 0 !important;
}

/* Custom Radio Button Styles for Multi-Step Form */
input[type="radio"] {
  display: none;
}

input[type="radio"] + label {
  background: #f8f9fa;
  border: 2px solid #e1e5e9;
  color: #333;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  margin-right: 8px;
  margin-bottom: 8px;
  display: inline-block;
}

input[type="radio"]:checked + label {
  background: #1e3a5f;
  color: #fff;
  border-color: #1e3a5f;
}

input[type="radio"]:focus + label {
  outline: 2px solid #1e3a5f;
  outline-offset: 2px;
}

.requirement-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.requirement-group input[type="radio"] + label {
  display: block;
  margin-right: 0;
  width: auto;
}

.brand-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.brand-group input[type="radio"] + label {
  display: block;
  margin-right: 0;
  width: auto;
}

/* Footer Styles */
.main-footer {
  background: #1e3a5f;
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

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

.footer-section h3,
.footer-section h4 {
  color: #d4af37;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li:before {
  content: "→ ";
  color: #d4af37;
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid #2c5282;
  padding-top: 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 14px;
}

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

  .number {
    font-size: 80px;
  }

  .badge-text {
    right: -60px;
    top: 15px;
  }

  .years {
    font-size: 18px;
  }

  .excellence {
    font-size: 14px;
  }

  .defaar,
  .hyundai {
    font-size: 24px;
  }

  .form-container {
    padding: 20px;
    margin: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navigation {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .hero-banner {
    padding: 40px 0;
  }

  .number {
    font-size: 60px;
  }

  .badge-text {
    right: -40px;
    top: 10px;
  }
}
