/* ================================================
   EUSTANCE TECHNOLOGY — Premium Marine Redesign
   Core Design System
   ================================================ */

/* ---------- Google Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary-color: #010531;
  --secondary-color: #002050;
  --accentColour: #1b6fc4;
  --black: #2b2b2b;
  --body: #010531;
  --lightBg: #77d4ff;
  --bgGrey: #dddddd;
  --Grey: #9da4ac;

  /* Extended palette */
  --accent-glow: rgba(27, 111, 196, 0.35);
  --accent-soft: rgba(119, 212, 255, 0.12);
  --dark-panel: rgba(0, 32, 80, 0.45);
  --glass-bg: rgba(1, 5, 49, 0.55);
  --glass-border: rgba(119, 212, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --gradient-hero: linear-gradient(
    135deg,
    #010531 0%,
    #002050 50%,
    #01062e 100%
  );
  --gradient-accent: linear-gradient(135deg, #1b6fc4 0%, #77d4ff 100%);
  --section-padding: clamp(80px, 10vw, 160px);
  --container-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Typography ---------- */
.heading-xl {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.heading-md {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-sm {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

.text-body {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.text-small {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accentColour);
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

.accent-text {
  color: var(--accentColour);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accentColour);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 60px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #00205075;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--accentColour);
  background: rgba(27, 112, 196, 0.514);
  transform: translateY(-2px);
}

.buttonsGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.IndiaMartBtn {
  display: inline-flex;
  align-items: center;
  border-radius: 200px;
  padding: 8px;
  background: #0229644d;
}
.IndiaMartBtn img {
  width: 29px;
}
.WhatsappEnquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 200px;
  padding: 8px 12px;
  background: #0229644d;
  font-size: 14px;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accentColour);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.btn-link:hover {
  gap: 14px;
}

.btn-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(1, 5, 49, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 50px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-menu a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accentColour);
  transition: var(--transition);
}

.homePage .navbar-menu a:hover,
.homePage .navbar-menu a.active {
  color: var(--black);
}
.homePage.scrolled .navbar-menu a:hover,
.homePage.scrolled .navbar-menu a.active {
  color: #fff;
}

.homePage .navbar-menu a {
  color: var(--black);
}
.homePage.scrolled .navbar-menu a {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: #fff;
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

section {
  overflow: hidden;
}

/* ---------- NEW GSAP HERO SECTION ---------- */
:root {
  --ocean-dark: #0a0a0e;
  --ocean-mid: #071828;
  --teal-glow: #00c8ff;
  --white-dim: rgba(255, 255, 255, 0.65);
}

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px !important;
  overflow: hidden;
  background: var(--ocean-dark);
}

.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.layer-bg {
  z-index: 1;
  background-image: url("../images/layer_BG.webp");
  background-size: cover;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  will-change: background-position;
}

.layer-overlay {
  z-index: 3;
  background-color: var(--ocean-dark);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.layer-product-light {
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 5vh;
  padding-right: 8vw;
  opacity: 1;
}

.layer-product-dark {
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 5vh;
  padding-right: 8vw;
  opacity: 0;
}

.layer-product-light img,
.layer-product-dark img {
  width: clamp(400px, 43vw, 850px);
  max-height: 56vh;
  object-fit: contain;
  transform: translateY(18%);
  will-change: opacity, transform;
  animation: Boing 4s ease-in-out infinite;
  margin-bottom: 82px;
  margin-right: -50px;
}

@keyframes floatBoing {
  0%,
  100% {
    transform: translateY(18%) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(16%) translateX(-4px) rotate(-0.5deg);
  }
  50% {
    transform: translateY(20%) translateX(0) rotate(0deg);
  }
  75% {
    transform: translateY(16%) translateX(4px) rotate(0.5deg);
  }
}

.layer-ui {
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
  pointer-events: none;
}

.hero-headline {
  align-self: flex-start;
  margin-bottom: auto;
  margin-top: 100px; /* Add margin to avoid navbar overlap */
}

.hero-headline h1 {
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 34px rgba(9, 94, 128, 0.685);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.hero-sub {
  font-size: clamp(0.75rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgb(255, 255, 255);
  max-width: 28ch;
  text-shadow: 0 0px 4px rgb(3, 36, 49);
}

@media (max-width: 768px) {
  .layer-product-light img,
  .layer-product-dark img {
    width: clamp(300px, 88vw, 480px);
    transform: translateY(25%);
  }
  .layer-product-light,
  .layer-product-dark {
    padding-right: 0;
    justify-content: center;
  }
  #hero {
    height: 100svh;
  }
  .layer-bg {
    background-size: auto 130%;
  }
  .layer-ui {
    padding: 1.8rem 1.4rem;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  #hero {
    min-height: 870px !important;
  }
}

.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 212, 255, 0.25), transparent);
  animation: bubbleRise linear infinite;
}

@keyframes bubbleRise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ---------- SECTION SPACING ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-dark {
  background: var(--body);
}
.section-darker {
  background: linear-gradient(180deg, var(--primary-color) 0%, #000820 100%);
}

/* ---------- WHAT WE BUILD ---------- */
.build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.build-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  group: true;
}
.absAnchor {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.build-card-img {
  position: absolute;
  inset: 0;
  transition: var(--transition-slow);
}

.build-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.build-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(1, 5, 49, 0.9) 100%
  );
  z-index: 2;
  transition: var(--transition);
}

.build-card:hover .build-card-overlay {
  background: linear-gradient(
    180deg,
    transparent 10%,
    rgba(1, 5, 49, 0.95) 100%
  );
}

.build-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 3;
}

.build-card-content h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  transition: var(--transition);
}

.build-card:hover .build-card-content h3 {
  color: var(--lightBg);
}

.build-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.build-card:hover .build-card-content p {
  opacity: 1;
  transform: translateY(0);
}

.build-card-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60%;
  height: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%) scaleX(0);
  transition: var(--transition);
  z-index: 4;
}

.build-card:hover .build-card-glow {
  transform: translateX(-50%) scaleX(1);
}

/* ---------- FEATURED PRODUCTS ---------- */
.product-showcase {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(60px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--glass-border);
}

.product-showcase:last-child {
  border-bottom: none;
}
.product-showcase.reverse {
  flex-direction: row-reverse;
}

.product-info {
  flex: 1;
  min-width: 280px;
}

.product-info .product-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accentColour);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-info h3 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.product-info p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.product-visual {
  flex: 1.2;
  min-width: 300px;
  position: relative;
}

.product-visual-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(0, 32, 80, 0.3) 0%,
    rgba(1, 5, 49, 0.5) 100%
  );
  padding: 40px;
}

.product-visual-inner img {
  width: 100%;
  border-radius: var(--radius-md);
  transition: var(--transition-slow);
}

.product-visual:hover .product-visual-inner img {
  transform: scale(1.03);
}

.product-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(80px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- PROJECTS SECTION ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.project-card-img {
  position: absolute;
  inset: 0;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(1, 5, 49, 0.95) 100%
  );
  z-index: 2;
  transition: var(--transition);
}

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 3;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-card:hover .project-card-content {
  transform: translateY(0);
}

.project-card-content h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  margin-bottom: 8px;
}

.project-card-content p {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-card-content p {
  opacity: 1;
}

.project-card-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition);
  z-index: 4;
  pointer-events: none;
}

.project-card:hover .project-card-glow {
  border-color: rgba(27, 111, 196, 0.3);
  box-shadow: inset 0 0 40px rgba(27, 111, 196, 0.08);
}

/* ---------- ABOUT SECTION ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-content h2 {
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}

.about-content p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 520px;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, var(--primary-color) 0%, #000410 100%);
  padding: 80px 0 0;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand img {
  height: 58px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}
.footerHead {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accentColour);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-contact li svg {
  width: 18px;
  height: 18px;
  color: var(--accentColour);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--accentColour);
  background: rgba(27, 111, 196, 0.12);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accentColour);
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------- UTILITY ---------- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Scroll reveal base (for AOS fallback or custom) */
[data-aos] {
  transition-property: transform, opacity;
}

/* ---------- NAVBAR DROPDOWN ---------- */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item > a .chevron {
  width: 12px;
  height: 12px;
  transition: var(--transition);
}

.nav-item:hover > a .chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: rgba(1, 5, 49, 0.95);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 30px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary) !important;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-dropdown a::after {
  display: none !important;
}

.nav-dropdown a:hover {
  color: #fff !important;
  background: rgba(27, 111, 196, 0.1);
}

.nav-dropdown a .drop-icon {
  width: 18px;
  height: 18px;
  color: var(--accentColour);
  flex-shrink: 0;
}

.nav-dropdown .drop-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 8px 0;
}

/* ---------- PAGE BANNER (Inner Pages) ---------- */
.page-banner {
  position: relative;
  padding: 180px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 5, 49, 0.7) 0%,
    rgba(1, 5, 49, 0.95) 100%
  );
  z-index: 2;
}

.page-banner .container {
  position: relative;
  z-index: 3;
}

.page-banner h1 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-banner p {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.page-banner .breadcrumb a {
  color: var(--accentColour);
  font-weight: 500;
}

.page-banner .breadcrumb a:hover {
  text-decoration: underline;
}

.page-banner .breadcrumb .separator {
  color: var(--text-muted);
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info-card {
  background: rgba(0, 32, 80, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 111, 196, 0.12);
  border: 1px solid rgba(27, 111, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accentColour);
}

.contact-info-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-text a:hover {
  color: var(--accentColour);
}

.contact-form-card {
  background: rgba(0, 32, 80, 0.15);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(1, 5, 49, 0.6);
  border: 1px solid rgba(119, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accentColour);
  box-shadow: 0 0 0 3px rgba(27, 111, 196, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--primary-color);
}

/* ---------- PRODUCT CATEGORY PAGE ---------- */
.category-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: 80px;
}

.mt-0 {
  margin-top: 0 !important;
}

.category-intro-content h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.category-intro-content p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
}

.category-intro-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.category-intro-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Product listing in category pages — reuses product-showcase */

/* Category CTA Section */
.category-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(0, 32, 80, 0.3) 0%,
    rgba(1, 5, 49, 0.5) 100%
  );
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.category-cta h3 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.category-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Custom Systems grid for services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: rgba(0, 32, 80, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(27, 111, 196, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(27, 111, 196, 0.12);
  border: 1px solid rgba(27, 111, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accentColour);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

/* About page specific */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.about-value-card {
  background: rgba(0, 32, 80, 0.15);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
}

.about-value-card:hover {
  border-color: rgba(27, 111, 196, 0.2);
  transform: translateY(-4px);
}

.about-value-card .value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(27, 111, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-value-card .value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accentColour);
}

.about-value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Map embed */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
  border: 1px solid var(--glass-border);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: brightness(0.85) saturate(0.8) hue-rotate(200deg);
}
