@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Jost:wght@300;400;500&display=swap');

/* ==========================================
   DESIGN SYSTEM VARIABLES
   ========================================== */
:root {
  /* Color Palette */
  --bg-primary: #FFFFFF;
  /* Pure white background */
  --bg-secondary: #FAFAFA;
  /* Soft White */
  --bg-tertiary: #F5F5F5;
  /* Light Grey */
  --bg-quaternary: #EFEFEF;
  /* Mild Grey */
  --accent-gold: #C89B3C;
  /* Premium Gold */
  --accent-gold-rgb: 200, 155, 60;
  --accent-orange: #D4AF37;
  /* Luxury Gold (mapped to orange for transition compatibility) */
  --accent-orange-rgb: 212, 175, 55;
  --text-primary: #222222;
  /* Dark primary text */
  --text-secondary: #555555;
  /* Muted dark grey */
  --text-muted: #666666;
  /* Grey descriptions */
  --text-white: #FFFFFF;
  /* For overlay text on dark background/images */

  /* Glassmorphism - Light Theme version */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  --glass-border: #E5E5E5;
  --glass-border-orange: rgba(200, 155, 60, 0.25);

  /* Shadows & Glows - subtle and corporate */
  --glow-gold: 0 10px 30px rgba(200, 155, 60, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  --glow-orange: 0 10px 30px rgba(212, 175, 55, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  --glow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);

  /* Layout & Animation */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Jost', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --max-width: 1400px;
}

/* ==========================================
   BASE & RESET STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.75;
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
  transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.specifications-section {
  background: #d8d8d8;
  padding: 40px 0;
}

.specifications-section .container,
.specification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {

  .specifications-section .container,
  .specification-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .specifications-section .container,
  .specification-grid {
    grid-template-columns: 1fr;
  }
}

.specification-grid {
  margin-top: 30px;
}

.spec-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 120px;
  box-shadow: var(--glow-soft);
  transition: var(--transition-smooth);
}

.spec-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-orange);
  transform: translateY(-5px);
  box-shadow: var(--glow-gold);
}

.spec-card i,
.spec-card svg,
.spec-card .lucide {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  font-size: 40px !important;
  stroke: var(--accent-gold) !important;
  stroke-width: 1.5 !important;
  color: var(--accent-gold) !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  transition: var(--transition-smooth) !important;
}

.spec-card:hover i,
.spec-card:hover svg,
.spec-card:hover .lucide {
  stroke: var(--accent-orange) !important;
  color: var(--accent-orange) !important;
  transform: scale(1.1) !important;
}

.spec-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.spec-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background-color: rgba(200, 155, 60, 0.15);
  border-color: var(--accent-gold);
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--accent-gold);
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #333333;
}

label {
  font-family: var(--font-display);
  color: #333333;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a37f2c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
}

.text-orange {
  color: var(--accent-orange);
}

/* Premium Corporate Icon System */
.icon-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #222222;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

/* Hover and active states for SVGs */
.service-card:hover .icon-svg,
.value-card:hover .icon-svg,
.contact-info-item:hover .icon-svg,
.btn:hover .icon-svg,
.achievement-card:hover .icon-svg,
.project-spec-row:hover .icon-svg {
  stroke: var(--accent-gold);
}

/* Close Document Modals Cross */
.close-modal {
  color: #222222 !important;
  font-weight: 700;
  font-size: 1.8rem;
  transition: var(--transition-fast);
}

.close-modal:hover {
  color: var(--accent-gold) !important;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-orange);
  transform: translateY(-5px);
  box-shadow: var(--glow-gold);
}

.section-padding {
  padding: 120px 0 100px 0;
}

.section-padding.container {
  padding-top: 120px;
  padding-bottom: 100px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--text-white);
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #a37f2c;
  /* Darker gold for hover */
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(200, 155, 60, 0.2);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ==========================================
   STICKY HEADER & MEGA MENU
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid #E5E5E5;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  padding: 15px 5%;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #222222;
}

.logo span {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.mobile-menu-header {
  display: none !important;
}

.nav-item {
  position: relative;
  padding: 10px 18px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #222222;
  position: relative;
  padding-bottom: 4px;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

/* Dropdown Menu setup */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), var(--glow-gold);
  padding: 10px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 999;
  list-style: none;
  margin: 0;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu li a {
  color: #555555;
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 24px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.dropdown-menu li a::before {
  content: '◂';
  color: var(--accent-gold);
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition-fast);
  font-size: 0.7rem;
}

.dropdown-menu li a:hover {
  color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.05);
  padding-left: 28px;
}

.dropdown-menu li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 6px 0;
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================
   SUBPAGE HERO BANNER STYLES
   ========================================== */
.subpage-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
  z-index: 5;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border) !important;
}

.subpage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 14, 23, 0.75) 0%, rgba(12, 14, 23, 0.4) 50%, rgba(12, 14, 23, 0.8) 100%);
  z-index: 1;
}

.subpage-hero .container {
  position: relative;
  z-index: 2;
}

/* ==========================================
   BREADCRUMBS SECTION (Dedicated position below hero)
   ========================================== */
.breadcrumbs-container {
  padding-top: 25px;
  /* 20px-30px top spacing */
  padding-bottom: 35px;
  /* 30px-40px bottom spacing */
  background: var(--bg-primary);
  border-bottom: 1px solid var(--glass-border);
}

.breadcrumbs-container .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.breadcrumbs-container .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs-container .breadcrumb li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-gold);
  /* Active Page Premium Gold */
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.breadcrumbs-container .breadcrumb li a {
  color: #555555;
  /* Dark Grey for parents */
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.breadcrumbs-container .breadcrumb li a:hover {
  color: var(--accent-gold);
}

.breadcrumbs-container .breadcrumb li::after {
  content: '/';
  margin-left: 10px;
  color: #888888;
  font-weight: 400;
}

.breadcrumbs-container .breadcrumb li:last-child::after {
  display: none;
}

/* Ensure no large empty gap between Breadcrumb and Content Section */
.breadcrumbs-container+section.section-padding,
.breadcrumbs-container+.section-padding,
.breadcrumbs-container+div.section-padding {
  padding-top: 60px !important;
}

@media (max-width: 768px) {
  .subpage-hero {
    min-height: 320px;
    padding-top: 130px;
    padding-bottom: 55px;
  }

  .breadcrumbs-container {
    padding-top: 20px;
    padding-bottom: 25px;
  }

  .breadcrumbs-container+section.section-padding,
  .breadcrumbs-container+.section-padding,
  .breadcrumbs-container+div.section-padding {
    padding-top: 45px !important;
  }
}

/* Page Subtitle */
.subpage-hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--accent-gold) !important;
  margin-bottom: 10px;
  display: block;
}

/* Page Heading */
.subpage-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF !important;
}

/* Page Description */
.subpage-hero-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Subpage Left align layout for blog/details pages */
.subpage-hero.subpage-hero-left {
  justify-content: flex-start;
  text-align: left;
}

.subpage-hero.subpage-hero-left .breadcrumb {
  justify-content: flex-start;
}

.subpage-hero.subpage-hero-left .subpage-hero-description {
  margin: 0;
}

/* ==========================================
   HOMEPAGE HERO SECTION
   ========================================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-container img,
.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1) contrast(1);
}

/* Fallback/Overlay Grid for Tech Aesthetic */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(12, 14, 23, 0.2) 0%, rgba(5, 5, 8, 0.95) 100%);
  z-index: 2;
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--text-white);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #CCCCCC;
  /* Keep light text over dark video background */
  margin-bottom: 40px;
  max-width: 700px;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ==========================================
   STATISTICS COUNTER
   ========================================== */
.stats-section {
  padding: 40px 0;
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 35px rgba(200, 155, 60, 0.12);
}

.stat-card::before {
  display: none;
}

.stat-icon-wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  width: 44px;
  height: 44px;
  stroke: var(--accent-gold);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--transition-fast), transform var(--transition-fast);
}

.stat-card:hover .stat-icon {
  stroke: #D4AF37;
  /* Luxury Gold on hover */
  transform: scale(1.1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--accent-gold) !important;
  /* Premium Gold number */
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #333333 !important;
  /* Dark Grey label */
  font-weight: 600;
  /* Semi-bold */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   SPLIT LAYOUT & TIMELINES (ABOUT)
   ========================================== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-img {
  position: relative;
  overflow: hidden;
}

.split-img img {
  width: 100%;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.split-img:hover img {
  transform: scale(1.01);
}

.split-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.split-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* CEO Quote Card */
.ceo-quote-card {
  border-left: 3px solid var(--accent-orange);
  padding: 20px 25px;
  margin-top: 30px;
}

.ceo-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.ceo-meta h5 {
  font-size: 1rem;
  color: var(--accent-gold);
}

.ceo-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}

/* Central vertical timeline line */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold) 70%, #E5E5E5 100%);
  transform: translateX(-50%);
  z-index: 1;
}

/* Individual Milestone Item container */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* Left items */
.timeline-item.left {
  left: 0;
  align-items: flex-end;
  text-align: right;
}

/* Right items */
.timeline-item.right {
  left: 50%;
  align-items: flex-start;
  text-align: left;
}

/* Circular year marker in the center */
.timeline-dot {
  position: absolute;
  top: 30px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-gold);
  box-shadow: var(--glow-gold);
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-item.left .timeline-dot {
  right: -12px;
}

.timeline-item.right .timeline-dot {
  left: -12px;
}

/* Hover effects for dot */
.timeline-item:hover .timeline-dot {
  background: var(--accent-gold);
  border-color: #ffffff;
  box-shadow: var(--glow-gold);
  transform: scale(1.25);
}

/* Milestone Cards */
.timeline-content {
  padding: 25px 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  position: relative;
  background: #FFFFFF !important;
  border: 1px solid #E5E5E5 !important;
  box-shadow: var(--glow-soft) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 180px;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-gold) !important;
  border-color: var(--accent-gold) !important;
}

/* Year circles inside card or as badge */
.timeline-year-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(200, 155, 60, 0.1) !important;
  color: var(--accent-gold) !important;
  margin-bottom: 15px;
  border: 1px solid rgba(200, 155, 60, 0.3) !important;
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.05) !important;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-year-badge {
  background: rgba(200, 155, 60, 0.2) !important;
  color: var(--accent-gold) !important;
  border-color: rgba(200, 155, 60, 0.4) !important;
  box-shadow: 0 0 12px rgba(200, 155, 60, 0.1) !important;
}

.timeline-content h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #222222 !important;
  font-weight: 700 !important;
}

.timeline-content p {
  color: #555555 !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Connecting indicators (small triangles) */
.timeline-content::after {
  content: '';
  position: absolute;
  top: 32px;
  width: 0;
  height: 0;
  border-style: solid;
  transition: var(--transition-smooth);
}

.timeline-item.left .timeline-content::after {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--glass-border);
}

.timeline-item.right .timeline-content::after {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--glass-border) transparent transparent;
}

.timeline-item.left:hover .timeline-content::after {
  border-left-color: var(--accent-gold);
}

.timeline-item.right:hover .timeline-content::after {
  border-right-color: var(--accent-gold);
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  padding: 40px 30px;
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.value-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Board of Directors / Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  overflow: hidden;
}

.team-img-wrapper {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 14, 23, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.08);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--glass-border);
}

.social-links a:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: var(--glow-gold);
}

.team-info {
  margin-top: 15px;
  text-align: center;
}

.team-info h4 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.team-info p {
  color: var(--accent-orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   SERVICES GRID
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.services-grid.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .services-grid.three-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid.three-cols {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.service-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-link {
  color: var(--accent-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
}

.service-link::after {
  content: '→';
  margin-left: 8px;
  transition: var(--transition-fast);
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

/* ==========================================
   FEATURED PROJECTS SECTION
   ========================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  border-color: transparent;
  color: var(--bg-primary);
  box-shadow: var(--glow-gold);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Structured card layout */
.project-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-item:hover {
  border-color: var(--glass-border-orange);
  transform: translateY(-5px);
  box-shadow: var(--glow-gold);
}

.project-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-item:hover .project-card-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-top-right-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-card-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.project-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.project-spec-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.spec-icon {
  font-size: 1.1rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.spec-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.card-separator {
  border: 0;
  height: 1px;
  background: #E5E5E5;
  margin: 0 0 20px 0;
}

.project-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}

.project-card-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.card-btn-secondary {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  background: #FFFFFF;
}

.card-btn-secondary:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.15);
}

.card-btn-primary {
  background: var(--accent-gold);
  color: #FFFFFF;
  border: 1px solid var(--accent-gold);
}

.card-btn-primary:hover {
  background: #FFFFFF;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.15);
}

/* Project Detail Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Lighter backdrop overlay for corporate style */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  background: #FFFFFF !important;
  border: 1px solid #E5E5E5 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  color: #222222;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: var(--glow-gold);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 20px;
}

.modal-media img {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.modal-info h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.modal-info p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 1rem;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-item {
  padding: 15px;
  border-left: 2px solid var(--accent-gold);
}

.spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-value {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 5px;
}

/* ==========================================
   CONSTRUCTION PROCESS SECTION
   ========================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.process-card {
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.process-step {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 auto 20px auto;
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
}

.process-card::after {
  content: '';
  position: absolute;
  top: 55px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  z-index: 1;
}

.process-grid .process-card:last-child::after {
  display: none;
}

.process-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.process-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================
   TECHNOLOGY & INNOVATION SECTION
   ========================================== */
.tech-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-visual-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 480px;
  box-shadow: var(--glow-gold);
}

.tech-visual-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-card {
  padding: 30px 20px;
}

.tech-card h4 {
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.tech-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}

.testimonial-video-placeholder {
  width: 100%;
  height: 380px;
  background: rgba(22, 26, 41, 0.5);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.testimonial-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.video-play-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glow-gold);
  font-size: 1.5rem;
  position: absolute;
  transition: var(--transition-smooth);
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-orange);
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.control-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: var(--glow-gold);
}

.client-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 80px;
  opacity: 0.6;
}

.logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* ==========================================
   AWARDS SECTION
   ========================================== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.award-card {
  padding: 40px 30px;
  text-align: center;
}

.award-badge {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.award-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.award-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.award-year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent-orange);
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  position: relative;
  border: 1px solid var(--glass-border);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.industry-card:hover img {
  transform: scale(1.05);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 14, 23, 0.95) 0%, rgba(12, 14, 23, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.industry-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
}

.industry-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.industry-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================
   CAREERS SECTION
   ========================================== */
.careers-info {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.job-openings {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-details h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.job-meta span {
  display: flex;
  align-items: center;
}

.job-apply-btn {
  padding: 10px 20px;
  border-radius: 4px;
}

.application-box {
  padding: 40px;
}

.application-box h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--accent-gold);
}

.application-box p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* ==========================================
   WHY JOIN US & BENEFITS SECTION
   ========================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--glow-gold);
}

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(200, 155, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-wrapper {
  background: var(--accent-gold);
  color: #FFFFFF;
}

.benefit-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.benefit-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================
   RESUME UPLOAD INTERFACE
   ========================================== */
.file-upload-wrapper {
  margin-top: 10px;
  position: relative;
}

.file-upload-drag {
  border: 2px dashed #E5E5E5;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.file-upload-drag:hover,
.file-upload-drag.dragover {
  border-color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.02);
}

.file-upload-drag svg {
  color: var(--accent-gold);
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.file-upload-drag:hover svg {
  transform: translateY(-5px);
}

.file-upload-drag p {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.file-upload-drag span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-upload-drag input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-preview-container {
  margin-top: 15px;
  display: none;
}

.file-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-info svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.file-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.file-remove-btn {
  background: transparent;
  border: none;
  color: #888888;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border-radius: 50%;
}

.file-remove-btn:hover {
  background: #F5F5F5;
  color: #FF6B35;
}

.upload-progress-bar {
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
  display: none;
}

.upload-progress-fill {
  height: 100%;
  background: var(--accent-gold);
  width: 0%;
  transition: width 0.3s ease;
}

.upload-status-message {
  font-size: 0.8rem;
  margin-top: 8px;
  font-weight: 500;
}

.upload-status-message.success {
  color: #2E7D32;
}

.upload-status-message.error {
  color: #C62828;
}

/* ==========================================
   EMPLOYEE TESTIMONIALS SLIDER
   ========================================== */
.employee-slider-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.employee-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.employee-slide {
  min-width: 100%;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}

.employee-photo-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.employee-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-quote-card {
  padding: 45px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  position: relative;
}

.employee-quote-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 8rem;
  color: rgba(200, 155, 60, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.employee-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.employee-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 5px;
}

.employee-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 992px) {
  .employee-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .employee-photo-wrapper {
    height: 250px;
    width: 250px;
    margin: 0 auto;
    border-radius: 50%;
  }

  .employee-quote-card::before {
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
  }

  .employee-quote-card {
    padding: 30px;
  }
}

/* ==========================================
   COMPANY CULTURE SECTION
   ========================================== */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.culture-grid:nth-of-type(even) {
  direction: rtl;
}

.culture-grid:nth-of-type(even) .culture-content {
  direction: ltr;
}

.culture-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.culture-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.culture-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  height: 380px;
  border: 1px solid var(--glass-border);
}

.culture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.culture-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {

  .culture-grid,
  .culture-grid:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }

  .culture-image {
    height: 280px;
  }
}

/* ==========================================
   JOB DETAILS PAGE STYLING
   ========================================= */
.job-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.job-detail-content {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.job-detail-content h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  margin-top: 35px;
  border-bottom: 2px solid var(--bg-tertiary);
  padding-bottom: 10px;
  font-weight: 700;
}

.job-detail-content h2:first-of-type {
  margin-top: 0;
}

.job-detail-content ul {
  padding-left: 20px;
  margin-bottom: 25px;
  list-style-type: square;
}

.job-detail-content li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.job-detail-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.job-detail-sidebar h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.sidebar-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #E5E5E5;
}

.sidebar-meta-item:last-of-type {
  border-bottom: none;
}

.sidebar-meta-label {
  font-weight: 600;
  color: var(--text-primary);
}

.sidebar-meta-value {
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .job-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .job-detail-sidebar {
    position: static;
  }
}

/* ==========================================
   BLOG GRID SECTION
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  overflow: hidden;
}

.blog-img {
  height: 240px;
  overflow: hidden;
  position: relative;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  background: var(--accent-orange);
  color: var(--bg-primary);
}

.blog-body {
  padding: 30px;
}

.blog-meta-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.blog-body h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.blog-more-btn {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-more-btn:hover {
  color: var(--accent-orange);
}

/* ==========================================
   CONTACT & MAPS SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--text-primary);
}

.contact-details a:hover {
  color: var(--accent-gold);
}

/* Interactive Floating Contact Form */
.floating-form {
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  padding: 14px 18px;
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.15);
  background: #FFFFFF;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Styled Interactive Dark Map Placeholder */
.map-container {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 50px;
  position: relative;
  background: var(--bg-secondary);
}

.map-svg-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  position: relative;
}

.map-glow-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: var(--glow-orange), 0 0 0 10px rgba(255, 107, 53, 0.2);
  margin-bottom: 20px;
  animation: pulsePin 2s infinite;
}

@keyframes pulsePin {
  0% {
    box-shadow: var(--glow-orange), 0 0 0 0 rgba(255, 107, 53, 0.3);
  }

  70% {
    box-shadow: var(--glow-orange), 0 0 0 15px rgba(255, 107, 53, 0);
  }

  100% {
    box-shadow: var(--glow-orange), 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.map-meta {
  z-index: 2;
}

.map-meta h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.map-meta p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
footer {
  background: #222222;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px 0;
  color: #FFFFFF;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-left: 5%;
  padding-right: 5%;
  width: 100%;
  box-sizing: border-box;
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-col p {
  color: #CCCCCC;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #CCCCCC;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-col ul li a::before {
  content: '▪';
  color: var(--accent-gold);
  margin-right: 8px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex-grow: 1;
  border-radius: 4px;
}

.newsletter-form button {
  padding: 14px 20px;
  border-radius: 4px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #999999;
  font-size: 0.9rem;
  padding-left: 5%;
  padding-right: 5%;
  width: 100%;
  box-sizing: border-box;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #999999;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--accent-gold);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #999999;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* ==========================================
   SCROLL TRIGGERED ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #FFFFFF !important;
    border-left: 1px solid #E5E5E5;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 !important;
    /* Reset padding for drawer layout */
    transition: var(--transition-smooth);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Mobile Drawer Header */
  .mobile-menu-header {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    margin-bottom: 5px;
    box-sizing: border-box;
  }

  .mobile-close-btn {
    background: #FFFFFF;
    border: 1.5px solid var(--accent-gold);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222222;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .mobile-close-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-gold);
    border-color: #D4AF37;
    transform: rotate(90deg);
  }

  /* Mobile Drawer Items */
  .nav-item {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222222 !important;
    /* High contrast black text */
    text-decoration: none;
    box-sizing: border-box;
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
  }

  .nav-link:hover,
  .nav-item:hover .nav-link,
  .nav-item.active .nav-link {
    color: var(--accent-gold) !important;
    background: #FAFAFA;
    border-left-color: var(--accent-gold);
  }

  .nav-link::after {
    display: none !important;
    /* Hide desktop underline */
  }

  .has-dropdown {
    position: relative;
  }

  .dropdown-menu {
    position: static;
    padding: 5px 0 15px 35px;
    box-shadow: none;
    background: transparent;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: auto;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    display: block;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #555555 !important;
    text-decoration: none;
    transition: var(--transition-fast);
  }

  .dropdown-menu li a:hover {
    color: var(--accent-gold) !important;
    padding-left: 5px;
    background: transparent;
  }

  .hamburger {
    display: block;
    z-index: 1001;
    transition: opacity 0.2s ease;
  }

  .hamburger.active {
    opacity: 0;
    pointer-events: none;
  }

  .split-layout,
  .tech-container,
  .careers-info,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-masonry,
  .industries-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0 50px 0;
  }

  .stats-section {
    margin-top: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process-card::after {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {

  .stats-grid,
  .projects-masonry,
  .industries-grid,
  .blog-grid,
  .footer-grid,
  .services-grid,
  .awards-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   BROCHURE DOWNLOAD SECTION
   ========================================== */
.brochure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.brochure-form-container {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brochure-visual-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-gold);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  min-height: 450px;
}

.brochure-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(12, 14, 23, 0.3) 0%, rgba(5, 5, 8, 0.9) 100%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.brochure-visual-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: var(--transition-smooth);
}

.brochure-visual-container:hover .brochure-visual-img {
  transform: scale(1.05);
}

.brochure-visual-container:hover .brochure-visual-overlay {
  background: linear-gradient(180deg, rgba(12, 14, 23, 0.1) 0%, rgba(5, 5, 8, 0.8) 100%);
}

.brochure-visual-content {
  position: relative;
  z-index: 2;
}

.visual-highlights {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.visual-highlights li {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  font-weight: 500;
}

/* Responsive updates for Brochure section */
@media (max-width: 992px) {
  .brochure-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .brochure-form-container {
    padding: 30px;
  }

  .brochure-visual-container {
    padding: 30px;
    min-height: 400px;
  }

  .visual-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brochure-grid {
    grid-template-columns: 1fr;
  }

  .brochure-visual-container {
    min-height: 350px;
  }
}

@media (max-width: 576px) {

  /* On mobile, show image on top and form below */
  .brochure-grid {
    display: flex;
    flex-direction: column;
  }

  .brochure-visual-container {
    order: -1;
    /* image on top */
    min-height: 300px;
  }
}

/* ==========================================
   GLOBAL MOBILE CONTAINER & ALIGNMENT SYSTEM
   ========================================== */
@media (max-width: 768px) {

  /* Enforce consistent container safe area and vertical grid lines */
  .container,
  .nav-container,
  .footer-grid,
  .footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: calc(20px + env(safe-area-inset-left)) !important;
    padding-right: calc(20px + env(safe-area-inset-right)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* Sticky header respects status bars / notches */
  header {
    padding-top: env(safe-area-inset-top) !important;
  }

  /* Header Spacing and Spacing between elements */
  .logo {
    margin-right: 15px !important;
  }

  .logo img {
    width: clamp(140px, 40vw, 160px) !important;
    height: auto !important;
  }

  header .btn-primary {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .logo img {
    width: 160px !important;
    height: auto !important;
  }
}

@media (max-width: 992px) {

  /* Pull nav out of flex flow so it doesn't take up space in the middle of header */
  header nav {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .nav-menu {
    max-width: 85% !important;
    width: 300px !important;
  }
}

/* ==========================================
   ELIMINATING DREADED HORIZONTAL SCROLL & OVERFLOW
   ========================================== */
@media (max-width: 768px) {

  /* Prevent large elements from stretching the viewport */
  img,
  .split-img,
  .tech-visual-wrapper,
  .map-container,
  .testimonial-video-placeholder,
  .glass-card,
  .floating-form,
  .brochure-form-container,
  .brochure-visual-container,
  .hero-content,
  body {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Reset fixed min-width layout grids from templates */
  .container div[style*="min-width: 300px"],
  .container div[style*="min-width: 250px"],
  .split-content,
  .modal-info {
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Vertical stacking for project actions and hero CTAs */
  .project-card-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .hero-ctas {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    max-width: 280px !important;
  }
}

/* ==========================================
   PREMIUM MOBILE TYPOGRAPHY & OVERFLOW FIXES
   ========================================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  h2 {
    font-size: 1.8rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  h3 {
    font-size: 1.4rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  h4 {
    font-size: 1.15rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  h5 {
    font-size: 1.0rem !important;
  }

  h6 {
    font-size: 0.9rem !important;
  }

  .hero h1 {
    font-size: 2.4rem !important;
  }

  .stat-number {
    font-size: 2.2rem !important;
  }

  .section-header h2 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  h4 {
    font-size: 1.1rem !important;
  }

  .hero h1 {
    font-size: 2.0rem !important;
  }

  .stat-number {
    font-size: 1.8rem !important;
  }

  .section-header h2 {
    font-size: 1.5rem !important;
  }
}

/* ==========================================
   MOBILE CARD & COMPONENT ALIGNMENT SYSTEM
   ========================================== */
@media (max-width: 768px) {

  .glass-card,
  .stat-card,
  .value-card,
  .team-card,
  .award-card,
  .project-item,
  .blog-card,
  .contact-info-item,
  .floating-form,
  .brochure-form-container,
  .brochure-visual-container,
  .job-card,
  .application-box {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Sizing components correctly */
  .split-img img {
    height: 300px !important;
  }

  .tech-visual-wrapper {
    height: 300px !important;
  }

  .testimonial-video-placeholder {
    height: 250px !important;
  }

  .testimonial-slide {
    padding: 20px !important;
  }

  .testimonial-text {
    font-size: 1.05rem !important;
  }

  /* Details and specs popups responsiveness */
  .modal-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .modal-media img {
    height: 250px !important;
  }

  .modal-content {
    padding: 25px 20px !important;
  }

  .modal-specs {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Tech Grid override */
  .tech-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Timeline responsive overrides */
  .timeline-container::before {
    left: 20px !important;
    transform: none !important;
  }

  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    right: auto !important;
    left: 8px !important;
  }

  .timeline-item.left .timeline-content::after,
  .timeline-item.right .timeline-content::after {
    left: -10px !important;
    right: auto !important;
    border-width: 10px 10px 10px 0 !important;
    border-color: transparent var(--glass-border) transparent transparent !important;
  }

  .timeline-item.left:hover .timeline-content::after,
  .timeline-item.right:hover .timeline-content::after {
    border-left-color: transparent !important;
    border-right-color: var(--accent-gold) !important;
  }

  .timeline-content {
    max-width: 100% !important;
  }
}

/* ==========================================
   MOBILE GRID, TABS, NEWSLETTER & PROCESS OVERRIDES
   ========================================== */
@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Project sub-tabs stacking */
  .project-tabs-container .sub-tabs {
    /* flex-direction: column !important; */
    flex-direction: row !important;
    border-radius: 12px !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px !important;
  }

  .project-tabs-container .sub-tab-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important;
  }

  /* Form and component padding shrink */
  .floating-form,
  .application-box,
  .brochure-form-container,
  .contact-info-item {
    padding: 20px !important;
  }

  /* Sizing table for small screen */
  table {
    font-size: 0.85rem !important;
  }

  td,
  th {
    padding: 8px 6px !important;
  }
}

@media (max-width: 480px) {

  /* Stacking the newsletter form elements */
  .newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .newsletter-form button {
    width: 100% !important;
  }

  /* Further visual heights shrink */
  .tech-visual-wrapper {
    height: 220px !important;
  }

  .split-img img {
    height: 250px !important;
  }
}

/* ==========================================
   SECTION SPACING & VERTICAL RHYTHM SYSTEM
   ========================================== */
@media (max-width: 992px) {
  .section-padding {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
  }

  .section-header {
    margin-bottom: 35px !important;
  }
}

@media (max-width: 576px) {
  .brochure-grid {
    display: flex;
    flex-direction: column;
    gap: 30px !important;
  }
}

/* ==========================================
   COMPANY ACHIEVEMENTS SECTION (ABOUT PAGE)
   ========================================== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.achievement-card {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 12px 40px rgba(200, 155, 60, 0.15) !important;
}

.achievement-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.achievement-svg {
  stroke: var(--accent-gold);
  transition: var(--transition-smooth);
}

.achievement-card:hover .achievement-svg {
  stroke: var(--accent-gold);
  transform: scale(1.05);
}

.achievement-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-gold) !important;
  margin-bottom: 10px;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: var(--accent-gold) !important;
}

.achievement-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #333333 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Responsive updates for achievements */
@media (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .achievement-card {
    padding: 30px 15px;
  }
}

/* ==========================================
   VISION, MISSION, COMMITMENT & CORE VALUES
   ========================================== */
.vmc-blocks {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 60px;
}

.vmc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vmc-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  height: 400px;
}

.vmc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.vmc-block:hover .vmc-image img {
  transform: scale(1.05);
}

.vmc-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.vmc-block:hover .vmc-image::after {
  opacity: 1;
}

.vmc-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.vmc-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.vmc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vmc-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vmc-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.values-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  border-left: 2px solid var(--accent-gold);
  padding-left: 20px;
  transition: border-color 0.3s ease;
}

.value-item:hover {
  border-left-color: var(--accent-orange);
}

.value-item h5 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 5px;
  font-weight: 600;
}

.value-item p {
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 992px) {
  .vmc-blocks {
    gap: 80px;
  }

  .vmc-block {
    gap: 40px;
  }

  .vmc-image {
    height: 320px;
  }

  .vmc-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .vmc-blocks {
    gap: 60px;
  }

  .vmc-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .vmc-block:nth-child(even) {
    flex-direction: column-reverse;
  }

  .vmc-image {
    height: 280px;
    width: 100%;
  }
}

/* ==========================================
   FAQ ACCORDION COMPONENT
   ========================================== */
.faq-accordion-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow-soft);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.05);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: #FFFFFF;
  border: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #222222;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  position: relative;
}

.faq-question-btn:hover {
  color: var(--accent-gold);
}

/* Plus/Minus Toggle Icon using CSS pseudo-elements for smooth rotation/transition */
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

/* Horizontal line of Plus */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Vertical line of Plus */
.faq-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* State when expanded */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* When expanded, hide the vertical line to make it a minus (-) */
.faq-item.active .faq-icon::after {
  opacity: 0;
  transform: scaleY(0);
}

/* Make sure the question color stays gold when active */
.faq-item.active .faq-question-btn {
  color: var(--accent-gold);
}

/* Answer Panel Container */
.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  background: #FFFFFF;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Answer Content Padding */
.faq-answer-content {
  padding: 0 28px 24px 28px;
}

.faq-answer-content p {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 576px) {
  .faq-question-btn {
    padding: 18px 20px;
    font-size: 0.95rem;
  }

  .faq-answer-content {
    padding: 0 20px 20px 20px;
  }

  .faq-icon {
    width: 16px;
    height: 16px;
  }

  .faq-icon::before {
    width: 16px;
    top: 7px;
  }

  .faq-icon::after {
    height: 16px;
    left: 7px;
  }
}

/* ==========================================
   FOOTER SOCIAL MEDIA ICONS
   ========================================== */
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 15px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.footer-social-link:hover,
.footer-social-link:focus,
.footer-social-link:active {
  color: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  background: rgba(200, 155, 60, 0.08);
  transform: scale(1.15);
  outline: none;
}

.footer-social-icon-svg {
  stroke: currentColor;
  fill: none;
  transition: stroke 0.3s ease;
}

/* Responsive Overrides for footer socials */
@media (max-width: 768px) {
  .footer-socials {
    justify-content: center !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .footer-social-link {
    width: 44px;
    /* Touch-friendly size on mobile */
    height: 44px;
  }
}

/* ==========================================
   FOOTER LOGO STYLING
   ========================================== */
.footer-logo {
  display: block;
  margin-bottom: 25px;
  /* Spacing between logo and company description */
}

.footer-logo-img {
  width: 200px;
  /* Width between 180px and 220px */
  height: auto;
  display: block;
  opacity: 1 !important;
  /* Ensure logo remains fully visible, no faded styling */
  filter: none !important;
  /* No faded effects or overlays */
}

@media (max-width: 768px) {
  .footer-logo {
    display: flex;
    justify-content: flex-start;
    /* Left-aligned on mobile to match description text */
    margin-bottom: 20px;
  }

  .footer-logo-img {
    width: 160px;
    /* Width between 140px and 180px on mobile */
  }
}

/* ==========================================
   BROCHURE SECTION
   ========================================== */
.brochure-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.brochure-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.brochure-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brochure-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.brochure-center-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.brochure-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--glow-soft);
  text-align: center;
}

.brochure-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.brochure-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 200;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.2;
}

.brochure-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.brochure-fields-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.brochure-fields-row .form-group {
  flex: 1;
  margin-bottom: 0;
  text-align: left;
}

.brochure-form-card .form-group {
  text-align: left;
  margin-bottom: 15px;
}

.brochure-form-card .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.brochure-form-card .form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.1);
}

.brochure-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.brochure-submit-btn {
  width: 100%;
  margin-top: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  padding: 14px 28px;
}

@media (max-width: 768px) {
  .brochure-fields-row {}
}

/* --- Land Intelligence Report Infographic --- */
.lir-section {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  padding: 0;
  max-width: var(--max-width);
  margin: 60px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-soft);
}

.lir-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.lir-panel {
  position: relative;
  padding: 40px 35px;
  border-bottom: 1px solid var(--glass-border);
}

.lir-panel:nth-child(odd) {
  border-right: none;
}

.lir-panel-accent {
  background: var(--bg-secondary);
}

.lir-dim-label {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--font-body);
}

.lir-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lir-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.lir-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

/* Hero Panel */
.lir-hero-panel {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 60px 40px 100px;
  position: relative;
  overflow: hidden;
}

/* Removed .lir-hero-panel::before to use actual HTML image */

.lir-hero-overlay {
  display: none;
}

.lir-hero-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
}

.lir-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-left: 2px solid var(--accent-gold);
}

.lir-hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 16px 10px;
  border-top: 1px solid rgba(200, 155, 60, 0.3);
  z-index: 2;
}

.lir-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.7rem;
  color: var(--accent-gold);
  gap: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.lir-icon-box i {
  font-size: 1.3rem;
}

/* Lists */
.lir-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
}

.lir-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.lir-list li i {
  color: #ffffff;
  margin-top: 4px;
  margin-right: 10px;
  min-width: 40px;
  flex-shrink: 0;
  font-size: 1rem;
  padding: 10px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 10px;
  align-items: center;
}

/* Split Columns */
.lir-split {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.lir-split>div {
  flex: 1;
  min-width: 240px;
}

.lir-box {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 20px;
  border-radius: 10px;
  margin-top: 16px;
  border: 1px solid var(--glass-border);
}

.lir-box h4 {
  color: var(--accent-gold);
  font-size: 0.8rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.lir-box-gold {
  background: linear-gradient(135deg, #0090aa, #a37f2c);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

.lir-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
}

.lir-formula-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
}

.lir-formula-item i {
  font-size: 1.8rem;
  color: var(--accent-gold);
}

.lir-chart-container {
  width: 100%;
  height: 220px;
  margin-top: 16px;
}

/* Quotes */
.lir-quote {
  font-style: italic;
  color: var(--accent-gold);
  font-size: 1rem;
  text-align: center;
  padding: 20px 30px;
  background: var(--bg-secondary);
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--glass-border);
  font-weight: 500;
}

.lir-quote.lir-quote-dark {
  background: linear-gradient(135deg, rgb(0, 144, 170), rgb(163, 127, 44));
  color: #fff;
}

/* Comparison */
.lir-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.lir-comp-header {
  background: var(--text-primary);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.lir-comp-cell {
  background: var(--bg-primary);
  padding: 15px;
  text-align: center;
  font-size: 0.85rem;
}

/* Panel Numbers */
.lir-panel-num {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-gold);
  color: #fff;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  border-bottom-left-radius: 10px;
  z-index: 10;
  font-family: var(--font-display);
}

/* Summary Cards */
.lir-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.lir-summary-card {
  background: var(--bg-secondary);
  border-top: 3px solid var(--accent-gold);
  padding: 24px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.lir-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}

.lir-summary-card i {
  font-size: 1.6rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.lir-summary-card h5 {
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.lir-summary-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Map */
.lir-map-embed {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-soft);
}

/* Checkbox Lists */
.lir-checkbox-list {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.lir-checkbox-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.lir-checkbox-list li i {
  font-size: 1rem;
}

/* Bottom Bar */
.lir-bottom-bar {
  background: linear-gradient(135deg, var(--accent-gold), #a37f2c);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-display);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .lir-grid {
    grid-template-columns: 1fr;
  }

  .lir-panel:nth-child(odd) {
    border-right: none;
  }

  .lir-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lir-split {
    flex-direction: column;
    gap: 16px;
  }

  .lir-hero-content {
    max-width: 100%;
    padding: 20px 0;
    /* Add padding to separate from image */
  }

  .lir-hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    /* Fixed height for image on mobile */
    border-left: none;
    border-bottom: 2px solid var(--accent-gold);
  }

  .lir-hero-panel {
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Remove padding as it will be handled by content */
  }

  .lir-hero-content {
    padding: 40px 20px 90px;
    order: -1;
    /* Move text above image */
  }
}

@media (max-width: 600px) {
  .lir-section {
    margin: 30px 12px;
    border-radius: 12px;
  }

  .lir-panel {
    padding: 28px 20px;
  }

  .lir-title {
    font-size: 1.3rem;
  }

  .lir-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lir-hero-bottom-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
  }

  .lir-icon-box {
    flex: 1 0 40%;
  }

  .lir-formula {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ==========================================
   PREMIUM HOMEPAGE REDESIGN
   ========================================== */

/* --- Transparent Header State --- */
header.p-header-transparent {
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

header.p-header-transparent .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

header.p-header-transparent .nav-link:hover,
header.p-header-transparent .nav-item:hover .nav-link {
  color: var(--accent-gold);
}

header.p-header-transparent .nav-link::after {
  background: var(--accent-gold);
}

header.p-header-transparent .hamburger span {
  background-color: #ffffff;
}

header.p-header-transparent .btn-primary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

header.p-header-transparent .btn-primary:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

header.p-header-transparent .dropdown-menu {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

header.p-header-transparent .dropdown-menu li a {
  color: rgba(255, 255, 255, 0.8);
}

header.p-header-transparent .dropdown-menu li a:hover {
  color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.08);
}

/* Scrolled state restores solid */
header.p-header-transparent.scrolled {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header.p-header-transparent.scrolled .nav-link {
  color: #222222;
}

header.p-header-transparent.scrolled .nav-link:hover,
header.p-header-transparent.scrolled .nav-item:hover .nav-link {
  color: var(--accent-gold);
}

header.p-header-transparent.scrolled .hamburger span {
  background-color: var(--text-primary);
}

header.p-header-transparent.scrolled .btn-primary {
  background: var(--accent-gold);
  border: none;
  color: #ffffff;
  backdrop-filter: none;
}

header.p-header-transparent.scrolled .dropdown-menu {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  backdrop-filter: none;
}

header.p-header-transparent.scrolled .dropdown-menu li a {
  color: #555555;
}

header.p-header-transparent.scrolled .dropdown-menu li a:hover {
  color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.05);
}

/* --- Hero Overlay Redesign --- */
.p-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.15) 40%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}

.p-hero-content {
  position: absolute;
  bottom: 120px;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 0 8%;
  text-align: left;
}

.p-hero-content .p-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: pFadeUp 0.8s 0.3s forwards;
}

.p-hero-content h1 {
  font-size: 30px;
  font-weight: 200;
  line-height: 1.05;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0.02em;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: pFadeUp 0.9s 0.5s forwards;
}

.p-hero-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 35px;
  opacity: 0;
  transform: translateY(20px);
  animation: pFadeUp 0.8s 0.7s forwards;
}

.p-hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: pFadeUp 0.8s 0.9s forwards;
}

.p-hero-ctas .btn-primary {
  padding: 16px 36px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.p-hero-ctas .p-hero-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.p-hero-ctas .p-hero-link:hover {
  color: var(--accent-gold);
}

.p-hero-ctas .p-hero-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.p-hero-ctas .p-hero-link:hover svg {
  transform: translateX(4px);
}

@keyframes pFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.p-scroll-indicator {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: pFadeUp 0.8s 1.2s forwards;
}

.p-scroll-indicator span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.p-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.p-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  animation: pScrollLine 1.8s infinite;
}

@keyframes pScrollLine {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* --- Dark Stat Bar --- */
.p-stats-bar {
  background: #111111;
  padding: 50px 0;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(200, 155, 60, 0.15);
}

.p-stats-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.p-stat-item {
  text-align: center;
  padding: 10px 20px;
  position: relative;
}

.p-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.p-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
  margin-bottom: 6px;
}

.p-stat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --- Sticky Container boundary --- */
.p-sticky-container {
  position: relative;
  width: 100%;
}

/* --- Sticky Tabs Styling (Right Side) --- */
.p-sticky-tabs {
  position: fixed;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 99;
  pointer-events: all;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.p-sticky-tabs.visible {
  opacity: 1;
  visibility: visible;
}

.p-sticky-tab-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.p-sticky-tab-item .tab-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(10px);
}

.p-sticky-tab-item .tab-line {
  width: 16px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.25);
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Hover State */
.p-sticky-tab-item:hover .tab-label {
  opacity: 1;
  transform: translateX(0);
  color: #ffffff;
}

.p-sticky-tab-item:hover .tab-line {
  width: 28px;
  background-color: #ffffff;
}

/* Active State */
.p-sticky-tab-item.active .tab-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-gold);
}

.p-sticky-tab-item.active .tab-line {
  width: 40px;
  background-color: var(--accent-gold);
}

@media (max-width: 768px) {
  .p-sticky-tabs {
    right: 2%;
    gap: 16px;
  }

  .p-sticky-tab-item .tab-label {
    display: none;
    /* Hide labels on mobile to keep it clean */
  }
}

/* --- Full-Bleed About Section --- */
.p-about-fullbleed {
  position: relative;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.p-about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.15) 100%);
  z-index: 2;
}

.p-about-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 8%;
  max-width: 700px;
  margin-left: 8%;
}

/* --- Reversed layout for alternate blocks --- */
.p-about-reverse {
  justify-content: flex-end;
}

.p-about-reverse .p-about-content {
  margin-left: auto;
  margin-right: 8%;
  text-align: right;
}

.p-about-overlay-reverse {
  background: linear-gradient(270deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.1) 100%) !important;
}

.p-about-content .p-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
}

.p-about-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 200;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: none;
}

.p-about-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.p-about-content .btn-primary {
  padding: 14px 32px;
}

/* --- Project Image Tiles --- */
.p-projects-section {
  padding: 100px 0 80px;
  background: var(--bg-primary);
}

.p-projects-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.p-projects-header-text .p-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 10px;
  display: block;
}

.p-projects-header-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
  text-transform: none;
  margin-bottom: 0;
}

.p-projects-header .p-view-all {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.p-projects-header .p-view-all:hover {
  gap: 12px;
}

.p-projects-header .p-view-all svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.p-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.p-project-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.p-project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-project-tile:hover img {
  transform: scale(1.06);
}

.p-project-tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  transition: padding-bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-project-tile:hover .p-project-tile-overlay {
  padding-bottom: 50px;
}

.p-project-tile-badge {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: var(--accent-gold);
  border-radius: 3px;
  margin-bottom: 12px;
}

.p-project-tile-overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.3;
}

.p-project-tile-overlay .p-tile-location {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}

.p-project-tile-overlay .p-tile-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-project-tile:hover .p-tile-link {
  opacity: 1;
  transform: translateY(0);
}

.p-tile-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --- Dark Services Section --- */
.p-services-dark {
  background: #111111;
  padding: 100px 0;
}

.p-services-header {
  text-align: center;
  margin-bottom: 60px;
}

.p-services-header .p-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: block;
}

.p-services-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
  text-transform: none;
  margin-bottom: 0;
}

.p-services-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.p-service-item {
  text-align: center;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.p-service-item:hover {
  border-color: rgba(200, 155, 60, 0.2);
  background: rgba(200, 155, 60, 0.03);
  transform: translateY(-4px);
}

.p-service-item .p-service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-service-item h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 700;
}

.p-service-item p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.p-service-item .p-service-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
}

.p-service-item .p-service-link:hover {
  gap: 10px;
}

.p-service-item .p-service-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --- Featured Testimonial --- */
.p-testimonial-section {
  padding: 120px 0;
  background: var(--bg-primary);
  text-align: center;
  overflow: hidden;
}

.p-testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
}

.p-testimonial-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 8rem;
  line-height: 0.6;
  color: rgba(200, 155, 60, 0.12);
  margin-bottom: 10px;
  display: block;
  user-select: none;
}

.p-testimonial-slider {
  position: relative;
  overflow: hidden;
}

.p-testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.p-testimonial-slide blockquote {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 30px;
}

.p-testimonial-slide .p-testimonial-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0;
}

.p-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
}

.p-testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.p-testimonial-dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

/* --- Premium CTA Section --- */
.p-cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.p-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

.p-cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 5%;
}

.p-cta-content .p-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
}

.p-cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  text-transform: none;
  margin-bottom: 18px;
  line-height: 1.2;
}

.p-cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.p-cta-content .p-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive for Premium Sections --- */
@media (max-width: 992px) {
  .p-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .p-stat-item:not(:last-child)::after {
    display: none;
  }

  .p-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-services-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .p-about-content {
    max-width: 500px;
  }

  .p-hero-content {
    bottom: 100px;
  }
}

@media (max-width: 768px) {
  .p-hero-content {
    bottom: 80px;
    padding: 0 6%;
    text-align: left;
  }

  .p-hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .p-hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .p-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .p-about-fullbleed {
    min-height: auto;
  }

  .p-about-overlay {
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.5) 100%);
  }

  .p-about-content {
    margin-left: 0;
    padding: 260px 6% 60px;
    max-width: 100%;
  }

  .p-projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .p-projects-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .p-project-tile {
    aspect-ratio: 16 / 10;
  }

  .p-services-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .p-testimonial-section {
    padding: 80px 0;
  }

  .p-cta-content h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .p-scroll-indicator {
    display: none;
  }
}

/* ==========================================
   FLOATING STICKY CONTACT WIDGET
   ========================================== */
.floating-contact-widget {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

.floating-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-contact-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Tooltip on Hover */
.floating-contact-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 66px;
  background: rgba(12, 14, 23, 0.95);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateX(10px);
  font-family: var(--font-body);
}

.floating-contact-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.floating-contact-btn.btn-whatsapp {
  background: #25d366;
}

.floating-contact-btn.btn-phone {
  background: var(--accent-gold);
}

.floating-contact-btn.btn-email {
  background: #0072ff;
  /* Modern premium blue for email */
}

.floating-contact-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .floating-contact-widget {
    right: 15px;
    bottom: 25px;
    gap: 8px;
  }

  .floating-contact-btn {
    width: 48px;
    height: 48px;
  }

  .floating-contact-btn::before {
    display: none;
    /* Hide tooltips on mobile */
  }
}

/* ==========================================
   ABOUT US — FULL-WIDTH FEATURE BANNER
   (Replaces the 3-tile Quick Portals grid;
    NRI Corner & Joint Venture moved out of the
    homepage per client feedback — sought out via
    nav / footer / CTA instead of pushed upfront)
   ========================================== */
.p-about-feature {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.p-about-feature-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-about-feature-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-about-feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 2;
}

.p-about-feature-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: 0 20px;
}

.p-about-feature-content .p-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
}

.p-about-feature-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-transform: none;
}

.p-about-feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .p-about-feature {
    min-height: 400px;
  }
}

/* ==========================================
   STICKY CONTACT RAIL — Left Side
   (Enquire / Call / Chat / WhatsApp, per client
    "Sticky/Slide Out tab" feedback — sits alongside
    the existing bottom-right floating-contact-widget)
   ========================================== */
.p-contact-rail {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
}

.p-contact-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.p-contact-rail-item:last-child {
  border-bottom: none;
}

.p-contact-rail-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.p-contact-rail-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.35s ease, opacity 0.3s ease;
}

.p-contact-rail-item:hover {
  background: var(--accent-gold);
}

.p-contact-rail-item:hover svg {
  stroke: #111111;
}

.p-contact-rail-item:hover .p-contact-rail-label {
  max-width: 120px;
  opacity: 1;
}

@media (max-width: 768px) {
  .p-contact-rail {
    display: none;
    /* Bottom-right floating-contact-widget already covers mobile; avoids clutter with two fixed widgets on small screens */
  }
}

/* ==========================================
   LATEST PROJECT — FLOOR PLANS & KEY FEATURES
   (Placeholder floor plan artwork until real
    floor plan images are supplied by the client)
   ========================================== */
.p-latest-project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 50px;
  align-items: stretch;
}

.p-floorplan-panel {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--glow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-floorplan-tabs {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
}

.p-floorplan-tab {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.p-floorplan-tab.active {
  color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.06);
  box-shadow: inset 0 -2px 0 var(--accent-gold);
}

.p-floorplan-display {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 60px 30px;
  flex-grow: 1;
  min-height: 320px;
  border: 2px dashed var(--glass-border);
  margin: 20px;
  border-radius: 8px;
  background: var(--bg-secondary);
}

.p-floorplan-display.active {
  display: flex;
}

.p-floorplan-icon {
  width: 56px;
  height: 56px;
  color: var(--accent-gold);
  opacity: 0.6;
}

.p-floorplan-display p {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.p-floorplan-display span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.p-keyfeatures-panel {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--glow-soft);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-keyfeatures-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.p-keyfeatures-panel .vmc-list li {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .p-latest-project-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .p-floorplan-display {
    min-height: 240px;
    padding: 40px 20px;
  }

  .p-keyfeatures-panel {
    padding: 30px;
  }
}

/* ==========================================
   LATEST PROJECTS — MULTI-PROJECT TAB PANELS
   ========================================== */
.p-latest-panel {
  display: none;
}

.p-latest-panel.active {
  display: grid;
}

/* ==========================================
   ABOUT US FEATURE BANNER — STATS ROW & SPACING
   (More gap/padding, plus stats pulled from about.html)
   ========================================== */
.p-about-feature {
  padding: 90px 0;
  min-height: 560px;
}

.p-about-feature-content {
  max-width: 680px;
}

.p-about-feature-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.p-about-feature-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.p-about-feature-stat:last-child {
  border-right: none;
  padding-right: 0;
}

.p-about-feature-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
}

.p-about-feature-stat .label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .p-about-feature {
    padding: 60px 0;
    min-height: auto;
  }

  .p-about-feature-stats {
    gap: 26px;
  }

  .p-about-feature-stat {
    padding-right: 20px;
  }
}