/* ----------------------------------------------------
   SRI BHUVIE INFRA - PREMIUM CORPORATE STYLE SHEET
   ---------------------------------------------------- */

/* --- Design System & CSS Variables --- */
:root {
  /* Colors */
  --primary: #0F172A;
  --secondary: #1E293B;
  --primary-rgb: 15, 23, 42;
  --secondary-rgb: 30, 41, 59;
  
  --gold: #D4AF37;
  --gold-hover: #F3CD57;
  --gold-rgb: 212, 175, 55;
  
  --green: #16A34A;
  --green-hover: #15803D;
  --green-rgb: 22, 163, 74;
  
  --white: #FFFFFF;
  --white-rgb: 255, 255, 255;
  
  --light-gray: #E5E7EB;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  
  /* Borders & Glass */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold-light: rgba(212, 175, 55, 0.15);
  --glass-bg: rgba(30, 41, 59, 0.5);
  --glass-bg-hover: rgba(30, 41, 59, 0.7);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Document Defaults & Scroll --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border: 2px solid var(--primary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.3);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

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

/* --- Global Layout Utilities --- */
.section-padding {
  padding: 100px 0;
}

.bg-alt {
  background-color: #0b1120; /* Slightly darker shade for section grouping */
}

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

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

/* Headers of Sections */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 2px;
  background-color: var(--gold);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
}

/* Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, #FFF 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #FFF 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b39023 100%);
  color: var(--primary);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn i {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.btn-primary:hover i {
  transform: translate(2px, -2px);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-5px);
}


/* --- Header / Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: var(--transition-smooth);
}

/* Native CSS Scroll-driven header shrink (where supported) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .navbar {
      animation: nav-shrink auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 100px;
    }
  }
}

@keyframes nav-shrink {
  to {
    height: 70px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }
}

/* JS-triggered fallback for unsupported browsers */
.navbar.scrolled {
  height: 70px;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.nav-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo Premium Wrapper */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-badge {
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-gold-light);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo-badge:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
  transform: scale(1.02);
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

/* Desktop Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

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

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

/* Button navigation styled link */
.btn-nav-contact {
  padding: 10px 20px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-nav-contact:hover {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}

.btn-nav-contact::after {
  display: none;
}

/* Hamburger mobile button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Dropdown overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.mobile-btn {
  margin-top: 15px;
  padding: 12px 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-size: 1.2rem;
}

.mobile-btn:hover {
  background: var(--gold);
  color: var(--primary);
}


/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #060913;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.1) 0%, rgba(6, 9, 19, 0.95) 80%);
  z-index: 2;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  z-index: 1;
  animation: orb-bounce 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background-color: var(--gold);
  top: 15%;
  right: 10%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background-color: var(--green);
  bottom: 10%;
  left: 5%;
  animation-delay: -5s;
}

@keyframes orb-bounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px;
  margin-top: 50px;
}

.hero-content {
  max-width: 850px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

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

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

/* Mouse Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.mouse {
  width: 26px;
  height: 44px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.6;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.scroll-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
}


/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.vision-mission-box {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.vm-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.vm-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(30, 41, 59, 0.4);
}

.vm-icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-icon {
  width: 24px;
  height: 24px;
}

.icon-gold { color: var(--gold); }
.icon-green { color: var(--green); }

.vm-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.vm-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* About Stats Panel */
.stats-glass-card {
  background: rgba(30, 41, 59, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.stats-glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.stat-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.stat-number-wrapper {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number {
  background: linear-gradient(135deg, #FFF 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}


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

.service-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-bg {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-bg {
  background: var(--gold);
  border-color: var(--gold);
}

.service-card:hover .service-icon {
  color: var(--primary);
  transform: scale(1.1);
}

/* Green alternate for icons in loop (e.g. index 2, 4, 6) */
.service-card:nth-child(even) .service-icon-bg {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.2);
}
.service-card:nth-child(even) .service-icon {
  color: var(--green);
}
.service-card:nth-child(even):hover .service-icon-bg {
  background: var(--green);
  border-color: var(--green);
}
.service-card:nth-child(even):hover .service-icon {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.bullet-check {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.service-card:nth-child(even) .bullet-check {
  color: var(--green);
}


/* --- Industries Section --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.industry-img-container {
  height: 180px;
  background: #090e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background glowing mesh */
.industry-img-container::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 60%);
  transition: var(--transition-smooth);
}

.industry-card:nth-child(even) .industry-img-container::before {
  background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 60%);
}

.industry-svg-art {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.industry-card:hover .industry-svg-art {
  transform: scale(1.1);
}

.industry-card:hover .industry-img-container::before {
  transform: scale(1.3);
  opacity: 1.5;
}

.industry-content {
  padding: 30px;
}

.industry-content h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--white);
}

.industry-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.industry-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}


/* --- Why Choose Us Section --- */
.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why-visual {
  position: relative;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.1) 0%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 50px;
  overflow: hidden;
}

.why-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(80px);
  top: -20px;
  right: -20px;
  opacity: 0.2;
}

.why-graphic {
  position: relative;
  z-index: 2;
}

.why-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.why-graphic h3 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.why-graphic p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.logo-stamp-svg {
  width: 100px;
  height: 100px;
}

/* Why Details List */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-icon-wrapper {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-icon {
  width: 20px;
  height: 20px;
}

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

.why-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.why-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}


/* --- Projects Showcase Section --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.portfolio-visual {
  position: relative;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #090e1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.portfolio-art-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vector-project-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 5;
}

.portfolio-action-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.portfolio-action-icon i {
  width: 22px;
  height: 22px;
}

.portfolio-visual:hover .portfolio-hover-overlay {
  opacity: 1;
}

.portfolio-visual:hover .portfolio-action-icon {
  transform: translateY(0);
}

.portfolio-meta {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.portfolio-item:nth-child(even) .item-tag {
  color: var(--green);
}

.portfolio-meta h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.portfolio-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}


/* --- Testimonials Section --- */
.testimonials-carousel-wrapper {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  position: relative;
  min-height: 320px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.testimonial-card {
  padding: 50px;
  text-align: center;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 25px;
}

.star-fill {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 30px;
  font-style: italic;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.client-role {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}


/* --- Contact Section --- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.info-glass-card {
  padding: 40px;
}

.info-glass-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.corporate-name {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

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

.method-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.method-icon i {
  width: 20px;
  height: 20px;
}

.method-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.method-text a,
.method-text p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* Dark Mesh Map Graphic Placeholder */
.map-placeholder {
  position: relative;
  height: 180px;
  background-color: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Radial grids mimicking a dark architectural coordinate system */
.map-mesh-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, transparent 20%, #0b1120 70%),
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
}

.map-center-dot {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  margin-bottom: 10px;
}

.map-center-dot .dot {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  z-index: 2;
}

.map-center-dot .ping {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gold);
  border-radius: 50%;
  animation: map-ping 2s infinite;
  z-index: 1;
}

@keyframes map-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(4); opacity: 0; }
}

.map-caption {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Contact Form Form Controls */
.contact-form {
  padding: 40px;
}

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

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-error-msg {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 0.75rem;
  color: #EF4444;
  opacity: 0;
  transition: var(--transition-fast);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #EF4444;
}

.form-group.has-error .form-error-msg {
  opacity: 1;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  border: none;
}

.form-success-box {
  display: none;
  gap: 15px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.form-success-box.active {
  display: flex;
}

.success-icon {
  width: 24px;
  height: 24px;
  color: var(--green);
  flex-shrink: 0;
}

.form-success-box h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--green);
}

.form-success-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* --- Footer --- */
.footer {
  background-color: #060913;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-top {
  padding: 80px 0 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: 50px;
}

.footer-logo-badge {
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-gold-light);
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.brand-logo-footer {
  height: 38px;
  width: auto;
  display: block;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

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

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-socials a i {
  width: 16px;
  height: 16px;
}

.footer-block h5 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-block h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.contact-firm {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.contact-detail i {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 30px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}


/* --- Floating Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary);
  border: 1px solid var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.back-to-top:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.back-to-top i {
  width: 20px;
  height: 20px;
}

/* Native Container scroll state fallback styling triggers class visible */
.back-to-top.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}


/* --- Scroll Reveal Animations --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* --- Responsive Media Queries --- */

/* Tablets / Medium Screens */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-stats-panel {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

/* Mobile Devices */
@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Navigation */
  .navbar {
    height: 80px;
  }
  
  .navbar.scrolled {
    height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* About */
  .stat-inner-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-glass-card {
    padding: 40px 20px;
  }

  .stat-number-wrapper {
    font-size: 2.8rem;
  }

  /* Services & Industries */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 20px;
  }

  /* Portfolio */
  .portfolio-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .portfolio-visual {
    height: 200px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-quote {
    font-size: 1.1rem;
  }

  /* Contact */
  .contact-form {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
