/* ---------------------------------------------------
   GLOBAL VARIABLES
--------------------------------------------------- */
:root {
  --brand-color: #1174d6;
  --brand-color-light: #4aa0e4;
  --text: #021022;
  --text-muted: rgba(2, 16, 34, 0.55);
  --bg: #ffffff;
  --glass-bg: rgba(255,255,255,0.65);
  --glass-border: rgba(11,87,164,0.08);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(2, 16, 34, 0.06);
  --shadow-lg: 0 10px 40px rgba(2, 16, 34, 0.12);
  --max-w: 1320px;
}

/* ---------------------------------------------------
   BASE
--------------------------------------------------- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Poppins, system-ui, -apple-system, "Segoe UI", Roboto;
  -webkit-font-smoothing: antialiased;
}

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

/* Container max width */
.site-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------------------------------------------------
   NAVBAR
--------------------------------------------------- */
.navbar-glass {
  backdrop-filter: blur(10px) saturate(130%);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-color);
  text-decoration: none;
  outline: none;
}

/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */

/* Primary Gradient Button */
.btn-cta {
  background: linear-gradient(90deg, var(--brand-color), var(--brand-color-light));
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(11,87,164,0.18);
  transition: 0.25s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11,87,164,0.28);
}

/* Outline Button */
.btn-ghost,
.btn-outline-dark {
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  border: 1px solid rgba(2,16,34,0.22) !important;
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover,
.btn-outline-dark:hover {
  background: rgba(2,16,34,0.06);
}

/* ---------------------------------------------------
   GLASS UTILS
--------------------------------------------------- */
.glass-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.glass-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(11,87,164,0.10);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Basic card */
.card-soft {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(2,16,34,0.06);
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
}
.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------
   HERO
--------------------------------------------------- */
.hero-title {
  font-family: Poppins, system-ui;
  font-weight: 700;
  line-height: 1.2;
  color: #f8f9fa;
}
.hero-badge {
  border: 1px solid rgba(11,87,164,0.25);
  padding: 5px 14px;
  font-size: 12px;
  border-radius: 50px;
  display: inline-block;
    color: #f8f9fa;
    background-color: var(--brand-color);
}
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(2,14,30,0.70) 0%,
    rgba(2,14,30,0.65) 30%,
    rgba(255,255,255,0.90) 100%
  );
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
.section-heading {
  font-family: Poppins, system-ui;
  font-weight: 600;
  color: var(--text);
}

.gold-text {
  color: var(--brand-color) !important;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

/* ---------------------------------------------------
   SPACING + LAYOUT
--------------------------------------------------- */

section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* Grid card equal height */
.card-eq {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ---------------------------------------------------
   IMAGES
--------------------------------------------------- */
.object-cover {
  object-fit: cover !important;
}

/* ---------------------------------------------------
   ICONS + BADGES
--------------------------------------------------- */
.badge-tag {
  border: 1px solid rgba(2,16,34,0.20);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
.footer-area {
  background: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(2,16,34,0.06);
  backdrop-filter: blur(12px);
}

/* ---------------------------------------------------
   ACCESSIBILITY + FOCUS
--------------------------------------------------- */
:focus-visible {
  outline: 3px solid rgba(11,87,164,0.3);
  outline-offset: 2px;
}

/* ---------------------------------------------------
   RESPONSIVE FIXES
--------------------------------------------------- */
@media (max-width: 991px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 992px) {
  .mobile-only { display: none !important; }
}
/* Project hover effects */
.project-img {
  transition: transform 0.45s ease;
}
.project-overlay {
  background: linear-gradient(180deg, rgba(2,16,34,0.55), rgba(255,255,255,0));
  color: #fff;
  transition: 0.4s ease;
}
.project-img:hover {
  transform: scale(1.07);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  filter: brightness(100%);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ------- Curved Text Floating Button ------- */

.loan-circle-wrap {
  position: fixed;
  bottom: 105px; /* WhatsApp ke upar */
  right: 22px;
  z-index: 9999;
  text-decoration: none;
}

.loan-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0b5ed7;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transition: 0.25s ease;
}

.loan-circle i {
  color: #fff;
  font-size: 25px;
  z-index: 10;
  pointer-events: none;
}

/* Curved Text SVG */
.loan-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-25deg); /* adjust rotation for alignment */
  pointer-events: none;
}

text {
  letter-spacing: 2px;
  fill: #fff;
}

.loan-circle-wrap:hover .loan-circle {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}

/* ------------ LOAN CALCULATOR UI ------------ */

.calc-range {
  accent-color: var(--brand-color);
  width: 100%;
}

.result-box {
  border-radius: var(--radius);
  border: 1px solid rgba(2,16,34,0.08);
  padding: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.value-lg {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--brand-color);
}

.small-muted {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Amortization list */
.amort-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(2,16,34,0.08);
}

/* Hero small version */
.hero-compact {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

/* Inputs same theme */
.form-control, .form-select {
  border-radius: var(--radius);
  border: 1px solid rgba(2,16,34,0.18);
  padding: 10px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(11,87,164,0.25);
}
