/* --- GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
:root {
  --primary-purple: #5a4bff;
  --dark-navy: #0a2540;
  --text-gray: #4b5563;
}
html { scroll-behavior: smooth; }
body { background: #f8f9fc; color: #111; overflow-x: hidden; }

/* --- NAVBAR STYLES --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  transition: all 0.4s ease;
  z-index: 1000;
}
.navbar.scrolled {
  background: rgba(36, 8, 8, 0.85); 
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.about-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 .logo img {
      height: 40px; /* Adjust based on your logo size */
      display: block;
    }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; position: relative; transition: 0.3s; }
.about-navbar .nav-link { color: var(--text-gray) !important; }
.nav-link.active-page { color: var(--primary-purple) !important; }

.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--primary-purple); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active-page::after { width: 100%; }
.nav-link:hover { color: var(--primary-purple) !important; }

.btn-login { background: var(--primary-purple); color: #fff !important; padding: 10px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(90, 75, 255, 0.3); }
 
/* --- MOBILE SIDEBAR --- */
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--dark-navy);
  cursor: pointer;
  z-index: 1100;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .navbar-container { padding: 0 20px; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 100px 30px;
    gap: 30px;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    color: var(--dark-navy) !important;
    font-size: 18px;
    width: 100%;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
  }
}
 
/* ===== SHARED FLATS SECTION ===== */
.shared-flats {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
}

.shared-container {
  max-width: 1200px;
  margin: auto;
}

.shared-header {
  text-align: center;
  margin-bottom: 60px;
}

.shared-header .tag {
  display: inline-block;
  background: #5f5bff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.shared-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.shared-header p {
  max-width: 620px;
  margin: auto;
  color: #555;
  font-size: 16px;
}

.shared-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* LEFT INFO */
.shared-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.shared-info p {
  color: #555;
  margin-bottom: 22px;
  line-height: 1.7;
}

.steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.steps li {
  margin-bottom: 12px;
  font-size: 15px;
}

.shared-btn {
  display: inline-block;
  padding: 14px 26px;
  background: #5f5bff;
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.shared-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(95, 91, 255, 0.3);
}

/* RIGHT CARDS */
.shared-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.shared-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.shared-card:hover {
  transform: translateY(-6px);
}

.shared-card h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.shared-card p {
  font-size: 14px;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .shared-content {
    grid-template-columns: 1fr;
  }

  .shared-header h2 {
    font-size: 28px;
  }
}

/* ===== SHARED FLAT INFO / SAFETY SECTION ===== */
.shared-safety {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.safety-container {
  max-width: 1200px;
  margin: auto;
}

.safety-header {
  text-align: center;
  margin-bottom: 60px;
}

.safety-header .tag {
  background: #5f5bff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
}

.safety-header h2 {
  font-size: 36px;
  margin: 12px 0;
}

.safety-header p {
  color: #555;
  max-width: 650px;
  margin: auto;
}

.safety-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

/* IMAGE */
.safety-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* INFO */
.safety-info {
  display: grid;
  gap: 20px;
}

.info-block {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.info-block:hover {
  transform: translateY(-4px);
}

.info-block h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.info-block p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .safety-content {
    grid-template-columns: 1fr;
  }

  .safety-header h2 {
    font-size: 28px;
  }
}
  /* --------- Base Footer Styles --------- */
:root {
  --footer-bg: #051a33; /* Darker navy to match image */
  --footer-text: #adbdcc;
  --footer-heading: #ffffff;
  --accent: #7b61ff;
}

.vynest-footer {
  background-color: var(--footer-bg);
  padding: 80px 0 30px;
  color: var(--footer-text);
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.footer-container {
  max-width: 1400px; 
  margin: 0 auto;
  padding: 0 40px; 
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* 4 columns for desktop */
  gap: 40px;
}

.footer-logo {
  color: var(--footer-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo span { color: var(--accent); }

.footer-brand p {
  line-height: 1.6;
  font-size: 14.5px;
  margin-bottom: 25px;
}

.social-links { display: flex; gap: 15px; }

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--footer-heading);
  transition: 0.3s;
}

.footer-links h4 {
  color: var(--footer-heading);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  text-decoration: none;
  color: var(--footer-text);
  font-size: 14.5px;
  transition: 0.3s;
}

/* ================= MOBILE FOOTER COMPRESSION (Matches Image) ================= */
@media (max-width: 768px) {
  .vynest-footer {
    padding-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2-column link layout */
    gap: 30px 20px;
    padding: 0 24px;
  }

  /* Brand section: Full width and Centered */
  .footer-brand {
    grid-column: 1 / -1; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
  }

  .footer-logo {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 90%; /* Keeps text tight */
  }

  .social-links {
    justify-content: center;
    margin-bottom: 10px;
  }

  /* Link Sections: Left-aligned within their 2-column grid */
  .footer-links {
    text-align: center; /* Set to 'left' if you want links aligned left */
  }

  /* Force "Product" column to center if it looks lonely, 
     or let it sit in the grid like the image shows */
  .footer-links:last-of-type {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .footer-links h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  /* Bottom footer */
  .footer-bottom {
    margin-top: 30px;
    padding: 20px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .bottom-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 0;
  }

  .bottom-legal {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
  }

  .bottom-legal a {
    margin-left: 0;
    font-size: 13px;
  }
}

/* ================= DESKTOP RESPONSIVE — FOOTER BOTTOM ONLY ================= */
@media (min-width: 769px) {

  .bottom-container {
    display: flex;
    flex-wrap: wrap;          /* allow wrapping */
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
  }

  /* Text blocks */
  .bottom-container p,
  .footer-credit {
    white-space: nowrap;      /* keep text clean */
  }

  /* Legal links */
  .bottom-legal {
    display: flex;
    gap: 16px;
    white-space: nowrap;
  }

  /* When desktop width is tight */
  @media (max-width: 1100px) {
    .bottom-legal {
      width: 100%;
      justify-content: center;
      margin-top: 6px;
    }
  }
}
/* ================= DESKTOP FIX — FOOTER BOTTOM ================= */
@media (min-width: 769px) {

  .footer-bottom {
    padding-top: 28px;
  }

  .bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left | center | right */
    align-items: center;
    gap: 20px;
  }

  /* Left text */
  .bottom-container p {
    justify-self: start;
    white-space: nowrap;
  }

  /* Center credit */
  .footer-credit {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
  }

  /* Right legal links */
  .bottom-legal {
    justify-self: end;
    display: flex;
    gap: 18px;
    white-space: nowrap;
  }

  /* Smaller desktop safety */
  @media (max-width: 1100px) {
    .bottom-container {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .bottom-container p,
    .footer-credit,
    .bottom-legal {
      justify-self: center;
    }
  }
}
/* ================= DESKTOP — WHITE BOTTOM FOOTER TEXT ================= */
@media (min-width: 769px) {

  /* Made with ❤️ by WebPrimeSite */
  .footer-credit,
  .footer-credit a {
    color: #ffffff !important;
  }

  /* Privacy Policy & Terms */
  .bottom-legal a {
    color: #ffffff !important;
  }

  /* Optional: subtle hover */
  .footer-credit a:hover,
  .bottom-legal a:hover {
    opacity: 0.85;
    text-decoration: underline;
  }
}
/* ================= BOTTOM FOOTER — WHITE TEXT (ALL DEVICES) ================= */

/* Made with ❤️ by WebPrimeSite */
.footer-credit,
.footer-credit a {
  color: #ffffff !important;
}

/* Privacy Policy & Terms of Service */
.bottom-legal a {
  color: #ffffff !important;
}

/* Optional hover effect */
.footer-credit a:hover,
.bottom-legal a:hover {
  opacity: 0.85;
  text-decoration: underline;
}
/* ================= REMOVE UNDERLINE — BOTTOM FOOTER ================= */

.footer-credit a,
.bottom-legal a {
  text-decoration: none !important;
}

.footer-credit a:hover,
.bottom-legal a:hover {
  text-decoration: none !important;
  opacity: 0.85;
}
