/* ====== Global Reset & Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
    circle at top,
    #111827 0%,
    #020617 55%,
    #000 100%
  );
  color: #f9fafb;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ====== Layout ====== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ====== Navbar ====== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: radial-gradient(
    circle at top,
    #020617 0%,
    #020617 40%,
    #000 100%
  );
  border-bottom: 1px solid rgba(251, 191, 36, 0.32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f9fafb;
}

.logo span {
  color: #fbbf24;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
}

.nav-links a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  transition: width 0.25s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ====== Hero Slider ====== */

.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.7) 10%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 80%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding-left: 8%;
    max-width: 520px;
  }
}

.hero-content h2 {
  font-size: clamp(2.1rem, 3vw + 1.3rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-content p {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 1.3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at top left, #fbbf24, #f59e0b);
  color: #111827;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  box-shadow: 0 18px 40px rgba(251, 191, 36, 0.6);
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(251, 191, 36, 0.8);
}

/* ====== Generic Sections ====== */

section {
  padding: 3.2rem 0;
}

.page-header {
  padding: 3.5rem 0 2.2rem;
  text-align: center;
  background: radial-gradient(circle at top, #020617, #020617);
  border-bottom: 1px solid rgba(55, 65, 81, 0.7);
}

.page-header h2 {
  .page-header h2,
  .services h3 {
    color: #f9fafb;
    position: relative;
  }

  .page-header h2::after,
  .services h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 0.5rem auto 0;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    border-radius: 999px;
  }

  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.page-header p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* ====== Services on Home ====== */

.services h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
}

.service-card img {
  height: 170px;
  object-fit: cover;
}

.service-card h4 {
  font-size: 1rem;
  margin: 0.9rem 1rem 0.4rem;
}

.service-card p {
  font-size: 0.85rem;
  color: #d1d5db;
  margin: 0 1rem 0.7rem;
}

.service-card .link {
  font-size: 0.8rem;
  margin: 0 1rem 1rem;
  color: #fbbf24;
}

/* ====== Generic Grid + Cards (About, Process, Properties, Services page) ====== */
/*  ========is page ko change kar diya ha financial calculators se====== 


.features .grid,
.properties .grid,
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card,
.solution-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.3rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
}

.card h3,
.solution-card h3,
.solution-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p,
.solution-card p {
  color: #e5e7eb;
  font-size: 0.85rem;
}
*/

/* ====== About Text ====== */
.about .about-text {
  max-width: 720px;
  margin: 0 auto;
}

.about h3 {
  font-size: 1.2rem;
  margin: 1.1rem 0 0.4rem;
}

.about p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.about ul {
  margin-top: 0.7rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.about li {
  margin-bottom: 0.35rem;
}

/* ====== Contact Form ====== */

.contact-form-section .contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.96);
  padding: 1.6rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  font-size: 0.85rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.5);
}

.contact-form button {
  width: 100%;
  border-radius: 999px;
  padding: 0.75rem;
  border: none;
  background: radial-gradient(circle at top left, #fbbf24, #f97316);
  color: #111827;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
}

/* ====== Map ====== */

.map-section iframe {
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

/* ====== Footer ====== */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  background: #020617;
  padding: 1.4rem 0;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ====== Responsive ====== */

@media (max-width: 960px) {
  .services-grid,
  .features .grid,
  .properties .grid,
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-links {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }

  .services-grid,
  .features .grid,
  .properties .grid,
  .solutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 2.5rem 0;
  }
}

/* ===== Premium Footer ===== */

.footer {
  background: #020617;
  padding: 3rem 0 1.5rem;
  color: #d1d5db;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fbbf24;
  letter-spacing: 0.03em;
}

.footer-col p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: #cbd5e1;
  opacity: 0.8;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #fbbf24;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  margin-left: 1rem;
  color: #fbbf24;
  font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 2rem 0;
  }
}

/* ====== WhatsApp Floating Button ====== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
  animation: floatUp 0.5s ease-out;
}

.whatsapp-float img {
  width: 33px;
  height: 33px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  transition: 0.2s ease-in-out;
}

/* Smooth pop animation */
@keyframes floatUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ====== Brand Logo in Navbar ====== */

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #facc15;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.5);
  background: radial-gradient(circle at top left, #111827, #020617);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  color: #e5e7eb;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9ca3af;
}

/*  👉 Make links more gold on hover (global) */

a:hover {
  color: #fbbf24;
}

/*  If you want the whole site a bit more “deep dark”, you can tweak the body background (optional):    */
html,
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
    circle at top,
    #111827 0%,
    #020617 55%,
    #000 100%
  );
  color: #f9fafb;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden; /* keep this for slider */
}

.services {
  position: relative;
  z-index: 2; /* ensures it shows above slider if overlapping */
}

/* exprole project */
.features .grid,
.properties .grid,
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.3rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
}

.home-projects {
  padding-top: 2rem;
}

.home-projects h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
}

/* Desktop navbar stays as it is */

/* ===== NAVBAR BASE ===== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: radial-gradient(
    circle at top,
    #020617 0%,
    #020617 40%,
    #000 100%
  );
  border-bottom: 1px solid rgba(251, 191, 36, 0.32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

/* desktop nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links li a {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fbbf24;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  transition: width 0.25s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* hamburger icon */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #f9fafb;
  line-height: 1;
}

/* ===== MOBILE NAVBAR ===== */

@media (max-width: 768px) {
  /* logo + hamburger in one line */
  .nav-inner {
    justify-content: space-between;
  }

  /* hide desktop menu by default */
  .nav-links {
    display: none !important; /* force hide */
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* dropdown panel when open */
  .nav-links.show-menu {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px; /* navbar ke just neeche */
    right: 1rem; /* RIGHT SIDE PE OPEN HOGA */
    background: rgba(15, 23, 42, 0.98);
    padding: 1rem 1.2rem;
    width: 230px;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    gap: 0.35rem;
    z-index: 999;
  }

  .nav-links.show-menu li a {
    color: #e5e7eb;
    font-size: 0.85rem;
  }

  .nav-links.show-menu li a::after {
    display: none; /* mobile me underline line hata diya */
  }

  .nav-links.show-menu li a:hover {
    color: #fbbf24;
  }
}

/* ===== Mobile cards layout ===== */
@media (max-width: 768px) {
  .features .grid,
  .properties .grid,
  .services-grid,
  .solutions-grid {
    grid-template-columns: 1fr; /* single column */
  }

  .card,
  .service-card {
    width: 100%;
  }
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-text-nav {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main-nav {
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: #ffffff;
}

.logo-sub-nav {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #fbbf24;
}

.logo-icon-nav {
  height: 34px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-icon-nav {
    height: 28px;
  }
}

/* put these into your existing <style> or style.css (replace old .card-img rules) */
:root {
  --bg: #0b1020;
  --card-border: rgba(255, 255, 255, 0.06);
  --muted: #94a3b8;
  --accent: #e6b422;
  --radius: 14px;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.012),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* media / image area */
.card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #06121b;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}
.card:hover .card-media img {
  transform: scale(1.06);
}

/* subtle dark overlay so white text over image is readable if needed */
.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 26, 0.05) 10%,
    rgba(0, 0, 0, 0.45) 70%
  );
  pointer-events: none;
}

/* small label on image */
.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: linear-gradient(
    90deg,
    rgba(230, 180, 34, 0.12),
    rgba(230, 180, 34, 0.06)
  );
  color: var(--accent);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}

/* price on bottom-right */
.price-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}

/* body + footer */
.card-body {
  padding: 18px 20px;
  color: inherit;
}
.card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0;
}
.card-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 18px;
}
.btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(
    90deg,
    rgba(230, 180, 34, 0.12),
    rgba(230, 180, 34, 0.04)
  );
  color: var(--accent);
  border: 1px solid rgba(230, 180, 34, 0.12);
}

/* FORCE grid layout for properties (override any conflicting rules) */
#propertiesGrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  align-items: start;
}

/* Ensure each card doesn't force full width */
#propertiesGrid .card {
  width: 100%; /* allow grid to size columns */
  max-width: none; /* remove any old max-width */
  margin: 0; /* remove accidental margins that push items down */
}

/* Responsive: 2 columns under 1000px, 1 under 640px */
@media (max-width: 1000px) {
  #propertiesGrid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  #propertiesGrid {
    grid-template-columns: 1fr !important;
  }
}
