/* ==========================================================================
   JD BUILDERS - SARGODHA | PREMIER ARCHITECTURAL & CONSTRUCTION WEBSITE
   Theme: Luxury Black, Obsidian & Pure Burnished Gold
   ========================================================================== */

:root {
  --bg-dark: #090a0d;
  --bg-surface: #101218;
  --bg-card: #151821;
  --bg-card-hover: #1c202c;
  --bg-glass: rgba(16, 18, 24, 0.75);

  --gold-primary: #d4af37;
  --gold-light: #f7e7b4;
  --gold-dark: #9a7622;
  --gold-gradient: linear-gradient(135deg, #faebb9 0%, #d4af37 45%, #9a7622 100%);
  --gold-gradient-glow: linear-gradient(135deg, rgba(250, 235, 185, 0.25) 0%, rgba(212, 175, 55, 0.2) 100%);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-bright: rgba(212, 175, 55, 0.7);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-green: #25d366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Typography Helpers */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Top Bar ================= */
.top-announcement {
  background: #060709;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 10px 0;
  line-height: 1.4;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-bar-inner::-webkit-scrollbar {
  display: none;
}

.top-contacts {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-contacts a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.top-contacts a:hover {
  color: var(--gold-light);
}

.top-tagline {
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================= Navigation Bar ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 10, 13, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(9, 10, 13, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.brand-text h2 {
  font-size: 1.25rem;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--gold-gradient);
  color: #0d0e12;
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: var(--transition);
  line-height: 1;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(9, 10, 13, 0.92) 0%, rgba(9, 10, 13, 0.78) 50%, rgba(9, 10, 13, 0.95) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  z-index: 2;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #fff;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--gold-gradient);
  color: #0b0c10;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
}

/* Hero Stats Row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.stat-item h3 {
  font-size: 1.85rem;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual Card */
.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.hero-preview-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  margin-bottom: 20px;
}

.hero-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card:hover .hero-preview-img {
  transform: scale(1.04);
}

.hero-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(16, 18, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-info h4 {
  font-size: 0.92rem;
  color: #fff;
}

.badge-info span {
  font-size: 0.76rem;
  color: var(--gold-light);
}

.hero-feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-pill {
  font-size: 0.75rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* ================= Section Header ================= */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: #0c0d12;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #fff;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ================= 3 Pillars of Services ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border-bright);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), var(--shadow-gold);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 26px;
  font-size: 1.7rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--gold-gradient);
  color: #0b0c10;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-checklist {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-checklist li {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-checklist li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.service-action-link {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.service-action-link:hover {
  color: #fff;
  gap: 12px;
}

/* ================= Interactive Cost Calculator ================= */
.calculator-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  position: relative;
}

.calc-inputs h3, .calc-results h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Size Chips */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.calc-chip {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 10px 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.calc-chip:hover {
  border-color: var(--gold-border);
  color: #fff;
}

.calc-chip.active {
  background: var(--gold-gradient);
  color: #0b0c10;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Package Selector Radio Cards */
.package-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pkg-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.pkg-card:hover {
  border-color: var(--gold-border);
}

.pkg-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.pkg-info h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.pkg-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pkg-rate {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  text-align: right;
}

/* Storey Select */
.calc-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
}

.calc-select:focus {
  border-color: var(--gold-primary);
}

/* Custom Sqft Input Box */
.custom-sqft-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}

.custom-sqft-box:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.sqft-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sqft-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.sqft-status-pill.custom-active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.sqft-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sqft-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.calc-input-sqft {
  width: 100%;
  padding: 12px 75px 12px 16px;
  background: #0c0e14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  outline: none;
  transition: var(--transition);
}

.calc-input-sqft:focus {
  border-color: var(--gold-primary);
  background: #11141c;
}

.sqft-unit-tag {
  position: absolute;
  right: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  pointer-events: none;
}

.sqft-reset-button {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition);
}

.sqft-reset-button:hover {
  background: var(--gold-gradient);
  color: #0b0c10;
  border-color: transparent;
}

.sqft-helper-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
}

.sqft-helper-note strong {
  color: var(--gold-light);
}

.calc-mini-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  margin-left: 6px;
}

/* Results Panel */
.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.result-row strong {
  color: #fff;
}

.total-cost-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.total-cost-box span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 6px;
}

.total-cost-box h2 {
  font-size: 2.3rem;
  color: var(--gold-light);
  line-height: 1.1;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
}

/* ================= Before & After Renovation Visualizer ================= */
.slider-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  min-height: 320px;
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--gold-primary);
}

.slider-before-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--slider-width, 960px);
  max-width: none;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gold-primary);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0c10;
  font-size: 1.1rem;
  pointer-events: none;
}

.slider-tag {
  position: absolute;
  bottom: 24px;
  z-index: 5;
  background: rgba(16, 18, 24, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  pointer-events: none;
}

.tag-before {
  left: 24px;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-after {
  right: 24px;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
}

/* ================= Portfolio Showcase ================= */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #0b0c10;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  border-color: var(--gold-border-bright);
}

.project-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #090a0d;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.06);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 10, 13, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.project-status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 14, 20, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-status-pill.completed {
  border-color: rgba(34, 197, 94, 0.45);
  color: #4ade80;
  background: rgba(16, 32, 22, 0.85);
}

.project-status-pill.ongoing {
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  background: rgba(34, 26, 12, 0.85);
}

/* Multi-photo thumbnail bar */
.project-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: #0d0f15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: thin;
}

.project-thumbs::-webkit-scrollbar {
  height: 4px;
}

.project-thumbs::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.project-thumb-btn {
  flex: 0 0 54px;
  height: 38px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #000;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.project-thumb-btn:hover {
  opacity: 1;
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.project-thumb-btn.active {
  opacity: 1;
  border-color: var(--gold-primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.project-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.project-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-info h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.project-location {
  font-size: 0.82rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.project-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.project-specs strong {
  color: #cbd5e1;
}

/* ================= Overseas Pakistanis Section ================= */
.overseas-card {
  background: linear-gradient(135deg, #151822 0%, #1c202d 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.overseas-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.overseas-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.overseas-content h3 {
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.overseas-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.overseas-item {
  background: rgba(9, 10, 13, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 18px;
  border-radius: var(--radius-md);
}

.overseas-item h5 {
  color: var(--gold-light);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.overseas-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.overseas-badge-box {
  background: rgba(16, 18, 24, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.overseas-badge-box img {
  width: 100px;
  margin-bottom: 16px;
}

/* ================= 4-Step Process ================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-bright);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.2);
  margin-bottom: 10px;
  transition: var(--transition);
}

.process-step:hover .step-number {
  color: var(--gold-light);
}

.process-step h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ================= Testimonials ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #facc15;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0b0c10;
  font-size: 1rem;
}

.author-meta h5 {
  font-size: 0.95rem;
  color: #fff;
}

.author-meta span {
  font-size: 0.76rem;
  color: var(--gold-light);
}

/* ================= Contact Section ================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-card);
}

.contact-info-col h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-icon {
  width: 46px;
  height: 46px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.method-details h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.method-details a, .method-details span {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.method-details a:hover {
  color: var(--gold-light);
}

/* Social Chips & Links */
.social-links-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.social-chip svg {
  color: var(--gold-primary);
  transition: var(--transition);
}

.social-chip:hover {
  background: var(--gold-gradient);
  color: #0d0e12;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.social-chip:hover svg {
  color: #0d0e12;
}

.footer-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-btn svg {
  color: var(--gold-primary);
  transition: var(--transition);
}

.footer-social-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.footer-social-btn:hover svg {
  color: var(--gold-light);
}

/* Form */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ================= Footer ================= */
.footer {
  background: #050608;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= Floating Sticky WhatsApp Button ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: var(--transition);
  animation: floatBounce 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ================= Modal ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tagline {
    margin: 0 auto 36px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-wrap {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overseas-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .brand-text h2 {
    font-size: 1.12rem;
  }
  .brand-text span {
    font-size: 0.6rem;
  }
  .nav-cta-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #090a0d;
    flex-direction: column;
    padding: 30px 20px;
    border-bottom: 1px solid var(--gold-border);
    gap: 16px;
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: center;
  }
  .top-tagline {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .slider-container {
    aspect-ratio: 16 / 10;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
  .chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
