/* ==========================================================================
   VERSATILE BUILDERS - DESIGN SYSTEM & STYLESHEET
   Brand Identity Extracted Palette: Luxury Obsidian, Imperial Gold, Warm Bronze
   ========================================================================== */

/* 1. DESIGN SYSTEM VARIABLES */
:root {
  /* Brand Palette */
  --primary: #C5A059;         /* Imperial Gold */
  --primary-hover: #D4AF37;   /* Bright Champagne Gold */
  --secondary: #8C6D3B;       /* Warm Bronze */
  --accent: #E5C158;          /* Highlight Gold */
  
  /* Background & Surface Dark Levels */
  --bg-dark: #0A0B0D;         /* Deep Obsidian Black */
  --bg-surface: #121418;      /* Architectural Charcoal */
  --bg-surface-card: #181B20; /* Card Surface */
  
  /* Borders & Glass Effects */
  --border-color: rgba(197, 160, 89, 0.2);
  --border-color-hover: rgba(197, 160, 89, 0.5);
  --glass-bg: rgba(18, 20, 24, 0.85);
  
  /* Typography Colors */
  --text-primary: #F4F4F5;     /* Soft Off-White */
  --text-secondary: #A1A1AA;   /* Muted Grey */
  --text-gold: #C5A059;        /* Gold Accent Text */
  
  /* Button Specifics */
  --btn-gold-bg: linear-gradient(135deg, #C5A059 0%, #A37E36 100%);
  --btn-hover-bg: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.25);
  
  /* Typography Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESET & GLOBAL STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--btn-gold-bg);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s linear;
}

/* Selection */
::selection {
  background-color: var(--primary);
  color: var(--bg-dark);
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* 3. LAYOUT & CONTAINERS */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-padding {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.bg-surface {
  background-color: var(--bg-surface);
}

/* Grids */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2-col { grid-template-columns: repeat(2, 1fr); }
.grid-3-col { grid-template-columns: repeat(3, 1fr); }
.grid-4-col { grid-template-columns: repeat(4, 1fr); }

.align-center { align-items: center; }
.text-center { text-align: center; }

.gap-md { gap: 2rem; }
.gap-lg { gap: 2.5rem; }
.gap-xl { gap: 4rem; }

/* 4. UTILITY COMPONENTS & BUTTONS */
.badge-gold {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  background-color: rgba(197, 160, 89, 0.05);
}

.section-subtitle {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-description {
  max-width: 650px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--btn-gold-bg);
  color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--btn-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(197, 160, 89, 0.05);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.gold-link {
  color: var(--primary);
  font-weight: 500;
}

.gold-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* 5. NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  background: var(--btn-gold-bg);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 4px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  line-height: 1;
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--primary);
  margin-top: 2px;
}

/* Nav Menu */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* 6. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 1;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.7) 0%, rgba(10, 11, 13, 0.95) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 850px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.scroll-indicator:hover { opacity: 1; }

.scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-secondary);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

/* 7. ABOUT SECTION */
.about-image-wrapper {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.image-frame img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 120px;
  color: var(--text-primary);
}

.paragraph {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pillar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  border-radius: 4px;
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pillar-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.pillar-box p {
  font-size: 0.85rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.values-list i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* 8. SERVICES SECTION */
.service-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  padding: 2.2rem;
  border-radius: 4px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.service-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  gap: 0.8rem;
  color: var(--primary-hover);
}

/* 9. WHY US SECTION */
.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  border-radius: 4px;
  transition: var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--primary);
  background: var(--bg-surface-card);
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.85rem;
}

/* 10. PROJECTS GALLERY */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.project-img-box {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.2) 0%, rgba(10, 11, 13, 0.95) 100%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: var(--transition-normal);
}

.project-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.project-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

/* 11. PROCESS TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--bg-surface-card);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2;
}

.step-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

/* 12. STATISTICS */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1rem;
}

.stat-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* 13. TESTIMONIALS */
.testimonial-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.client-details h4 {
  font-size: 1.1rem;
  color: var(--primary);
}

.client-details span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

/* 14. FAQ ACCORDION */
.faq-section {
  position: relative;
  z-index: 5;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.faq-item:hover {
  border-color: var(--border-color-hover);
}

.faq-item.active {
  border-color: var(--primary);
  background: #1C2026; /* Enhanced contrast for open state */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 1.8rem;
  background: transparent;
  border: none;
  color: #FFFFFF; /* High contrast text */
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-icon {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-inner {
  padding: 0 1.8rem 1.6rem 1.8rem;
}

.faq-content p {
  color: #D1D5DB; /* Bright, highly readable body text */
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* 15. CTA BANNER */
.cta-banner {
  position: relative;
  padding: 7rem 0;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, 0.88);
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

/* 16. CONTACT & MAP */
.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.contact-cta-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 4px;
  margin-top: 2rem;
}

.contact-cta-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-cta-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.map-wrapper {
  height: 100%;
  min-height: 450px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* 17. FLOATING WHATSAPP & BACK TO TOP */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  width: 50px;
  height: 50px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

/* 18. FOOTER STYLES */
.footer {
  background-color: var(--bg-dark);
  padding: 5rem 0 3rem 0; /* Ensures proper spacing and prevents visual cutoff */
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-address {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-phone {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-phone:hover {
  color: var(--primary-hover);
}

/* Social Links Alignment */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--btn-gold-bg);
  color: var(--bg-dark);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

/* 19. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .grid-4-col { grid-template-columns: repeat(2, 1fr); }
  .grid-3-col { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2-col, .grid-3-col, .grid-4-col, .project-grid { grid-template-columns: 1fr; }
  
  .hamburger { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-surface-card);
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }

  .nav-menu.open { right: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  
  .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .btn-nav { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .step-number { width: 50px; height: 50px; font-size: 1.2rem; }
  .experience-card { position: static; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-whatsapp { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; font-size: 1.7rem; }
  .back-to-top { bottom: 1.5rem; right: 5.5rem; width: 45px; height: 45px; }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  text-align: center;
  padding: 20px 15px; /* Top/Bottom padding: 20px, Left/Right padding: 15px */
  width: 100%;
  box-sizing: border-box;
  color: #ccc; /* Adjust font color to match your dark background */
}

.footer-bottom p {
  margin: 0; /* Clears default paragraph spacing */
  font-size: 14px;
}