:root {
  --blue: #02224b;
  --lightblue: #033577;
  --yellow: #c20201;
  --white: #ffffff;
  --dark: #0b2545;
  --dlns-radius: 8px;
  --hero-overlay: rgba(0, 0, 0, 0.45);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: #f4f4f4;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 2000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.container {
  width: 94%;
  max-width: 1500px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo img {
  height: 44px
}

/* ==================================================
   MOBILE MENU
================================================== */
.nav-toggle {
  background: var(--yellow);
  color: var(--white);
  padding: 10px 14px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

/* MOBILE NAV CONTAINER (SCROLL ENABLED) */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--blue);
  padding: 24px;
  transition: right 0.3s ease;

  /* SCROLL FIX */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.main-nav.open {
  right: 0;
}

.close-nav {
  background: var(--yellow);
  color: var(--white);
  padding: 10px 12px;
  border: 0;
  font-weight: 800;
  margin-bottom: 20px;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 20px;
}

/* NAV BUTTON */
.nav-btn {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  padding: 8px 0;
  text-align: left;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==================================================
   MOBILE / TABLET DROPDOWN (STABLE)
================================================== */
.mega-menu-mobile {
  overflow: hidden;
  max-height: 0;
  padding: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

/* OPEN STATE */
.nav-item.has-mega.open .mega-menu-mobile {
  max-height: 1400px; /* safe for long lists */
  padding: 8px 0 14px;
}

/* CATEGORY GROUP */
.mega-subgroup {
  margin-bottom: 12px;
}

/* CATEGORY TITLES (FIXED VISIBILITY) */
.mega-title {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 14px 0 6px;
}

/* LINKS */
.mega-menu-mobile a {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mega-menu-mobile a:last-child {
  border-bottom: none;
}

/* ARROW ROTATION */
.nav-item.has-mega .arrow {
  transition: transform 0.25s ease;
}

.nav-item.has-mega.open .arrow {
  transform: rotate(180deg);
}

/* ==================================================
   TABLET REFINEMENTS (768–991px)
================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  .mega-menu-mobile a {
    font-size: 16px;
    padding: 9px 0;
  }

  .mega-title {
    font-size: 12.5px;
  }
}

/* ==================================================
   DESKTOP SAFETY (HIDE MOBILE DROPDOWN)
================================================== */
@media (min-width: 992px) {
  .mega-menu-mobile {
    display: none !important;
  }
}

/* ==================================================
   DESKTOP NAV
================================================== */
@media (min-width: 992px) {

  .nav-toggle,
  .close-nav {
    display: none;
  }

  .main-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    overflow: visible;
  }

  .nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
  }

  .nav-btn {
    color: var(--blue);
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    position: relative;
  }

  /* UNDERLINE */
  .nav-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--yellow);
    transition: background 0.25s ease;
  }

  .nav-item:hover .nav-btn::after {
    background: var(--blue);
  }

  /* CONTACT BOX */
  .contact-box {
    background: var(--blue);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-box span {
    font-size: 15px;
    margin-top: 4px;
  }

  .contact-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  }
}

/* ==================================================
   MOBILE CONTACT BUTTON
================================================== */
@media (max-width: 768px) {

  .nav-item.contact-btn {
    margin-top: 30px;
    margin-bottom: 10px;
    width: 100%;
  }

  .nav-item.contact-btn a {
    display: block;
    background: var(--yellow);
    color: var(--white) !important;
    text-align: center;
    padding: 14px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
  }

  .nav-item.contact-btn a span {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    opacity: 0.85;
  }

  .nav-item.contact-btn a:hover {
    background: #ffe86a;
    transform: translateY(-2px);
  }
}

/* ==================================================
   DESKTOP CENTER MEGA MENU (UNCHANGED)
================================================== */
.center-mega {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: var(--blue);
  padding: 30px 40px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-bottom: 4px solid var(--yellow);
}

.center-mega.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.mega-inner a {
  display: block;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp 0.35s forwards ease;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   HERO SECTION 
   ========================================= */
.dlns-hero {
  margin-top: 82px;
  height: 100vh;
  background: url("/assets/media/hero.png") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.dlns-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Content area */
.dlns-hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

/* Wrapper shrinks to title width */
.dlns-hero-title-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* Animated Yellow Lines */
.dlns-hero-line {
  height: 5px;
  background: var(--yellow);
  width: 60%;
  transform: scaleX(0);
  transform-origin: left;
  animation: dlns-line-grow 0.9s ease-out forwards;
}

.dlns-hero-line.bottom {
  animation-delay: 0.25s;
}

/* Animation */
@keyframes dlns-line-grow {
  to {
    transform: scaleX(1);
  }
}

/* Responsive, beautiful Title */
.dlns-hero-title {
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  font-size: clamp(26px, 6vw, 68px);
}


/* Hero paragraph */
.dlns-hero-text {
  color: #fff;
  font-size: clamp(15px, 2.6vw, 22px);
  margin-top: 18px;
  line-height: 1.55;
}

/* CTA button */
.dlns-hero-btn {
  margin-top: 28px;
  padding: 12px 30px;
  border: 3px solid #fff;
  border-radius: 32px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  transition: 0.25s ease;
}

.dlns-hero-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-4px);
}

/* ========================================================
   ANIMATIONS — fade up
======================================================== */
.dlns-animate-up {
  opacity: 0;
  transform: translateY(25px);
  animation: dlnsFadeUp 0.8s forwards ease-out;
}

.delay-1 {
  animation-delay: 0.4s;
}

.delay-2 {
  animation-delay: 0.75s;
}

@keyframes dlnsFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   TABLET RESPONSIVE (768px+)
======================================================== */
@media (min-width: 768px) {
  .dlns-hero {
    padding-left: 60px;
  }
}

/* ========================================================
   LAPTOP RESPONSIVE (1200px+)
======================================================== */
@media (min-width: 1200px) {
  .dlns-hero-content {
    max-width: 700px;
  }

  .dlns-hero-text {
    max-width: 550px;
  }
}

/* ========================================================
   4K ULTRA WIDE (1800px+)
======================================================== */
@media (min-width: 1800px) {
  .dlns-hero {
    height: 90vh;
    padding-left: 120px;
  }

  .dlns-hero-title {
    font-size: clamp(60px, 4vw, 110px);
  }

  .dlns-hero-text {
    font-size: clamp(24px, 1.4vw, 32px);
    max-width: 650px;
  }
}


/* ============================
   MOBILE FIRST BASE STYLES
============================ */

.dlns-slider-section {
  width: 100%;
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
}

.dlns-slider {
  display: flex;
  gap: 20px;
  padding: 10px;
  transition: transform .6s cubic-bezier(.25, .8, .25, 1);
}

/* PRODUCT CARD */
.dlns-card {
  min-width: 100%;
  /* MOBILE: 1 card view */
  background: white;
  padding: 35px 20px 45px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeUp .6s ease forwards;
}

.dlns-card img {
  width: 240px;
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
}
.dlns-card p{
   color: #000000;
}
.dlns-line {
  width: 28px;
  height: 6px;
  background: #c20201;
  margin: 0 auto 12px;
  display: block;
}

.dlns-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: #02224b;
  margin-bottom: 6px;
}

.dlns-card p {
  font-size: 16px;
  opacity: .75;
}

/* ============================
   ARROWS (responsive)
============================ */

.dlns-arrow {
  position: absolute;
  bottom: 20px;
  background: transparent;
  border: none;
  font-size: 35px;
  color: #02224b;
  cursor: pointer;
  z-index: 5;
}

.dlns-arrow.left {
  left: 20px;
}

.dlns-arrow.right {
  right: 20px;
}

/* ============================
   TABLET (≥600px)
============================ */
@media (min-width: 600px) {
  .dlns-card {
    min-width: calc(50% - 20px);
    /* 2 card view */
  }

  .dlns-arrow.left {
    left: 80px;
  }

  .dlns-arrow.right {
    right: 80px;
  }
}

/* ============================
   LAPTOP & DESKTOP (≥992px)
============================ */
@media (min-width: 992px) {
  .dlns-card {
    min-width: calc(33.33% - 20px);
    /* 3 card view */
  }

  .dlns-arrow.left {
    left: 160px;
  }

  .dlns-arrow.right {
    right: 160px;
  }
}

/* ============================
   4K WIDE SCREENS (≥1600px)
============================ */
@media (min-width: 1600px) {
  .dlns-arrow.left {
    left: 240px;
  }

  .dlns-arrow.right {
    right: 240px;
  }
}

/* ============================
   ANIMATIONS
============================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =============================
   COMPANY VALUES SECTION
   Mobile-first
============================= */

.dlns-values-section {
  width: 100%;
  position: relative;
  background: #f4f4f4;
  padding: 40px 0;
}

.dlns-values-img {
  background: url("/assets/media/about.png") no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  margin: auto;
}

/* Content Card */
.dlns-values-content {
  background: #02224b;
  color: #fff;
  padding: 30px 25px;
  margin: -60px auto 0;
  width: 88%;
  border-radius: 6px;
  position: relative;
  animation: fadeSlideUp .8s ease-out;
}

.dlns-values-tag {
  color: #c20201;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
}

.dlns-values-title {
  font-size: 26px;
  font-weight: 700;
  margin: 12px 0;
  line-height: 1.3;
}

.dlns-values-text {
  opacity: 0.9;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Button */
.dlns-values-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  color: #c20201;
  font-size: 16px;
}

/* Right arrow animation */
.dlns-values-btn i {
  transition: transform .3s ease;
}

.dlns-values-btn:hover i {
  transform: translateX(6px);
}

/* =============================
   RESPONSIVE DESIGN
============================= */

/* Tablet */
@media (min-width: 768px) {
  .dlns-values-img {
    height: 380px;
  }

  .dlns-values-content {
    width: 70%;
    padding: 40px 35px;
    margin-top: -90px;
  }

  .dlns-values-title {
    font-size: 32px;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .dlns-values-section {
    padding: 100px 0;
  }

  .dlns-values-img {
    width: 80%;
    height: 420px;
  }

  .dlns-values-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 34%;
    margin: 0;
  }
}

/* 4K */
@media (min-width: 1600px) {
  .dlns-values-content {
    right: 15%;
    width: 30%;
  }
}

/* =============================
   ANIMATION
============================= */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===========================
   FOOTER BASE
=========================== */

.dlns-footer {
  background: #02224b;
  color: #fff;
  padding: 60px 20px 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.dlns-footer-inner {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Headings */
.dlns-footer-col h4 {
  color: #c20201;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 15px;
  margin-bottom: 18px;
  position: relative;
}

.dlns-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
}

/* Lists */
.dlns-footer-col ul {
  list-style: none;
  padding: 0;
}

.dlns-footer-col li {
  margin-bottom: 12px;
}

.dlns-footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dlns-footer-col a:hover {
  opacity: 0.8;
  transform: translateX(4px);
}

/* Text */
.dlns-footer-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Social Icons */
.dlns-footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.dlns-footer-socials a {
  width: 36px;
  height: 36px;
  background: #fff;
  color: #02224b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.dlns-footer-socials a:hover {
  transform: translateY(-4px);
}

/* Divider */
.dlns-footer-divider {
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 50px auto 25px;
  max-width: 1400px;
}

/* Bottom Bar */
.dlns-footer-bottom {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.dlns-logo {
  font-weight: 900;
  font-size: 20px;
}

.dlns-logo span {
  font-weight: 300;
}

.dlns-footer-copy {
  font-size: 13px;
  opacity: 0.9;
}

/* ===========================
   TABLET
=========================== */
@media (min-width: 768px) {
  .dlns-footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .dlns-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===========================
   DESKTOP / 4K
=========================== */
@media (min-width: 1200px) {
  .dlns-footer {
    padding: 80px 40px 40px;
  }

  .dlns-footer-col a {
    font-size: 16px;
  }
}


/* =========================
   DLNS – PUMPS SECTION
========================= */
.dlns-pumps {
  padding: calc(80px + 60px) 20px 80px;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}


/* ================= HEADER ================= */
.dlns-pumps-head {
  max-width: 1300px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* LEFT */
/* ================= TITLE WRAPPER ================= */
.dlns-pumps-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ================= TITLE TEXT ================= */
.dlns-pumps-title h2 {
  position: relative;
  display: inline-block;
  /* 🔑 critical */
  font-size: 28px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 1.5px;
}

/* ================= YELLOW LINES ================= */
.dlns-title-line {
  width: 100%;
  /* 🔑 matches text width */
  height: 4px;
  background: var(--yellow);
  transform-origin: center;
  transform: scaleX(0);
  animation: dlns-line-grow 0.7s ease forwards;
}

/* Top & bottom timing */
.dlns-title-line.top {
  animation-delay: 0.1s;
}

.dlns-title-line.bottom {
  animation-delay: 0.35s;
}

/* ================= ANIMATION ================= */
@keyframes dlns-line-grow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {
  .dlns-pumps-title h2 {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .dlns-pumps-title h2 {
    font-size: 36px;
  }
}

@media (min-width: 1600px) {
  .dlns-pumps-title h2 {
    font-size: 40px;
  }
}


.dlns-pumps-desc {
  margin-top: 14px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* RIGHT */
.dlns-pumps-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dlns-filter-label {
  font-weight: 700;
  color: var(--blue);
}

.dlns-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 30px;
  border: 3px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dlns-filter-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* ================= GRID ================= */
.dlns-pumps-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* ================= CARD ================= */
.dlns-pump-card {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dlns-pump-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.dlns-card-line {
  display: block;
  width: 30px;
  height: 4px;
  background: var(--yellow);
  margin: 18px auto;
}

.dlns-pump-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 1px;
}

.dlns-pump-card p {
  margin-top: 8px;
  font-size: 15px;
  color: #333;
}

.dlns-icons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.dlns-icons i {
  font-size: 18px;
  color: var(--blue);
}

/* Hover */
.dlns-pump-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ================= TABLET ================= */
@media (min-width: 768px) {
  .dlns-pumps-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .dlns-pumps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= LAPTOP ================= */
@media (min-width: 1024px) {
  .dlns-pumps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dlns-pump-card img {
    height: 240px;
  }
}

/* ================= 4K ================= */
@media (min-width: 1600px) {
  .dlns-pumps {
    padding: calc(90px + 80px) 20px 120px;
  }

  .dlns-pumps-grid {
    max-width: 1500px;
  }

  .dlns-pump-card img {
    height: 280px;
  }
}


/* =========================
   SERVICES / STORIES
========================= */
.dlns-stories {
  background: #ffffff;
  padding: calc(80px + 60px) 20px 80px;
  /* header-safe */
}

/* =========================
   HEADER
========================= */
.dlns-stories .dlns-pumps-head {
  max-width: 1300px;
  margin: 0 auto 60px;
}

/* =========================
   GRID
========================= */
.dlns-stories-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* =========================
   CARD
========================= */
.dlns-story-card {
  position: relative;
  min-height: 260px;
  background: linear-gradient(rgba(1, 27, 66, 0.9),
      rgba(0, 26, 63, 0.9)),
    url("/assets/media/favicon.png") center/cover;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}

.dlns-story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}

/* Overlay content */
.dlns-story-overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dlns-story-overlay h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.dlns-story-overlay p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  opacity: .95;
}

/* Arrow */
.dlns-story-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--yellow);
  transition: transform .3s ease;
}

.dlns-story-card:hover .dlns-story-arrow {
  transform: translate(6px, -50%);
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
  .dlns-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dlns-story-card {
    min-height: 300px;
  }
}

/* =========================
   LAPTOP
========================= */
@media (min-width: 1024px) {
  .dlns-stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dlns-story-overlay h3 {
    font-size: 24px;
  }
}

/* =========================
   4K
========================= */
@media (min-width: 1600px) {
  .dlns-stories {
    padding: calc(120px + 80px) 20px 120px;
  }

  .dlns-stories-grid {
    max-width: 1500px;
    gap: 30px;
  }

  .dlns-story-card {
    min-height: 340px;
  }
}

/* FULL PAGE STORY */
.dlns-story-view {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

.dlns-story-view.active {
  display: block;
}


/* CLOSE */
.story-close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
}

/* GALLERY */
.story-gallery {
  height: 45vh;
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}

.gallery-track img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .5);
  color: #fff;
  border: none;
  font-size: 32px;
  padding: 10px 16px;
  cursor: pointer;
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}

/* CONTENT */
.story-content {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px 100px;
}

.story-tag {
  color: #02224b;
  font-weight: 700;
  text-transform: uppercase;
}

.story-content h1 {
  font-size: 34px;
  font-weight: 900;
  margin-top: 10px;
}

.story-intro {
  font-size: 18px;
  margin: 20px 0;
}

.story-content h3 {
  margin-top: 30px;
  color: #02224b;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Section */
.dlns-res-brochures {
  margin-top: 100px;
  padding: 48px 16px;
  background: #fff;
}

.dlns-res-container {
  max-width: var(--dlns-max);
  margin: 0 auto;
}

/* Heading */
.dlns-res-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 36px;
}

/* Grid */
.dlns-res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 24px;
  text-align: center;
}

/* Card */
.dlns-res-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brochure Cover */
.dlns-res-cover {
  background: var(--blue);
  border-radius: var(--dlns-radius);
  padding: 28px 20px;
  box-shadow: var(--dlns-shadow);
  margin-bottom: 18px;
}

.dlns-res-cover img {
  width: 100%;
  max-width: 230px;
  display: block;
  margin: auto;
  object-fit: contain;
}

/* Title */
.dlns-res-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 4px;
}

/* Meta */
.dlns-res-meta {
  font-size: 14px;
  color: var(--dlns-text);
  margin-bottom: 16px;
}

/* Button */
.dlns-res-btn {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 999px;
  border: 3px solid var(--yellow);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .25s ease;
}


.dlns-res-btn:hover {
  background: var(--yellow);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================
   Tablet ≥ 768px
========================= */
@media (min-width: 768px) {
  .dlns-res-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   Laptop ≥ 1200px
========================= */
@media (min-width: 1200px) {
  .dlns-res-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
   4K ≥ 1800px
========================= */
@media (min-width: 1800px) {
  .dlns-res-brochures {
    padding: 80px 0;
  }

  .dlns-res-cover img {
    max-width: 260px;
  }

  .dlns-res-title {
    font-size: 18px;
  }
}


/* ===============================
   ABOUT C-FLOW SECTION
================================ */
.about-cflow {
  background: var(--blue);
  color: #ffffff;
  padding: 3.5rem 0;
}

.about-cflow .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.2rem;
}

/* Grid */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

/* Left Content */
.about-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 1rem;
}

/* Right Cards */
.about-highlights {
  background: rgba(0, 0, 0, 0.12);
  padding: 1.8rem;
  border-radius: 14px;
  display: grid;
  gap: 1.6rem;
}

.highlight-card h3 {
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.highlight-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===============================
   TABLET
================================ */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .about-highlights {
    padding: 2.2rem;
  }
}

/* ===============================
   LAPTOP
================================ */
@media (min-width: 1024px) {
  .about-cflow {
    padding: 5rem 0;
  }

  .about-content p {
    font-size: 1rem;
  }

  .highlight-card h3 {
    font-size: 1.05rem;
  }
}

/* ===============================
   4K SCREENS
================================ */
@media (min-width: 1920px) {
  .about-cflow .container {
    max-width: 1500px;
  }

  .about-content h2 {
    font-size: 3.5rem;
  }

  .about-content p,
  .highlight-card p {
    font-size: 1.05rem;
  }
}

/* ===============================
   ANIMATION (SAFE)
================================ */
.about-content,
.highlight-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-content.visible,
.highlight-card.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===============================
   COMPANY SECTIONS
================================ */
.company-sections {
  background: #f4f7fb;
  padding: 3rem 0;
}

.company-sections .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.2rem;
}

.company-grid {
  display: grid;
  gap: 2rem;
}

/* Card */
.company-card {
  background: linear-gradient(172deg, #02224b 10%, #c20201 50%);
  color: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* Content */
.company-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.company-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 0.6rem;
}

/* Arrow */
.company-arrow {
  font-size: 2rem;
  font-weight: 700;
  color: #c20201;
  flex-shrink: 0;
}

/* ===============================
   TABLET
================================ */
@media (min-width: 768px) {
  .company-card {
    padding: 2.5rem 3rem;
  }

  .company-content h3 {
    font-size: 1.5rem;
  }
}

/* ===============================
   LAPTOP
================================ */
@media (min-width: 1024px) {
  .company-sections {
    padding: 4.5rem 0;
  }

  .company-content p {
    font-size: 1rem;
  }
}

/* ===============================
   4K
================================ */
@media (min-width: 1920px) {
  .company-sections .container {
    max-width: 1500px;
  }

  .company-content h3 {
    font-size: 1.8rem;
  }

  .company-content p {
    font-size: 1.05rem;
  }
}


/* ===============================
   CONTACT CTA
================================ */
.contact-cta {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: auto;
}

.contact-cta p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #0a1a2a;
  margin-bottom: 1.2rem;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border: 2px solid #c20201;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--blue);
  background: transparent;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #c20201;
  color: #fff;
}

/* ===============================
   TABLET
================================ */
@media (min-width: 768px) {
  .contact-cta {
    padding: 3.5rem 1rem;
  }

  .contact-cta p {
    font-size: 1rem;
  }
}

/* ===============================
   4K
================================ */
@media (min-width: 1920px) {
  .contact-cta {
    max-width: 1000px;
  }

  .contact-cta p {
    font-size: 1.05rem;
  }
}


/* ===============================
   CONTACT FORM CENTERED
================================ */
.contact-form-section {
  padding: 4rem 1rem;
  background: #ffffff;
}

.contact-form-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-title {
  font-size: 1.8rem;
  text-transform: UPPERCASE;
  color: #02224b;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

/* Centered form */
.centered-form {
  width: 100%;
  max-width: 1000px;
  display: grid;
  gap: 1.5rem;
}

/* Two-column shell */
.form-left,
.form-right {
  display: grid;
  gap: 1.2rem;
}

/* Rows */
.form-row {
  display: grid;
  gap: 1.2rem;
}

/* Groups */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  width: 100%;
}

/* Labels */
label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #02224b;
  margin-bottom: 0.3rem;
}

/* Inputs */
input,
select,
textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid #d7dce2;
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #02224b;
}

input:disabled {
  background: #f4f6f8;
}

/* Submit */
.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.submit-btn {
  padding: 0.6rem 2rem;
  border-radius: 999px;
  border: 2px solid #c20201;
  background: transparent;
  color: #02224b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: #c20201;
  color: #02224b;
}

/* ===============================
   TABLET & UP
================================ */
@media (min-width: 768px) {
  .centered-form {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-right textarea {
    height: 100%;
  }
}

/* ===============================
   4K
================================ */
@media (min-width: 1920px) {
  .centered-form {
    max-width: 1200px;
  }

  input,
  select,
  textarea {
    font-size: 1rem;
  }
}

/* ===============================
   PRODUCT HERO
================================ */
.product-hero {
  margin-top: 100px;
  padding: 4rem 1rem;
  background: #ffffff;
}

.product-hero .container {
  max-width: 1200px;
  margin: auto;
}

.product-hero-grid {
  display: grid;
  gap: 2.5rem;
}

/* Image */
.product-image {
  position: relative;
  text-align: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: #02224b;
  margin-bottom: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.back-link:hover {
  color: #c20201;
  text-decoration: underline;
}

/* Content */
.product-content {
  max-width: 520px;
}

.product-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #02224b;
  border-top: 4px solid #c20201;
  display: inline-block;
  padding-top: 0.5rem;
  margin-bottom: 0.8rem;
}

.product-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a1a2a;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}

/* CTA */
.product-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
}

.expert-contact span {
  font-size: 0.7rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expert-contact strong {
  display: block;
  font-size: 1.1rem;
  color: #02224b;
}

/* Button */
.cta-btn {
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  border: 2px solid #c20201;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #c20201;
  color: #fff;
}

/* ===============================
   TABLET
================================ */
@media (min-width: 768px) {
  .product-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ===============================
   4K
================================ */
@media (min-width: 1920px) {
  .product-hero .container {
    max-width: 1500px;
  }

  .product-description {
    font-size: 1.05rem;
  }
}

/* ===============================
   PRODUCT DETAILS SECTION
================================ */
.product-details {
  background: var(--blue);
  color: #ffffff;
  padding: 4.5rem 1rem;
}

.product-details .container {
  max-width: 1200px;
  margin: auto;
}

/* Grid */
.product-details-grid {
  display: grid;
  gap: 3rem;
}

/* LEFT TEXT */
.product-text h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.product-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 1.2rem;
}

/* RIGHT PANEL */
.product-hydraulics {
  background: var(--yellow);
  padding: 2.5rem 2rem;
  border-radius: 4px;
}

.product-hydraulics h3 {
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* Stats list */
.hydraulics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hydraulics-list li {
  margin-bottom: 1.6rem;
}

.hydraulics-list .label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue);
  margin-bottom: 0.2rem;
}

.hydraulics-list strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.hydraulics-list small {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* ===============================
   TABLET & UP
================================ */
@media (min-width: 768px) {
  .product-details-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
}

/* ===============================
   4K
================================ */
@media (min-width: 1920px) {
  .product-details .container {
    max-width: 1500px;
  }

  .product-text p {
    font-size: 1.05rem;
  }

  .hydraulics-list strong {
    font-size: 1.4rem;
  }
}

/* ===============================
   APPLICATIONS SECTION
================================ */
.applications {
  padding: 4.5rem 1rem;
  background: #ffffff;
}

/* Container fix: vertical + centered */
.applications .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   SECTION TITLE
================================ */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #02224b;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.6rem;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: #c20201;
  transform: translateX(-50%);
}

/* ===============================
   APPLICATION ICONS
================================ */
.applications-icons {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.8rem;
  justify-items: center;
  margin-bottom: 4rem;
}

.app-item {
  text-align: center;
  max-width: 160px;
  color: #02224b;
  transition: transform 0.25s ease;
}

.app-item:hover {
  transform: translateY(-6px);
}

/* Icon circle */
.app-item .icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #02224b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  transition: transform 0.3s ease;
}

/* PNG inside icon */
.app-item .icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

/* Hover effect */
.app-item:hover .icon {
  transform: scale(1.05);
}

/* Icon label */
.app-item p {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.3;
}

/* ===============================
   USE CASES
================================ */
.use-cases {
  width: 100%;
  max-width: 900px;
}

.use-cases h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c20201;
  margin-bottom: 1.4rem;
}

/* Use case grid */
.use-cases-grid {
  display: grid;
  gap: 1.5rem;
}

.use-cases-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Use case item */
.use-cases-grid li {
  background: #f3f3f3;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  position: relative;
}

/* Arrow 
.use-cases-grid li::after {
  content: "→";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #bcbcbc;
  font-weight: 600;
}*/

/* ===============================
   TABLET & UP
================================ */
@media (min-width: 768px) {
  .applications-icons {
    grid-template-columns: repeat(4, 1fr);
  }

  .use-cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===============================
   4K SCREENS
================================ */
@media (min-width: 1920px) {
  .applications .container {
    max-width: 1500px;
  }

  .app-item .icon {
    width: 96px;
    height: 96px;
  }

  .app-item .icon img {
    width: 48px;
    height: 48px;
  }

  .app-item p {
    font-size: 0.85rem;
  }

  .use-cases-grid li {
    font-size: 0.9rem;
  }
}



/* ===============================
   DOWNLOADS SECTION
================================ */
.downloads {
  padding: 4.5rem 1rem;
  background: #ffffff;
}

.downloads .container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: auto;
}

/* Section title reuse */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #02224b;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.section-head h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #c20201;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

/* Grid */
.downloads-grid {
  display: grid;
  gap: 3rem;
}

/* LEFT COVER */
.download-cover {
  text-align: center;
}

.download-cover img {
  max-width: 220px;
  margin-bottom: 1.2rem;
}

.download-cover h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #02224b;
}

.download-cover p {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 1.2rem;
}

/* Button */
.btn-download {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  border: 2px solid #c20201;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  color: #02224b;
  transition: 0.3s ease;
}

.btn-download:hover {
  background: #c20201;
  color: #0a1a2a;
}

/* RIGHT LIST */
.download-list h3 {
  font-size: 1.1rem;
  color: #02224b;
  margin-bottom: 1.2rem;
}

.download-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f3f3;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.download-list li a {
  font-weight: 700;
  font-size: 0.75rem;
  color: #02224b;
  white-space: nowrap;
}

.download-list li a:hover {
  text-decoration: underline;
}

/* ===============================
   TABLET
================================ */
@media (min-width: 768px) {
  .downloads-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .download-cover {
    text-align: left;
  }
}

/* ===============================
   4K
================================ */
@media (min-width: 1920px) {
  .downloads .container {
    max-width: 1500px;
  }

  .download-list li {
    font-size: 0.9rem;
  }
}