/* =========================
   CAPC UI
   ========================= */

:root{
  --bg: #ffffff;
  --muted-bg: #e0e6ed60;
  --text: #000000;
  --muted: #6b6b6b;

  --primary: #5168c1;
  --primary-dark: #5168c1;

  --radius-lg: clamp(18px, 2vw, 26px);
  --radius-md: clamp(12px, 1.5vw, 18px);
  --radius-sm: clamp(8px, 1vw, 12px);

  --container-max: 1640px;
  --nav-h: 92px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--nav-h);
}

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

.wrap{
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(14px, 1.3vw, 18px);
}

.feature .row{
  --bs-gutter-x: clamp(1rem, 4vw, 4rem);
}

@media (max-width: 768px){
  .feature .row{
    --bs-gutter-x: 0;
  }
  .feature .row > [class*="col-"]:last-child{
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px){
  .wrap{
    padding-left: 28px;
    padding-right: 28px;
  }
}

html.i18n-pending body { visibility: hidden; }
html.i18n-ready body { visibility: visible; }

/* =========================
   NAVBAR (pill)
   ========================= */

.navbar.navbar-custom .navbar-brand img{
  height: clamp(48px, 4.7vw, 68px) !important;
}

.navbar.navbar-custom .navbar-nav{
  gap: clamp(6px, 0.7vw, 10px);
}

/* ================================
   Navbar underline (inner pages)
   ================================ */

body.inner-page .navbar {
    border-bottom: 1.5px solid #5c6df2;
    box-shadow: none;
}

/* IMPORTANT:
   Do NOT paint the whole desktop navbar-collapse white
   (this is what created the big white bar on the home hero).
   We only paint it on mobile when it opens. */
.navbar-collapse{
  background: transparent;
  box-shadow: none !important;
  padding: 0;
  margin-top: 0;
  border-radius: 0;
}

/* ALWAYS keep navbar above everything */
.navbar.navbar-custom{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999 !important;
}

/* Navbar horizontal spacing */
.navbar.navbar-custom .container-fluid{
  padding-left: clamp(16px, 5vw, 100px);
  padding-right: clamp(16px, 5vw, 100px);
}

/* Navbar horizontal spacing on mobile */
@media (max-width: 768px){
  .navbar.navbar-custom .container-fluid{
    padding-left: clamp(12px, 5vw, 28px);
    padding-right: clamp(12px, 5vw, 28px);
  }
}

/* Mobile menu only (when collapsed) */
@media (max-width: 991.98px){
  .navbar-collapse {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
  }

  /* Apply overlay during animation AND when fully open */
  .navbar-collapse.collapsing,
  .navbar-collapse.show {
    position: fixed !important;
    inset: 0 !important;
    background: #E0E6ED !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
  }

  /* Remove Bootstrap's slide animation — instant pop */
  .navbar-collapse.collapsing {
    height: auto !important;
    transition: none !important;
  }
}

.navbar.navbar-custom .nav-link{
  color: #000000 !important;
  font-weight: 500;
  padding: clamp(8px, 0.9vw, 10px) clamp(12px, 1.1vw, 16px) !important;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.navbar.navbar-custom .nav-link:hover{
  background: rgba(17,17,17,0.06);
}

.navbar.navbar-custom .nav-link.active{
  background: #5168c150;
  color: #000000 !important;
}

/* Home page: transparent navbar over hero */
body.home-page{
  padding-top: 0;
}

/* Make the navbar truly transparent on home (top state) */
body.home-page .navbar.navbar-custom{
  background: transparent !important;
  box-shadow: none !important;
}

/* White links on hero (top state) */
body.home-page .navbar.navbar-custom .nav-link{
  color: #ffffff !important;
  background: transparent;
}

body.home-page .navbar.navbar-custom .nav-link:hover{
  background: #e0e6ed60;
}

/* When scrolled: turn navbar white + links dark (like your design) */
body.home-page.is-scrolled .navbar.navbar-custom{
  background: #ffffff !important;
  box-shadow: none !important;
  border-bottom: 1.5px solid #5c6df2;
}

body.home-page.is-scrolled .navbar.navbar-custom .nav-link{
  color: #000000 !important;
}

body.home-page.is-scrolled .navbar.navbar-custom .nav-link.active{
  background: rgba(86,97,197,0.22) !important;
  color: #000000 !important;
}

/* Mobile toggler */
.navbar-toggler{ border: 0; box-shadow: none !important; }

/* Make hamburger visible on home hero */
body.home-page .navbar-toggler-icon{
  filter: brightness(0) invert(1);
}

/* After scroll (white navbar), hamburger should be dark again */
body.home-page.is-scrolled .navbar-toggler-icon{
  filter: none;
}

/* INNER PAGES: navbar should always be solid white */
body.inner-page .navbar.navbar-custom{
  background: #ffffff !important;
  box-shadow: none !important;
  border-bottom: 1.5px solid #5c6df2; /* your blue underline */
  z-index: 99999 !important;
}

/* Inner pages links should be dark */
body.inner-page .navbar.navbar-custom .nav-link{
  color: #000000 !important;
}

/* Inner pages toggler icon should be dark (no invert filter) */
body.inner-page .navbar-toggler-icon{
  filter: none !important;
}

/* HERO headings: white + big */
.home-page .hero-content h1,
.home-page .hero-content h2{
  color: #fff !important;
}

/* Hide mobile footer on desktop */
.mobile-nav-footer {
  display: none;
}

/* 2) MOBILE NAV — full screen overlay */
@media (max-width: 991.98px) {

  /* Cancel the earlier white-dropdown style */
  .navbar-collapse {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
  }

  /* Only activate overlay when Bootstrap adds .show */
  .navbar-collapse.show {
    position: fixed !important;
    inset: 0 !important;
    background: #E0E6ED !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 100px 30px 80px !important;
    z-index: 9998 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    overflow-y: auto !important;
  }

  .navbar-collapse.show::before {
  content: '';
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  height: 1.0px;
  background: #5c6df2;
  z-index: 99999;
}

  /* Center the nav links */
  .navbar-collapse.show .navbar-nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 50px !important;
    padding-top: 80px !important;
  }

  /* Links inside open menu — always light colored, never black */
  .navbar-collapse.show .nav-link,
  body.home-page .navbar-collapse.show .nav-link,
  body.home-page.is-scrolled .navbar-collapse.show .nav-link,
  body.inner-page .navbar-collapse.show .nav-link {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
  }

  .navbar-collapse.show .nav-link.active {
    background: #5168C180 !important;
    color: #5168C180 !important;
  }

  .navbar-collapse.show .nav-link:hover {
    background: #5168C180 !important;
  }

  /* Show footer only inside open mobile menu */
  .navbar-collapse.show .mobile-nav-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .mobile-nav-footer .mobile-nav-logo {
    width: 45px !important;
    height: 45px !important;
  }

  /* Group all 3 social icons together on the right */
  .mobile-nav-socials {
    display: flex !important;
    gap: 18px !important;
    align-items: center !important;
  }

  .mobile-nav-socials img {
    width: 25px !important;
    height: 25px !important;
  }

  /* Keep navbar brand + toggler above the overlay */
  .navbar.navbar-custom {
    z-index: 99999 !important;
  }

  .navbar.navbar-custom .navbar-brand,
  .navbar.navbar-custom .navbar-toggler {
    position: relative !important;
    z-index: 99999 !important;
  }

  /* Home page hero: keep toggler white before scroll */
  body.home-page:not(.is-scrolled) .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }
  body.home-page.is-scrolled .navbar-toggler-icon {
    filter: none;
  }

  /* But when menu is open, always show X clearly */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    filter: none !important;
  }

  /* Hide default hamburger when open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 24px;
  height: 24px;
}

/* Draw the X using pseudo elements */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 2px;
  background: #5c6df2;
  border-radius: 2px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}
}

/* =========================
   BUTTONS (pill + arrow circle)
   ========================= */
.btn.btn-primary{
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  padding: clamp(10px, 0.9vw, 12px) clamp(14px, 1.3vw, 18px);
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(86,97,197,0.25);
}
.btn.btn-primary:hover{ background: var(--primary-dark); }

.btn-pill{
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 12px);
  padding: clamp(10px, 0.9vw, 12px) clamp(14px, 1.3vw, 18px);
}
.btn-pill .arrow{
  width: clamp(28px, 2.5vw, 36px);
  height: clamp(28px, 2.5vw, 36px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
}

/* =========================
   HOME HERO
   ========================= */
.hero{
  min-height: 92vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(80px, 8.3vw, 120px) clamp(14px, 1.3vw, 18px) clamp(50px, 4.9vw, 70px);
  background-position: center;
  background-size: cover;
}

.hero::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero .hero-content{
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* =========================
   HOME HEADERS
   ========================= */

body.home-page .hero .hero-content h1{
  color: #ffffff !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
  font-size: clamp(2.8rem, 6.2vw, 5.5rem) !important;
  line-height: 1.05 !important;
  text-shadow: 0 14px 38px rgba(0,0,0,0.45);
}

html[lang="el"] .home-page  .hero .hero-content h1{
  max-width: 900px;
  width: 100%;
}

body.home-page .hero .hero-content h2{
  color: #ffffff !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300 !important;
  font-size: clamp(3rem, 5.0vw, 5.5rem) !important;
  line-height: 1.1 !important;
  margin-top: 6px !important;
  text-shadow: 0 14px 38px rgba(0,0,0,0.45);
}

body.home-page .hero p.lead{
  font-size: clamp(1.2rem, 1.5vw, 2rem);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  max-width: 600px;
  width: 100%;
  padding: 0 10px;
  margin-top: 30px !important;
  margin: 0 auto clamp(20px, 2.1vw, 30px);
  text-align: center;
  color: #FFFFFF !important;
}

/* =========================
   FEATURE SECTIONS (Design / Building)
   ========================= */
.feature{
  padding: clamp(50px, 6.3vw, 90px) 0;
}

/* HOME page – feature sections: text first on mobile */
@media (max-width: 768px){
  body.home-page .feature .row{
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px){
  body.home-page .feature{
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px){
  body.home-page .feature .feature-img{
    aspect-ratio: 6 / 4;
    }
}

.feature.feature--muted{
  background: var(--muted-bg);
}

body.home-page .feature .badge{
  border-radius: 999px;
  padding: clamp(7px, 0.8vw, 9px) clamp(12px, 1.1vw, 16px);
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 16px);
  border: 1px solid #E0E6ED;
  background: #ffffff;
  color: var(--primary);
}

body.home-page .feature h2{
  font-size: clamp(2.5rem, 3.2vw, 5rem);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  margin: clamp(7px, 0.7vw, 10px) 0 clamp(8px, 0.8vw, 12px);
}

body.home-page .feature p{
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Bigger feature images */
.feature .feature-img{
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature .feature-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   BIG CTA HERO (Apartments on home)
   ========================= */
.cta-hero{
  min-height: 80vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(50px, 6.3vw, 90px) clamp(14px, 1.3vw, 18px);
  background-position: center;
  background-size: cover;
}

.cta-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

.cta-hero .inner{
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.cta-hero h3{
  font-size: clamp(2.8rem, 4.5vw, 5rem) !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0 0 clamp(7px, 0.7vw, 10px);
  color: #fff;
}

.cta-hero p{
  margin: 0 auto clamp(14px, 1.5vw, 22px);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  line-height: 1.6;
}

/* =========================
   PAGE HEADERS (Projects)
   ========================= */
.page-header{
  padding: clamp(50px, 5.6vw, 80px) 0 clamp(30px, 3.5vw, 50px);
  text-align: center;
}

.page-header h2{
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  margin: 0 0 clamp(18px, 2.1vw, 30px);
}

.page-header p{
  margin: 0 auto;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  max-width: 720px;
  color: var(--muted);
}

/* Projects grid cards */
.project-card{
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eef1f4;
}

.project-card .project-img{
  height: clamp(180px, 18vw, 260px);
  background: #dfe5ec;
  overflow: hidden;
}

.project-card .project-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card .card-body{
  padding: clamp(12px, 1.1vw, 16px);
}

.tag-pill{
  display: inline-block;
  border: 1px solid rgba(86,97,197,0.55);
  color: var(--primary);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .78rem;
  margin-right: 8px;
}

/* =========================
   ABOUT PAGE (team section)
   ========================= */

/* =========================
   GLOBAL & UTILITY
   ========================= */
:root {
    --primary-blue: #5168C1;
    --border-light: #E0E6ED;
    --white: #ffffff;
}

/* =========================
   HISTORY SECTION (Light)
   ========================= */
.history-section {
    padding: clamp(60px, 6.9vw, 100px) 0;
    background-color: var(--white);
}

/* Specific Badge for Light Section */
.history-section .badge {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: clamp(7px, 0.8vw, 9px) clamp(12px, 1.1vw, 16px);
    font-weight: 500;
    font-size: clamp(13px, 1.1vw, 16px);
    margin-bottom: clamp(14px, 1.4vw, 20px);
    display: inline-block;
}

.history-section h2 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(16px, 1.7vw, 25px);
}

.history-section p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    max-width: 540px;
}

.history-section-img img {
    width: 100%;
    height: auto;
    border-radius: clamp(16px, 1.9vw, 24px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* =========================
   TEAM SECTION (Blue Background)
   ========================= */
.team-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: clamp(60px, 6.9vw, 100px) 0;
}

/* Badge for Dark Section */
.team-section .badge {
    background: transparent;
    color: var(--white);
    border: 1px solid #E0E6ED;
    font-size: clamp(13px, 1.1vw, 16px);
    border-radius: 50px;
    padding: clamp(7px, 0.8vw, 9px) clamp(12px, 1.1vw, 16px);
    margin-bottom: clamp(14px, 1.4vw, 20px);
    display: inline-block;
}

.team-section h2 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    margin-bottom: clamp(14px, 1.4vw, 20px);
}

/* Team Card Styling */
.team-card {
    min-width: 400px;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: clamp(20px, 2.5vw, 30px);
    padding: clamp(20px, 2.4vw, 35px);
    color: var(--white);
    transition: transform 0.3s ease;
}

.team-header-side {
    min-width: clamp(140px, 14vw, 180px);
}

.name-text {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.title-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* The Bio Box inside the Card */
.bio-border-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(16px, 2.1vw, 30px);
    border-radius: clamp(16px, 2vw, 25px);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
}

/* =========================
   MOBILE RESPONSIVENESS (Phone)
   ========================= */
@media (max-width: 768px) {
    .team-section,
    .team-section .wrap {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;

    }

    .team-section{
      padding-bottom: 25px !important;
    }

    .team-section .col-lg-7 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    }

    .team-section .wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
    }

   .team-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 25px !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    }

    .team-card .card-body {
        flex-direction: column !important;
        padding: 0 !important;
        gap: 12px !important;
        padding-bottom: 0px !important;
    }

    .team-card .card-body.d-flex {
        gap: 0 !important;
    }

    .team-header-side {
        padding: 20px 20px 20px 20px !important;

    }

   .bio-border-box {
      margin: 0 !important;
      border-radius: 25px !important;
      padding: 16px !important;
    }
  }

/* =========================
   CONTACT PAGE
   ========================= */
.contact-wrap{
  padding: clamp(50px, 5.6vw, 80px) 0;
}

.contact-title{
  color: var(--primary);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  margin-bottom: clamp(14px, 1.5vw, 22px);
}

.form-control{
  border-radius: 999px;
  padding: clamp(8px, 0.8vw, 11px) clamp(10px, 1vw, 14px);
  border: 1px solid rgba(0,0,0,0.10);
}

textarea.form-control{
  border-radius: 16px;
}

.office-card{
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.9vw, 42px) clamp(24px, 2.9vw, 42px) clamp(20px, 2.4vw, 34px);
  min-height: clamp(460px, 45vw, 650px);
  position: relative;
  overflow: hidden;
}

.office-card h3{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  margin: 0 0 clamp(7px, 0.7vw, 10px);
}

.office-card p{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0 0 clamp(12px, 1.3vw, 18px);
  color: rgba(255,255,255,0.85);
}

.office-map{
  position: absolute;
  left: clamp(24px, 2.9vw, 42px);
  right: clamp(24px, 2.9vw, 42px);
  bottom: clamp(24px, 2.9vw, 42px);
  height: 50%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.14);
}

.office-map iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
            FOOTER
   ========================= */
footer{
  background: var(--muted-bg);
  padding: clamp(28px, 3.2vw, 46px) 0 clamp(14px, 1.4vw, 20px);
  margin-top: auto;
}

.footer-top{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(14px, 1.5vw, 22px);
  align-items: start;
}

/* FIX: proper circular logo holder for the footer image */
.footer-logo{
  width: clamp(38px, 3.6vw, 52px);
  height: clamp(38px, 3.6vw, 52px);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(86,97,197,0.15);
  display: grid;
  place-items: center;
  margin-bottom: clamp(10px, 1vw, 14px);
}

.footer-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-icons{
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-icons a{
  color: var(--primary);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-right: clamp(8px, 0.8vw, 12px);
  text-decoration: none;
}

footer h6{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}

footer a{
  color: #000000;
  text-decoration: none;
}
footer a:hover{
  text-decoration: underline;
}

footer p{
  color: #000000;
}

.footer-line{
  margin: clamp(14px, 1.5vw, 22px) 0 clamp(10px, 1vw, 14px);
  border: 0;
  height: 2px;
  opacity: 1;
  background: #5168c1;
}

.footer-bottom{
  color: rgba(0,0,0,0.65);
  font-size: .9rem;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px){
  .footer-top{ grid-template-columns: 1fr; }
  .office-card{ min-height: 460px; }
  .office-map{
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: 280px;
    margin-top: 18px;
  }

  .office-card {
    padding: 24px 20px !important;
  }
  .office-map {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 280px;
    margin-top: 18px;
    width: 100%;
  }
}
/* =========================
   Apartments Listing Page
   ========================= */

.apts-header{
  padding: clamp(50px, 5.6vw, 80px) 0 clamp(16px, 1.9vw, 28px);
  text-align: center;
}

.apts-header h1{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin: 0 0 clamp(7px, 0.7vw, 10px);
}

.apts-header p{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

/* Cards row */
.apts-grid{
  padding: clamp(16px, 1.7vw, 25px) 0 clamp(60px, 6.9vw, 100px);
}

.apt-card{
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 10px;
  color: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,0.10);
}

.apt-card .thumb{
  border-radius: clamp(10px, 1.2vw, 14px);
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  height: clamp(180px, 17vw, 250px);
}

.apt-card .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apt-card .meta{
  padding: 10px 8px 4px;
  font-size: .78rem;
  color: rgba(255,255,255,0.9);
}

.apt-card .meta .loc{
  margin: 0 0 8px;
  opacity: .95;
  font-size: 1rem;
}

.apt-stats{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.apt-icons{
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1vw, 14px);
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
}

.apt-icons span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.apt-icons i{
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  opacity: .95;
}

/* Brochure pill */
.apt-brochure{
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-radius: 999px;
  padding: clamp(4px, 0.5vw, 6px) clamp(8px, 0.8vw, 12px);
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.apt-brochure:hover{
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* Black "Let's talk" strip */
.talk-strip{
  background: #000;
  padding: clamp(40px, 4.9vw, 70px) 0;
}

.talk-strip .talk-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 1.7vw, 24px);
}

.talk-strip .talk-left h2{
  margin: 0;
  font-size: clamp(2.4rem, 3.3vw, 3rem);
  font-weight: 800;
  color: #fff;
  font-style: italic;
}

.talk-strip .talk-left p{
  margin: 6px 0 0;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.talk-strip .talk-btn{
  background: rgba(86,97,197,0.95);
  border-radius: 999px;
  padding: clamp(10px, 0.9vw, 12px) clamp(14px, 1.3vw, 18px);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 12px);
  box-shadow: 0 12px 28px rgba(86,97,197,0.20);
}
.talk-strip .talk-btn:hover{
  background: rgba(86,97,197,1);
  color: #fff;
}
.talk-strip .talk-btn .arrow{
  width: clamp(26px, 2.4vw, 34px);
  height: clamp(26px, 2.4vw, 34px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
}

/* Responsive */
@media (max-width: 992px){
  .talk-strip .talk-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100% !important;
  }
  .talk-strip {
    padding: 40px 20px !important;
  }
  .talk-strip .talk-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  footer {
    padding: 30px 0 16px !important;
  }
  .footer-top {
    padding: 0 8px !important;
  }
}
