:root {
  --brand-red: #c4161c;
  --brand-red-dark: #a00d25;
  --brand-red-alt: #c8102e;
  --black: #000000;
  --gray-bg: #f2f2f2;
  --gray-bg-alt: #f9f9f9;
  --gray-text: #4b5563;
  --container-pad: 100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  color: #000;
  margin: 0;
  overflow-x: hidden;
}

.container-fluid {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 992px) {
  .container-fluid { padding-left: 60px; padding-right: 60px; }
}
@media (min-width: 1280px) {
  .container-fluid { padding-left: var(--container-pad); padding-right: var(--container-pad); }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.text-brand { color: var(--brand-red); }

.section-title {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  color: #000;
}

.lead-text {
  font-size: clamp(16px, 1.6vw, 20px);
  color: #1f1f1f;
  line-height: 1.6;
}
.lead-text.max-w { max-width: 1100px; }

.body-text {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.sub-title {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 16px;
}

.section-header, .section-header-left {
  margin-bottom: 56px;
}

/* Buttons */
.btn-brand {
  background-color: var(--brand-red);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  transition: transform .2s ease, background-color .2s ease;
}
.btn-brand:hover { background-color: var(--brand-red-dark); color: #fff; transform: translateY(-2px); }

.btn-light-gray {
  background-color: #e7e9ea;
  color: #000;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  transition: transform .2s ease, background-color .2s ease;
}
.btn-light-gray:hover { background-color: #d7d9da; transform: translateY(-2px); }

.btn-dark {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color .2s ease;
}
.btn-dark:hover { background: #222; color: #fff; }

.btn-white-pill {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color .2s ease;
}
.btn-white-pill:hover { background: #f0f0f0; }

.pill-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--brand-red);
  border-radius: 999px;
  padding: 4px 20px;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 20px;
}

/* ===================== HEADER ===================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  height: 75px;
  transition: box-shadow .3s ease, position .3s ease;
}
.site-header.is-fixed {
  position: fixed;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  animation: slideDown .4s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img { width: 172px; height: auto; object-fit: contain; }

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
  transition: color .2s ease;
}
.main-nav a:hover { color: #c4161c; }
.main-nav .nav-icon { color: var(--brand-red); font-size: 20px; display: flex; align-items: center; }
.main-nav .has-caret i { font-size: 10px; margin-left: 4px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle {
  background: none; border: none; font-size: 22px; color: #333;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  padding: 16px 24px 24px;
  border-top: 1px solid #eee;
  box-shadow: 0 8px 12px rgba(0,0,0,0.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-weight: 700;
  border-bottom: 1px solid #f1f1f1;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 800px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-content { position: relative; z-index: 2; padding-left: 24px; }
.hero-heading-wrap { position: relative; padding-left: 24px; }
.hero-heading-wrap::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 8px; bottom: 8px;
  width: 10px;
  background: var(--brand-red);
}
.hero-title {
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: #000;
}
.hero-text {
  font-size: clamp(16px, 1.3vw, 21px);
  max-width: 650px;
  opacity: .9;
  margin: 24px 0 32px;
  line-height: 1.6;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 5;
}

.floating-label {
  position: absolute;
  z-index: 20;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.label-1 { top: -9%; left:41%; animation-delay: 0s; }
.label-2 { top: 45%; left: -8%; animation-delay: .4s; }
.label-3 { bottom: 15%; left: -1%; animation-delay: .8s; }
.label-4 { top: 45%; right: -10%; animation-delay: 1.2s; }
.label-5 { bottom: 20%; right: -6%; animation-delay: 1.6s; }

@media (max-width: 991px) {
  .floating-label { font-size: 12px; padding: 8px 14px; }
  .label-1 { left: 18%; }
  .label-2 { left: -2%; }
  .label-4 { right: -2%; }
  .label-5 { right: 0; }
}

/* ===================== SERVICES BAR ===================== */
.services-bar { background: var(--brand-red); position: relative; z-index: 20; }
.service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 16px;
}
.col-lg-3:not(:last-child) .service-item::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 100px; width: 1px;
  background: rgba(255,255,255,0.4);
  display: none;
}
@media (min-width: 992px) {
  .col-lg-3:not(:last-child) .service-item::after { display: block; }
}
.service-icon {
  width: 73px; height: 73px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}
.service-item h3 {
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* ===================== ABOUT SECTION ===================== */
.about-section { padding: 80px 0; background: #fff; position: relative; overflow: hidden; }
.about-bg { position: absolute; inset: 0; }
.about-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }

.about-collage {
  position: relative;
  height: 557px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.collage-item {
  position: absolute;
  border-radius: 37px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.collage-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-top-left { top: 0; left: 0; width: 299px; height: 260px; }
.collage-right { top: 148px; left: 341px; width: 299px; height: 260px; }
.collage-bottom-left { top: 297px; left: 0; width: 299px; height: 260px; }
.collage-item:hover { transform: scale(1.05) rotate(1.5deg); box-shadow: 0 20px 25px rgba(0,0,0,0.2); }

.about-mobile-image {
  height: 320px;
  border-radius: 37px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.about-mobile-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== WHY CHOOSE US ===================== */
.why-choose-us { background: #f2f2f2; padding: 80px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .feature-grid { grid-template-columns: 1fr 1fr 1fr; } }

.feature-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: box-shadow .3s ease, ring .3s ease;
}
.feature-card:hover { box-shadow: 0 15px 25px rgba(0,0,0,0.12); }
.feature-card.active { box-shadow: 0 0 0 2px var(--brand-red); }

.feature-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(196, 22, 28, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: var(--brand-red);
  margin-bottom: 32px;
}
.feature-icon img{width: 27px;}
.feature-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.feature-card h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #000;
}
.feature-card.active h3 { color: var(--brand-red); }
.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,0.8);
  margin: 0;
}
.expand-icon { color: #000; font-size: 18px; margin-top: 4px; transition: transform .3s ease; }
.feature-card.active .expand-icon { transform: rotate(180deg); color: var(--brand-red); }

.feature-expand {
  background: var(--brand-red);
  border-radius: 12px;
  margin-top: 24px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.feature-expand-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 48px 40px;
}
.feature-expand-left { flex: 1 1 400px; }
.feature-expand-left h3 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.expand-headline {
  display: inline-block;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.expand-text {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 32px;
}
.feature-expand-right { flex: 0 1 450px; }
.feature-expand-right h4 {
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.feature-expand-right ul { display: flex; flex-direction: column; gap: 16px; }
.feature-expand-right li {
  display: flex; align-items: flex-start; gap: 16px;
  color: #fff; font-size: 16px; line-height: 1.4;
}
.benefit-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.benefit-check i { color: var(--brand-red); font-size: 12px; }

/* ===================== PARTNER WITH US ===================== */
.partner-section { padding: 80px 0; background: #fff; }
.partner-tabs {
  background: #f2f2f2;
  border-radius: 10px;
  padding: 8px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.tab-btn {
  background: #f2f2f2;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  transition: all .25s ease;
}
.tab-btn:hover { background: #e2e2e2; }
.tab-btn.active { background: var(--brand-red); color: #fff; }

.partner-panel {
  background: #f2f2f2;
  border-radius: 16px;
  padding: 40px;
  height: 100%;
}
.partner-panel h3 { font-weight: 700; font-size: 30px; margin-bottom: 24px; }
.partner-panel p#partnerDesc { font-size: 16px; color: #333; line-height: 1.7; margin-bottom: 32px; }
.partner-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 18px; color: #111; margin-bottom: 16px;
}
.feature-check {
  background: rgba(196,22,28,0.1);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check i { color: var(--brand-red); font-size: 14px; }

.partner-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.partner-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.partner-image-wrap .btn-white-pill {
  position: absolute; bottom: 32px; right: 32px; z-index: 3;
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}
.partner-wave {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 45%;
  pointer-events: none;
}

/* ===================== CORE VALUES ===================== */
.core-values { padding: 80px 0; background: #fff; }
.value-card {
  background: var(--gray-bg-alt);
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 15px 25px rgba(0,0,0,0.08); }
.value-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fdecec;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--brand-red);
  font-size: 20px;
}
.value-card h3 { font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.value-card p { color: #666; line-height: 1.6; margin: 0; }

/* ===================== FIND AGENT ===================== */
.find-agent { padding: 80px 0; background: #fff; }
.agent-locations-box {
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}
.agent-search {
  background: #fff;
  height: 64px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 24px;
  gap: 13px;
}
.agent-search i { color: #28303F; font-size: 18px; }
.agent-search input { border: none; outline: none; background: transparent; flex: 1; font-size: 14px; color: rgba(0,0,0,0.69); }

.agent-location { display: flex; align-items: flex-start; gap: 20px; padding: 8px 0; }
.agent-location i { color: var(--brand-red); margin-top: 8px; font-size: 14px; flex-shrink: 0; }
.agent-name { font-weight: 600; font-size: 20px; margin-bottom: 4px; color: #000; }
.agent-address { font-size: 16px; color: rgba(0,0,0,0.69); margin: 0; }
.agent-location-list hr { border-color: rgba(0,0,0,0.11); margin: 4px 0; }

.become-agent-box {
  background: var(--brand-red);
  border-radius: 20px;
  padding: 28px 24px;
}
.become-agent-title { font-weight: 600; font-size: 20px; color: #fff; margin-bottom: 14px; }
.become-agent-text { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 24px; line-height: 1.5; }

.agent-map {
  width: 100%;
  min-height: 400px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.agent-map img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.nav-link:focus, .nav-link:hover{color: #c4161c;}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{color: #c4161c;}
/* ===================== TESTIMONIALS ===================== */
.testimonials { padding: 80px 0; background: #fff; }
.testimonial-card {
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card h4{font-weight: 600; font-size: 22px; margin-bottom: 4px;}
.testimonial-card img{width: 75px; height: 75px; border-radius: 50%; object-fit: cover; flex-shrink: 0;}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 20px 30px rgba(0,0,0,0.15); }
.testimonial-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.testimonial-head img { width: 75px; height: 75px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-head h4 { font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.testimonial-head .role { font-size: 16px; color: #000; margin-bottom: 2px; }
.testimonial-head .company { font-size: 16px; font-weight: 600; color: var(--brand-red); margin: 0; }
.testimonial-text { font-size: 16px; line-height: 1.6; color: #000; margin: 0; }

.testimonial-dots { display: flex; justify-content: center; gap: 16px; margin-top: 48px; }
.dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: #d9d9d9; border: none;
  transition: background-color .2s ease, transform .2s ease;
}
.dot.active { background: var(--brand-red); }
.dot:hover { transform: scale(1.2); }

.testimonial-slide { display: none; }
.testimonial-slide.active-mobile { display: block; }
@media (min-width: 768px) {
  .testimonial-slide { display: block !important; }
}

/* ===================== FOOTER ===================== */
.site-footer { background: #000; color: #fff; padding: 83px 0 50px; }
.footer-grid { margin-bottom: 100px; }
.site-footer h3 { font-weight: 600; font-size: 24px; margin-bottom: 30px; }
.site-footer h4 { font-weight: 600; font-size: 24px; margin-bottom: 30px; }
.footer-text { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 16px; max-width: 320px; }
.footer-socials { display: flex; gap: 16px; margin-bottom: 40px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}
.footer-socials a:hover { background: var(--brand-red); transform: translateY(-3px); }
.footer-trusted-title { font-weight: 600; font-size: 13px; margin-bottom: 20px; }
.footer-trusted-list { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-trusted-list span { font-weight: 500; font-size: 13px; }

.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a { font-size: 16px; color: rgba(255,255,255,0.8); transition: color .2s ease; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
}
.footer-bottom p { font-size: 16px; color: rgba(255,255,255,0.8); margin: 0; }

/* ===================== SCROLL TOP BTN ===================== */
#scrollTopBtn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: background-color .2s ease, transform .2s ease;
}
#scrollTopBtn:hover { background: var(--brand-red-dark); transform: translateY(-3px); }
#scrollTopBtn.show { display: flex; }

/* Fade-in-up scroll animation helper */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
