*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* ── Navbar Wrapper ── */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* ── Nav Container (Flexbox) ── */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a2e;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.nav-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

/* ── Nav Menu (Centered on Desktop) ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #1a1a2e;
  background: #f0f0f5;
}

/* ── Right Cluster (Lang + CTA + Hamburger) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

/* ── Language Switch ── */
.custom-lang-switch {
  display: inline-flex;
  background: #f8fafc;
  border-radius: 50px;
  padding: 4px;
  border: 1px solid #cbd5e1;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.lang-btn.active {
  background: #1a1a2e;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-btn:hover:not(.active) {
  color: #1a1a2e;
}

/* ── CTA Button ── */
.btn-talk {
  display: inline-block;
  background: #1a1a2e;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-talk:hover {
  background: #2e2e50;
  transform: translateY(-1px);
}

/* ── Hamburger Button ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #1a1a2e;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: #f0f0f5;
}

/* ══════════════════════════════
   RESPONSIVE — Tablet & Mobile
══════════════════════════════ */
@media (max-width: 991px) {
  .nav-cta {
    display: none; /* Hide Let's Talk button earlier to prevent overlap */
  }
}

@media (max-width: 768px) {
  /* Remove absolute centering for mobile menu container */
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 70px;
    left: 14px;
    right: 0;
    transform: none; /* Reset desktop transform */
    background: #ffffff;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    border-radius: 0 0 10px 10px;
  }

  .nav-menu.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li { width: 100%; }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
  }

  /* Show Hamburger, tweak spacing */
  .nav-toggle { display: block; }
  .nav-right { gap: 10px; }
  .custom-lang-switch { transform: scale(0.9); transform-origin: right center; }
}

@media (max-width: 400px) {
  .nav-logo span { font-size: 1rem; }
}
/* ── Hero Section ── */
.hero {
  position: relative;
  width: 90%;
  height: 85vh;         /* desktop height */
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
  margin: 16px auto;
  max-width: 1500px;
}

/* ── Background Image Layer ── */
.hero-bg {
  position: absolute;
  inset: 0;                    /* top/right/bottom/left: 0 */
  background-image: url('/includes/img/desktop-hero.png');   /* 🖥️ Desktop image */
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

/* ── Dark gradient overlay so text is readable ── */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 60, 90, 0.75) 0%,    /* dark on left where text is */
    rgba(30, 60, 90, 0.15) 60%,   /* fades out to the right */
    rgba(30, 60, 90, 0.0) 100%
  );
}

/* ── Content (text + buttons) ── */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding: 0 60px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);  /* fluid font size */
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── Buttons Row ── */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Explore Projects button */
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-explore:hover {
  background: #f0f0f5;
  transform: translateY(-2px);
}

.btn-explore .arrow {
  font-size: 1rem;
}

/* Our Process button */
.btn-process {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.btn-process:hover {
  opacity: 0.85;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.btn-process:hover .play-icon {
  background: rgba(255, 255, 255, 0.35);
}

/* ── Social Proof Badge (bottom right) ── */
.hero-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px 20px 10px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.badge-avatars {
  display: flex;
  align-items: center;
}

.badge-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}

.badge-avatars img:first-child {
  margin-left: 0;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.badge-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a2e;
}

.badge-stars {
  font-size: 0.75rem;
  color: #444;
}

.badge-stars strong {
  color: #1a1a2e;
}

/* ══════════════════════════════════
   RESPONSIVE — Tablet
══════════════════════════════════ */
@media (max-width: 900px) {
  .hero-content {
    padding: 0 36px;
    max-width: 420px;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — Mobile
   Switch to vertical/portrait image
══════════════════════════════════ */
@media (max-width: 768px) {

  .hero {
    height: 88vh;           /* taller on mobile for portrait image */
    border-radius: 16px;
    margin: 10px 12px;
  }

  /* ✅ SWAP to mobile image */
  .hero-bg {
    background-image: url('/includes/img/mobile-hero.png');   /* 📱 Mobile image */
    background-position: center top;
  }

  /* Gradient adjusts for mobile — dark at bottom where text sits */
  .hero-bg::after {
    background: linear-gradient(
      to top,
      rgba(20, 45, 70, 0.85) 0%,
      rgba(20, 45, 70, 0.4) 45%,
      rgba(20, 45, 70, 0.0) 75%
    );
  }

  /* Text moves to bottom on mobile */
  .hero-content {
    position: absolute;
    bottom: 120px;         /* above the badge */
    top: auto;
    transform: none;
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  /* Badge adjusts for mobile */
  .hero-badge {
    bottom: 20px;
    right: 16px;
    left: 16px;             /* full width on mobile */
    border-radius: 16px;
    justify-content: center;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero-content {
    padding: 0 18px;
    bottom: 130px;
  }
}

/* ── Section Wrapper ── */
.properties-section {
  padding: 72px 20px;
  background: #f8f9fb;
}

.properties-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Heading ── */
.properties-header {
  text-align: center;
  margin-bottom: 28px;
}

.properties-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
}

/* ── Filter Tabs ── */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1.5px solid #e0e0e8;
  color: #555;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
  background: #f0f0f7;
}

.filter-btn.active {
  background: #1a1a2e;
  color: #ffffff;
  border-color: #1a1a2e;
  font-weight: 600;
}

/* ── Cards Grid ── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Property Card ── */
.property-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
}

/* Hide filtered-out cards */
.property-card.hidden {
  display: none;
}

/* ── Card Image ── */
.card-image-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

/* Category badge on image */
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: #1a1a2e;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* ── Card Body ── */
.card-body {
  padding: 16px 18px 18px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 8px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

/* ── Card Features ── */
.card-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #f0f0f5;
  padding-top: 10px;
}

.card-features span {
  font-size: 0.75rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── View More Button ── */
.view-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-view-more {
  display: inline-block;
  background: #ffffff;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  border: 1.5px solid #1a1a2e;
  transition: all 0.25s ease;
}

.btn-view-more:hover {
  background: #1a1a2e;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ══════════════════════
   RESPONSIVE — Tablet
══════════════════════ */
@media (max-width: 960px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ══════════════════════
   RESPONSIVE — Mobile
══════════════════════ */
@media (max-width: 580px) {
  .properties-section {
    padding: 48px 16px;
  }

  .properties-grid {
    grid-template-columns: 1fr;  /* single column on mobile */
    gap: 16px;
  }

  .filter-tabs {
    gap: 8px;
    margin-bottom: 28px;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 7px 15px;
  }

  .card-image-wrap {
    height: 210px;
  }
}
/* ── Section Wrapper ── */
.expertise-section {
  padding: 80px 20px;
  background: #ffffff;
}

.expertise-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Heading ── */
.expertise-header {
  text-align: center;
  margin-bottom: 52px;
}

.expertise-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
}

/* ── Grid ── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Card ── */
.expertise-card {
  background: #f7f8fa;
  border: 1px solid #ebebf0;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.09);
  border-color: #d0d0e0;
}

/* ── Icon ── */
.expertise-icon {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 1px solid #e4e4ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s ease;
}

.expertise-card:hover .expertise-icon {
  background: #f59e0b;
}

.expertise-card:hover .expertise-icon svg {
  stroke: #ffffff;
}

/* ── Card Title ── */
.expertise-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* ── Card Description ── */
.expertise-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

/* ══════════════════════
   RESPONSIVE — Tablet
══════════════════════ */
@media (max-width: 900px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ══════════════════════
   RESPONSIVE — Mobile
══════════════════════ */
@media (max-width: 560px) {
  .expertise-section {
    padding: 52px 16px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .expertise-header {
    margin-bottom: 36px;
  }

  .expertise-card {
    padding: 24px 20px;
  }
}

/* ── Section Wrapper ── */
.gallery-section {
  padding: 80px 20px;
  background: #ffffff;
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Header Row ── */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.3;
}

.btn-view-listings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid #c0c0cc;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.btn-view-listings:hover {
  background: #1a1a2e;
  color: #ffffff;
  border-color: #1a1a2e;
}

/* ══════════════════════════════════════
   GALLERY GRID — Asymmetric 2-row layout
   Row 1: [large (2cols)] [normal]
   Row 2: [large (cont)] [normal] [normal]
══════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 220px;
  gap: 14px;
}

/* Large card spans left col, both rows */
.gallery-card.large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;       /* spans both rows */
}

/* Top-right card */
.gallery-card:nth-child(2) {
  grid-column: 2 / 4;    /* spans 2 columns on the right */
  grid-row: 1 / 2;
}

/* Bottom row — 3 equal cards in columns 1, 2, 3 */
.gallery-card:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.gallery-card:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.gallery-card:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

/* Wait — let's match the design exactly:
   Top: [large left] [wide right spanning 2cols]
   Bottom: [3 equal cards] */

/* ── Individual Card ── */
.gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

/* ── Overlay with "View Details" button ── */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 50, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* "View Details" pill button */
.btn-view-details {
  display: inline-block;
  background: rgba(20, 20, 40, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  transform: translateY(8px);
}

.gallery-card:hover .btn-view-details {
  transform: translateY(0);    /* slides up smoothly on hover */
}

.btn-view-details:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ══════════════════════
   RESPONSIVE — Tablet
══════════════════════ */
@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 12px;
  }

  /* Reset all custom placements */
  .gallery-card.large,
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Large card spans full width on tablet */
  .gallery-card.large {
    grid-column: 1 / -1;   /* full width */
    height: 280px;
  }

  .gallery-card {
    height: 200px;
  }
}

/* ══════════════════════
   RESPONSIVE — Mobile
══════════════════════ */
@media (max-width: 540px) {
  .gallery-section {
    padding: 52px 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-card.large,
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ══════════════════════════
   SHARED
══════════════════════════ */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 40px;
}

/* ══════════════════════════
   TESTIMONIALS
══════════════════════════ */
.testimonials-section {
  padding: 80px 20px;
  background: #f8f9fb;
}

.testimonials-container {
  max-width: 780px;
  margin: 0 auto;
}

/* Slider outer border box (matches design) */
.testimonial-slider-wrap {
  border: 1.5px solid #c5d8f0;
  border-radius: 16px;
  padding: 8px 8px 20px;
  background: #f0f6ff;
}

/* Slides */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Card */
.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tcard-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.tcard-location {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 6px;
}

.tcard-stars {
  color: #1a1a2e;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.tcard-text {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Footer row: signature + nav buttons */
.tcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tcard-signature {
  font-family: 'Brush Script MT', 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: #1a1a2e;
  letter-spacing: 1px;
}

/* Nav buttons */
.tcard-nav {
  display: flex;
  gap: 10px;
}

.tcard-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #ffffff;
  color: #1a1a2e;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.tcard-btn.next {
  background: #1a1a2e;
  color: #ffffff;
  border-color: #1a1a2e;
}

.tcard-btn:hover {
  transform: scale(1.08);
  opacity: 0.85;
}

/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d0de;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active {
  background: #1a1a2e;
  transform: scale(1.25);
}

/* ══════════════════════════
   FAQ
══════════════════════════ */
.faq-section {
  padding: 80px 20px;
  background: #ffffff;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid #e8e8f0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #3a3a6e;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: #888;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #1a1a2e;
}

/* Answer (accordion) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.75;
  padding-bottom: 18px;
  padding-right: 24px;
}

/* ══════════════════════
   RESPONSIVE — Mobile
══════════════════════ */
@media (max-width: 600px) {
  .testimonials-section,
  .faq-section {
    padding: 52px 16px;
  }

  .testimonial-card {
    padding: 22px 20px;
  }

  .tcard-signature {
    font-size: 1.2rem;
  }

  .faq-question {
    font-size: 0.88rem;
    padding: 16px 4px;
  }
}
/* ══════════════════════════
   BLOGS SECTION
══════════════════════════ */
.blogs-section {
  padding: 80px 20px;
  background: #ffffff;
}

.blogs-container {
  max-width: 1100px;
  margin: 0 auto;
}

.blogs-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 36px;
}

/* 3-col grid */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Blog Card ── */
.blog-card {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
}

.blog-image-wrap {
  position: relative;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
}

.blog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image-wrap img {
  transform: scale(1.05);
}

/* Overlay */
.blog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 50, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

.btn-read-article {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.2s ease, transform 0.25s ease;
  transform: translateY(8px);
}

.blog-card:hover .btn-read-article {
  transform: translateY(0);
}

/* Card Body */
.blog-body {
  padding: 16px 4px 0;
}

.blog-read-time {
  display: inline-block;
  font-size: 0.75rem;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.blog-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
  background: #111827;
  color: #ccc;
  padding: 64px 20px 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Top Row: 4 columns */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* Brand Column */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* makes logo white */
}

.footer-logo span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #8892a0;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 260px;
}

/* Email CTA */
.footer-cta-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #444;
  padding-bottom: 8px;
  gap: 10px;
}

.footer-email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ccc;
  font-size: 0.85rem;
  padding: 4px 0;
}

.footer-email-input::placeholder {
  color: #666;
}

.footer-email-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-email-btn:hover {
  color: #ffffff;
}

/* Link Columns */
.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.82rem;
  color: #8892a0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid #1f2937;
}

/* Bottom Row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.78rem;
  color: #6b7280;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ══════════════════════
   RESPONSIVE — Tablet
══════════════════════ */
@media (max-width: 900px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1; /* full width on tablet */
  }
}

/* ══════════════════════
   RESPONSIVE — Mobile
══════════════════════ */
@media (max-width: 560px) {
  .blogs-section {
    padding: 52px 16px;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer {
    padding: 48px 16px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 16px;
  }
}