/* ============================================
   AVASYA LIFESPACES - Premium Real Estate Website
   Design System & Global Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --navy: #0D1B2A;
  --navy-dark: #091522;
  --navy-light: #1B2D45;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dark: #B08D3A;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --light-grey: #E8E6E1;
  --grey: #9A9A9A;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --border: rgba(201, 168, 76, 0.25);

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 96px;
  --space-6xl: 120px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
.heading-display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
}

h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.3;
}

h4, .h4 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

.body-large {
  font-size: 18px;
  line-height: 1.8;
}

.body-small {
  font-size: 14px;
}

.caption {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Utility ---------- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-secondary { color: var(--text-secondary); }
.bg-navy { background-color: var(--navy); }
.bg-off-white { background-color: var(--off-white); }
.bg-white { background-color: var(--white); }

.section-padding {
  padding: var(--space-6xl) 0;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border: none;
  margin: var(--space-lg) 0;
}

.gold-divider-center {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border: none;
  margin: var(--space-lg) auto;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--white);
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn-gold:hover::after { opacity: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* ---------- Header / Navigation ---------- */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar-main.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-main .navbar-brand img {
  height: 48px;
  transition: var(--transition);
}

.navbar-main.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-main .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px !important;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-main .btn-enquire {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-main .btn-enquire:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
  color: var(--white);
}

/* Mobile hamburger */
.navbar-toggler {
  border: none;
  padding: 8px;
  outline: none;
  box-shadow: none !important;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-dark);
    margin: 16px -12px 0;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 168, 76, 0.15);
  }

  .navbar-main .nav-link {
    padding: 12px 0 !important;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .navbar-main .btn-enquire {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 14px;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.92) 0%,
    rgba(13, 27, 42, 0.75) 50%,
    rgba(13, 27, 42, 0.6) 100%
  );
}

/* Architectural line-art pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,168,76,0.3) 60px, rgba(201,168,76,0.3) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(201,168,76,0.3) 60px, rgba(201,168,76,0.3) 61px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tagline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: var(--space-2xl);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  z-index: 3;
  padding: 24px 0;
}

.hero-stat {
  text-align: center;
  padding: 8px 16px;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

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

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

/* ---------- About Section ---------- */
.about-section {
  padding: var(--space-6xl) 0;
  background: var(--white);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.4), transparent);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: var(--gold);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
}

/* ---------- Vision Section ---------- */
.vision-section {
  background: var(--navy);
  padding: var(--space-6xl) 0;
  position: relative;
  overflow: hidden;
}

.vision-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(201,168,76,0.5) 80px, rgba(201,168,76,0.5) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(201,168,76,0.5) 80px, rgba(201,168,76,0.5) 81px);
}

.vision-section .vision-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2xl);
}

.vision-section .vision-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.9;
}

.vision-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  color: var(--gold-light);
  margin-top: var(--space-2xl);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--gold);
}

/* ---------- Highlights / Stats Section ---------- */
.highlights-section {
  padding: var(--space-6xl) 0;
  background: var(--off-white);
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---------- Why Choose Us ---------- */
.why-choose-section {
  padding: var(--space-6xl) 0;
  background: var(--white);
}

.feature-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: var(--transition);
  margin-bottom: var(--space-md);
}

.feature-card:hover {
  background: var(--off-white);
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
}

.feature-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Projects Section ---------- */
.projects-section {
  padding: var(--space-6xl) 0;
  background: var(--off-white);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-2xl);
}

.filter-tab {
  padding: 10px 24px;
  border: 1px solid var(--light-grey);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

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

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-completed {
  background: rgba(34, 139, 34, 0.9);
  color: var(--white);
}

.badge-ongoing {
  background: rgba(201, 168, 76, 0.95);
  color: var(--navy);
}

.badge-upcoming {
  background: rgba(13, 27, 42, 0.9);
  color: var(--gold);
}

.project-card-body {
  padding: var(--space-lg);
}

.project-card-category {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.project-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.project-card-location {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card-location i { color: var(--gold); font-size: 13px; }

.project-card-footer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-detail-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.project-detail-link:hover { gap: 12px; color: var(--gold-dark); }

/* ---------- Upcoming Project Feature ---------- */
.upcoming-feature {
  padding: var(--space-6xl) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.upcoming-feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}

.upcoming-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upcoming-label {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
}

/* ---------- Founder & Directors ---------- */
.leadership-section {
  padding: var(--space-6xl) 0;
  background: var(--white);
}

.founder-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.founder-image {
  height: 450px;
  overflow: hidden;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.founder-info {
  padding: var(--space-2xl);
}

.founder-info .founder-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.founder-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.director-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.director-image {
  height: 320px;
  overflow: hidden;
}

.director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.director-info {
  padding: var(--space-lg);
}

.director-info .director-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.director-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
}

.director-info .director-qual {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.director-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Achievements ---------- */
.achievements-section {
  padding: var(--space-6xl) 0;
  background: var(--off-white);
}

.achievement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 26px;
  margin-bottom: var(--space-md);
}

/* ---------- Contact Section ---------- */
.contact-section {
  padding: var(--space-6xl) 0;
  background: var(--white);
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--white);
  height: 100%;
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}

.contact-item-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 15px;
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--space-lg);
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

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

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.form-floating > .form-control {
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 15px;
  background: var(--white);
  transition: var(--transition);
  height: auto;
}

.form-floating > .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-floating > label {
  color: var(--text-secondary);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--gold);
}

.form-select {
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 15px;
  background: var(--white);
  transition: var(--transition);
  color: var(--text-secondary);
}

.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  padding-top: var(--space-4xl);
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo img {
  height: 52px;
  margin-bottom: var(--space-md);
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer h5 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  position: relative;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Footer skyline SVG */
.footer-skyline {
  position: relative;
  height: 60px;
  margin-top: var(--space-lg);
  overflow: hidden;
}

.footer-skyline svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

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

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-4px);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  animation: pulse 1.5s infinite;
}

.preloader-logo img {
  height: 80px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1279px) {
  .section-padding { padding: var(--space-5xl) 0; }
}

@media (max-width: 991px) {
  .section-padding { padding: var(--space-4xl) 0; }

  .hero-content { padding-top: 120px; }

  .hero-stats-bar { position: relative; margin-top: var(--space-2xl); }

  .scroll-indicator { display: none; }

  .about-image-wrapper img { height: 350px; }

  .founder-image { height: 350px; }

  .upcoming-feature-image { height: 350px; }
}

@media (max-width: 767px) {
  .section-padding { padding: var(--space-3xl) 0; }

  .hero { min-height: auto; padding-bottom: 0; }

  .hero-content {
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
    text-align: center;
  }

  .hero-tagline {
    justify-content: center;
  }

  .hero h1 { max-width: 100%; }

  .hero-description {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .hero-stat-number { font-size: 22px; }

  .stat-number { font-size: 28px; }

  .about-image-wrapper img { height: 280px; }

  .founder-image { height: 300px; }

  .director-image { height: 280px; }

  .upcoming-feature-image { height: 280px; }

  .project-card-image { height: 220px; }

  .filter-tabs { justify-content: center; }

  .contact-info-card { margin-bottom: var(--space-lg); }

  .footer { text-align: center; }
  .footer-brand-text { margin: 0 auto; }
  .social-links { justify-content: center; }
}

@media (max-width: 389px) {
  html { font-size: 14px; }
  .hero-content { padding-top: 80px; }
}

/* ---------- Inner Page Header ---------- */
.page-header {
  background: var(--navy-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,168,76,0.3) 60px, rgba(201,168,76,0.3) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(201,168,76,0.3) 60px, rgba(201,168,76,0.3) 61px);
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-header h1 span { color: var(--gold); }

.page-header .page-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  max-width: 600px;
}

.breadcrumb-nav {
  margin-bottom: var(--space-lg);
}

.breadcrumb-nav a,
.breadcrumb-nav span {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.breadcrumb-nav a {
  color: var(--gold);
}

.breadcrumb-nav a:hover {
  color: var(--gold-light);
}

.breadcrumb-nav .separator {
  color: rgba(255,255,255,0.3);
  margin: 0 12px;
}

.breadcrumb-nav .current {
  color: rgba(255,255,255,0.5);
}

/* ---------- Project Detail Page ---------- */
.project-detail-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.project-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.8) 0%, rgba(13,27,42,0.2) 50%, transparent 100%);
}

.project-detail-hero .hero-content-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-2xl) 0;
  z-index: 2;
}

.project-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2xl);
}

.project-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.project-info-item i {
  color: var(--gold);
  font-size: 18px;
}

.project-info-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.project-info-item .value {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}

/* Sticky Sidebar */
.project-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(201,168,76,0.1);
}

.sidebar-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}

.sidebar-info-row .label {
  color: var(--text-secondary);
}

.sidebar-info-row .value {
  font-weight: 600;
  color: var(--navy);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  gap: var(--space-md);
}

.gallery-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '\F62C';
  font-family: 'bootstrap-icons';
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* CTA Banner */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(201,168,76,0.3) 40px, rgba(201,168,76,0.3) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(201,168,76,0.3) 40px, rgba(201,168,76,0.3) 41px);
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

/* Sticky Mobile CTA */
.sticky-cta-mobile {
  display: none;
}

@media (max-width: 767px) {
  .page-header { padding: 120px 0 48px; }

  .project-detail-hero { height: 40vh; min-height: 300px; }

  .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }

  .gallery-item img { height: 160px; }

  .project-info-bar { gap: var(--space-lg); }

  .sticky-cta-mobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 20px;
    z-index: 999;
    border-top: 1px solid rgba(201,168,76,0.2);
  }

  .sticky-cta-mobile .btn-gold {
    width: 100%;
    justify-content: center;
    padding: 16px;
  }
}

@media (max-width: 575px) {
  .gallery-grid.cols-3,
  .gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

  .gallery-item img { height: 130px; }
}

/* ---------- Leadership Page ---------- */
.founder-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,42,0.08);
  border: 1px solid rgba(201,168,76,0.1);
}

.founder-image {
  height: 100%;
  min-height: 400px;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-info {
  padding: var(--space-2xl) var(--space-3xl);
}

.founder-role {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.founder-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.director-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(13,27,42,0.06);
  border: 1px solid rgba(201,168,76,0.08);
  transition: var(--transition);
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(13,27,42,0.1);
}

.director-image {
  height: 100%;
  min-height: 320px;
}

.director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-info {
  padding: var(--space-xl);
}

.director-role {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.director-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
}

.director-qual {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-style: italic;
}

/* ---------- Achievements Page ---------- */
.award-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,42,0.08);
  border: 1px solid rgba(201,168,76,0.1);
  text-align: center;
  padding: var(--space-3xl);
}

.award-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), #E8D48B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 42px;
  color: var(--navy);
}

.award-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.award-card .award-subtitle {
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.milestone-timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.milestone-item {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.milestone-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
}

.milestone-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.milestone-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Contact Page ---------- */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: 0 20px 60px rgba(13,27,42,0.08);
  border: 1px solid rgba(201,168,76,0.08);
}

.contact-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: var(--space-xl);
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(201,168,76,0.3) 30px, rgba(201,168,76,0.3) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(201,168,76,0.3) 30px, rgba(201,168,76,0.3) 31px);
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.contact-detail-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.contact-detail-item .icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}

.contact-detail-item h5 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-detail-item p,
.contact-detail-item a {
  color: var(--white);
  font-size: 15px;
  margin: 0;
  text-decoration: none;
  font-weight: 500;
}

.contact-detail-item a:hover {
  color: var(--gold);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid rgba(201,168,76,0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .founder-image { min-height: 280px; }
  .founder-info { padding: var(--space-xl); }
  .director-image { min-height: 240px; }
  .director-info { padding: var(--space-lg); }
  .director-info h4 { font-size: 17px; }
  .contact-form-card { padding: var(--space-xl); }
  .contact-info-card { padding: var(--space-xl); }
}

/* ---------- AOS Override ---------- */
[data-aos] {
  transition-duration: 700ms !important;
}
