/* ============================
   ROYAL_SIMPLE_FORM — Red Theme
   - Deep red frame instead of gold
   ============================ */

.royal_simple_form {
  --deep-red: rgb(141, 34, 37);
  --deep-red-dark: rgb(110, 20, 24);
  --cream: #fff6ea;
  --radius: 26px;

  position: relative;
  box-sizing: border-box;
  border-radius: var(--radius);
  padding: 44px 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 250, 245, 0.98)
  );
  color: #222;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  z-index: 2;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(141, 34, 37, 0.08);
}

/* Decorative frame now deep red */
.royal_simple_form::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'>\
    <defs>\
      <linearGradient id='g' x1='0' x2='1'>\
        <stop offset='0' stop-color='%238d2225'/>\
        <stop offset='1' stop-color='%236e1418'/>\
      </linearGradient>\
    </defs>\
    <rect x='6' y='6' width='1188' height='588' rx='24' fill='none' stroke='url(%23g)' stroke-width='6'/>\
    <rect x='32' y='32' width='1136' height='536' rx='12' fill='none' stroke='url(%23g)' stroke-width='3'/>\
    <g fill='url(%23g)'>\
      <rect x='22' y='22' width='14' height='14' transform='rotate(45 29 29)'/>\
      <rect x='1164' y='22' width='14' height='14' transform='rotate(45 1171 29)'/>\
      <rect x='22' y='564' width='14' height='14' transform='rotate(45 29 571)'/>\
      <rect x='1164' y='564' width='14' height='14' transform='rotate(45 1171 571)'/>\
    </g>\
  </svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.18);
}

.royal_simple_form > * {
  overflow: visible;
  position: relative;
  z-index: 3;
}

.royal_simple_form .ttupprcase,
.royal_simple_form h1 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 600;
  color: rgb(141, 34, 37);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 6px 0;
  text-align: center;
}

.royal_simple_form p {
  margin: 0 0 18px 0;
  color: rgba(34, 20, 20, 0.7);
  font-size: 16px;
  /* font-weight: 500; */
  font-style: italic;
  text-align: center;
}

.royal_simple_form .tab-pane.active {
  display: block;
  overflow: visible;
  padding: 10px;
  margin-top: 6px;
  gap: 12px;
}

/* --- Minimal red-accent input fields --- */
.royal_simple_form .tab-pane.active > input:not(.hidden),
.royal_simple_form .tab-pane.active > select,
.royal_simple_form .tab-pane.active > textarea {
  display: block;
  width: 100%;
  padding: 0px 0;
  border: none;
  border-bottom: 2px solid rgba(141, 34, 37, 0.5);
  background: transparent;
  font-size: 15px;
  color: #222;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 0; /* no rounded corners */
  margin-bottom: 20px;
}

/* Placeholder styling */
.royal_simple_form ::placeholder {
  color: rgba(141, 34, 37, 0.5);
  font-style: italic;
}

/* On focus — bold red underline & glow */
.royal_simple_form input:focus,
.royal_simple_form textarea:focus,
.royal_simple_form select:focus {
  outline: none;
  border-bottom-color: rgb(141, 34, 37);
  box-shadow: 0 2px 0 rgb(141, 34, 37);
}

/* Textarea tweak */
.royal_simple_form .tab-pane.active > textarea {
  min-height: 90px;
  resize: vertical;
  padding-top: 4px;
}

.royal_simple_form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: rgb(141, 34, 37);
}

.royal_simple_form #spin1,
.royal_simple_form #errorMsg1,
.royal_simple_form #modalErrorMessage,
.royal_simple_form #errorMsgOtp1 {
  color: rgb(141, 34, 37);
  font-size: 13px;
  margin-bottom: 8px;
}

.royal_simple_form .tab-pane.active > ul {
  /* display: flex; */
  justify-content: center;
  padding: 0;
  margin: 10px 0 0 0;
}

.royal_simple_form button,
.royal_simple_form .submit-btn,
.royal_simple_form input[type="submit"] {
  width: 100%;
  margin: 10px 0;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  background: rgb(141, 34, 37);
  color: white;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 15px;
  cursor: pointer;
  /* box-shadow: 0 16px 40px rgba(141, 34, 37, 0.16),
    inset 0 -6px 18px rgba(0, 0, 0, 0.06); */
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* .royal_simple_form button:hover,
.royal_simple_form .submit-btn:hover,
.royal_simple_form input[type="submit"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(141, 34, 37, 0.24),
    inset 0 -8px 22px rgba(0, 0, 0, 0.08);
} */

.royal_simple_form a {
  color: rgb(141, 34, 37);
  font-weight: 600;
  text-decoration: underline;
}

.close2 {
  position: absolute;
  top: 40px !important;
  right: 40px !important;
  width: 34px;
  height: 34px;
  background: rgb(141, 34, 37);
  color: white !important;
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid rgb(141, 34, 37);
  cursor: pointer;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18),
    inset 0 -2px 6px rgba(0, 0, 0, 0.08); */
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
  z-index: 9999;
}

.close2:hover {
  /* transform: rotate(90deg) scale(1.1); */
  /* box-shadow: 0 8px 20px rgba(141, 34, 37, 0.28),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1); */
  color: white !important;
}

/* button popup form starts */

/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

/* Popup Content */
.popup-content {
  position: relative;
  background: #fff;
  /* padding: 20px; */
  max-width: 700px;
  width: 90%;
  border-radius: 26px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 35px;
  right: 37px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  z-index: 9;
  background-color: rgb(141, 34, 37);
}

.banner-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.banner-wrapper img {
  display: block;
  width: 100%;
}

.banner-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.hero-text {
  position: absolute; /* make the section overlay */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center the whole block */
  text-align: center;
  color: #fff; /* white text */
  background: transparent; /* fully transparent */
  z-index: 10; /* make sure it sits above background */
  width: 100%;
  max-width: 900px; /* optional: restrict width */
  padding: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-subtitle,
.hero-offer {
  font-size: 1.4rem;
  margin: 16px 0;
}

.hero-offer span {
  font-weight: bold;
  color: #fff; /* keep span white as well */
}

/* Simple Red Enquire Button */
.red-enquire-btn {
  /* transform: translateX(-50%); centers horizontally */
  background: rgb(141, 34, 37);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.red-enquire-btn:hover {
  background: rgb(141, 34, 37);
}

/* button popup form ends */

/* new highlights section starts  */
.project-highlights {
  padding: 80px 20px;
  /* background: linear-gradient(135deg, #faf7f2, #f4f1eb); elegant off-white gradient */
  /* border-top: 2px solid #b08d57;  gold accent
  border-bottom: 2px solid #b08d57; */
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #b08d57, #df0a0a, #b08d57);
  border-radius: 3px;
}

.highlights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 50px 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-left: 3px solid grey; /* royal border */
  padding-left: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(8px); /* elegant movement */
  border-color: #2d478a; /* shift to red highlight */
}

.item-icon {
  font-size: 2.2rem;
  color: #df0a0a;
  flex-shrink: 0;
  line-height: 1.2;
}

/* new highlights section ends  */
