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

html, body {
  overflow-x: hidden;
}


/* =====================================================
   HERO SECTION LAYOUT
===================================================== */
.hero-section {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* =====================================================
   LEFT SIDE : IMAGE + CONTENT
===================================================== */
.hero-left {
  flex: 0 0 65%;
  position: relative;
  background: url('../images/hero/hero_banner.png') center / cover no-repeat;
}

/* Dark overlay */
.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 1;
}

/* =====================================================
   HERO CONTENT
===================================================== */
.hero-content {
  position: absolute;
  bottom: 30px;
  left: 60px;
  z-index: 2;
  color: #ffffff;
  max-width: 700px;
}

/* Subtitle */
.hero-subtitle {
  font-size: 24px;
  line-height: 1.4;
  margin: 5px;
  
}
.sub_text{
   font-size: 18px;
  line-height: 1.4;
  margin: 5px;
}

/* =====================================================
   TITLE + EXPERT WRAP
===================================================== */
.hero-title-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
}

/* Main title */
.hero-title {
  /* font-size: clamp(100px, 12vw, 110px); */
  font-size:5vw;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  padding-bottom:10px;
}

/* EXPERT (vertical, RIGHT of DESIGN) */
.hero-expert {
  position: absolute;
  right: -48px;
  top: 50%;

  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;

  font-size: 14px;
  letter-spacing: 0.4em;
  font-weight: 600;
  opacity: 0.9;
}

/* =====================================================
   RIGHT SIDE : FORM AREA
===================================================== */
.hero-right {
  flex: 0 0 35%;
  background: #f2f1ee;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
}

/* =====================================================
   TOP LOGOS (ABOVE FORM)
===================================================== */
.hero-top-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 30px;
}

.hero-top-logos img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: 48px;
  object-fit: contain;
}

/* =====================================================
   FORM WRAPPER
===================================================== */
.hero-form-wrapper {
  width: 100%;
  max-width: 420px;
}

/* Form title */
.hero-form-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

/* =====================================================
   FORM ELEMENTS
===================================================== */
.hero-form input,
.hero-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Phone group */
.form-phone-group {
  display: flex;
}

.country-code {
  padding: 12px;
  background: #e6e6e6;
  border: 1px solid #ccc;
  border-right: none;
}

.form-phone-group input {
  border-left: none;
}

/* Two column */
.form-two-col {
  display: flex;
  gap: 10px;
}

/* Captcha */
.form-captcha-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha-code {
  padding: 10px 14px;
  background: #e6e6e6;
  font-weight: 600;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  gap: 10px;
  font-size: 12px;
  margin: 12px 0;
}

/* Submit */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: #e31e24;
  color: #ffffff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
}

.btn-submit:hover {
  background: #c9181d;
}

/* =====================================================
   RESPONSIVE
===================================================== */

/* Tablet */
@media (max-width: 991px) {
  .hero-section {
    flex-direction: column;
  }

  .hero-left {
    min-height: 60vh;
  }

  .hero-content {
    left: 40px;
    bottom: 10px;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-expert {
    right: -42px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-left {
    min-height: 70vh;
  }

  .hero-content {
    left: 20px;
    right: 120px;
  }

  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle{
    font-size: 16px;
  }
  .hero-expert {
    display: none; /* clean mobile */
  }

  .form-two-col {
    flex-direction: column;
  }
}

/* =====================================================
   MOBILE FIX – RIGHT SECTION LOGO OVERFLOW (FINAL)
===================================================== */
@media (max-width: 767px) {

  /* Right section must respect viewport */
  .hero-right {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
  }

  /* FIXED: correct class name */
  .hero-top-logos {
    width: 100%;
    max-width: 100%;
    display: flex;

    justify-content: center;   /* 🔑 NOT space-between */
    align-items: center;
    gap: 16px;

    flex-wrap: wrap;           /* 🔑 prevents overflow */
  }

  .hero-top-logos img {
    max-width: 130px;          /* safe mobile size */
    height: auto;
  }

  .hero-form-wrapper {
    width: 100%;
    max-width: 100%;
  }
}
