/* ========== VARIABLES ========== */
:root {
  --navy: #001F4D;
  --royal: #002B6F;
  --blue: #0068BF;
  --sky: #34B2EC;
  --white: #ffffff;
  --light: #f0f6ff;
  --gray: #6b7280;
  --dark: #0f172a;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-text: 'Open Sans', sans-serif;
  --shadow: 0 4px 24px rgba(0,31,77,0.12);
  --shadow-lg: 0 12px 48px rgba(0,31,77,0.18);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== UTILITIES ========== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  background: rgba(0,119,204,0.1);
  color: var(--blue);
  border: 1px solid rgba(0,119,204,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.3); }
.section-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-title.light { color: white; }
.section-sub { font-size: 1.05rem; color: var(--gray); max-width: 600px; line-height: 1.7; }
.section-sub.light { color: rgba(255,255,255,0.8); }
.section-header { margin-bottom: 60px; }
.section-header.light { text-align: center; }
.section-header.light .section-sub { margin: 0 auto; }
.gradient-text { background: linear-gradient(135deg, var(--sky) 0%, #fff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--royal));
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,119,204,0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,119,204,0.45); background: linear-gradient(135deg, var(--royal), var(--navy)); }
.btn-primary.full-width { display: block; width: 100%; text-align: center; border-radius: 12px; padding: 16px; font-size: 1rem; }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: white;
  padding: 13px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: white; color: var(--navy); }
.btn-outline-white {
  display: inline-block;
  border: 2px solid white;
  color: white;
  padding: 13px 32px;
  border-radius: 100px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-white:hover { background: white; color: var(--navy); }

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 1300;
  background: white; color: var(--navy);
  padding: 12px 20px; border-radius: 8px;
  font-weight: 700; font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ========== NAVBAR ========== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(0,15,40,0.97);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo-text { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; }
.logo-blue { color: var(--sky); }
.logo-dark { color: white; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--royal)) !important;
  color: white !important;
  border-radius: 100px !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0,119,204,0.4);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,119,204,0.5) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #001833 35%, #002a6b 65%, var(--royal) 100%);
  overflow: hidden;
}
.hero-video-bg { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(0,20,50,0.88) 0%, rgba(0,24,51,0.75) 35%, rgba(0,42,107,0.65) 65%, rgba(0,59,142,0.8) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(91,192,235,0.15) 0%, transparent 50%);
}
.hero-waves { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-waves svg { width: 100%; height: auto; }

/* Animated particles */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(91,192,235,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: particleFloat 20s linear infinite;
  opacity: 0.3;
}
@keyframes particleFloat { from { transform: translateY(0); } to { transform: translateY(-60px); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; width: 100%;
  padding: 96px 24px 48px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: var(--sky);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 40px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== STATS STRIP ========== */
.stats-strip {
  background: linear-gradient(160deg, var(--navy) 0%, var(--royal) 100%);
  padding: 40px 0 56px;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 24px 40px;
}
.stat-item { text-align: center; padding: 8px 32px; }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: white; }
.stat-item span:nth-child(2) { font-size: 2.2rem; font-weight: 800; color: var(--sky); }
.stat-label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.15); }

/* ========== ABOUT ========== */
.about-section { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-stack { position: relative; height: 480px; }
.about-img-card { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.img-card-1 { top: 0; left: 0; width: 65%; height: 300px; }
.img-card-2 { bottom: 0; right: 0; width: 60%; height: 260px; }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blue-deep { background: linear-gradient(135deg, var(--navy), var(--royal)); }
.ocean { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.about-badge-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  z-index: 2;
}
.badge-icon { font-size: 1.5rem; color: var(--blue); }
.badge-text strong { display: block; font-family: var(--font-head); font-size: 0.9rem; color: var(--navy); }
.badge-text span { font-size: 0.75rem; color: var(--gray); }
.section-text { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.feature-row { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon { font-size: 1.5rem; min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0,119,204,0.1); border-radius: 10px; }
.feature-row strong { display: block; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.feature-row p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin: 0; }

/* ========== SERVICES ========== */
.services-section { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: white;
  border: 1px solid rgba(0,31,77,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.featured-card { background: linear-gradient(160deg, var(--navy) 0%, var(--royal) 100%); border-color: transparent; color: white; }
.service-card.featured-card h3, .service-card.featured-card p { color: white; }
.featured-card p { opacity: 0.8; }
.featured-ribbon {
  position: absolute; top: 20px; right: -10px;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
}
.service-icon-wrap { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--blue); }
.featured-card .service-link { color: var(--sky); }
.service-link:hover { text-decoration: underline; }

/* ========== PROJECTS ========== */
.projects-section { background: var(--light); }
.projects-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  border: 2px solid rgba(0,31,77,0.12);
  background: white;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation-delay: var(--delay, 0s);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-card.hidden { display: none; }
.project-img { height: 220px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.project-icon-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(0,15,40,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view-btn {
  background: white; color: var(--navy);
  padding: 10px 24px; border-radius: 100px;
  font-weight: 600; font-size: 0.85rem;
  transform: translateY(10px); transition: var(--transition);
}
.project-card:hover .project-view-btn { transform: translateY(0); }
.project-info { padding: 24px; }
.project-tag {
  display: inline-block;
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.project-tag.construction { background: rgba(0,59,142,0.1); color: var(--royal); }
.project-tag.inspection { background: rgba(0,119,204,0.1); color: var(--blue); }
.project-tag.salvage { background: rgba(91,192,235,0.15); color: #0077aa; }
.project-info h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.project-info p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.project-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--gray); }

/* ========== SAFETY ========== */
.safety-section { position: relative; overflow: hidden; padding: 100px 0; }
.safety-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, #002060 50%, var(--royal) 100%);
}
.safety-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(91,192,235,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0,119,204,0.2) 0%, transparent 50%);
}
.safety-section .container { position: relative; z-index: 1; }
.safety-section .section-header { text-align: center; }
.safety-section .section-sub { margin: 0 auto; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.safety-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
}
.safety-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.safety-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; color: rgba(91,192,235,0.4); margin-bottom: 12px; }
.safety-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 10px; }
.safety-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.certifications { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cert-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ========== PARTNERS MARQUEE ========== */
.partners-section { background: var(--light); }
.partners-section .container { padding-bottom: 8px; }
.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marqueeScroll 20s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: white;
  border: 1px solid rgba(0,31,77,0.08);
  border-radius: 16px;
  padding: 18px 36px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 96px;
}
.marquee-item img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.marquee-item:hover { border-color: rgba(0,119,204,0.25); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.marquee-spacer { flex: 0 0 100vw; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ========== EQUIPMENT ========== */
.equipment-section { background: white; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.equip-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(0,31,77,0.06);
  transition: var(--transition);
  text-align: center;
}
.equip-card:hover { background: white; box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(0,119,204,0.15); }
.equip-icon { font-size: 2.8rem; margin-bottom: 16px; }
.equip-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.equip-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }


/* ========== CAREERS ========== */
.careers-section { background: white; }
.careers-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.careers-content .section-title { margin-bottom: 16px; }
.careers-content p { color: var(--gray); line-height: 1.8; margin-bottom: 24px; font-size: 0.95rem; }
.careers-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.careers-perks li { color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.careers-jobs h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.no-jobs {
  background: var(--light);
  border: 1px dashed rgba(0,31,77,0.18);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}
.no-jobs p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.btn-outline-navy {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 11px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-outline-navy:hover { background: var(--navy); color: white; }

/* ========== PORTAL ========== */
.portal-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--royal) 100%);
  padding: 100px 0;
}
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 64px; }
.portal-feature {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 20px;
  transition: var(--transition);
}
.portal-feature:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.portal-icon { font-size: 2.5rem; margin-bottom: 16px; }
.portal-feature h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 10px; }
.portal-feature p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.portal-cta { text-align: center; }
.portal-cta h2 { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: white; margin-bottom: 12px; }
.portal-cta p { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1rem; }
.portal-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== CONTACT ========== */
.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.info-card { display: flex; gap: 16px; margin-bottom: 24px; }
.info-icon { font-size: 1.4rem; min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.info-card strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.info-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin: 0; }
.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  transition: var(--transition);
}
.social-btn:hover { background: var(--blue); transform: translateY(-2px); }
.social-btn.whatsapp:hover { background: #25d366; }
.contact-form {
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(0,31,77,0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--light);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--gray); margin-top: 12px; }

/* ========== FOOTER ========== */
.footer { background: var(--dark); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-logo img { height: 40px; width: auto; }
.footer-logo-sub { display: block; width: 100%; font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.2em; text-transform: uppercase; margin-top: -4px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--blue); color: white; background: var(--blue); }
.footer-links h4 { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--sky); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; align-items: center;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.83rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-legal a:hover { color: var(--sky); }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--royal));
  color: white;
  border: none; cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,119,204,0.4);
  opacity: 0; transform: translateY(16px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,119,204,0.5); }

/* ========== HERO BG IMAGE ========== */
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.75;
  transform: scale(1.05);
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.15) translateY(-1.5%); }
}

/* ========== AOS ANIMATIONS ========== */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid, .projects-grid, .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .careers-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-stack { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonial-card { min-width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--navy); padding: 80px 24px 40px; gap: 4px; z-index: 999; transform: translateX(100%); transition: transform 0.3s ease; }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { padding: 12px 16px; border-radius: 10px; font-size: 1rem; }
  .hamburger { display: flex; z-index: 1000; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 0; padding: 20px; }
  .stat-item { padding: 8px 16px; }
  .stat-divider { display: none; }
  .services-grid, .projects-grid, .equipment-grid, .safety-grid, .portal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .testimonial-card { min-width: 100%; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; }
  .stat-divider { display: none; }
  .portal-buttons { flex-direction: column; align-items: center; }
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  z-index: 1200;
  transition: width 0.1s ease-out;
}

/* ========== HERO BUBBLES ========== */
.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bubbles span {
  position: absolute;
  bottom: -60px;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(91,192,235,0.15));
  border-radius: 50%;
  animation: bubbleRise linear infinite;
  opacity: 0.6;
}
.hero-bubbles span:nth-child(1) { left: 8%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: 0s; }
.hero-bubbles span:nth-child(2) { left: 18%; width: 18px; height: 18px; animation-duration: 12s; animation-delay: 1.5s; }
.hero-bubbles span:nth-child(3) { left: 32%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: 3s; }
.hero-bubbles span:nth-child(4) { left: 47%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 0.5s; }
.hero-bubbles span:nth-child(5) { left: 61%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: 2.5s; }
.hero-bubbles span:nth-child(6) { left: 74%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 4s; }
.hero-bubbles span:nth-child(7) { left: 85%; width: 9px; height: 9px; animation-duration: 8s; animation-delay: 1s; }
.hero-bubbles span:nth-child(8) { left: 93%; width: 20px; height: 20px; animation-duration: 13s; animation-delay: 3.5s; }
@keyframes bubbleRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ========== TILT ========== */
.tilt { transition: transform 0.25s ease, box-shadow 0.25s ease; will-change: transform; }

/* ========== TEAM / LEADERSHIP ========== */
.team-section { background: white; }
.team-subheading {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 24px;
  padding-top: 8px;
}
.team-subheading:first-of-type { margin-top: 0; padding-top: 0; }

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
  align-items: stretch;
}
.leader-card {
  background: var(--light);
  border: 1px solid rgba(0,31,77,0.08);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.leader-photo {
  width: 170px; aspect-ratio: 3 / 4; height: auto;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}
.leader-card h4 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.leader-card .team-role { display: block; color: var(--blue); font-weight: 600; font-size: 0.88rem; margin: 4px 0 0; }
.leader-card-featured {
  background: white;
  border-color: rgba(0,31,77,0.1);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
}
.leader-card-featured .leader-photo { width: 200px; }
.leader-card-featured .team-role { margin-bottom: 16px; }
.leader-card-featured p { color: var(--gray); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; text-align: left; }
.team-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cert-chip {
  background: rgba(0,119,204,0.08);
  color: var(--royal);
  border: 1px solid rgba(0,119,204,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.staff-card {
  background: var(--light);
  border: 1px solid rgba(0,31,77,0.06);
  border-radius: 18px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: var(--transition);
}
.staff-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,119,204,0.2); }
.staff-card img {
  width: 150px; aspect-ratio: 3 / 4; height: auto;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 16px;
  border: 4px solid white;
  box-shadow: var(--shadow);
}
.staff-card h4 { font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.staff-card .team-role { margin: 4px 0 0; font-size: 0.8rem; }

.padi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgba(0,31,77,0.1);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-top: 14px;
  box-shadow: var(--shadow);
}
.padi-badge img { height: 22px; width: auto; aspect-ratio: auto; border: none; border-radius: 0; margin: 0; box-shadow: none; display: block; }
.padi-badge span { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; color: var(--navy); white-space: nowrap; }

@media (max-width: 1024px) {
  .leadership-grid { grid-template-columns: 1fr; }
  .leader-card-featured { order: -1; }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .leader-card-featured p { text-align: center; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== SERVICE LIST ========== */
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-list { list-style: none; margin-bottom: 20px; }
.service-list li {
  font-size: 0.85rem;
  color: var(--gray);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 6px;
  color: var(--blue);
  font-weight: 700;
}
.featured-card .service-list li { color: rgba(255,255,255,0.85); }
.featured-card .service-list li::before { color: var(--sky); }

.services-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,31,77,0.08);
}
.services-footer-item { display: flex; align-items: center; gap: 14px; }
.sf-icon { font-size: 1.6rem; }
.services-footer-item strong { display: block; font-size: 0.9rem; color: var(--navy); }
.services-footer-item span { font-size: 0.8rem; color: var(--gray); }

/* ========== PORTFOLIO IMAGES (Our Work) ========== */
.project-img { background: linear-gradient(135deg, var(--navy), var(--royal)); }
.project-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img { transform: scale(1.08); }
.project-view-btn { cursor: pointer; }

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,10,30,0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: lightboxFade 0.25s ease; }
@keyframes lightboxFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-caption {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: white; font-size: 0.95rem; text-align: center; max-width: 600px;
  background: rgba(0,0,0,0.4); padding: 8px 20px; border-radius: 100px;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 1.1rem; cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 1.3rem; cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ========== WHY CHOOSE US / TRUST ========== */
.trust-section { background: var(--light); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(0,31,77,0.06);
  transition: var(--transition);
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trust-icon { font-size: 2.4rem; margin-bottom: 14px; }
.trust-card h3 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.trust-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed; bottom: 32px; left: 32px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; opacity: 0.6;
  animation: whatsappPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes whatsappPulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.9); opacity: 0; } }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.65); }

@media (max-width: 1024px) {
  .services-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .services-footer { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid-3 { grid-template-columns: 1fr; }
  .services-footer { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 20px; left: 20px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}
