/* ============================================
   WJK CONSULTING ENGINEERS - MAIN STYLESHEET
   Colors: #4D4A49, #A71F23, #FFFFFF
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary-dark: #4D4A49;
  --accent-red: #A71F23;
  --accent-red-dark: #8a1a1d;
  --accent-red-light: #c9252a;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --text-dark: #333333;
  --text-light: #777777;
  --overlay-dark: rgba(77, 74, 73, 0.85);
  --overlay-red: rgba(167, 31, 35, 0.9);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-red);
  border-radius: 4px;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-inner .logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

.preloader-inner .logo-text span {
  color: var(--accent-red);
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  margin: 20px auto 0;
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--accent-red);
  border-radius: 3px;
  animation: preloaderSlide 1s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(77, 74, 73, 0.97);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo .logo-wjk {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-logo .logo-separator {
  color: var(--accent-red);
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0 2px;
}

.nav-logo .logo-sub {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-red);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--primary-dark);
  padding: 100px 40px;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent-red);
  padding-left: 10px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(77, 74, 73, 0.92) 0%, rgba(167, 31, 35, 0.6) 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(167, 31, 35, 0.3);
  border: 1px solid rgba(167, 31, 35, 0.5);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-title span {
  color: var(--accent-red);
  position: relative;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.2s;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 3px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(167, 31, 35, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-outline-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.section-light {
  background: var(--light-gray);
}

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  margin: 0 auto 20px;
  border-radius: 3px;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.7);
}

/* ============================================
   ABOUT PREVIEW (Home)
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-preview-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.6s ease;
}

.about-preview-image:hover img {
  transform: scale(1.05);
}

.about-preview-image .experience-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--accent-red);
  color: var(--white);
  padding: 20px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(167, 31, 35, 0.4);
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.experience-badge .text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
}

.about-preview-content .label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.about-preview-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-preview-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(167, 31, 35, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-item .icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-red);
}

.about-feature-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(167, 31, 35, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent-red);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(167, 31, 35, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-red);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--accent-red);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  fill: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   STATS / COUNTER
   ============================================ */
.stats-section {
  background: var(--primary-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(167, 31, 35, 0.1);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.btn-white {
  background: var(--white);
  color: var(--accent-red);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero .hero-bg {
  animation: none;
  transform: scale(1);
}

.page-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(77, 74, 73, 0.93) 0%, rgba(167, 31, 35, 0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--accent-red);
}

.breadcrumb .separator {
  color: var(--accent-red);
}

.breadcrumb .current {
  color: var(--white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-full-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-full-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-full-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--accent-red);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: rgba(167, 31, 35, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-red);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   SERVICES PAGE - DETAILED
   ============================================ */
.services-detailed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  align-items: start;
  border-left: 4px solid transparent;
}

.service-detail-card:hover {
  transform: translateX(10px);
  border-left-color: var(--accent-red);
  box-shadow: var(--shadow-hover);
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  background: rgba(167, 31, 35, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-detail-card:hover .service-detail-icon {
  background: var(--accent-red);
}

.service-detail-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--accent-red);
  transition: var(--transition);
}

.service-detail-card:hover .service-detail-icon svg {
  fill: var(--white);
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.service-detail-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.service-detail-content ul {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-detail-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  background: rgba(167, 31, 35, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
  background: var(--accent-red);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-red);
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon svg {
  fill: var(--white);
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.contact-info-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--accent-red);
}

.contact-info-text a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(167, 31, 35, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Map */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.footer-brand .logo-wjk {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 2px;
}

.footer-brand .logo-separator {
  color: var(--accent-red);
  font-size: 1.2rem;
  margin: 0 2px;
}

.footer-brand .logo-sub {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-red);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-red);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

.footer-contact-item a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--accent-red);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   REGIONS GRID (Service Areas)
   ============================================ */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.region-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.region-item:hover {
  transform: translateY(-4px);
  border-left-color: var(--accent-red);
  box-shadow: var(--shadow-hover);
}

.region-item svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-red);
  flex-shrink: 0;
}

.region-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

/* ============================================
   FOOTER ADDRESS (semantic)
   ============================================ */
.footer-address {
  font-style: normal;
}

/* ============================================
   ACCESSIBILITY - Focus styles
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

/* Skip to content (screen readers) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-red);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100000;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   TOUCH-FRIENDLY IMPROVEMENTS
   ============================================ */
@media (pointer: coarse) {
  .btn {
    min-height: 48px;
    padding: 14px 28px;
  }
  .nav-links a {
    padding: 10px 5px;
  }
  .hamburger {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav a {
    padding: 18px 0;
    font-size: 1.15rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 16px 18px;
    font-size: 16px; /* Prevents iOS zoom */
  }
  .contact-info-card {
    padding: 20px;
  }
  .footer-links a {
    padding: 10px 0;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-preview {
    gap: 40px;
  }
  .about-full {
    gap: 40px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .regions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-overlay {
    display: block;
  }
  .hero {
    min-height: 500px;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 16px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .hero-scroll {
    display: none;
  }
  .about-preview {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-preview-image img {
    height: 280px;
  }
  .about-preview-content h2 {
    font-size: 1.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 30px 25px;
  }
  .stats-section {
    padding: 60px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-item {
    padding: 20px 15px;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-desc {
    font-size: 0.95rem;
  }
  .page-hero {
    min-height: 280px;
    height: 40vh;
  }
  .page-hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }
  .about-full {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-full-content h2 {
    font-size: 1.8rem;
  }
  .about-full-image img {
    height: 280px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .value-card {
    padding: 30px 25px;
  }
  .service-detail-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 25px;
  }
  .service-detail-icon {
    margin: 0 auto;
  }
  .service-detail-content ul {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-form-wrapper {
    padding: 30px 25px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer {
    padding: 60px 0 0;
  }
  .about-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .cta-section {
    padding: 60px 0;
  }
  .cta-content h2 {
    font-size: 1.6rem;
  }
  .cta-content p {
    font-size: 0.95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .region-item {
    padding: 14px 16px;
  }
  .map-section iframe {
    height: 300px;
  }
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .page-hero-content h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  .about-preview-content h2 {
    font-size: 1.5rem;
  }
  .about-full-content h2 {
    font-size: 1.5rem;
  }
  .cta-content h2 {
    font-size: 1.4rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  .regions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .region-item {
    padding: 12px 14px;
    gap: 8px;
  }
  .region-item span {
    font-size: 0.85rem;
  }
  .region-item svg {
    width: 18px;
    height: 18px;
  }
  .nav-logo .logo-wjk {
    font-size: 1.4rem;
  }
  .nav-logo .logo-sub {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }
  .experience-badge {
    padding: 15px 18px;
  }
  .experience-badge .number {
    font-size: 2rem;
  }
  .contact-info-card {
    padding: 18px;
  }
  .map-section iframe {
    height: 250px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.4rem;
  }
  .hero-badge {
    font-size: 0.6rem;
    padding: 5px 12px;
  }
  .page-hero-content h1 {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .regions-grid {
    grid-template-columns: 1fr;
  }
}