
:root {
  --navy-900: #071526;
  --navy-800: #0f2744;
  --navy-700: #1a3a5c;
  --steel-600: #5c6b7a;
  --steel-400: #8b98a5;
  --steel-200: #d1d9e0;
  --white: #ffffff;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #9a7b1a;
  --section-pad: clamp(4rem, 8vw, 6rem);
  --nav-height: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 25px 50px -12px rgba(7, 21, 38, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--steel-600);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn-quote {
  font-family: "Montserrat", system-ui, sans-serif;
}

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

.bg-navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Navbar */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  height: var(--nav-height);
  background: rgba(7, 21, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-navbar.scrolled {
  background: rgba(7, 21, 38, 0.98);
  box-shadow: var(--shadow-lg);
}

.site-navbar .navbar-brand img {
  max-height: 56px;
  width: auto;
  max-width: min(240px, 55vw);
  border-radius: 4px;
  transition: transform var(--transition);
}

.site-navbar .navbar-brand:hover img {
  transform: scale(1.02);
}

.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition), left var(--transition);
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  width: 70%;
  left: 15%;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--gold-light) !important;
}

.btn-quote {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-900) !important;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.35rem;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.45);
  color: var(--navy-900) !important;
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-900);
}

.btn-solid-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-900);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-solid-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
  color: var(--navy-900);
}

.navbar-toggler {
  border-color: rgba(201, 162, 39, 0.5);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 21, 38, 0.92) 0%,
    rgba(15, 39, 68, 0.78) 45%,
    rgba(7, 21, 38, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.35s;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--steel-200);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.65s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--steel-400);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Stats */
.stat-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.stat-card .stat-icon {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.stat-card .stat-value {
  font-family: Montserrat, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel-600);
  margin-top: 0.35rem;
}

/* About */
.about-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.about-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: clamp(260px, 38vw, 420px);
  object-position: center center;
}

.section-photo-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 420px;
}

.section-photo-banner img {
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  display: block;
}

.section-photo-banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(7, 21, 38, 0.92), transparent);
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.cert-visual {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-lg);
}

.cert-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.why-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--steel-200);
}

.why-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.why-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(7, 21, 38, 0.95), transparent);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-feature-img {
  height: 220px;
  object-fit: cover;
  display: block;
}

.contact-media {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--steel-200);
  box-shadow: 0 10px 40px rgba(7, 21, 38, 0.08);
}

.map-wrap-stacked {
  border: none;
  border-radius: 0;
  min-height: 0;
}

.map-wrap-stacked iframe {
  height: 280px;
}

.about-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-feature i {
  color: var(--gold);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

/* Service cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.btn-enquiry {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition), color var(--transition);
}

.btn-enquiry:hover {
  color: var(--navy-900);
  gap: 0.6rem;
}

/* Projects */
.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 38, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  transform: translateY(10px);
  transition: transform var(--transition);
}

.project-overlay p {
  color: var(--steel-200);
  font-size: 0.85rem;
  margin: 0;
  transform: translateY(10px);
  transition: transform var(--transition) 0.05s;
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p {
  transform: translateY(0);
}

/* Certifications */
.cert-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.cert-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 0.65rem;
  color: var(--navy-900);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

/* Appreciation letters — name cards */
.appreciation-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.appreciation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-200);
  border-top-color: var(--gold-light);
}

.appreciation-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.appreciation-name {
  font-family: Montserrat, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.appreciation-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 0.65rem;
}

.appreciation-detail {
  font-size: 0.88rem;
  color: var(--steel-600);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Why choose us */
.why-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(7, 21, 38, 0.08);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.why-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.88);
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

/* Contact */
.contact-info-card {
  background: var(--navy-800);
  color: var(--steel-200);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: background var(--transition), transform var(--transition);
}

.contact-link:hover {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-light);
  transform: translateX(4px);
}

.contact-link i {
  color: var(--gold);
  width: 24px;
  text-align: center;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(7, 21, 38, 0.08);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-900);
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 4px;
  border-color: var(--steel-200);
  padding: 0.75rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.2);
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--steel-200);
  min-height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: var(--steel-400);
  padding-top: 4rem;
}

.site-footer .footer-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.site-footer h5 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: var(--steel-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  margin-right: 0.5rem;
  color: var(--gold);
  transition: all var(--transition);
}

.social-icons a:hover {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form feedback */
.form-alert {
  display: none;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.form-alert.show {
  display: block;
}

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background: var(--navy-900);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .cta-band-bg {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .hero-scroll,
  .reveal {
    animation: none;
    transition: none;
  }
}
