/* -------------------------------------------------------------
   ACC PROJECTS - Modern Vanilla CSS Styling System
   Simple, Professional, High-End Aesthetic
   ------------------------------------------------------------- */

/* Custom CSS Variables & Tokens */
:root {
  --navy-dark: #0f1e36;
  --navy: #1b365d;
  --navy-light: #2a4b7c;
  --red: #d22630;
  --red-hover: #b01e26;
  --gold: #f5a623;
  
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-full: 9999px;
  
  --container-width: 1400px;
}

/* Reset & Cards */
.service-card, .project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-normal);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover, .project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 54, 93, 0.15);
}

.service-card-img-wrapper, .project-card-img-wrapper {
  overflow: hidden;
}

.service-card-img, .project-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-normal);
  display: block;
}

.service-card:hover .service-card-img, .project-card:hover .project-card-img {
  transform: scale(1.05);
}

.service-card-content, .project-card-content {
  padding: 20px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title, .project-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-title, .project-card:hover .project-card-title {
  color: var(--red);
}

.service-card-text, .project-card-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-py {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 12px;
  left: 0;
  right: 0;
  width: 94%;
  max-width: 1300px;
  margin: 12px auto;
  z-index: 1000;
  background: rgba(15, 30, 54, 0.45);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(15, 30, 54, 0.65);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition-fast);
  filter: brightness(0) invert(1); /* make the logo white for dark glass navbar contrast */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin-right: 16px;
  position: relative;
}

.nav-indicator {
  position: absolute;
  background: linear-gradient(135deg, #ff8c00 0%, #ff007f 50%, #8b00ff 100%);
  background-size: 200% 200%;
  animation: liquidBlob 8s ease infinite;
  border-radius: 28px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.35);
}

@keyframes liquidBlob {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
  padding: 10px 24px;
  border-radius: 28px;
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.nav-icon {
  stroke: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link:hover .nav-icon, .nav-link.active .nav-icon {
  stroke: var(--white);
}
  color: var(--navy);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  margin: 5px 0;
  transition: var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Dropdown */
.mobile-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 12px;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
}

.mobile-nav-link {
  font-weight: 500;
  color: var(--gray-600);
  font-size: 1.05rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--navy);
}

.mobile-nav-btn {
  background-color: var(--red);
  color: var(--white);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

/* Main Content SPA views */
.view-panel {
  display: none;
  padding-top: 0;
  scroll-margin-top: 70px;
  flex: 1;
}

.view-panel.active {
  display: block;
  animation: viewFadeIn 0.5s ease-out forwards;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.72)), url('/images/hero-roadwork.jpg') no-repeat center center / cover;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition-fast);
  border: 1px solid var(--red);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition-fast);
  border: 2px solid var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.hero .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.hero .btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy-dark);
  border-color: var(--white);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image {
    height: 380px;
  }
}

/* Intro Section */
.intro {
  background-color: var(--white);
  text-align: center;
}

.section-tag {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.section-description-lg {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--gray-600);
}

/* Home Services Summary Section */
.home-services {
  background-color: var(--gray-50);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.header-row-left {
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Projects Snapshot Section */
.home-projects {
  background-color: var(--white);
}

/* Call To Action Section */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-xl);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  top: -150px;
  right: -50px;
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-btn {
  background-color: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: var(--transition-fast);
  border: 1px solid var(--red);
  flex-shrink: 0;
}

.cta-btn:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 24px;
  }
  .cta-btn {
    width: 100%;
  }
}

/* Services Detail Page Layout */
.services-header {
  background-gradient: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 40px 0 30px 0;
  text-align: center;
}

.services-header .section-title {
  color: var(--white);
}

.services-header .section-description-lg {
  color: rgba(255, 255, 255, 0.7);
}

.tabs-container {
  margin-top: -15px;
  position: relative;
  z-index: 10;
  margin-bottom: 24px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  background-color: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
  .tabs-nav {
    flex-direction: column;
    padding: 8px;
  }
  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: tabFadeIn 0.4s ease-out forwards;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.service-detail-left {
  max-width: 600px;
}

.service-detail-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.service-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.sub-service-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}

.sub-service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.service-detail-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Custom Inquiry Banner */
.custom-inquiry-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 30px;
  box-shadow: var(--shadow-md);
}

.custom-inquiry-box h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.custom-inquiry-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* About Us Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content-left {
  max-width: 520px;
}

.about-paragraph {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.values-section {
  background-color: var(--gray-50);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.value-card {
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(27, 54, 93, 0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--navy);
  transition: var(--transition-fast);
}

.value-card:hover .value-icon {
  background-color: var(--navy);
  color: var(--white);
}

.value-card h4 {
  font-size: 1.2rem;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background-color: var(--white);
}

.contact-info-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.contact-info-text {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  align-items: start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(27, 54, 93, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.info-value {
  font-size: 1rem;
  color: var(--navy-dark);
  font-weight: 600;
}

.info-value a:hover {
  color: var(--red);
}

.form-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

@media (max-width: 576px) {
  .form-wrapper {
    padding: 24px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background-color: var(--white);
}

.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* Rate Limit / Status Alerts */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  animation: alertFadeIn 0.3s ease-out forwards;
}

@keyframes alertFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-status.success {
  display: block;
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-status.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.form-status.loading {
  display: block;
  background-color: #e2e3e5;
  color: #41464b;
  border: 1px solid #d3d3d4;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer Section */
.footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px 0;
  margin-top: auto;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 280px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-animate:not(.slide-left):not(.slide-right):not(.zoom-in) {
  transform: translateY(30px);
}

.scroll-animate.slide-left {
  transform: translateX(-40px);
}

.scroll-animate.slide-right {
  transform: translateX(40px);
}

.scroll-animate.zoom-in {
  transform: scale(0.92);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Header Top Bar */
.header-top-bar {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--red);
}

.top-bar-icon {
  width: 14px;
  height: 14px;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

@media (max-width: 576px) {
  .header-top-bar {
    display: none; /* Hide top bar on very small devices to save space */
  }
}

/* Stats Section */
.stats-bar {
  background-color: var(--navy);
  color: var(--white);
  padding: 30px 0;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* -------------------------------------------------------------
   2026 VISUAL REFRESH — TRANSPARENT LIQUID GLASS
   ------------------------------------------------------------- */
:root {
  --navy-dark: #071421;
  --navy: #102a43;
  --navy-light: #28547a;
  --red: #ef3340;
  --red-hover: #d91f2c;
  --gray-50: #f5f7fa;
  --gray-100: #edf1f5;
  --gray-600: #52606d;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-lg: 0 20px 50px rgba(7, 20, 33, 0.12);
  --shadow-xl: 0 30px 80px rgba(7, 20, 33, 0.18);
  --container-width: 1240px;
}

html { scroll-padding-top: 130px; }

body {
  background:
    radial-gradient(circle at 8% 18%, rgba(82, 156, 204, 0.10), transparent 26rem),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f4f7fa 100%);
}

::selection { background: rgba(239, 51, 64, 0.22); }

.container { padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.section-py { padding-top: clamp(58px, 6.5vw, 84px); padding-bottom: clamp(58px, 6.5vw, 84px); }

/* The header floats as one transparent layer over every route. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  pointer-events: none;
}

.header-top-bar,
.navbar { pointer-events: auto; }

.header-top-bar {
  width: min(1180px, calc(100% - 56px));
  margin: 10px auto 0;
  padding: 0 22px;
  background: rgba(8, 25, 39, 0.28);
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.top-bar-container { min-height: 30px; padding: 0; }
.top-bar-link { color: rgba(255,255,255,0.78); }

.navbar,
.navbar.scrolled {
  position: relative;
  top: auto;
  width: min(1180px, calc(100% - 56px));
  max-width: none;
  margin: 0 auto;
  border-radius: 0 0 26px 26px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.16), rgba(255,255,255,0.035) 36%, rgba(255,255,255,0.10)),
    rgba(6, 22, 35, 0.38);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 18px 55px rgba(4, 15, 25, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  isolation: isolate;
  overflow: visible;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,0.26), transparent 30%),
    radial-gradient(circle at 86% 110%, rgba(96,190,255,0.13), transparent 32%);
}

.navbar.scrolled {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.17), rgba(255,255,255,0.045) 38%, rgba(255,255,255,0.11)),
    rgba(5, 20, 32, 0.64);
  box-shadow: 0 20px 60px rgba(4,15,25,0.28), inset 0 1px 0 rgba(255,255,255,0.28);
}

.nav-container { height: 70px; padding-left: 22px; padding-right: 14px; }
.logo-link {
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.logo-img {
  height: 42px;
  filter:
    brightness(1.45)
    saturate(1.25)
    drop-shadow(0 0 2px rgba(255,255,255,0.62))
    drop-shadow(0 7px 15px rgba(0,0,0,0.22));
}
.nav-links { gap: 3px; margin-right: 0; padding: 5px; }
.nav-icon { display: none; }

.nav-link {
  display: block;
  padding: 10px 17px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
}

.nav-indicator {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.10));
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  animation: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 18px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}

.nav-link:hover,
.nav-link.active { color: #fff; }

/* Editorial, cinematic hero. */
.hero {
  min-height: min(860px, 100svh);
  padding: 180px 0 110px;
  text-align: left;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(4,14,23,0.90) 0%, rgba(4,14,23,0.64) 44%, rgba(4,14,23,0.18) 76%),
    linear-gradient(0deg, rgba(4,14,23,0.55), transparent 45%),
    url('/images/hero-roadwork.jpg') center 46% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 34%, rgba(255,255,255,0.12), transparent 22rem);
  pointer-events: none;
}

.hero-container { width: 100%; }
.hero-content { max-width: 790px; margin: 0; }
.hero-tag,
.section-tag {
  width: fit-content;
  padding: 7px 12px;
  color: #dceefe;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.hero-title {
  max-width: 780px;
  margin: 20px 0;
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-transform: none;
  text-wrap: balance;
}

.hero-description {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: rgba(255,255,255,0.78);
}

.hero-actions { justify-content: flex-start; margin-top: 34px; }
.btn-primary,
.btn-secondary,
.cta-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 650;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4b55, #df1f2d);
  border-color: rgba(255,255,255,0.20);
  box-shadow: 0 12px 30px rgba(210,38,48,0.26), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(210,38,48,0.34); }
.btn-secondary { border-width: 1px; }
.hero .btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(18px);
}
.hero .btn-secondary:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.44); }

.scroll-down-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 34px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transform: translateX(-50%);
  animation: mouseFloat 2.8s ease-in-out infinite;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.scroll-down-indicator:hover {
  background: rgba(255,255,255,0.14);
  transform: translateX(-50%) translateY(-4px);
}
.scroll-down-indicator:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.mouse-icon {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.82);
  border-radius: 14px;
}
.mouse-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255,255,255,0.72);
  border-bottom: 1.5px solid rgba(255,255,255,0.72);
  transform: translateX(-50%) rotate(45deg);
  animation: arrowDrift 1.7s ease-in-out infinite;
}
.wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: #fff;
  transform: translateX(-50%);
  animation: wheelScroll 1.7s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes mouseFloat {
  0%, 100% { margin-bottom: 0; }
  50% { margin-bottom: 8px; }
}
@keyframes wheelScroll {
  0% { opacity: 0; transform: translate(-50%, -2px); }
  24% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 11px); }
}
@keyframes arrowDrift {
  0%, 100% { opacity: 0.3; margin-bottom: 4px; }
  50% { opacity: 1; margin-bottom: 0; }
}

/* Modern content rhythm and soft glass surfaces. */
.intro { background: transparent; }
.intro .container { max-width: 960px; }
.intro .section-tag,
.services-header .section-tag,
.header-row .section-tag,
.values-section .section-tag {
  margin-left: auto;
  margin-right: auto;
  color: var(--red);
  background: rgba(239,51,64,0.07);
  border-color: rgba(239,51,64,0.16);
}
.header-row .section-tag { margin-left: 0; }
.section-title {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.section-description-lg { color: #5d6975; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }

.stats-bar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 24px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10), transparent),
    #0a2032;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}
.stat-number { color: #fff; font-size: clamp(2.3rem, 4vw, 3.5rem); letter-spacing: -0.05em; }
.stat-label { color: rgba(255,255,255,0.58); }

.home-services,
.values-section { background: transparent; }
.home-projects { background: rgba(224,232,239,0.42); }
.services-grid { gap: 24px; }
.service-card,
.project-card,
.value-card,
.contact-info-card,
.form-wrapper,
.sub-service-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15,35,52,0.08), inset 0 1px 0 #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.service-card:hover,
.project-card:hover,
.value-card:hover { transform: translateY(-8px); box-shadow: 0 26px 65px rgba(15,35,52,0.14); }
.service-card-img,
.project-card-img { height: 260px; }
.service-card-content,
.project-card-content { padding: 26px 28px 30px; }
.service-card-title,
.project-card-title { font-size: 1.35rem; letter-spacing: -0.025em; }

.cta-banner {
  margin: 20px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2438, #173f5f);
  border: 1px solid rgba(255,255,255,0.12);
}
.home-projects .cta-banner {
  margin: clamp(58px, 6vw, 78px) 0 0 !important;
}

/* Interior routes clear the floating navigation. */
.services-header {
  position: relative;
  overflow: hidden;
  padding: 168px 0 66px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(82,156,204,0.28), transparent 26rem),
    linear-gradient(135deg, #071421 0%, #0d2b42 58%, #153e5c 100%);
}
.services-header::after {
  content: "";
  position: absolute;
  inset: auto -8% -75% 42%;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.055);
  filter: blur(1px);
  pointer-events: none;
}
.services-header .container { position: relative; z-index: 1; max-width: 920px; }
.services-header .section-title { color: #fff; margin-bottom: 16px; }
.services-header .section-description-lg { color: rgba(255,255,255,0.72); max-width: 780px; margin: 0 auto; }
.services-header .section-tag {
  margin-left: auto;
  margin-right: auto;
  color: #ff7b84 !important;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}
.view-panel:not(#view-home) > .container.section-py,
.view-panel:not(#view-home) > section.container.section-py { padding-top: 62px; padding-bottom: 62px; }
.tabs-nav { border-radius: 999px; padding: 6px; background: rgba(224,231,238,0.72); border: 1px solid rgba(255,255,255,0.9); }
.tab-btn { border-radius: 999px; }
.tab-btn.active { box-shadow: 0 8px 22px rgba(7,20,33,0.14); }
.service-detail-img { border-radius: 26px; box-shadow: var(--shadow-xl); }
.custom-inquiry-box { border-radius: 24px; background: linear-gradient(135deg, #0d2c43, #174b70); }
#view-projects .custom-inquiry-box { margin-top: clamp(62px, 6vw, 86px); }
.value-icon,
.info-icon { border-radius: 16px; }

/* A single, integrated contact composition. */
#view-contact > .container.section-py { max-width: 1440px; }
.contact-grid {
  position: relative;
  align-items: stretch;
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(24px, 3vw, 46px);
  border: 1px solid rgba(16,42,67,0.09);
  border-radius: 36px;
  background:
    radial-gradient(circle at 4% 0%, rgba(68,132,177,0.16), transparent 28rem),
    linear-gradient(135deg, rgba(227,236,243,0.88), rgba(246,249,251,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 28px 70px rgba(15,35,52,0.10);
}
.contact-info-card {
  align-self: stretch;
  padding: clamp(34px, 4vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.11), transparent 17rem),
    linear-gradient(145deg, #0a2235, #164765);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 24px 55px rgba(8,29,44,0.22), inset 0 1px 0 rgba(255,255,255,0.14);
}
.contact-info-title { color: #fff; font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.contact-info-text { color: rgba(255,255,255,0.70); line-height: 1.75; }
.contact-info-card .info-item {
  padding: 17px 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.contact-info-card .info-icon { color: #fff; background: rgba(255,255,255,0.11); }
.contact-info-card .info-label { color: rgba(255,255,255,0.48); }
.contact-info-card .info-value,
.contact-info-card .info-value a { color: #fff; }
.contact-info-card .info-value a:hover { color: #ff7b84; }
.form-wrapper {
  align-self: stretch;
  padding: clamp(34px, 4vw, 54px);
  background: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.92);
  box-shadow: 0 22px 55px rgba(15,35,52,0.09), inset 0 1px 0 #fff;
}
.form-input {
  min-height: 52px;
  border-radius: 14px;
  border-color: #dce3e9;
  background: rgba(248,250,252,0.86);
}
.form-input:focus { border-color: #688ba6; box-shadow: 0 0 0 4px rgba(40,84,122,0.10); }

.footer { padding-top: 76px; background: #061522; border-top: 0; }

@media (max-width: 900px) {
  .header-top-bar { display: none; }
  .desktop-menu { display: none; }
  .navbar,
  .navbar.scrolled { width: calc(100% - 28px); margin-top: 14px; border-radius: 24px; }
  .nav-container { height: 66px; }
  .logo-link { padding: 0; border-radius: 0; }
  .logo-img { height: 34px; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.02em;
  }
  .mobile-toggle span { display: none; }
  .mobile-toggle::after { content: "Menu"; }
  .mobile-toggle.open::after { content: "Close"; }
  .mobile-nav {
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    padding: 12px;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 22px;
    background: rgba(6,22,35,0.82);
    box-shadow: 0 24px 60px rgba(4,15,25,0.3);
    backdrop-filter: blur(26px) saturate(170%);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
  }
  .mobile-nav-link { padding: 13px 16px; border: 0; border-radius: 14px; color: rgba(255,255,255,0.76); }
  .mobile-nav-link:hover,
  .mobile-nav-link.active { color: #fff; background: rgba(255,255,255,0.12); }
  .hero { min-height: 760px; padding-top: 130px; }
  .services-header { padding: 118px 0 48px; }
  .view-panel:not(#view-home) > .container.section-py,
  .view-panel:not(#view-home) > section.container.section-py { padding-top: 48px; padding-bottom: 48px; }
  .home-projects .cta-banner { margin-top: 48px !important; }
  #view-projects .custom-inquiry-box { margin-top: 54px; }
  .contact-grid { padding: 20px; border-radius: 28px; }
}

@media (max-width: 576px) {
  .hero { min-height: 720px; background-position: 58% center; }
  .hero-title { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { width: 100%; }
  .stats-bar { padding: 38px 18px; }
  .service-card-img,
  .project-card-img { height: 220px; }
  .cta-banner { margin: 10px; }
  .section-py { padding-top: 52px; padding-bottom: 52px; }
  .services-header { padding: 108px 0 42px; }
  .services-header .section-title { font-size: clamp(2.35rem, 12vw, 3.25rem); }
  .tabs-container { margin-top: 14px; }
  .contact-grid { padding: 12px; border-radius: 24px; }
  .contact-info-card,
  .form-wrapper { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Layered reveals as each section enters the viewport. */
.scroll-animate {
  opacity: 0;
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate:not(.slide-left):not(.slide-right):not(.zoom-in) { transform: translateY(42px); }
.scroll-animate.slide-left { transform: translate3d(-55px, 18px, 0); }
.scroll-animate.slide-right { transform: translate3d(55px, 18px, 0); }
.scroll-animate.zoom-in { transform: translateY(28px) scale(0.965); }
.scroll-animate.animated {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0,0,0) scale(1);
}
.scroll-animate.reveal-from-bottom:not(.animated) {
  transform: translate3d(0, 46px, 0) scale(0.985) !important;
}
.scroll-animate.reveal-from-top:not(.animated) {
  transform: translate3d(0, -46px, 0) scale(0.985) !important;
}

@media (max-width: 768px) {
  .scroll-down-indicator { bottom: 22px; transform: translateX(-50%) scale(0.9); }
  .scroll-down-indicator:hover { transform: translateX(-50%) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate { filter: none; transition: none; }
  .scroll-animate.animated { transform: none; }
}

/* Desktop-first composition */
@media (min-width: 577px) {
  .desktop-menu { display: block !important; }
  .mobile-toggle,
  .mobile-nav { display: none !important; }
}

@media (min-width: 577px) and (max-width: 900px) {
  .navbar,
  .navbar.scrolled { width: calc(100% - 24px); }
  .nav-container { padding-left: 14px; padding-right: 12px; }
  .logo-link { padding: 0; }
  .logo-img { height: 32px; }
  .nav-links { gap: 0; padding: 3px; }
  .nav-link { padding: 9px 10px; font-size: 0.72rem; }
}

@media (min-width: 1100px) {
  :root { --container-width: 1380px; }

  .header-top-bar,
  .navbar,
  .navbar.scrolled { width: min(1360px, calc(100% - 64px)); }

  .nav-container { height: 76px; padding-left: 24px; padding-right: 18px; }
  .nav-links { gap: 7px; }
  .nav-link { padding: 11px 20px; font-size: 0.86rem; }
  .logo-img { height: 38px; }

  .hero { min-height: 880px; padding-bottom: 128px; }
  .hero-content { max-width: 880px; }
  .hero-description { max-width: 720px; }

  .services-grid { gap: 30px; }
  .service-card-img,
  .project-card-img { height: 285px; }
  .service-card-content,
  .project-card-content { padding: 30px 32px 34px; }

  .cta-banner { padding: 64px 70px; }
  .cta-content { max-width: 720px; }

  .service-detail-grid { grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; }
  .service-detail-left { max-width: 650px; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 84px; }
  .about-content-left { max-width: 620px; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
  .values-grid { gap: 32px; }
}

@media (min-width: 1600px) {
  :root { --container-width: 1720px; }
  .header-top-bar,
  .navbar,
  .navbar.scrolled { width: min(1680px, calc(100% - 56px)); }
  .hero-title { font-size: 6.75rem; }
}

/* Wide, screen-filling desktop sections without edge crowding. */
@media (min-width: 1100px) {
  :root { --container-width: 1580px; }
  .view-panel .container,
  .footer .container { max-width: 1580px; }
  .stats-bar { width: min(1540px, calc(100% - 48px)); }
  #view-contact > .container.section-py { max-width: 1580px; }
}

@media (min-width: 1600px) {
  :root { --container-width: 1720px; }
  .view-panel .container,
  .footer .container { max-width: 1720px; }
  .stats-bar { width: min(1680px, calc(100% - 56px)); }
  #view-contact > .container.section-py { max-width: 1720px; }
}

/* Complete logo on an integrated white-glass navigation surface. */
.logo-link {
  position: relative;
  width: 188px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}
.logo-link::after {
  display: none;
}
.logo-img {
  position: relative;
  z-index: 1;
  width: 180px !important;
  height: auto !important;
  max-width: none;
  transform: none;
  filter: none;
}

@media (max-width: 900px) {
  .logo-link { width: 160px; height: 52px; border-radius: 17px; }
  .logo-img { width: 154px !important; transform: none; }
}


