/* =====================
   GLOBAL VARIABLES
===================== */
:root {
  --primary-blue: #0a7cff;
  --dark-blue: #064a9f;
  --light-blue: #eaf3ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: #ec7e3a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 124, 255, 0.4);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.logo img {
  height: 60px;
  border-radius: 70%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.navbar.scrolled .nav-links a {
  color: white;
}

.navbar.scrolled .nav-links a:hover {
  color: #eaf3ff;
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  z-index: 1001;
}

.dropdown-menu li {
  background: white;
  border: 1px solid #ddd;
  margin-bottom: 2px;
}

.dropdown-menu li:first-child {
  border-top: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #eaf3ff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* =====================
   HERO SECTION
===================== */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.hero-images img {
  width: 33.33%;
  height: 100%;
  object-fit: cover;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(10, 124, 255, 0.75);
  padding: 35px 45px;
  border-radius: 10px;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* =====================
   BUTTONS
===================== */
.cta {
  display: inline-block;
  padding: 14px 30px;
  background: white;
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.cta:hover {
  background: var(--light-blue);
}

/* =====================
   FEATURES / SERVICES
===================== */
.features {
  padding: 70px 50px;
  background: var(--light-blue);
  text-align: center;
}

.features h2 {
  color: var(--dark-blue);
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-grid div {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.feature-grid h3 {
  color: var(--primary-blue);
}

/* =====================
   PRODUCTS
===================== */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 60px 40px;
}

.product-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.product-item img {
  width: 100%;
  max-height: 140px;      /* 👈 smaller image */
  object-fit: contain;   /* 👈 no cropping */
  margin-bottom: 15px;
}

.product-item h3 {
  margin: 10px 0 5px;
  font-size: 16px;
}

.product-item p {
  font-size: 14px;
  margin: 5px 0;
}

.price {
  color: var(--primary-blue);
  font-weight: bold;
  margin-top: 10px;
}

/* =====================
   CTA SECTION
===================== */
.cta-section {
  padding: 70px 50px;
  background: var(--primary-blue);
  color: white;
  text-align: center;
}

/* ==================*
/* SLIDER */
.slider {
  overflow: hidden;
  width: 100%;
  padding: 100px 0;  /* increased to 100px */
  background: var(--light-blue);
  position: relative;
}

.sliderTrack {
  display: flex;
  width: max-content;      /* width expands based on images */
  animation: scroll-left 40s linear infinite; /* auto scroll */
}

.sliderTrack img {
  height: 200px;           /* increased size */
  margin-right: 25px;      /* spacing between images */
  padding: 5px;            /* 5px padding all round */
  border-radius: 8px;
  object-fit: contain;     /* prevents stretching/cropping */
}

/* ANIMATION */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* scroll half width (adjust as needed) */
  }
}
/* FOOTER */
/* footer {
  background: #ec7e3a;
  color: white;
  padding: 40px 30px 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 20px;
}
.footer-content h3 {
  margin-bottom: 10px;
}
.footer-content a {
  color: white;
  text-decoration: none;
}
.footer-content a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 14px;
} */

/* =====================
   VIDEO SECTIONS (full-bleed)
   - make videos span left to right edges
   - match slider/animations visual height
===================== */

:root {
  --section-media-height: 720px; /* reduced by 10% (desktop) */
}

.video-section {
  width: 90vw; /* full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw; /* full-bleed technique */
  margin-right: -50vw;
  background: var(--light-blue);
  padding: 40px 0; /* vertical breathing room */
}


.video-content {
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

/* full-bleed video (edge-to-edge) */
.video-player.full-bleed {
  width: 90vw;
  height: var(--section-media-height);
  object-fit: cover;
  display: block;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
}

.video-player { /* fallback for any non-full-bleed videos */
  width: 99%;
  height: var(--section-media-height);
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.video-text {
  color: #08326a;
}

.video-text h2 {
  margin-top: 0;
  color: var(--dark-blue);
}

/* Responsive: stack on smaller screens and reduce video height */
@media (max-width: 900px) {
  :root { --section-media-height: 468px; }
  .video-content { flex-direction: column-reverse; text-align: left; }
  .video-player { width: 100%; height: var(--section-media-height); }
  .video-text { width: 100%; }
}

/* Overlay text on top of full-bleed video */
.video-section { overflow: hidden; }
.video-section .video-content { position: relative; }
.video-section .video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 18px 22px;
  border-radius: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 5;
}

@media (max-width: 900px) {
  .video-section .video-text {
    position: static;
    transform: none;
    margin: 14px auto 0;
    background: rgba(0,0,0,0.45);
    width: calc(100% - 40px);
  }
}
