/* =====================
   GOOGLE FONT
===================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

/* =====================
   RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================
   THEME
===================== */
:root {
  --bg: #f9fafb;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;   /* rich blue */
  --accent-soft: #eff6ff;
  --border: #e5e7eb;
}

/* =====================
   BASE
===================== */
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* =====================
   ALL LINKS (GLOBAL)
===================== */
a {
  color: var(--accent);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a:hover {
  color: #1e40af;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.6s ease;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.navbar nav a {
  margin-left: 28px;
  font-size: 14px;
  font-weight: 500;
}

/* =====================
   HERO
===================== */
.hero {
  padding: 120px 64px;
  background: linear-gradient(
    180deg,
    var(--white),
    var(--accent-soft)
  );
}

.hero-content {
  max-width: 720px;
  animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  margin-bottom: 20px;
}

.tagline {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero p {
  margin-bottom: 16px;
}

/* =====================
   BUTTON
===================== */
.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
  color: #fff;
}

/* =====================
   WHY US SECTION (FIXED)
===================== */
.why-us {
  padding: 100px 64px;
  background: var(--bg);
}

.why-us h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

/* =====================
   FOOTER
===================== */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px;
  font-size: 13px;
  color: var(--muted);
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* =====================
   MOBILE
===================== */
@media (max-width: 900px) {
  .hero,
  .why-us {
    padding: 80px 28px;
  }

  .navbar {
    padding: 18px 28px;
  }

  .hero h1 {
    font-size: 44px;
  }
}
/* =====================
   PAGE HEADER (LISTINGS)
===================== */
.page-header {
  padding: 110px 64px 80px;
  text-align: center;
  background: linear-gradient(
    180deg,
    #ffffff,
    #f1f5f9
  );
  animation: fadeUp 0.7s ease forwards;
}

.page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  margin-bottom: 14px;
}

.page-header p {
  max-width: 720px;
  margin: auto;
  font-size: 16px;
}

/* =====================
   LISTINGS SECTION
===================== */
.listings {
  padding: 100px 64px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px;
}

/* =====================
   LISTING CARDS (PRETTY)
===================== */
.listing-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  animation: fadeUp 0.8s ease both;
}

.listing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.14);
}

.listing-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.listing-card:hover img {
  transform: scale(1.06);
}

/* =====================
   CARD CONTENT
===================== */
.listing-info {
  padding: 28px;
}

.listing-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.listing-info p {
  font-size: 14px;
  margin-bottom: 14px;
}

.price {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* =====================
   STAGGER EFFECT (NICE TOUCH)
===================== */
.listing-card:nth-child(1) { animation-delay: 0.05s; }
.listing-card:nth-child(2) { animation-delay: 0.1s; }
.listing-card:nth-child(3) { animation-delay: 0.15s; }
.listing-card:nth-child(4) { animation-delay: 0.2s; }
.listing-card:nth-child(5) { animation-delay: 0.25s; }
.listing-card:nth-child(6) { animation-delay: 0.3s; }

/* =====================
   MOBILE
===================== */
@media (max-width: 900px) {
  .page-header,
  .listings {
    padding: 80px 28px;
  }

  .page-header h1 {
    font-size: 36px;
  }
}
/* =====================
   ABOUT PAGE HEADER (REFINE)
===================== */
.page-header {
  animation: fadeUp 0.7s ease forwards;
}

/* =====================
   ABOUT SECTION
===================== */
.about-section {
  padding: 100px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: var(--bg);
}

.about-text {
  animation: fadeUp 0.9s ease both;
}

.about-text:nth-child(2) {
  animation-delay: 0.15s;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 15px;
  margin-bottom: 14px;
}

/* =====================
   VALUES SECTION
===================== */
.values {
  padding: 110px 64px;
  background: linear-gradient(
    180deg,
    #f8fafc,
    #ffffff
  );
  text-align: center;
}

.values h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-bottom: 70px;
}

/* =====================
   VALUES GRID
===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 44px;
}

/* =====================
   VALUE CARD
===================== */
.value-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  animation: fadeUp 0.8s ease both;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.14);
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
}

/* =====================
   STAGGER EFFECT
===================== */
.value-card:nth-child(1) { animation-delay: 0.05s; }
.value-card:nth-child(2) { animation-delay: 0.15s; }
.value-card:nth-child(3) { animation-delay: 0.25s; }

/* =====================
   MOBILE
===================== */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    padding: 80px 28px;
  }

  .values {
    padding: 90px 28px;
  }

  .values h2 {
    font-size: 32px;
  }
}
/* =====================
   CONTACT SECTION
===================== */
.contact-section {
  padding: 100px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: var(--bg);
}

.contact-info {
  animation: fadeUp 0.8s ease both;
}

.contact-form {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.15s;
}

.contact-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 18px;
}

.contact-info p {
  margin-bottom: 14px;
}

.info-block {
  margin-top: 22px;
}

.info-block strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-block a {
  display: inline-block;
  margin-top: 4px;
}

/* =====================
   FORM STYLING
===================== */
.contact-form form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* =====================
   MAP (FULL WIDTH, CLEAN)
===================== */
.map-section {
  margin: 0 64px 100px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
    padding: 80px 28px;
  }

  .map-section {
    margin: 0 28px 80px;
  }
}
.why-us {
  padding: 100px 64px;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.why-images {
  display: grid;
  gap: 24px;
}

.why-images img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.why-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .hero,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-us {
    padding: 80px 28px;
  }
}

/* shjsah */


/* =====================
   WHY US — FINAL POLISH
===================== */

.why-us {
  padding: 110px 64px;
  background: linear-gradient(
    180deg,
    #ffffff,
    #f8fafc
  );
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  align-items: center;
}

/* IMAGE STACK */
.why-images {
  display: grid;
  gap: 28px;
}

.why-images img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}

.why-images img:hover {
  transform: scale(1.03);
}

/* TEXT SIDE */
.why-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-bottom: 40px;
}

/* CARDS */
.cards {
  display: grid;
  gap: 26px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 28px;
  border: 1px solid #e5e7eb;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateX(6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: #64748b;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-us {
    padding: 80px 28px;
  }

  .why-images img {
    height: 220px;
  }
}
/* ABOUT IMAGE */
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* FOUNDERS */
.founders {
  padding: 110px 64px;
  background: #ffffff;
  text-align: center;
}

.founders h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 60px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  max-width: 900px;
  margin: auto;
}

.founder-card {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.founder-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}

.founder-card h3 {
  margin-bottom: 10px;
}

.founder-card p {
  font-size: 14px;
  color: #64748b;
}

/* MOBILE */
@media (max-width: 900px) {
  .founders {
    padding: 80px 28px;
  }
}
.about-text img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* ABOUT TEAM IMAGE FIX */
.about-text img {
  width: 100%;
  max-width: 420px;     /* controls size */
  height: 260px;        /* consistent height */
  object-fit: cover;
  border-radius: 18px;
  margin: 20px 0 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =====================
   VALUES IMAGE FIX
===================== */

.value-card {
  text-align: center;
}

.value-card img {
  width: 100%;
  max-width: 220px;      /* controls image size */
  height: 140px;         /* uniform height */
  object-fit: cover;
  border-radius: 14px;
  margin: 14px auto 18px;
  display: block;
  filter: grayscale(15%);
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover polish */
.value-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .logo {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    text-align: center;
  }
}
/* =====================
   MOBILE NAVBAR – PROPER SPACING
===================== */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: stretch;      /* full width */
    padding: 14px 16px;
  }

  .logo {
    text-align: center;
    padding: 10px 0 14px;
    border-bottom: 1px solid #e5e7eb;
  }


  .navbar nav a:last-child {
    border-bottom: none;
  }
  .navbar {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

}
@media (max-width: 768px) {
  .navbar nav a:active {
    background: #f1f5f9;
  }
}
/* =====================
   HERO LOGO STYLING
===================== */

.hero-center {
  text-align: center;
}

.hero-logo {
  width: 140px;                 /* logo size */
  height: auto;
  margin: 0 auto 18px;
  display: block;

  /* subtle premium feel */
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
  animation: logoFadeIn 0.9s ease forwards;
}

.hero-center h1 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  margin-bottom: 16px;
  color: rgba(220, 166, 5, 0.9); /* gold tone */
  letter-spacing: 1px;
}

/* tagline polish */
.hero-center .tagline {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: #64748b;
}

/* =====================
   LOGO ANIMATION
===================== */
@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .hero-logo {
    width: 110px;
  }

  .hero-center h1 {
    font-size: 42px;
  }
}
/* =====================
   HERO LEFT LOGO FIX
===================== */

.hero-left {
  text-align: left;
  max-width: 720px;
}

.hero-logo {
  display: block;
  max-width: 120px;   /* controls logo size */
  width: 100%;
  height: 100%;
  margin-bottom: 6px;
  transform: scale(1.5);
}

/* Heading polish */
.hero-left h1 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  margin-bottom: 10px;
  color: rgba(220, 166, 5, 0.9);
  letter-spacing: 1px;
}

/* Tagline */
.hero-left .tagline {
  font-size: 17px;
  color: #64748b;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .hero-left {
    text-align: center;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== FORCE HERO LEFT ALIGN ===== */

.hero {
  text-align: left !important;
}

.hero-content,
.hero-left {
  margin: 0 !important;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.hero-logo {
  display: block;
  max-width: 120px;
  width: 100%;
  height: auto;
  margin: 0 0 16px 0; /* LEFT */
}
.hero-logo {
  display: block;
  max-width: 340px;   /* Increased from 120px to 240px */
  width: 100%;
  height: auto;       /* Changed to auto to maintain aspect ratio */
  /* transform: scale(1.5); */  /* Removed to prevent blurriness and layout issues */
  margin-top: -120px;
}

@media (max-width: 900px) {
  /* ... your existing code ... */

  .navbar nav a {
    margin-left: 15px; /* Gives more breathing room on small screens */
    display: inline-block;
    padding: 10px 0; /* Increases the "tapable" area for fingers */
  }
}

/* Update this section in your style.css */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.6s ease;
  
  /* ADD THESE THREE LINES */
  position: relative; 
  z-index: 1000;
  overflow: visible; 
}
