/* =====================
   FONTS
===================== */
@font-face {
  font-family: "Basker ville";
  src: url("../fonts/Baskervville-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aileron";
  src: url("../fonts/Aileron-SemiBold.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====================
   RESET & BASE
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Aileron", Arial, sans-serif;
  line-height: 1.7;
  color: #333;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

body.page-loaded {
  opacity: 1;
}

p,
li {
  font-size: 15px;
  color: #555;
}

/* =====================
   NAVBAR
===================== */
.site-header {
  background: #1D2F4E;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
}

.logo {
  font-family: "Basker ville", serif;
  font-size: 22px;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #eaeaea;
  font-size: 15px;
}

.nav-links a.active {
  font-weight: 600;
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =====================
   HERO
===================== */
.hero {
  padding: 120px 10%;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../images/img1.JPG") center / cover no-repeat;
  color: #ffffff;
}

.hero h1 {
  font-family: "Basker ville", serif;
  font-size: 44px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero p {
  font-size: 17px;
  max-width: 650px;
  color: #cfcfcf;
}

/* =====================
   SECTIONS
===================== */
.section {
  padding: 80px 10%;
}

.tech-heading {
  font-family: "Basker ville", serif;
  font-size: 40px;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.section-text {
  max-width: 900px;
  font-size: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   IMAGE HERO
===================== */
.image-hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  margin: 60px 0;
}

/* Background image */
.bg-image {
  position: absolute;
  inset: 0;
  background: url("../images/img2.JPG") center / cover no-repeat;
  z-index: 1;
}

/* Overlay */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(2, 39, 80, 0.85),
    rgba(255, 255, 255, 0.45)
  );
  z-index: 2;
}

/* Content */
.image-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.image-content h1 {
  font-family: "Basker ville", serif;
  font-size: 40px;
  margin-bottom: 30px;
}

/* =====================
   FLOATING ANIMATION
===================== */
@keyframes softFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Pills */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
}

.pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #195bc5;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  animation: softFloat 4s ease-in-out infinite;
}

/* Staggered floating */
.pill:nth-child(1) { animation-delay: 0s; }
.pill:nth-child(2) { animation-delay: 0.3s; }
.pill:nth-child(3) { animation-delay: 0.6s; }
.pill:nth-child(4) { animation-delay: 0.9s; }
.pill:nth-child(5) { animation-delay: 1.2s; }
.pill:nth-child(6) { animation-delay: 1.5s; }
.pill:nth-child(7) { animation-delay: 1.8s; }
.pill:nth-child(8) { animation-delay: 2.1s; }
.pill:nth-child(9) { animation-delay: 2.4s; }

/* Hover polish */
.pill:hover {
  transform: translateY(-10px) scale(1.04);
  transition: transform 0.3s ease;
}

/* =====================
   COMPLIANCE & QUALITY
===================== */
.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.compliance-content {
  max-width: 820px;
}

.compliance-list {
  margin: 20px 0 24px 18px;
}

.compliance-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
}


/* =====================
   CTA
===================== */
.cta {
  text-align: center;
  background: #1D2F4E;
  color: #fff;
}

.cta p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #cfcfcf;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin: 10px 15px;
}

.btn.primary {
  background: #1D2F4E;
  color: #fff;
}

.btn.secondary {
  border: 4px solid #fff;
  color: #fff;
}

/* =====================
   FOOTER
===================== */
.footer-slim {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 40px;
  background: #4a4a4a;
  color: #ccc;
  font-size: 13px;
}

.footer-left { text-align: left; }

.footer-center {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: #fff;
}

.footer-center img {
  height: 80px;
  width: auto;
  opacity: 0.95;
}

.footer-right { text-align: right; }

/* =====================
   PRODUCT PAGE HERO
===================== */

.product-hero {
  position: relative;
  min-height: 65vh;
  background: url("../images/img1.JPG") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 10%;
}

/* Overlay for contrast */
.product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(202, 203, 206, 0.868),
    rgba(2, 39, 80, 0.55)
  );
  z-index: 1;
}

/* Content */
.product-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Heading */
.product-title {
  font-family: "Basker ville", serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 1.3px;
  color: #ffffff;
  margin-bottom: 18px;
}

/* Subtitle */
.product-subtitle {
  font-family: "Aileron", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #e2e2e2;
  max-width: 720px;
  margin: 0 auto;
}


/* =====================
   IMAGE COLLAGE (6)
===================== */

.product-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-gallery img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

/* =====================
   LIGHTBOX (FULL SIZE VIEW)
===================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 92%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoomIn 0.35s ease;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Zoom animation */
@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}



/* =====================
   FULL-WIDTH PRODUCT IMAGES
===================== */

.product-images-full {
  margin-bottom: 60px;
}

/* Bigger 3-image collage */
.image-collage.large {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.image-collage.large img {
  height: 260px;              /* 👈 BIGGER IMAGES */
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle hover polish */
.image-collage.large img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* =====================
   CONTENT BELOW IMAGES
===================== */

.product-content.full-width {
  max-width: 900px;
}

.product-content.full-width h2 {
  font-family: "Basker ville", serif;
  font-size: 36px;
  margin-bottom: 18px;
}

.product-content.full-width h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-family: "Basker ville", serif;
  font-size: 18px;
  color: #1d2f4e;
}

/* Landscape-friendly sizing */
.image-collage.three-section img {
  width: 100%;
  aspect-ratio: 16 / 9;   /* 👈 KEY FIX */
  object-fit: cover;
  border-radius: 10px;
  animation: softFloat 6s ease-in-out infinite;
}

/* Gentle stagger */
.image-collage.three-section img:nth-child(2) {
  animation-delay: 0.6s;
}
.image-collage.three-section img:nth-child(3) {
  animation-delay: 1.2s;
}

/* Hover polish */
.image-collage.three-section img:hover {
  transform: translateY(-6px) scale(1.025);
  transition: transform 0.35s ease;
}

/* =====================
   METRICS
===================== */

.metrics-section {
  background: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.metrics-grid div {
  background: #f4f6f9;
  padding: 22px;
  border-radius: 6px;
}

.metrics-grid strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

/* =====================
   SERVICE & SUPPORT
===================== */

.service-support {
  background: #f7f8fa;
}

.service-inner {
  max-width: 900px;
}

.service-subtitle {
  font-family: "Aileron", Arial, sans-serif;
  font-size: 17px;
  color: #1d2f4e;
  margin-bottom: 18px;
}

.service-text {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 26px;
}

.service-list {
  margin-left: 18px;
  margin-bottom: 26px;
}

.service-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
}

.service-location {
  font-size: 15px;
  color: #1d2f4e;
}

/* =====================
   CONTACT HERO
===================== */

.contact-hero {
  position: relative;
  height: 70vh;
  background: url("../images/img2.JPG") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Dark + soft blue overlay */
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(202, 203, 206, 0.868),
    rgba(2, 39, 80, 0.55)
  );
  z-index: 1;
}

/* Content */
.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #fff;
}

.contact-hero-content h1 {
  font-family: "Basker ville", serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.contact-hero-content p {
  font-family: "Aileron", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #e0e6ee;
  max-width: 680px;
  margin: 0 auto;
}

/* =====================
   CONTACT LAYOUT
===================== */

.contact-section {
  padding: 80px 10%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: flex-start;
}

/* =====================
   ADDRESS BLOCKS
===================== */

.contact-block {
  margin-bottom: 60px;
}

.contact-block h2 {
  font-family: "Basker ville", serif;
  font-size: 28px;
  margin-bottom: 12px;
  color: #1d2f4e;
}

.contact-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 14px;
}

/* Google Map */
.contact-map {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =====================
   CONTACT INFO CARD
===================== */

.contact-info {
  background: #f7f8fa;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.contact-info h3 {
  font-family: "Basker ville", serif;
  font-size: 26px;
  margin-bottom: 18px;
  color: #1d2f4e;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-info a {
  color: #1d2f4e;
  font-weight: 500;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* =====================
   FINAL CTA STRIP
===================== */

.contact-cta {
  background: #1d2f4e;
  color: #fff;
  text-align: center;
  padding: 70px 10%;
}

.contact-cta h2 {
  font-family: "Basker ville", serif;
  font-size: 34px;
  margin-bottom: 12px;
}

.contact-cta p {
  font-size: 17px;
  color: #d1d5db;
  margin-bottom: 25px;
}

.contact-cta .btn {
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.contact-cta .btn:hover {
  background: #fff;
  color: #1d2f4e;
}


/* =========================
   Responsive Media Queries
   ========================= */

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }

  .nav-links {
    flex-direction: column;
    margin-top: 15px;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .section {
    padding: 60px 20px;
  }

  .footer-slim {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 10px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-center img {
    height: 50px;
  }
}


