/* Global Variables & Reset */
:root {
  --primary-blue: #2e8b8b; /* Teal — logo house/hands colour */
  --secondary-blue: #236b6b; /* Deeper teal for hovers */
  --accent-blue: #c8874a; /* Warm gold — logo Real Estate text */
  --maroon: #7b2d2d; /* Deep maroon — logo horses/chariot */
  --text-dark: #2a1a0e; /* Very dark warm brown */
  --text-light: #5c4a38; /* Medium warm brown */
  --bg-light: #fbf7f2; /* Warm cream — light sections */
  --white: #ffffff;
  --font-main: "Inter", sans-serif;
  --font-display: "Playfair Display", serif;
  --shadow-soft:
    0 4px 6px -1px rgba(46, 139, 139, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-card:
    0 10px 15px -3px rgba(46, 139, 139, 0.15),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 8px;
  --transition-fast: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Utility */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.box-center {
  margin: 0 auto;
}

/* Header */
#header {
  background-color: var(--white);
  height: 90px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
}

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

a.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.logo img {
  height: 95px;
  filter: drop-shadow(0 2px 6px rgba(0, 51, 102, 0.18));
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.logo:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 10px rgba(0, 51, 102, 0.28));
}

/* Navigation */
.nav-menu ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--primary-blue);
  font-size: 1.05rem;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.btn-contact {
  background-color: var(--maroon);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #9b3d3d;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    255,
    255,
    255,
    0.85
  ); /* Light overlay for professional feel */
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.highlight {
  color: var(--accent-blue);
}

.subtext {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--maroon);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(123, 45, 45, 0.35);
}

.btn-primary:hover {
  background-color: #9b3d3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 45, 45, 0.45);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  margin-bottom: 30px;
}

.visual-box {
  background: linear-gradient(135deg, var(--maroon) 0%, #5c1f1f 100%);
  color: var(--white);
  padding: 60px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.visual-box h3 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 10px;
}

.visual-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Services */
.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary-blue);
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 51, 102, 0.1);
}

.icon-box {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card ul {
  list-style-type: none; /* Removed default bullets */
}

.service-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-card li::before {
  content: "•";
  color: var(--accent-blue);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Partners Section */
.partners-section {
  background: linear-gradient(160deg, #f8f9fa 0%, #eef2f9 100%);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 60px;
}

.partner-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(46, 139, 139, 0.2);
}

/* Photo */
.partner-photo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
}

.partner-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  border: 4px solid var(--white);
  box-shadow: 0 4px 14px rgba(46, 139, 139, 0.25);
}

.partner-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-blue) 100%
  );
  z-index: 0;
  opacity: 0.18;
  transition: opacity 0.3s ease;
}

.partner-card:hover .partner-photo-ring {
  opacity: 0.35;
}

/* Partner text */
.partner-name {
  font-size: 1.2rem;
  color: var(--primary-blue);
  margin-bottom: 6px;
  font-weight: 700;
}

.partner-role {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.partner-bio {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Founder Quote Strip */
.founder-quote-strip {
  background: var(--primary-blue);
  border-radius: 16px;
  padding: 50px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.founder-quote-strip::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.founder-quote-strip::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.quote-icon {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent-blue);
  opacity: 0.6;
  margin-bottom: 16px;
}

.founder-blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 30px;
  border: none;
  padding: 0;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.quote-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.quote-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

/* Old founder rules kept for safety */
.founder-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}

.founder-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* Footer */
#contact {
  background-color: #1a0d07; /* Deep warm dark brown */
  color: #e8ddd5;
  padding: 80px 0 20px;
}

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

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Make logo white */
}

.tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--white);
}

.footer-text {
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  font-style: italic;
  font-weight: bold;
  border-bottom: 2px solid var(--accent-blue);
  width: fit-content;
  margin-bottom: 10px;
}

.footer-contact h4,
.footer-office h4,
.footer-branch h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-blue);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-contact a {
  display: block;
  margin-bottom: 10px;
  color: #d4b8a8;
}

.footer-contact a:hover {
  color: var(--white);
}

address {
  font-style: normal;
  color: #d4b8a8;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #a08878;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  .about-grid,
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-image {
    max-width: 300px;
    margin: 0 auto;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    transition: 0.3s;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2rem;
  }
  .hero-content {
    padding: 0 15px;
  }

  .logo img {
    height: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .founder-quote-strip {
    padding: 36px 24px;
  }

  .founder-blockquote {
    font-size: 1.1rem;
  }
}
