:root {
    --primary-blue: #0b4fb3;
    --secondary-blue: #1e6bd6;
    --accent-orange: #ff9800;
  
    --text-dark: #222;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
  
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
  
    --container-width: 1240px;
    --container-padding: 24px;
  
    --font-main: Inter, system-ui, sans-serif;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
  }
  
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
  body {
    background: #f8fafc;
    color: #0f172a;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  /* Page fully visible */
body.page-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Page exit animation */
body.page-exit {
  opacity: 0;
  transform: translateY(-8px);
}
  
  .container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
  
  .section {
    padding: clamp(72px, 8vw, 120px) 0;
  }
  
  .section-sm {
    padding: clamp(48px, 6vw, 72px) 0;
  }
  
  .section-lg {
    padding: clamp(80px, 10vw, 140px) 0;
  }
  
  h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
  }
  
  h2 {
    font-size: clamp(24px, 4vw, 36px);
  }
  
  h3 {
    font-size: clamp(20px, 3vw, 28px);
  }
  
  p {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.7;
    color: var(--text-light);
  }
  

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--accent-orange);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.25);
    transition: all 0.25s ease;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 152, 0, 0.35);
  }

  .navbar {
    height: 80px;
    width: 100%;
   background: linear-gradient(135deg, #003ea8, #0057d8);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  
    display: flex;
    align-items: center;
  }
  
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Hamburger hidden on desktop */
  .nav-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
  }


  .nav-toggle {
    width: 40px;
    height: 32px;
    position: relative;
  }
  
  /* Lines */
  .nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.35s ease;
  }
  
  /* Line positions */
  .nav-toggle span:nth-child(1) {
    top: 0;
  }
  
  .nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-toggle span:nth-child(3) {
    bottom: 0;
  }
  
  /* ACTIVE → X */
  .nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: rotate(-45deg);
  }

  .nav-toggle.active span {
    background: var(--brand-orange);
  }
  

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  
  body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* LOGO */
  .logo {
    white-space: nowrap;
    flex: 0 0 auto;
    font-weight: 800; 
    display: flex;   
    align-items: center;
    color: orange;

    font-size: 24px;  /* Adjust this number to make it bigger/smaller */
    gap: 12px;
  }
  
  .logo img {
    height: 60px;     /* Fits nicely inside your 80px navbar */
    width: auto;      /* Maintains the correct aspect ratio */
    display: block;
  }

  /* NAV */
  .navbar nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .navbar nav a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
  }
  
  .navbar nav a:hover {
    background: #f2f4f7;
  }
  
  .navbar nav .active {
    background: var(--accent-orange);
    color: #fff;
  }
  
  .navbar .btn-primary {
    font-weight: 500;
    white-space: nowrap;
  }
  
  
  .logo {
    flex: 0 0 auto;
    font-weight: 600;
  }

.property-card,
.agent-card,
.highlight-card,
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(15,23,42,0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.property-card:hover,
.agent-card:hover {
  transform: translateY(-6px);
}

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

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

/* =========================
   FOOTER (GLOBAL)
========================= */
.footer {
    background: linear-gradient(180deg, #0b1220, #020617);
    color: #cbd5e1;
    padding-top: 80px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    align-items: start;
  }
  
  /* BRAND */
  .footer-brand h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
  }
  
  .brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  
  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  
  .brand-desc {
    max-width: 360px;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  
  /* SOCIAL ICONS */
  .social-links {
    display: flex;
    gap: 14px;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
  }
  
  .social-links a:hover {
    background: var(--accent-orange);
    color: #fff;
  }
  
  /* COLUMNS */
  .footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .footer-col a,
  .footer-col p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 14px;
    text-decoration: none;
  }
  
  .footer-col a:hover {
    color: var(--accent-orange);
  }
  
  /* CONTACT */
  .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .contact-item span {
    color: var(--accent-orange);
  }
  
  /* BOTTOM BAR */
  .footer-bottom {
    width: 100%;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  
.footer-accordion {
  display: block;
}


.footer-grid {
  align-items: flex-start;
}

  .footer-accordion-toggle {
    display: none;
  }
  
  /* Always show contact content on desktop */
  .footer-accordion-content {
    max-height: none;
    overflow: visible;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 600px) {
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .brand-row {
      justify-content: center;
    }
  
    .social-links {
      justify-content: center;
    }
  
    .contact-item {
      justify-content: center;
    }
  }

  /* =========================
   PROPERTY CARD
========================= */

.property-card {
    display: block;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  }
  
  .property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  /* INFO */
  .property-info {
    padding: 20px;
  }
  
  .property-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 6px;
  }
  
  .property-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
  }
  
  /* META */
  .property-meta {
    font-size: 14px;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  /* BADGE */
  .property-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 500;
  }
  
  /* =========================
   MOBILE NAVBAR
========================= */

@media (max-width: 900px) {

  /* Show hamburger */
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  header nav a.btn-primary {
    display: block;
    width: 50%;
    text-align: center;

    padding: 14px 20px;
    border-radius: 999px;

    background: var(--accent-orange);
    border: 2px solid var(--brand-orange);

    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;

    transition: all 0.3s ease;
  }

  
  /* Hover / active */
  header nav a.btn-primary:hover {
    background: var(--brand-orange);
    color: #ffffff;
    transform: translateY(-2px);
  }


  /* Hide normal nav layout */
  header nav {
    position: fixed;
    top: 80px; /* below navbar */
    right: -320px; /* hide just outside */
    width: 300px;
    height: calc(100vh - 80px);

    background: var(--primary-blue);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px;

    transition: right 0.35s ease;
    z-index: 1000;

    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    
    opacity: 1;
    
  }

  /* When menu is open */
  header nav.open {
    right: 0;
    opacity: 1;
  }

  /* Nav links */
  header nav a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
  }

  /* Prevent background scroll */
  body.menu-open {
    overflow: hidden;
  }
}

/* =========================
   TRANSPARENT NAVBAR (HOME – MOBILE)
========================= */

@media (max-width: 900px) {
  body.home-page .navbar {
    background: linear-gradient( to bottom,rgba(0,0,0,0.4),rgba(0,0,0,0));
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  body.home .nav-toggle span {
    background: #ffffff; /* hamburger stays visible on hero */
  }
}

/* =========================
   HOME PAGE – TRANSLUCENT MOBILE MENU
========================= */

@media (max-width: 900px) {
  body.home-page header nav.open {
    background: linear-gradient( to bottom,rgba(0,0,0,0.4),rgba(0,0,0,0));
    
  }
}

@media (max-width: 900px) {

  /* Hide Quick Links */
  .footer-col:nth-child(2) {
    display: none;
  }

  /* Accordion */
  .footer-accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .footer-accordion.open .footer-accordion-content {
    max-height: 600px;
  }

  .footer-accordion .arrow {
    transition: transform 0.3s ease;
  }

  .footer-accordion.open .arrow {
    transform: rotate(180deg);
  }

  .footer {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }
}


