/* ==========================================================================
   RISE REALTY PAKISTAN - LUXURY DESIGN SYSTEM
   Brand Colors: Royal Navy (#0A2342), Metallic Gold (#D4AF37), Obsidian (#050E1A)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #0A2342;
  --navy-dark: #051426;
  --navy-light: #14365D;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #AA820A;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D77F 50%, #B8860B 100%);
  --dark: #050E1A;
  --dark-surface: #0C1A2B;
  --light-bg: #F8FAFC;
  --light-card: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --danger: #EF4444;
  --success: #10B981;
  
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  
  --shadow-sm: 0 2px 4px rgba(10, 35, 66, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(10, 35, 66, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(10, 35, 66, 0.15);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   THEME 2: RISE BRAND LOGO SCHEME (Vivid Sky Blue #00A3E0 & Sunrise Orange #F05A22)
   Controlled globally via Dashboard (site_theme setting in MySQL & JSON)
   ========================================================================== */
[data-theme="brand_colors"],
body.theme-brand_colors {
  --gold: #F05A22; /* Primary Rise Brand Orange from Logo */
  --gold-light: #FF7D45;
  --gold-dark: #D4430D;
  --gold-gradient: linear-gradient(135deg, #F05A22 0%, #FF7A3D 50%, #00A3E0 100%);
  --brand-blue: #00A3E0; /* Vivid Sky Blue from Logo 'Rise' */
  --brand-blue-hover: #0088BC;
  --brand-orange: #F05A22; /* Vibrant Orange from Logo 'REALTY' & Tower */
  --brand-orange-hover: #D94B15;
  --navy: #081B34;
  --navy-dark: #030C18;
  --navy-light: #0D2B52;
  --dark: #030C18;
  --dark-surface: #08182D;
  --shadow-gold: 0 10px 30px rgba(240, 90, 34, 0.35);
}

[data-theme="brand_colors"] .brand-logo,
body.theme-brand_colors .brand-logo {
  border-right-color: rgba(0, 163, 224, 0.4);
}

[data-theme="brand_colors"] .btn-primary,
body.theme-brand_colors .btn-primary {
  background: linear-gradient(135deg, #F05A22 0%, #FF6E2E 100%);
  box-shadow: 0 6px 22px rgba(240, 90, 34, 0.35);
  color: #fff;
  border: none;
}

[data-theme="brand_colors"] .btn-primary:hover,
body.theme-brand_colors .btn-primary:hover {
  background: linear-gradient(135deg, #00A3E0 0%, #008EC4 100%);
  box-shadow: 0 6px 22px rgba(0, 163, 224, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

[data-theme="brand_colors"] .btn-secondary,
body.theme-brand_colors .btn-secondary {
  border-color: #00A3E0;
  color: #00A3E0;
}

[data-theme="brand_colors"] .btn-secondary:hover,
body.theme-brand_colors .btn-secondary:hover {
  background: #00A3E0;
  color: #fff;
  border-color: #00A3E0;
}

[data-theme="brand_colors"] .topbar,
body.theme-brand_colors .topbar {
  border-bottom: 1px solid rgba(0, 163, 224, 0.3);
}

[data-theme="brand_colors"] .topbar-item i,
[data-theme="brand_colors"] .topbar-urdu,
body.theme-brand_colors .topbar-item i,
body.theme-brand_colors .topbar-urdu {
  color: #00A3E0;
}

[data-theme="brand_colors"] .btn-portal,
body.theme-brand_colors .btn-portal {
  background: rgba(240, 90, 34, 0.15);
  border-color: #F05A22;
  color: #F05A22;
}

[data-theme="brand_colors"] .btn-portal:hover,
body.theme-brand_colors .btn-portal:hover {
  background: #F05A22;
  color: #fff;
}

[data-theme="brand_colors"] .nav-link:hover,
[data-theme="brand_colors"] .nav-link.active,
body.theme-brand_colors .nav-link:hover,
body.theme-brand_colors .nav-link.active {
  color: #00A3E0;
}

[data-theme="brand_colors"] .nav-link::after,
body.theme-brand_colors .nav-link::after {
  background: #F05A22;
}

[data-theme="brand_colors"] .badge-noc,
body.theme-brand_colors .badge-noc {
  background: rgba(0, 163, 224, 0.15);
  color: #00A3E0;
  border: 1px solid rgba(0, 163, 224, 0.4);
}

[data-theme="brand_colors"] .badge-featured,
body.theme-brand_colors .badge-featured {
  background: linear-gradient(135deg, #F05A22 0%, #FF7034 100%);
  color: #fff;
}

[data-theme="brand_colors"] .project-price,
body.theme-brand_colors .project-price {
  color: #F05A22;
}

[data-theme="brand_colors"] .master-footer,
body.theme-brand_colors .master-footer {
  border-top: 4px solid #F05A22;
}

[data-theme="brand_colors"] .footer-col h4,
body.theme-brand_colors .footer-col h4 {
  color: #00A3E0;
}

[data-theme="brand_colors"] .footer-col h4::after,
body.theme-brand_colors .footer-col h4::after {
  background: #F05A22;
}

[data-theme="brand_colors"] .footer-urdu,
body.theme-brand_colors .footer-urdu {
  color: #00A3E0;
}

[data-theme="brand_colors"] .footer-links a i,
body.theme-brand_colors .footer-links a i {
  color: #F05A22;
}

[data-theme="brand_colors"] .social-btn,
body.theme-brand_colors .social-btn {
  border-color: rgba(0, 163, 224, 0.4);
  color: #00A3E0;
  background: rgba(0, 163, 224, 0.1);
}

[data-theme="brand_colors"] .social-btn:hover,
body.theme-brand_colors .social-btn:hover {
  background: #F05A22;
  border-color: #F05A22;
  color: #fff;
}

[data-theme="brand_colors"] .noc-badge,
body.theme-brand_colors .noc-badge {
  border-color: rgba(0, 163, 224, 0.4);
  color: #00A3E0;
}

[data-theme="brand_colors"] .trust-item h3,
body.theme-brand_colors .trust-item h3 {
  color: #F05A22;
}

[data-theme="brand_colors"] .trust-item i,
body.theme-brand_colors .trust-item i {
  color: #00A3E0;
}

/* Floating Frontend Theme Switcher (for instant preview on front) */
.front-theme-switch-btn {
  position: fixed;
  bottom: 95px;
  right: 25px;
  background: rgba(10, 35, 66, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.front-theme-switch-btn:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--navy);
}

.theme-swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Typography Utilities */
.cinzel { font-family: var(--font-serif); }
.urdu { font-family: var(--font-urdu); line-height: 2.3; direction: rtl; text-align: center; }
.urdu-left { font-family: var(--font-urdu); line-height: 2.2; direction: rtl; text-align: left; }

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Bar */
.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
}

.topbar-item i {
  color: var(--gold);
}

.topbar-item a:hover {
  color: var(--white);
}

.topbar-urdu {
  color: var(--gold);
  font-size: 0.95rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-portal {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-portal:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Main Navigation */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 35, 66, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  margin-right: 2.75rem; /* Generous 44px clean separation */
  padding-right: 1.75rem; /* 28px inner buffer before divider */
  border-right: 1px solid rgba(212, 175, 55, 0.35); /* Luxury gold vertical divider */
  flex-shrink: 0;
}

.site-logo-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 22px;
}

.footer-logo-img {
  width: 280px; /* Expansive, prominent, executive brand presence */
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.65));
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-right: auto;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 6px;
  position: relative;
  letter-spacing: 0.25px;
  white-space: nowrap;
}

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

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

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

/* Dropdown */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  padding-left: 24px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
}

.btn-phone i {
  color: var(--gold);
}

.btn-phone:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(5, 14, 26, 0.82), rgba(5, 14, 26, 0.88)), 
              url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
  color: var(--white);
  padding: 100px 0 120px;
}

.hero-content {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.hero-urdu-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 25px;
}

.hero-urdu {
  color: var(--gold);
  font-size: 1.3rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  max-width: 780px;
  margin: 0 auto 35px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* Trust Stats Bar */
.trust-bar-wrap {
  position: relative;
  z-index: 20;
  margin-top: -65px;
  margin-bottom: 70px;
}

.trust-bar {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 20px;
  border-top: 4px solid var(--gold);
}

.trust-item {
  text-align: center;
  padding: 0 15px;
  border-right: 1px solid #E2E8F0;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 800;
}

.trust-item h3 span {
  color: var(--gold);
}

.trust-item p {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Common Styling */
.section {
  padding: 90px 0;
}

.section-light {
  background-color: var(--light-bg);
}

.section-dark {
  background-color: var(--dark);
  color: var(--white);
}

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

.section-tag {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* About Intro Grid */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text .urdu {
  text-align: left;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about-intro-text h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-intro-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 25px 0 30px;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-box i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 4px;
}

.highlight-box h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.highlight-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.about-intro-img {
  position: relative;
}

.about-intro-img img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 25px 30px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience-badge strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
}

.about-experience-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ecosystem Grid */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.eco-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eco-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  color: var(--white);
}

.eco-icon {
  width: 65px;
  height: 65px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 20px;
  transition: var(--transition);
}

.eco-card:hover .eco-icon {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

.eco-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy);
  transition: var(--transition);
}

.eco-card:hover h4 {
  color: var(--gold);
}

.eco-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: var(--transition);
}

.eco-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

/* Strategic Highlights Grid */
.strat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 45px;
}

.strat-card {
  background: var(--navy);
  color: var(--white);
  padding: 30px 25px;
  border-radius: var(--radius-md);
  border-bottom: 3px solid var(--gold);
  text-align: center;
}

.strat-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.strat-card h5 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.strat-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Project Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid #CBD5E1;
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

/* Projects Grid & Card */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.project-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

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

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

.project-badge-left {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-badge-right {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 35, 66, 0.85);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-loc {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.project-title a:hover {
  color: var(--gold-dark);
}

.project-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.project-feature-tag {
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.project-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--light-bg);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid #E2E8F0;
}

.stat-cell {
  text-align: center;
}

.stat-cell span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.stat-cell strong {
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 700;
}

.project-footer-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-card-details {
  background: var(--navy);
  color: var(--white);
  padding: 10px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-card-details:hover {
  background: var(--navy-light);
}

.btn-card-wa {
  background: var(--whatsapp);
  color: var(--white);
  padding: 10px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-wa:hover {
  background: #1eb956;
}

/* IRA Academy Banner */
.ira-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.ira-content .urdu {
  text-align: left;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.ira-content h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.ira-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.ira-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ira-stat-circle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  text-align: center;
}

.ira-stat-circle h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.ira-stat-circle p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

/* =========================================================================
   IBC Partner Network & Millionaire Club Sections (Homepage & Dedicated Pages)
   ========================================================================= */

/* 1. IBC Network Homepage Section */
.ibc-home-section {
  background: linear-gradient(180deg, #0A1128 0%, #0F1D40 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.ibc-home-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ibc-home-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ibc-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 35px 0;
}

.ibc-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ibc-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ibc-pillar-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.ibc-pillar-card:hover::before {
  opacity: 1;
}

.ibc-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.ibc-pillar-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.ibc-pillar-card p {
  font-size: 0.86rem;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}

.ibc-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin: 40px 0 25px;
}

.ibc-stat-item {
  text-align: center;
}

.ibc-stat-item .num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.ibc-stat-item .lbl {
  font-size: 0.8rem;
  color: #CBD5E1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2. Success Stories & Hall of Fame Cards (Unified Aesthetics for IBC & Club) */
.stories-showcase-wrap {
  margin: 45px 0 25px;
}

.stories-subhead {
  text-align: center;
  margin-bottom: 30px;
}

.stories-subhead h3 {
  font-size: 1.6rem;
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.stories-subhead p {
  color: #94A3B8;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 6px auto 0;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.story-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.18);
  background: rgba(15, 23, 42, 0.9);
}

.story-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.story-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.story-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.story-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A1128;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0F172A;
}

.story-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
  line-height: 1.25;
}

.story-firm {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.story-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.story-quote-box {
  position: relative;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 12px 0 16px;
  flex: 1;
}

.story-quote-icon {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.3rem;
  color: rgba(212, 175, 55, 0.15);
}

.story-quote-text {
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.story-footer-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: #94A3B8;
}

.story-metric-badge {
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* 3. Redesigned Luxury Executive Millionaire Club Section */
.millionaire-club-section {
  background: radial-gradient(circle at 50% 0%, #111E3D 0%, #080D1F 100%);
  position: relative;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  color: #FFFFFF;
}

.millionaire-club-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.millionaire-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 40px 0 35px;
}

.level-box {
  background: rgba(15, 23, 42, 0.8);
  padding: 32px 22px;
  border-radius: var(--radius-md);
  text-align: left;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.level-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.level-box.tier-1::before { background: #94A3B8; }
.level-box.tier-2::before { background: #F59E0B; }
.level-box.tier-3::before { background: #38BDF8; }
.level-box.tier-4::before { background: linear-gradient(90deg, #F59E0B, #EAB308, #FDE047); }

.level-box:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.22);
}

.level-box.tier-4 {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(212, 175, 55, 0.45);
}

.level-header {
  margin-bottom: 16px;
}

.level-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.level-box h4 {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: #FFFFFF;
  margin-bottom: 6px;
  font-weight: 700;
}

.level-entry-allocation {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 14px;
  display: block;
}

.level-box.tier-4 .level-entry-allocation {
  color: #FDE047;
}

.level-box p {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 18px;
}

.level-privileges-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.8rem;
  color: #94A3B8;
}

.level-privileges-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}

.level-privileges-list li i {
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-millionaire-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
  color: #0A1128;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 16px 36px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-millionaire-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
  color: #050B18;
}

/* Overseas Desk Banner */
.overseas-desk-card {
  background: var(--gold-gradient);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-gold);
}

.overseas-text h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.overseas-text p {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.95;
}

.btn-overseas {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.btn-overseas:hover {
  background: var(--dark);
  transform: translateY(-3px);
  color: var(--gold);
}

/* ==========================================================================
   Contact Page Mobile-Responsive Design Components
   ========================================================================== */
.contact-hero-overlap {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  margin-bottom: 70px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-hub-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition);
}

.contact-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.contact-form-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-hours-box {
  background: var(--navy);
  color: #fff;
  padding: 35px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  border-top: 4px solid var(--gold);
}

.contact-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
}

/* ==========================================================================
   Mission & Vision Responsive Cards (About Us)
   ========================================================================== */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-vision-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 45px 35px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mission-vision-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.mission-vision-card .mv-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.mission-vision-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.mission-vision-card p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   Redesigned IBC Progressive Partnership Hierarchy (No Duplication)
   ========================================================================== */
.ibc-hierarchy-wrapper {
  margin: 35px 0 20px;
}

/* Pathway Stepper Progress Bar (Desktop & Tablet) */
.ibc-stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 35px;
  padding: 0 30px;
}

.ibc-stepper-track::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.7) 50%, rgba(212,175,55,1) 100%);
  z-index: 1;
}

.ibc-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ibc-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B132B;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  transition: var(--transition);
}

.ibc-step-node:hover .ibc-step-circle {
  transform: scale(1.15);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.55);
  background: var(--gold);
  color: #0B132B;
}

.ibc-step-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-top: 8px;
  white-space: nowrap;
}

/* 5 Progressive Tier Cards Grid */
.ibc-tiers-showcase {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ibc-tier-item {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.ibc-tier-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.ibc-tier-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 35px rgba(212, 175, 55, 0.2);
}

.ibc-tier-item:hover::before {
  opacity: 1;
}

/* Top Meta Row */
.ibc-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ibc-tier-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  letter-spacing: 0.5px;
}

.ibc-tier-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.9;
}

/* Title & Category */
.ibc-tier-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.ibc-tier-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* Milestone Section */
.ibc-tier-milestone {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

.ibc-tier-milestone-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.ibc-tier-milestone-desc {
  font-size: 0.8rem;
  color: #E2E8F0;
  line-height: 1.45;
  font-weight: 500;
}

/* Privileges Section */
.ibc-tier-privileges {
  margin-top: auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}

.ibc-tier-priv-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.ibc-tier-priv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ibc-tier-priv-list li {
  font-size: 0.77rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 6px;
  position: relative;
  padding-left: 15px;
}

.ibc-tier-priv-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.75rem;
}

/* Highlight badge inside privileges */
.ibc-override-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 6px;
}

/* Special Highlight Card for Level 5: Legacy Partner */
.ibc-tier-item.tier-crown {
  background: linear-gradient(145deg, rgba(35, 30, 15, 0.95), rgba(15, 23, 42, 0.95));
  border: 1.5px solid var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.ibc-tier-item.tier-crown::before {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  height: 4px;
  opacity: 1;
}

.ibc-tier-item.tier-crown .ibc-tier-badge {
  background: var(--gold);
  color: #0A1128;
  font-weight: 900;
}

.ibc-tier-item.tier-crown .ibc-tier-title {
  color: var(--gold);
}

.ibc-tier-item.tier-crown .ibc-override-badge {
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold);
  border-color: var(--gold);
}

/* Responsive grid overrides */
@media (max-width: 1200px) {
  .ibc-tiers-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ibc-tier-item.tier-crown {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .ibc-stepper-track { display: none; }
  .ibc-tiers-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .ibc-tier-item.tier-crown {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .ibc-tiers-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ibc-tier-item.tier-crown {
    grid-column: auto;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Master Footer */
.master-footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 4px solid var(--gold);
}

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

.footer-brand .brand-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-urdu {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 22px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
  position: relative;
}

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

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

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--gold);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

.noc-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.noc-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--gold);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--whatsapp);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse-ring 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: var(--white);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

/* Alerts */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.alert-error {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8B4B4;
}

/* Mobile Navigation Elements (Desktop Default) */
.mobile-overlay {
  display: none;
}

.mobile-nav-header {
  display: none;
}

.mobile-nav-cta {
  display: none;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1160px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-item { border-right: none; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .strat-grid { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .ira-banner { grid-template-columns: 1fr; }
  .millionaire-levels-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile Navigation Drawer Activation */
  .brand-logo { margin-right: 0; padding-right: 0; border-right: none; }
  
  .mobile-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 14, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #081628;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 1100;
    gap: 4px;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .mobile-close-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    color: var(--gold);
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 14px;
    border-radius: 8px;
    display: block;
    color: #E2E8F0;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
  }

  .nav-link::after {
    display: none;
  }

  .nav-item.dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    box-shadow: none;
    padding: 4px 0 6px 14px;
    margin: 4px 0 8px;
    display: none;
  }

  .nav-item.dropdown.open-dropdown .dropdown-menu {
    display: block;
  }

  .dropdown-arrow {
    float: right;
    margin-top: 4px;
    transition: transform 0.2s ease;
  }

  .nav-item.dropdown.open-dropdown .dropdown-arrow {
    transform: rotate(180deg);
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
  }

  .mobile-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
  }
}

@media (max-width: 992px) {
  .contact-cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-layout-grid { grid-template-columns: 1fr; gap: 30px; }
  .mission-vision-grid { grid-template-columns: 1fr; gap: 20px; }
  .ibc-ranks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ibc-pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .millionaire-levels-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar { height: 72px; }
  .site-logo-img { height: 40px; max-width: 170px; }
  .header-cta .btn-phone { display: none; }
  
  .hero-section { padding: 60px 0 80px; min-height: auto; }
  .hero-title { font-size: 2.3rem !important; }
  .hero-subtitle { font-size: 1rem; }
  
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .projects-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .overseas-desk-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }

  /* Mobile Responsive Additions */
  .contact-hero-overlap { margin-top: -25px; margin-bottom: 40px; }
  .contact-form-box { padding: 26px 20px; }
  .contact-hours-box { padding: 26px 20px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
  .millionaire-levels-grid { grid-template-columns: 1fr !important; gap: 16px; margin: 25px 0; }
  .mission-vision-card { padding: 30px 22px; }
  .mission-vision-card h3 { font-size: 1.45rem; }
  .ibc-ranks-grid { grid-template-columns: 1fr; gap: 14px; }
  .ibc-pillars-grid { grid-template-columns: 1fr; gap: 14px; }
  .ibc-stats-ribbon { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px 16px; }
  .stories-grid { grid-template-columns: 1fr; gap: 18px; }
  .story-card { padding: 22px 18px; }
  .story-avatar-img { width: 58px; height: 58px; }
}

@media (max-width: 480px) {
  .navbar { height: 64px; }
  .site-logo-img { height: 34px; max-width: 145px; }
  .hero-section { padding: 45px 0 65px; }
  .hero-title { font-size: 1.75rem !important; }
  .hero-subtitle { font-size: 0.88rem; }
  .hero-urdu { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { width: 100%; text-align: center; justify-content: center; }
  
  .trust-bar { grid-template-columns: 1fr; padding: 16px; }
  .trust-item h3 { font-size: 1.75rem; }
  
  .filter-tabs { border-radius: 14px; padding: 10px; gap: 6px; }
  .filter-btn { font-size: 0.75rem; padding: 7px 12px; }
  
  .section { padding: 45px 0; }
  .section-title { font-size: 1.65rem; }

  .contact-hub-card { padding: 26px 18px; }
  .contact-map-container { height: 260px; }
  .mission-vision-card { padding: 24px 16px; }
  .ibc-stats-ribbon { grid-template-columns: 1fr; }
  .btn-millionaire-cta { width: 100%; padding: 15px 20px; font-size: 0.92rem; }
}

/* Smooth Floating Back to Top Button */
.public-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 95px; /* Sits right above floating WhatsApp CTA */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.public-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.public-back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
  .public-back-to-top {
    right: 20px;
    bottom: 85px;
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
}

