:root {
  --primary: #0b3c5d;
  --secondary: #1d6fa5;
  --accent: #f40000;
  --light: #a9d3ef;
  --dark: #1c1c1c;
  --max-width: 1200px;
}

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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
}

header {
  background-color:white;
  color: #0b3c5d;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding-left: 1.5rem;
   padding-right: 1.5rem;
}
.logo {
  width: 200px;      /* ideal for horizontal logos */
  max-height: 50px;  /* prevents vertical overflow */
}
/* ================= HEADER ================= */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

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

/* ================= NAV LINKS ================= */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #111;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    width: 220px;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ================= HAMBURGER ANIMATION ================= */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(
      rgba(11, 60, 93, 0.85),
      rgba(11, 60, 93, 0.85)
    ),
    url("../assets/hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.section {
  padding: 40px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
}

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

.card {
  background: var(--light);
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(164, 72, 72, 0.05);
}

footer {
  background: var(--dark);
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer span {
  color: var(--accent);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  background: rgba(11,60,93,0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.light-bg {
  background: #f5f7fa;
}

.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.highlight-box {
  background: white;
  padding: 25px;
  border-left: 5px solid var(--accent);
}

.btn-outline {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 20px 20px;
}
.page-hero {
  background: linear-gradient(rgba(11,60,93,0.85), rgba(11,60,93,0.85)),
    url("../assets/about-hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 20px 20px;
}

.page-hero h1 {
  margin-bottom: 10px;
}

.narrow {
  max-width: 900px;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.office-block {
  margin-bottom: 40px;
}

.office-block iframe {
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: 6px;
  margin-top: 10px;
}

.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-height: 1500px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.contact-form button {
  margin-top: 15px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* TILE */
.service-item {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* ================= SERVICES ================= */
/* GRID (unchanged) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* SERVICE TILE */
.service-item {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

/* HEADER (Image + Button) */
.service-header {
  overflow: hidden;
  border-radius: 12px;
}

/* IMAGE */
.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* BUTTON */
.service-summary {
  width: 100%;
  padding: 14px;
  background: #1e293b;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* CONTENT (Detached from Grid Flow) */
.service-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: #ffffff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.35s ease, padding 0.3s ease;
  z-index: 10;
}

/* ACTIVE */
.service-item.active .service-content {
  max-height: 320px;
  padding: 16px;
}

.service-content h4 {
  margin-top: 0;
  color: #1e293b;
}

.service-content p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

/* ================= MANAGING PARTNER ================= */
.profile-wrap {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 25px;
  align-items: start;
}

/* Image */
.profile-image img {
  width: 160px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Text */
.profile-content h2 {
  margin-bottom: 5px;
}

.profile-content h3 {
  margin-top: 0;
  font-size: 16px;
  color: #555;
}

/* Section spacing */
.section {
  padding: 45px 0;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .profile-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-image img {
    width: 140px;
    margin: 0 auto 15px;
  }

  .profile-content p {
    text-align: left;
  }
}
/* ================= AFFILIATIONS ================= */

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555;
}

.affiliations-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  align-items: center;
  justify-items: center;
}

.affiliations-logos img {
  max-width: 110px;
  max-height: 60px;
  object-fit: contain;
 
  opacity: 0.8;
  transition: all 0.3s ease;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .affiliations-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .affiliations-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .affiliations-logos img {
    max-width: 90px;
  }
}
/* ================== NEW SERVICES PAGE ===================== */
/* ===== SERVICES DETAIL SECTION ===== */

.services-detail-section {
  background: #f8fafc;
  padding: 80px 20px;
}

.services-detail-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ITEM */
.services-detail-item {
  display: flex;
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.services-detail-item.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.services-detail-image {
  flex: 1;
}

.services-detail-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* CONTENT */
.services-detail-content {
  flex: 1;
}

.services-detail-content h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: #0f172a;
}

.services-detail-content p {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 18px;
  line-height: 1.7;
}

.services-detail-content ul {
  padding-left: 18px;
  margin: 0;
}

.services-detail-content li {
  margin-bottom: 8px;
  color: #334155;
  position: relative;
}

/* CHECK STYLE */
.services-detail-content li::marker {
  color: #1e293b;
}

/* ACTIVE (ON SCROLL) */
.services-detail-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-detail-item,
  .services-detail-item.reverse {
    flex-direction: column;
  }

  .services-detail-image img {
    height: 260px;
  }
}
/* ================== PROPERTY LISTINGS================== */
.property-listing-section {
  padding: 80px 20px;
  background: #f8fafc;
}

.property-listing-container {
  max-width: 1200px;
  margin: auto;
}

.property-listing-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #0f172a;
}

/* GRID */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.property-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

/* IMAGE & STATUS */
.property-image {
  position: relative;
}

.property-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.property-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  color: #fff;
}

.property-status.sale {
  background-color: #16a34a; /* green */
}

.property-status.rent {
  background-color: #2563eb; /* blue */
}

/* INFO */
.property-info {
  padding: 16px 20px 24px;
}

.property-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.property-features {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 8px;
}

.property-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

/* SCROLL ANIMATION */
.property-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .property-image img {
    height: 180px;
  }
}
/* ================ NEW PROPERTY PAGE ========================= */
.property-page-section {
  padding: 20px 20px;
  background: #f8fafc;
}

.property-page-container {
  max-width: 1200px;
  margin: auto;
}

.property-page-container h2 {
  text-align: center;
  font-size: 2rem;
  color: #0f172a;
}

/* GRID */
.property-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.property-page-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

/* IMAGE & STATUS */
.property-page-image {
  position: relative;
}

.property-page-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.property-page-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  color: #fff;
}

.property-page-status.sale {
  background-color: #16a34a; /* green */
}

.property-page-status.rent {
  background-color: #2563eb; /* blue */
}

/* INFO */
.property-page-info {
  padding: 16px 20px 24px;
}

.property-page-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.property-page-features {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 8px;
}
.property-page-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}
/* SCROLL ANIMATION */
.property-page-card.visible {
  opacity: 1;
  transform: translateY(0);
}
/* RESPONSIVE */
@media (max-width: 600px) {
  .property-page-image img {
    height: 180px;
  }
}

/* ================= PROPERTY INTRO ================= */
.property-intro-section {
  background: linear-gradient(135deg, #0b3c5d, #1d6fa5);
  color: #fff;
  padding: 20px 20px 6px;
  text-align: center;
}
.property-intro-container {
  max-width: 1100px;
  margin: auto;
}
.property-intro-container h1 {
  font-size: 38px;
  margin-bottom: 15px;
}
.property-intro-container p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  opacity: 0.9;
}
/* ================= SEARCH BOX ================= */
.property-search-box {
  margin-top: 10px;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.property-search-box input,
.property-search-box select {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  width: 100%;
}
.property-search-box button {
  background: #1d6fa5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.property-search-box button:hover {
  background: #145a86;
  transform: translateY(-2px);
}






