/* ============================================
   MODERN POWER MARINE SERVICES
   Premium Marine Website - Navy & Gold
   ============================================ */

:root {
  --navy: #0a1929;
  --navy-light: #1a3a5c;
  --navy-mid: #143d5e;
  --gold: #c9a227;
  --gold-light: #f5edd3;
  --gold-bright: #e8c84a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --body-font: 'Inter', sans-serif;
  --heading-font: 'Manrope', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-gold: 0 10px 40px rgba(201,162,39,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader img { max-height: 80px; margin-bottom: 30px; animation: pulse 2s ease infinite; }
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.preloader-bar-inner {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 3px;
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:0.6 } }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(10,25,41,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { max-height: 55px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.header-nav a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--gold); }

.mobile-toggle {
  display: none;
  background: none; border: none;
  color: var(--white);
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,25,41,0.92) 0%, rgba(26,58,92,0.75) 50%, rgba(10,25,41,0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}
.hero-logo {
  max-height: 100px;
  margin: 0 auto 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.5s forwards;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.7s forwards;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}
.scroll-down svg { width: 24px; height: 24px; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 30px rgba(201,162,39,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ---- Section Base ---- */
.section { padding: 100px 24px; }
.section-dark { background: var(--navy); color: var(--gray-300); }
.section-light { background: var(--gray-50); }
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); }
.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}
.section-desc.white { color: rgba(255,255,255,0.75); }

/* ---- Contact Bar ---- */
.contact-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 24px;
}
.contact-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.contact-bar-item svg { width: 16px; height: 16px; color: var(--gold); }
.contact-bar-item a:hover { color: var(--gold); }

/* ---- About Section ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-images img {
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}
.about-images .img-main {
  width: 100%;
  position: relative;
  z-index: 1;
}
.about-images .img-badge {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--navy);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 2;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--gold);
}
.img-badge .number {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.img-badge .text {
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}
.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}
.about-feature svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- Checklist ---- */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 15px;
}
.checklist li svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- Core Services Cards ---- */
.core-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.core-service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}
.core-service-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,162,39,0.2);
  transform: translateY(-5px);
}
.core-service-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  transition: var(--transition);
}
.core-service-card:hover .core-service-icon {
  background: var(--gold);
  color: var(--navy);
}
.core-service-icon svg { width: 26px; height: 26px; }
.core-service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.core-service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Industries ---- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.industry-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  border-radius: 16px;
  background: var(--gray-50);
  transition: var(--transition);
}
.industry-card:hover {
  background: var(--navy);
}
.industry-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}
.industry-card:hover .industry-icon {
  background: var(--gold);
  color: var(--navy);
}
.industry-icon svg { width: 24px; height: 24px; }
.industry-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  transition: var(--transition);
}
.industry-card:hover h3 { color: var(--white); }
.industry-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  transition: var(--transition);
}
.industry-card:hover p { color: rgba(255,255,255,0.7); }

/* ---- Vision Mission Values ---- */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.vmv-card {
  text-align: center;
  padding: 40px 30px;
}
.vmv-icon {
  width: 64px; height: 64px;
  background: rgba(201,162,39,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}
.vmv-icon svg { width: 28px; height: 28px; }
.vmv-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.vmv-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* ---- Stats ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 0;
}
.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.stat-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,162,39,0.2);
  transform: translateY(-5px);
}
.stat-number {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}
.service-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}
.service-card:hover .service-card-bg { transform: scale(1.1); }
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,41,0.95) 0%, rgba(10,25,41,0.4) 50%, transparent 100%);
  z-index: 1;
  transition: var(--transition);
}
.service-card:hover::before {
  background: linear-gradient(to top, rgba(10,25,41,0.98) 0%, rgba(10,25,41,0.7) 100%);
}
.service-card-content {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  transform: translateY(20px);
  transition: var(--transition);
}
.service-card:hover .service-card-content { transform: translateY(0); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Services List (for services page) ---- */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-list-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.service-list-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,162,39,0.3);
  transform: translateY(-5px);
}
.service-list-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}
.service-list-icon svg { width: 22px; height: 22px; }
.service-list-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service-list-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Why Choose Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: 16px;
}
.why-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.why-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- Values ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.value-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px;
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,162,39,0.2);
  transform: translateY(-5px);
}
.value-icon {
  width: 60px; height: 60px;
  background: rgba(201,162,39,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.value-card p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ---- Certifications ---- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.cert-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  border-color: var(--gold);
}
.cert-card img {
  max-height: 120px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.cert-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.cert-card p {
  font-size: 14px;
  color: var(--gray-600);
}
.cert-badge {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
}

/* ---- Certifications Detail ---- */
.cert-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cert-detail-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.cert-detail-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,162,39,0.3);
}
.cert-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.cert-detail-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.cert-detail-icon svg { width: 26px; height: 26px; }
.cert-detail-code {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}
.cert-detail-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.cert-detail-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.cert-scope {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 16px;
}
.cert-scope-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.cert-scope p {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0;
}

/* ---- Credentials Table ---- */
.credentials-box {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}
.credentials-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.credentials-row:last-child { border-bottom: none; }
.credentials-row span:first-child {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.credentials-row span:last-child {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
}
.team-img {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gray-200);
  transition: var(--transition);
}
.team-card:hover .team-img {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 {
  font-size: 20px;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
}

/* ---- Partners ---- */
.partners-track {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}
.partners-track:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.partners-track img {
  max-height: 60px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition);
}
.partners-track img:hover { opacity: 1; transform: scale(1.1); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.partner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 16px;
  transition: var(--transition);
}
.partner-box:hover {
  border-color: rgba(201,162,39,0.3);
}
.partner-box span {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  text-align: center;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item.tall { aspect-ratio: 3/4; grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,25,41,0);
  transition: var(--transition);
}
.gallery-item:hover::after { background: rgba(10,25,41,0.4); }
.gallery-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px; height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
  transition: var(--transition);
}
.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }

/* ---- Projects ---- */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.project-filter-btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--gray-100);
  color: var(--gray-700);
  transition: var(--transition);
}
.project-filter-btn:hover { background: var(--gray-200); }
.project-filter-btn.active {
  background: var(--navy);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,162,39,0.2);
}
.project-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}
.project-card-body {
  padding: 24px;
}
.project-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(201,162,39,0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.project-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.project-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 10px;
}
.project-client {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
}

/* ---- Contact CTA ---- */
.cta-box {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: rgba(201,162,39,0.08);
  border-radius: 50%;
}
.cta-box h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

/* ---- Contact Section ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-info-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--gray-50);
  border-radius: 16px;
  transition: var(--transition);
}
.contact-info-card:hover {
  box-shadow: var(--shadow-lg);
}
.contact-info-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
.contact-info-card a:hover { color: var(--gold); }

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 15px;
  color: var(--navy);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group.full { grid-column: 1 / -1; }

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.map-placeholder svg { width: 36px; height: 36px; color: var(--gold); margin-bottom: 12px; }
.map-placeholder p { color: var(--white); font-weight: 600; }
.map-placeholder span { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.footer-brand img { max-height: 60px; margin-bottom: 20px; }
.footer-brand p { line-height: 1.8; margin-bottom: 24px; }
.footer-title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-contact-item svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ---- Back to Top ---- */
.back-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold-bright); transform: translateY(-3px); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,25,41,0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
}

/* ---- Page Header ---- */
.page-hero {
  padding: 180px 24px 100px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  color: var(--white);
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Animations on Scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 320px; height: 100%;
  background: var(--white);
  z-index: 9999;
  transition: right 0.4s ease;
  padding: 80px 30px 30px;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
}
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { max-width: 600px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-detail-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .core-services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: 1fr; }
  .vmv-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero { min-height: 600px; }
  .section { padding: 70px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-list-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item { padding: 20px; }
  .stat-number { font-size: 36px; }
  .certs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr; }
  .about-images .img-badge {
    width: 140px; height: 140px;
    bottom: -20px; right: -10px;
  }
  .img-badge .number { font-size: 36px; }
  .cta-box { padding: 50px 30px; }
  .core-services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 30px 20px; }
  .contact-bar-inner { gap: 16px; }
}
