/*
====================================================
ROSTFREI STEELS WORDPRESS THEME
Author: Manoj Yadav
Version: 1.0
====================================================
*/
/*==================================================
1. GLOBAL DESIGN SYSTEM — ROSTFREI STEELS
==================================================*/

:root {

  /* Brand Colors */
  --primary: #004a14;
  --secondary: #005387;
  --secondary-dark: #003d64;

  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --heading: #183042;
  --text: #4b5d69;
  --muted-text: #6b7a84;

  /* Backgrounds */
  --light-bg: #f4f8fb;
  --soft-green-bg: #f5f9f6;

  /* Borders */
  --border: #dce6eb;

  /* Typography */
  --font-primary: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Approved Global Heading Scale */
  --h1-size: clamp(34px, 3.2vw, 44px);
  --h2-size: clamp(27px, 2.45vw, 36px);
  --h3-size: clamp(20px, 1.7vw, 24px);
  --h4-size: 19px;

  /* Layout */
  --container-width: 1320px;
  --section-space: 66px;

  /* UI */
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 5px 16px rgba(0, 83, 135, 0.05);
  --shadow-md: 0 14px 30px rgba(0, 83, 135, 0.12);
  --shadow-lg: 0 20px 42px rgba(0, 83, 135, 0.17);

  --transition: all 0.3s ease;
}


/*==================================================
2. RESET
==================================================*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0 0 15px 15px;
  padding: 0;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}


/*==================================================
3. GLOBAL TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 15px;
}

h1 {
  font-size: var(--h1-size);
  color: var(--primary);
}

h2 {
  font-size: var(--h2-size);
  color: var(--secondary);
  margin-bottom: 18px;
}

h3 {
  font-size: var(--h3-size);
  color: var(--primary);
  margin-bottom: 12px;
}

h4 {
  font-size: var(--h4-size);
}

p {
  margin-top: 0;
  margin-bottom: 16px;
}

strong {
  color: var(--heading);
}

.text-center {
  text-align: center;
}


/*==================================================
4. GLOBAL LAYOUT
==================================================*/

.whiteColor {
  color: #ffffff !important;
}

.container {
  width: 100%;
  max-width: var(--container-width);
}

.section {
  padding: var(--section-space) 0;
}

.bg-light {
  background: var(--light-bg);
}

/*==================================================
4A. GLOBAL RESPONSIVE SCALE
==================================================*/

@media (max-width: 1199px) {
  :root {
    --section-space: 60px;
  }
}

@media (max-width: 991px) {
  :root {
    --h1-size: 36px;
    --h2-size: 31px;
    --h3-size: 22px;
    --section-space: 56px;
  }
}

@media (max-width: 767px) {
  :root {
    --h1-size: 30px;
    --h2-size: 27px;
    --h3-size: 21px;
    --section-space: 46px;
  }
}

@media (max-width: 480px) {
  :root {
    --h1-size: 28px;
    --h2-size: 26px;
    --h3-size: 20px;
    --section-space: 42px;
  }
}


/*==================================================
5. GLOBAL BUTTON SYSTEM — ROSTFREI SIGNATURE
Solid brand colors • sharp geometry • balanced motion
==================================================*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 46px;
  padding: 11px 25px;

  border: 1px solid transparent;
  border-radius: 3px;

  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;

  text-align: center;
  text-decoration: none;
  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;

  background-image: none !important;

  transition:
    transform .26s ease,
    color .26s ease,
    background-color .26s ease,
    border-color .26s ease,
    box-shadow .26s ease;
}

/* PRIMARY — solid blue to solid green */
.btn-primary {
  color: #fff;
  background: var(--secondary);
  border-color: var(--secondary);

  box-shadow:
    0 5px 14px rgba(0, 83, 135, .14);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);

  transform: translateY(-2px);

  box-shadow:
    0 9px 20px rgba(0, 74, 20, .17);
}

/* SECONDARY / OUTLINE — clean border to filled blue */
.btn-secondary,
.btn-outline,
.btn-outline-primary {
  color: var(--secondary);
  background: transparent;
  border: 1.5px solid var(--secondary);
  box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-outline:hover,
.btn-outline:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: var(--secondary);
  border-color: var(--secondary);

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(0, 83, 135, .14);
}

/* SIGNATURE CTA — approved white Get a Quote treatment */
.btn-quote {
  color: var(--secondary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 3px;

  box-shadow:
    0 5px 14px rgba(0, 0, 0, .09);
}

.btn-quote:hover,
.btn-quote:focus {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);

  transform: translateY(-2px);

  box-shadow:
    0 9px 20px rgba(0, 0, 0, .15);
}

/* LIGHT OUTLINE — for hero/dark backgrounds */
.btn-outline-light {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .92);
  border-radius: 3px;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--secondary);
  background: #fff;
  border-color: #fff;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, .14);
}

/* BUTTON STATES */
.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(0, 83, 135, .18);
  outline-offset: 3px;
}

/* RESPONSIVE BUTTON SCALE */
@media (max-width: 991px) {
  .btn {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .btn {
    min-height: 42px;
    padding: 10px 19px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .btn {
    min-height: 40px;
    padding: 9px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none !important;
  }

  .btn:hover,
  .btn:focus {
    transform: none;
  }
}

/*==================================================
6. TOP BAR
==================================================*/
.hideme {
  display: none !important;
}

.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 4px 0;
  font-size: 14px;
}

.top-contact {
  display: flex;
  gap: 20px;
  list-style: none;
}

.top-contact li a {
  color: #fff;
}

.top-social a {
  color: #fff;
  margin-left: 15px;
}

/*==================================================
HEADER
==================================================*/
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: .3s;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
}

.navbar {
  min-height: 95px;
  justify-content: space-between;
  padding: 0;
}

.custom-logo {
  max-height: 80px;
  width: auto;
}

/*==================================================
DESKTOP MENU
==================================================*/
.desktop-menu .navbar-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.desktop-menu .navbar-nav li {
  position: relative;
  list-style: none;
}

.desktop-menu .navbar-nav>li>a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  padding: 35px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: .3s;
}

/* Top Level Arrow */
.desktop-menu .navbar-nav>li.menu-item-has-children>a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  transition: .3s;
}

.desktop-menu .navbar-nav>li:hover>a {
  color: var(--secondary);
}

.desktop-menu .navbar-nav>li:hover>a::after {
  transform: rotate(180deg);
}

.phone-ring {
  display: inline-block;
  transform-origin: 50% 0;
  animation: ring 3s infinite;
}

@keyframes ring {

  0%,
  85%,
  100% {
    transform: rotate(0deg);
  }

  87% {
    transform: rotate(25deg);
  }

  89% {
    transform: rotate(-20deg);
  }

  91% {
    transform: rotate(20deg);
  }

  93% {
    transform: rotate(-15deg);
  }

  95% {
    transform: rotate(10deg);
  }

  97% {
    transform: rotate(-5deg);
  }
}

/*==================================================
FIRST LEVEL DROPDOWN
==================================================*/
.desktop-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  padding: 12px 0;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .3s ease;
  z-index: 999;
}

.desktop-menu li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-menu .sub-menu li {
  width: 100%;
  position: relative;
}

.desktop-menu .sub-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: .3s;
}

.desktop-menu .sub-menu li:hover>a {
  background: #f5f8fb;
  color: var(--secondary);
}

/*==================================================
SECOND LEVEL DROPDOWN
==================================================*/
.desktop-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
}

.desktop-menu .sub-menu li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Right Arrow */
.desktop-menu .sub-menu .menu-item-has-children>a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-left: auto;
}

/*==================================================
UNDERLINE EFFECT
==================================================*/
.desktop-menu .navbar-nav>li>a {
  position: relative;
}

.desktop-menu .navbar-nav>li>a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: .3s;
}

.desktop-menu .navbar-nav>li:hover>a::before {
  width: 100%;
}

/* ==========================================
   MOBILE MENU
========================================== */
.offcanvas {
  width: 100% !important;
  max-width: 340px;
  background: #fff;
}

.mobile-nav,
.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav li {
  position: relative;
  border-bottom: 1px solid #eaeaea;
}

.mobile-nav li a {
  display: block;
  padding: 16px 45px 16px 0;
  color: #222;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

/* Hide submenu */
.mobile-nav .sub-menu {
  display: none;
  padding-left: 15px;
  background: #fafafa;
}

/* Show submenu */
.mobile-nav li.active>.sub-menu {
  display: block;
}

/* Level 2 */
.mobile-nav .sub-menu li a {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  padding: 14px 35px 14px 10px;
}

/* Level 3 */
.mobile-nav .sub-menu .sub-menu li a {
  padding-left: 25px;
  font-size: 14px;
}

/* Arrow */
.mobile-nav .menu-item-has-children>a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: .3s;
  font-size: 12px;
}

/* Rotate Arrow */
.mobile-nav li.active>a::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Hover */
.mobile-nav li a:hover {
  color: var(--secondary);
}

/*==================================================
TOGGLER
==================================================*/
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  width: 32px;
  height: 32px;
}

/* ==========================================
   HERO BANNER
========================================== */

.hero-banner {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
}


/* ==========================================
   VIDEO WRAPPER - DESKTOP
========================================== */

.hero-video-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}
/* Loader automatically created by JS */
.hero-video-loader {
    position: absolute;
    inset: 0;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;

    opacity: 1;
    visibility: visible;

    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-video-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Spinner */
.hero-video-loader::after {
    content: "";
    width: 45px;
    height: 45px;

    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;

    border-radius: 50%;

    animation: heroVideoSpin 0.8s linear infinite;
}

@keyframes heroVideoSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   VIDEO
========================================== */

.hero-video {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;

  /*
       IMPORTANT:
       Do NOT use object-fit: cover
       Do NOT use fixed height

       This keeps original video ratio
       and prevents zoom/cropping.
    */
  object-fit: contain;
}


/* ==========================================
   DESKTOP OVERLAY
========================================== */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.70) 0%,
      rgba(0, 0, 0, 0.55) 25%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.05) 75%,
      rgba(0, 0, 0, 0) 100%);

  z-index: 1;
}

/* ==========================================
   CONTENT - DESKTOP
========================================== */

.hero-content-wrapper {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: 2;

  display: flex;
  align-items: center;
}


.hero-content {
  width: 100%;
  max-width: 760px;
  color: #fff;
}


.hero-content h1 {
  margin: 0 0 20px;

  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
}


.hero-content p {
  margin: 0 0 30px;

  max-width: 750px;

  font-size: 20px;
  line-height: 1.6;

  color: #fff;
}


.hero-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}


.hero-buttons .btn {
  min-width: 170px;
  padding: 15px 25px;

  font-size: 16px;
  font-weight: 600;

  text-align: center;
}

/* Join as a Dealer — white by default, green on hover */
.hero-buttons .btn-outline-light {
  color: var(--secondary);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .09);
}

.hero-buttons .btn-outline-light:hover,
.hero-buttons .btn-outline-light:focus {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .15);
}


/* ==========================================
   TABLET
   VIDEO TOP + CONTENT BOTTOM
========================================== */

@media (max-width: 991px) {

  .hero-banner {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;

    overflow: visible;
  }


  /* Video stays on top */

  .hero-video-wrapper {
    position: relative;

    width: 100%;
    height: auto;

    overflow: hidden;
  }


  .hero-video {
    display: block;

    width: 100%;
    height: auto;

    /*
           Keep original video dimensions.
           No zoom.
           No crop.
        */
    object-fit: contain;
  }


  /* No overlay on tablet */

  .hero-overlay {
    display: none;
  }


  /* Content goes BELOW video */

  .hero-content-wrapper {
    position: relative;

    top: auto;
    left: auto;

    width: 100%;
    height: auto;

    display: block;

    padding: 60px 0;

    background: var(--secondary);

    text-align: center;
  }


  .hero-content {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;

    padding: 0 30px;
  }


  .hero-content h1 {
    margin-bottom: 20px;

    font-size: 42px;
    line-height: 1.2;
  }


  .hero-content p {
    max-width: 700px;

    margin: 0 auto 30px;

    font-size: 18px;
    line-height: 1.6;
  }


  .hero-buttons {
    justify-content: center;
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

  .hero-content-wrapper {
    padding: 45px 0;
  }


  .hero-content {
    padding: 0 20px;
  }


  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }


  .hero-content p {
    font-size: 16px;
    line-height: 1.5;
  }


  .hero-buttons {
    flex-direction: column;

    align-items: center;

    gap: 12px;
  }


  .hero-buttons .btn {
    width: 100%;
    max-width: 220px;
  }

  .hero-buttons .btn-primary {
    background: rgba(0, 74, 20, 0.95);
    border-color: #fff;
  }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

  .hero-content-wrapper {
    padding: 35px 0;
  }


  .hero-content {
    padding: 0 15px;
  }


  .hero-content h1 {
    font-size: 24px;
    line-height: 1.25;
  }


  .hero-content p {
    font-size: 15px;
  }

}


/*==================================================
RESPONSIVE
==================================================*/
@media(max-width:1199px) {
  .desktop-menu {
    display: none !important;
  }

  .header-right {
    display: none !important;
  }

  .navbar {
    min-height: 80px;
  }

  .custom-logo {
    max-height: 55px;
  }

  .top-bar {
    display: none;
  }
}


.overview-section {
  padding: 100px 0;
  background: #f8fafc;
}

.overview-content h2 {
  font-size: var(--h2-size);
  color: var(--secondary);
  margin-bottom: 15px;
}

.overview-content p {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.overview-content .btn-primary {
  min-height: 50px;
  padding: 12px 30px;
  font-size: 15px;
}

@media (max-width: 767px) {
  .overview-content .btn-primary {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 13px;
  }
}

.overview-image-card {
  position: relative;
  overflow: hidden;
}

.overview-image-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.overview-badge {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.overview-badge i {
  font-size: 30px;
}

.overview-badge h3 {
  color: #FFF;
  font-size: 36px;
  margin-bottom: 10px;
}

.overview-badge h4 {
  color: #FFF;
}

.overview-badge .swiper-slide-active p {
  color: #FFF;
}

.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
}

/*==================================================
9. SECTION TITLE
==================================================*/
.section-title {
  max-width: 1024px;
  margin: 0 auto 60px;
}

.section-title span {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0;
  font-size: 36px;
}

.section-title h2 {
  font-size: var(--h2-size);
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-title p {
  margin: 0 auto;
  font-size: 17px;
  color: #000;
}

/*==================================================
10. ABOUT SECTION
==================================================*/
.about-section img {
  border-radius: 10px;
}

/*==================================================
11. COUNTER SECTION
==================================================*/
.counter-section {
  background: var(--primary);
}

.counter-box {
  text-align: center;
}

.counter-box h3 {
  color: #fff;
  font-size: 60px;
}

.counter-box p {
  color: #fff;
}

/*==================================================
12. PRODUCTS
==================================================*/
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
}

.product-content {
  padding: 25px;
}

.product-content h4 {
  font-size: 22px;
}

/*==================================================
14. PAGE BANNER
==================================================*/
.page-banner {
  background: var(--primary);
  color: #fff;
  padding: 120px 0;
}

.page-banner h1 {
  color: #fff;
}

.breadcrumb-wrap a,
.breadcrumb-wrap span {
  color: #fff;
}

/*==================================================
15. BLOG / SINGLE POST
==================================================*/
.featured-image img {
  width: 100%;
}

.post-meta {
  font-size: 14px;
  color: #777;
}

.post-content {
  font-size: 17px;
  line-height: 1.9;
}

/*==================================================
16. SIDEBAR
==================================================*/
.sidebar {
  border: 1px solid var(--border);
  padding: 30px;
}

.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 22px;
  color: var(--primary);
}

/*==================================================
17. ARCHIVE
==================================================*/
.pagination-wrap {
  margin-top: 50px;
}

/*==================================================
18. SEARCH
==================================================*/
.search-card {
  border: 1px solid var(--border);
  padding: 30px;
  height: 100%;
}

/*==================================================
19. 404 PAGE
==================================================*/
.error-page {
  padding: 150px 0;
  text-align: center;
}

.error-page h1 {
  font-size: 150px;
  color: var(--primary);
}

.error-page h2 {
  margin-bottom: 20px;
}

/*=========================================
FOOTER
=========================================*/
.site-footer {
  background: #002b0c;
  color: #fff;
  padding: 80px 0 0;
  position: relative;
}

.footer-logo img {
  max-height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about {
  color: rgba(255, 255, 255, .80);
  line-height: 1.9;
  margin-top: 20px;
}

.footer-widget {
  height: 100%;
}

.footer-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #FFF;
}

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

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

.footer-menu li a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: .3s;
}

.footer-menu li a:hover {
  color: #fff;
  padding-left: 8px;
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
}

.footer-contact li i {
  color: #FFF;
  margin-top: 4px;
  min-width: 20px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #EEE;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  transition: .3s;
  text-decoration: none;
}

.footer-social a:hover {
  transform: translateY(-5px);
  background: #fff;
  color: var(--primary);
}

.footer-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.footer-map iframe {
  display: block;
}

.footer-disclaimer-wrap {
  margin-top: 50px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer-disclaimer {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 25px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .80);
}

#backToTop {
  position: fixed;
  right: 20px;
  bottom: 95px;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .20);
}

#backToTop:hover {
  background: var(--primary);
}

/*=========================================
MOBILE
=========================================*/
@media(max-width:991px) {
  .site-footer {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .text-lg-end {
    text-align: center !important;
    margin-top: 10px;
  }
}

/*==================================================
21. BACK TO TOP
==================================================*/


/*==================================================
22. RESPONSIVE
==================================================*/
@media(max-width:991px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .navbar-nav {
    gap: 10px;
    padding-top: 15px;
  }

  .top-contact {
    flex-direction: column;
    gap: 5px;
  }

  .counter-box {
    margin-bottom: 30px;
  }
}

@media(max-width:576px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .page-banner {
    padding: 80px 0;
  }

  .error-page h1 {
    font-size: 90px;
  }

  .swiper-button-prev {
    display: none !important;
  }

  .swiper-button-next {
    display: none !important;
  }
}
/* ====================================
   FUTURE INDUSTRIES SECTION
==================================== */

.future-section {
    padding: 80px 0 100px;
    background: #eef7fb;
}

.section-heading {
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    color: var(--secondary);
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}


/* ====================================
   GRID
==================================== */

.future-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
}

.future-large {
    grid-row: span 2;
}


/* ====================================
   CARD
==================================== */

.future-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}


/* ====================================
   SWIPER
==================================== */

.future-card .swiper {
    width: 100%;
    height: auto;
}

.future-card .swiper-wrapper {
    width: 100%;
}

.future-card .swiper-slide {
    width: 100%;
    height: auto;
}

.future-card .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ====================================
   HOVER
==================================== */

.future-card .swiper-slide img {
    transition: transform 0.6s ease;
}

.future-card:hover .swiper-slide img {
    transform: scale(1.05);
}


/* ====================================
   OVERLAY
==================================== */

.future-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;

    background: rgba(0, 83, 135, 0.95);
    color: #fff;

    padding: 15px 25px;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.future-overlay.green {
    background: rgba(0, 74, 20, 0.95);
}


/* ====================================
   TABLET
==================================== */

@media (max-width: 1199px) {

    .future-grid {
        grid-template-columns: 2fr 1fr;
        gap: 22px;
    }

    .future-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}


/* ====================================
   TABLET
==================================== */

@media (max-width: 991px) {

    .future-section {
        padding: 65px 0 75px;
    }

    .future-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .future-large {
        grid-column: 1 / -1;
    }

    .section-heading p {
        font-size: 16px;
    }

    .future-overlay {
        padding: 12px 18px;
        font-size: 17px;
    }
}


/* ====================================
   MOBILE
==================================== */

@media (max-width: 767px) {

    .future-section {
        padding: 50px 0 60px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .future-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .future-large {
        grid-column: auto;
        grid-row: auto;
    }

    .future-card {
        width: 100%;
    }

    .future-card .swiper,
    .future-card .swiper-wrapper,
    .future-card .swiper-slide {
        height: auto;
    }

    .future-card .swiper-slide img {
        width: 100%;
        height: auto;
        display: block;
    }

    .future-overlay {
        padding: 12px 16px;
        font-size: 16px;
    }
}


/* ====================================
   SMALL MOBILE
==================================== */

@media (max-width: 400px) {

    .future-section {
        padding: 40px 0 50px;
    }

    .future-grid {
        gap: 16px;
    }

    .future-overlay {
        padding: 10px 14px;
        font-size: 15px;
    }
}
/*=================================
 INDUSTRIES WE SERVE — PREMIUM
=================================*/
.industries-section {
  position: relative;
  overflow: hidden;
  padding: 66px 0 72px;
  background:
    radial-gradient(circle at 4% 10%, rgba(0, 83, 135, .045), transparent 24%),
    radial-gradient(circle at 96% 88%, rgba(0, 74, 20, .04), transparent 24%),
    #fff;
}

.industries-section .section-title {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.industries-section .section-title h2 {
  font-size: var(--h2-size);
  color: var(--secondary);
  margin-bottom: 12px;
  font-weight: 700;
}

.industries-section .section-title p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.industry-card {
  position: relative;
  overflow: hidden;
  min-height: 225px;
  padding: 30px 24px 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: linear-gradient(145deg, #fff 0%, #fff 68%, #f6faf8 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: width .3s ease;
}

.industry-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 83, 135, .06), rgba(0, 74, 20, .025) 48%, transparent 70%);
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 83, 135, .28);
  box-shadow: 0 14px 30px rgba(0, 83, 135, .11);
}

.industry-card:hover::before {
  width: 100%;
}

.industry-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  margin: 0 auto 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 7px 18px rgba(0, 83, 135, .16);
  transition: background-color .28s ease, box-shadow .28s ease;
}

.industry-icon i {
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.industry-card:hover .industry-icon {
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 74, 20, .17);
}

.industry-card h3 {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}

.industry-card p {
  position: relative;
  z-index: 1;
  max-width: 245px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 991px) {
  .industries-section {
    padding: 56px 0 62px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .industries-section {
    padding: 46px 0 52px;
  }

  .industries-section .section-title {
    margin-bottom: 30px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-card {
    min-height: 0;
    padding: 26px 22px 24px;
  }

  .industry-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-bottom: 16px;
  }

  .industry-icon i {
    font-size: 23px;
  }
}

/*=================================
 CERTIFICATIONS SECTION
=================================*/
.certifications-section {
  padding: 80px 0 100px 0;
  background: #000 url(https://rostfreisteels.co.in/wp-content/uploads/2026/06/OurCertifications.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
}

.certifications-section .section-title span {
  color: #FFF;
}

.certifications-section .section-title h2 {
  color: #FFF;
}

.certifications-section .section-title p {
  color: #FFF;
}

.certifications-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.certification-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 40px;
  text-align: center;
  border-radius: 16px;
  transition: .4s;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.certification-logo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.certification-logo img {
  max-width: 140px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: .4s;
}

.certification-card:hover .certification-logo img {
  filter: none;
  transform: scale(1.05);
}

.certification-card h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

.certification-card p {
  color: #000;
  margin: 0;
  line-height: 1.7;
}

/* Tablet */
@media(max-width:991px) {
  .certifications-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media(max-width:767px) {
  .certifications-section {
    padding: 70px 0;
  }

  .certifications-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certification-card {
    padding: 30px;
  }
}

/*==================================
 OUR JOURNEY
==================================*/
.journey-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 5px;
  background:
    linear-gradient(180deg, #eaf8ff 0%, #ffffff 100%);
  background-image: url(https://rostfreisteels.co.in/wp-content/uploads/2026/08/footrtbgnew-scaled.png);
  background-position: bottom center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title {
  font-size: var(--h2-size);
  color: var(--primary);
  margin-top: 10px;
}

.journeySlider {
  padding-top: 0px;
  padding-bottom: 80px;
}

.journey-card {
  position: relative;
  min-height: 260px;
  padding: 20px 30px 80px;
  transition: .4s;
}

.journey-card .year {
  font-size: 32px;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 15px;
  transition: .4s;
}

.journey-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #6b7280;
}

.timeline-dot {
  position: absolute;
  bottom: 18px;
  left: 30px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #cbd5e1;
  display: none;
}

.timeline-dot:before {
  content: "";
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:
    translate(-50%, -50%);
}
.aboutUs li{
width: 49%;
float: left;
}
.swiper-slide-active .year {
  color: var(--primary);
  transform: scale(1.08);
  padding-left: 15px;
}

.swiper-slide-active p {
  color: #111827;
  font-weight: 500;
}

.swiper-slide-active .timeline-dot {
  border-color: var(--primary);
   display: none;
}

.swiper-slide-active .timeline-dot:before {
  background: var(--primary);
}

.swiper-button-next,
.swiper-button-prev {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  top: 75%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--secondary);
}

/* Tablet */
@media(max-width:991px) {
  .section-title {
    font-size: 30px;
  }
}

/* Mobile */
@media(max-width:767px) {
  .journey-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .journey-card {
    min-height: auto;
  }

  .journey-card .year {
    font-size: 30px;
  }
}

.blog-pagination {
  margin-top: 40px;
}

.blog-pagination .page-numbers {
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.blog-pagination .current {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.page-header {
  background: #f5f8fa;
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: #999;
  font-size: 12px;
}

.breadcrumb .current {
  color: #666;
  font-weight: 500;
}

.breadcrumb i {
  margin-right: 5px;
}

@media (max-width: 767px) {
  .page-header {
    padding: 40px 0;
  }

  .page-title {
    font-size: 30px;
  }
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
}

.read-more-btn:hover {
  color: var(--secondary-dark);
}

.product-card {
  height: 100%;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  object-fit: cover;
}

.blog-pagination ul.page-numbers {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.blog-pagination ul.page-numbers li {
  list-style: none;
  margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  width: 45px;
  height: 45px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.blog-pagination .page-numbers.current {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.blog-pagination .page-numbers.dots {
  border: none;
  width: auto;
  height: auto;
  background: transparent;
}

@media (max-width: 767px) {

  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

.related-sidebar {
  background: #fff;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  position: sticky;
  top: 100px;
}

.related-sidebar h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.related-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.related-post-item:last-child {
  border-bottom: none;
}

.related-post-item img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.related-content h5 {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.related-content a {
  color: #222;
  text-decoration: none;
}

.related-content a:hover {
  color: var(--secondary);
}

.blog-content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .related-sidebar {
    margin-top: 40px;
    position: static;
  }
}

.footer-bottom a {
  color: #FFF;
  text-decoration: underline;
}

/* contect us */
.contact-page {
  padding: 8px 0;
}

.contact-info-box,
.contact-form-box,
.office-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
  height: 100%;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h5 {
  margin-bottom: 5px;
}

.contact-item a {
  color: #333;
  text-decoration: none;
}

.office-card {
  margin-bottom: 30px;
}

.office-card h3 {
  margin-bottom: 15px;
}

.office-card i {
  color: var(--secondary);
  margin-right: 8px;
}

.map-section iframe {
  border-radius: 12px;
}

/* Our Project */
.project-section {
  background: #fff url(https://rostfreisteels.co.in/wp-content/uploads/2026/06/latest-bg.png) no-repeat left bottom;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.project-section .container {
  position: relative;
  z-index: 2;
}

.project-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
  height: 100%;
}

.project-card h3 {
  padding: 0px 25px 0px;
  font-size: 22px;
  color: var(--secondary);
  margin: 0;
}

.project-card img {
  width: 100%; 
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-content h4 {
  font-size: 18px;
  color: #000;
  line-height: 1.45;
  min-height: 110px;
}

.date {
  color: var(--primary);
  font-size: 18px;
  display: block;
  margin: 20px 0;
  font-weight: 600;
}

.bottom-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-area a {
  color: var(--secondary);
  font-size: 16px;
  font-weight: 600;
}

.nav-btns {
  display: flex;
  gap: 8px;
}

.project-content .swiper-button-next,
.swiper-button-prev {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  margin: 0;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
}

.project-content .swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}

@media(max-width:992px) {
  .project-card {
    margin-bottom: 25px;
  }
}

@media(max-width:768px) {
  .project-content h4 {
    min-height: auto;
  }
 

  .bottom-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/*footer animate*/
.truck-container1 {
  position: absolute;
  bottom: 20px;
  animation: driving1 60s infinite linear;
  transform: scale(1);
  z-index: 1;
  width: 170px;
  height: 50px;
}

.truck-container2 {
  position: absolute;
  bottom: 0px;
  animation: driving2 50s infinite linear;
  transform: scale(1);
  z-index: 1;
  width: 110px;
  height: 80px;
}

.truck-container3 {
  position: absolute;
  bottom: 10px;
  animation: driving3 40s infinite linear;
  transform: scale(1);
  z-index: 1;
  width: 110px;
  height: 60px;
}

.truck-container4 {
  position: absolute;
  bottom: 5px;
  animation: driving4 45s infinite linear;
  transform: scale(1);
  z-index: 1;
  width: 120px;
  height: 85px;
}

.truck-container5 {
  position: absolute;
  bottom: 5px;
  animation: driving5 30s infinite linear;
  transform: scale(1);
  z-index: 1;
  width: 95px;
  height: 50px;
}

.truck-container6 {
  position: absolute;
  bottom: 22px;
  animation: driving6 30s infinite linear;
  transform: scale(1);
  z-index: 1;
  width: 60px;
  height: 31px;
}

@keyframes driving1 {
  0% {
    left: -25%;
  }

  10% {}

  20% {
    transform: scale(1);
  }

  25% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  100% {
    left: 110%;
    transform: scale(1);
  }
}

@keyframes driving2 {
  0% {
    left: -50%;
  }

  10% {}

  20% {
    transform: scale(1);
  }

  25% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  100% {
    left: 110%;
    transform: scale(1);
  }
}

@keyframes driving3 {
  0% {
    right: -50%;
  }

  10% {}

  20% {
    transform: scale(1);
  }

  25% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  100% {
    right: 110%;
    transform: scale(1);
  }
}

@keyframes driving4 {
  0% {
    right: -50%;
  }

  10% {}

  20% {
    transform: scale(1);
  }

  25% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  100% {
    right: 110%;
    transform: scale(1);
  }
}

@keyframes driving5 {
  0% {
    right: -50%;
  }

  10% {}

  20% {
    transform: scale(1);
  }

  25% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  100% {
    right: 110%;
    transform: scale(1);
  }
}

@keyframes driving6 {
  0% {
    left: -25%;
  }

  10% {}

  20% {
    transform: scale(1);
  }

  25% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  100% {
    left: 110%;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .journey-section {
    background-size: 800px;
  }

  .truck-container1 img {
    width: 100px;
    bottom: -14px !important;
    position: absolute;
  }

  .truck-container2 img {
    width: 60px;
    position: absolute;
    bottom: 9px;
  }

  .truck-container3 img {
    position: absolute;
    bottom: 0;
    width: 45px;
  }

  .truck-container4 img {
    position: absolute;
    bottom: -1px;
    width: 45px;
  }

  .truck-container5 img {
    position: absolute;
    bottom: -3px;
    width: 55px;
  }

  .truck-container6 img {
    width: 40px;
    position: absolute;
    bottom: -14px;
    display: none;
  }
}

@media (max-width: 600px) {
  .truck-container6 {
    display: none;
  }

  .truck-container5 {
    display: none;
  }

  .truck-container3 {
    display: none;
  }

  .truck-container2 {
    position: absolute;
    bottom: 0px;
    animation: driving2 60s infinite linear;
    transform: scale(1);
    z-index: 1;
    width: 110px;
    height: 80px;
  }
}

/*footer card slider*/
/* =========================================
   PROJECT SECTION
========================================= */
.project-section .text-center h2 {
    margin-bottom: 12px;
    font-weight: 700;
}

.project-section .text-center p {
    margin-bottom: 0;
    color: #666;
}


/* =========================================
   PROJECT CARD
========================================= */

.project-card {
    position: relative;
    height: 100%;
    background: #f8f9fa;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;

    /* Premium subtle shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);

    /* Smooth hover animation */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================
   CARD HOVER
========================================= */

.project-card:hover {
    transform: translateY(-8px);
    border-color: #cfcfcf;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

/* =========================================
   CARD TITLE
========================================= */

.project-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}


/* =========================================
   SWIPER
========================================= */

.project-card .swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.project-card .swiper-wrapper {
    align-items: stretch;
}

.project-card .swiper-slide {
    overflow: hidden;
    border-radius: 10px;
}


/* =========================================
   PROJECT IMAGE
========================================= */

.project-card .swiper-slide img {
    display: block;
    width: 100%; 
    object-fit: cover;
    border-radius: 10px;

    /* Image hover animation */
    transition: transform 0.6s ease;
}


/* Image zoom on card hover */

.project-card:hover .swiper-slide img {
    transform: scale(1.04);
}


/* =========================================
   RESPONSIVE
========================================= */

/* Large Desktop */

@media (min-width: 1200px) {

    .project-card {
        padding: 22px;
    }

   
}


/* Tablet */

@media (max-width: 991px) {

    .project-section {
        padding: 60px 0;
    }

    .project-card {
        padding: 18px;
    }

    .project-card h3 {
        font-size: 20px;
    }

    
}


/* Mobile */

@media (max-width: 767px) {

    .project-section {
        padding: 50px 0;
    }

    .project-section .text-center {
        margin-bottom: 30px !important;
    }

    .project-card {
        padding: 15px;
        border-radius: 12px;
    }

    .project-card h3 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .project-card .swiper-slide img {
        
        border-radius: 8px;
    }

    .project-card:hover {
        transform: translateY(-4px);
    }
}


/* Small Mobile */

@media (max-width: 480px) {

    .project-card .swiper-slide img {
        height: auto;
    }
}
/*footer card slider*/


/*==================================================
GLOBAL COMPONENT LANGUAGE — MASTER PAGE SYSTEM
==================================================*/

/* Section headings */
.section-title,
.section-heading {
  max-width: 960px;
}

.section-title h2,
.section-heading h2 {
  font-size: var(--h2-size);
  line-height: 1.25;
  color: var(--secondary);
  margin-bottom: 14px;
}

.section-title p,
.section-heading p {
  color: var(--text);
  line-height: 1.7;
}

.section-title span,
.section-subtitle {
  display: inline-block;
  margin-bottom: 10px;

  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Reusable premium cards */
.product-card,
.industry-card,
.certification-card,
.project-card,
.search-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition:
    transform .30s ease,
    box-shadow .30s ease,
    border-color .30s ease;
}

.product-card:hover,
.industry-card:hover,
.certification-card:hover,
.project-card:hover,
.search-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 83, 135, .22);
  box-shadow: var(--shadow-md);
}

/* Card titles */
.product-card h3,
.product-card h4,
.industry-card h3,
.certification-card h3,
.project-card h3 {
  line-height: 1.3;
}

/* Card imagery */
.product-card img,
.certification-card img,
.project-card img {
  max-width: 100%;
  height: auto;
}

/* Industry icon — solid brand treatment, no decorative gradient */
.industry-icon {
  background: var(--secondary);
  border-radius: 10px;

  transition:
    background-color .30s ease,
    transform .30s ease;
}

.industry-card:hover .industry-icon {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Certification logo motion remains subtle */
.certification-logo img {
  transition:
    transform .30s ease,
    filter .30s ease;
}

/* Overview image/card consistency */
.overview-image-card {
  border-radius: 10px;
  overflow: hidden;
}



/* Form controls — consistent global treatment */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--text);

  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 83, 135, .10);
}

/* Responsive component balance */
@media (max-width: 991px) {
  .product-card:hover,
  .industry-card:hover,
  .certification-card:hover,
  .project-card:hover,
  .search-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 767px) {
  .section-title,
  .section-heading {
    margin-bottom: 34px;
  }

  .section-title span,
  .section-subtitle {
    font-size: 12px;
  }

  .product-card,
  .industry-card,
  .certification-card,
  .project-card,
  .search-card {
    border-radius: 8px;
  }

  .overview-content .btn-primary {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .industry-card,
  .certification-card,
  .project-card,
  .search-card,
  .industry-icon,
  .certification-logo img {
    transition: none !important;
  }

  .product-card:hover,
  .industry-card:hover,
  .certification-card:hover,
  .project-card:hover,
  .search-card:hover,
  .industry-card:hover .industry-icon {
    transform: none;
  }
}

/*==================================================
GLOBAL FOUNDATION PHASE 2 — FINAL
Lightweight shared utilities for redesigned pages
==================================================*/

:root {
  --section-space-sm: 42px;
  --section-space-lg: 84px;
  --content-narrow: 860px;
  --content-medium: 1080px;
  --content-wide: var(--container-width);
  --focus-ring: 0 0 0 3px rgba(0, 83, 135, .16);
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-overlay: 1040;
  --z-modal: 1060;
}

/* Standard section rhythm */
.rf-section,
.section {
  padding-block: var(--section-space);
}

.rf-section-sm {
  padding-block: var(--section-space-sm);
}

.rf-section-lg {
  padding-block: var(--section-space-lg);
}

/* Content widths */
.rf-container,
.rf-container-wide,
.rf-container-medium,
.rf-container-narrow {
  width: min(100% - 32px, var(--content-wide));
  margin-inline: auto;
}

.rf-container-medium {
  max-width: var(--content-medium);
}

.rf-container-narrow {
  max-width: var(--content-narrow);
}

/* Shared text helpers */
.rf-text-muted {
  color: var(--muted-text);
}

.rf-lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
}

/* Responsive image system */
.rf-img,
.rf-img-cover,
.rf-img-contain {
  display: block;
  width: 100%;
  height: auto;
}

.rf-img-cover {
  height: 100%;
  object-fit: cover;
}

.rf-img-contain {
  object-fit: contain;
}

.rf-ratio-16x9,
.rf-ratio-4x3,
.rf-ratio-3x2 {
  overflow: hidden;
}

.rf-ratio-16x9 { aspect-ratio: 16 / 9; }
.rf-ratio-4x3  { aspect-ratio: 4 / 3; }
.rf-ratio-3x2  { aspect-ratio: 3 / 2; }

.rf-ratio-16x9 > img,
.rf-ratio-4x3 > img,
.rf-ratio-3x2 > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Technical/specification tables */
.rf-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rf-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  color: var(--text);
}

.rf-table th,
.rf-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.rf-table th {
  background: var(--light-bg);
  color: var(--heading);
  font-weight: 700;
}

.rf-table tbody tr:hover {
  background: var(--soft-green-bg);
}

/* Reusable page CTA; approved .btn-quote remains unchanged */
.rf-cta {
  padding: clamp(42px, 5vw, 66px) 0;
  background: var(--secondary);
  color: var(--white);
}

.rf-cta-inner {
  width: min(100% - 32px, var(--content-medium));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.rf-cta-copy {
  max-width: 760px;
}

.rf-cta h2,
.rf-cta h3,
.rf-cta p {
  color: var(--white);
}

.rf-cta p:last-child {
  margin-bottom: 0;
}

/* Accessible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(0, 83, 135, .22);
  outline-offset: 3px;
}

/* Responsive foundation */
@media (max-width: 991px) {
  :root {
    --section-space-sm: 38px;
    --section-space-lg: 70px;
  }

  .rf-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  :root {
    --section-space-sm: 32px;
    --section-space-lg: 58px;
  }

  .rf-container,
  .rf-container-wide,
  .rf-container-medium,
  .rf-container-narrow {
    width: min(100% - 28px, var(--content-wide));
  }

  .rf-table th,
  .rf-table td {
    padding: 11px 12px;
  }

  .rf-cta {
    text-align: center;
  }

  .rf-cta-inner {
    align-items: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-space-sm: 28px;
    --section-space-lg: 50px;
  }
}

/* Motion accessibility across shared animated UI */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/*==================================================
GLOBAL ICON MOTION FIX
No scale-snapping; smooth brand-colour transitions only
==================================================*/
.industry-icon,
.gfs-feature-icon,
.gfs-list-icon,
.gfs-install-icon,
.gfs-application-card i,
.contact-item i {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: background-color, color;
  transition:
    background-color .28s ease,
    color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.industry-card:hover .industry-icon,
.gfs-feature-card:hover .gfs-feature-icon,
.gfs-advantage-card:hover .gfs-feature-icon,
.gfs-icon-list li:hover .gfs-list-icon,
.gfs-material-plain-item:hover .gfs-list-icon,
.gfs-install-card:hover .gfs-install-icon,
.gfs-application-card:hover i {
  transform: translateZ(0) !important;
}

.industry-card:hover .industry-icon,
.gfs-feature-card:hover .gfs-feature-icon,
.gfs-advantage-card:hover .gfs-feature-icon,
.gfs-icon-list li:hover .gfs-list-icon,
.gfs-material-plain-item:hover .gfs-list-icon,
.gfs-install-card:hover .gfs-install-icon,
.gfs-application-card:hover i {
  background-color: var(--primary);
}

/* =========================================================
   HOMEPAGE CERTIFICATIONS - PREMIUM COMPACT + LIGHTBOX
========================================================= */

/* Clickable cards */
.certifications-section .certification-card.rs-cert-click {
    position: relative;
    cursor: pointer;

    /* Compact premium proportions */
    padding: 26px 22px 24px;
    min-height: 0;
    height: auto;

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.certifications-section .certification-card.rs-cert-click:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 32px rgba(0, 83, 135, 0.16);
}

.certifications-section .certification-card.rs-cert-click:focus-visible {
    outline: 3px solid rgba(0, 83, 135, 0.30);
    outline-offset: 3px;
}


/* Compact logo area */
.certifications-section .rs-cert-click .certification-logo {
    height: 90px;
    min-height: 0;
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.certifications-section .rs-cert-click .certification-logo img {
    width: auto;
    height: auto;
    max-width: 145px;
    max-height: 82px;
    object-fit: contain;
}


/* NSF logo */
.certifications-section .rs-cert-click:nth-child(3) .certification-logo img {
    max-width: 135px;
    max-height: 78px;
}


/* Card heading */
.certifications-section .rs-cert-click h3 {
    margin: 0 0 9px;
}


/* Description */
.certifications-section .rs-cert-click > p {
    margin: 0;
    line-height: 1.55;
}


/* Subtle clickable indicator */
.certifications-section .rs-cert-click::after {
    content: "\f065";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    top: 12px;
    right: 12px;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    color: #ffffff;
    background: #005387;

    font-size: 11px;

    opacity: 0;
    transform: translateY(-3px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        background-color .25s ease;
}

.certifications-section .rs-cert-click:hover::after {
    opacity: 1;
    transform: translateY(0);
    background: #004a14;
}


/* =========================================================
   CERTIFICATE FULL-SCREEN PREVIEW
========================================================= */

.rs-cert-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background: rgba(2, 10, 17, 0.92);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.rs-cert-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rs-cert-modal-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 94vw;
    max-height: 92vh;
}

.rs-cert-modal-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 92vw;
    max-height: 88vh;

    object-fit: contain;

    background: #ffffff;
    border-radius: 8px;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}


/* Close button */
.rs-cert-modal-close {
    position: absolute;

    top: -17px;
    right: -17px;

    z-index: 2;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: #005387;
    color: #ffffff;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);

    transition:
        background-color .25s ease,
        transform .25s ease;
}

.rs-cert-modal-close:hover {
    background: #004a14;
    transform: scale(1.05);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .certifications-section .certification-card.rs-cert-click {
        padding: 24px 20px 22px;
    }

    .certifications-section .rs-cert-click .certification-logo {
        height: 82px;
        margin-bottom: 12px;
    }

    .certifications-section .rs-cert-click::after {
        opacity: 1;
        transform: none;
    }

    .rs-cert-modal {
        padding: 16px;
    }

    .rs-cert-modal-image {
        max-width: 94vw;
        max-height: 84vh;
    }

    .rs-cert-modal-close {
        width: 38px;
        height: 38px;
        top: -14px;
        right: -6px;
    }
}
/* =========================================================
   ROSTFREI FOOTER — REFINED PROFESSIONAL LIGHT VERSION
   Smooth Gradient + Clean Icons + High Contrast Hover
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    margin-top: -1px !important;
    border-top: 0 !important;

    background:
        radial-gradient(
            circle at 88% 68%,
            rgba(0, 83, 135, 0.055) 0%,
            rgba(0, 83, 135, 0.018) 30%,
            transparent 50%
        ),

        radial-gradient(
            circle at 8% 80%,
            rgba(0, 74, 20, 0.045) 0%,
            transparent 42%
        ),

        linear-gradient(
            180deg,
            #002A00 0%,
            #002A00 5%,
            #07391c 10%,
            #174b32 15%,
            #32634d 20%,
            #557f6d 25%,
            #789c8d 30%,
            #9bb7ac 35%,
            #b9cec6 40%,
            #d0dfda 46%,
            #e0eae7 53%,
            #ebf1ef 61%,
            #f2f6f5 72%,
            #f6f8f8 84%,
            #f7f9f9 100%
        ) !important;

    color: #172b34;
}


/* =========================================================
   SUBTLE FUTURISTIC DECORATION
========================================================= */

.site-footer::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -190px;
    top: 145px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            transparent 0%,
            transparent 44%,
            rgba(0, 83, 135, 0.04) 44.5%,
            rgba(0, 83, 135, 0.04) 45.5%,
            transparent 46%,
            transparent 58%,
            rgba(0, 74, 20, 0.03) 58.5%,
            rgba(0, 74, 20, 0.03) 59.5%,
            transparent 60%
        );

    pointer-events: none;
    z-index: 0;
}


.site-footer::after {
    content: "";
    position: absolute;

    width: 540px;
    height: 400px;

    left: -310px;
    bottom: -250px;

    border-radius:
        58% 42% 62% 38% /
        48% 58% 42% 52%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 83, 135, 0.055) 0%,
            rgba(0, 74, 20, 0.03) 38%,
            transparent 70%
        );

    transform: rotate(-10deg);

    pointer-events: none;
    z-index: 0;
}


.site-footer > .container-fluid {
    position: relative;
    z-index: 2;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.site-footer .footer-title {
    position: relative;

    color: #ffffff !important;

    font-weight: 700;
    letter-spacing: -0.15px;

    margin-bottom: 20px;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.25);
}


.site-footer .footer-title::after {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    margin-top: 8px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.90) !important;
}


/* =========================================================
   ABOUT TEXT
========================================================= */

.site-footer .footer-about {
    color: #172b34 !important;

    line-height: 1.75;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.site-footer .footer-menu a {
    position: relative;

    display: inline-block;

    color: #172b34 !important;

    text-decoration: none;

    transition:
        color 0.22s ease;
}


/* Small underline instead of moving text */

.site-footer .footer-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 1px;

    background: #004a14;

    transition:
        width 0.25s ease;
}


.site-footer .footer-menu a:hover {
    color: #004a14 !important;

    padding-left: 0 !important;

    transform: none !important;
}


.site-footer .footer-menu a:hover::after {
    width: 100%;
}


/* =========================================================
   CONTACT LIST
========================================================= */

.site-footer .footer-contact {
    margin: 0;
    padding: 0;
}


.site-footer .footer-contact li {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 14px;

    color: #172b34 !important;

    line-height: 1.6;
}


/* =========================================================
   CLEAN CONTACT ICONS
   No boxes / no circles / no zoom
========================================================= */

.site-footer .footer-contact i {
    flex: 0 0 22px;

    width: 22px;
    min-width: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 3px;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    color: #005387 !important;

    font-size: 15px;

    line-height: 1;

    transform: none !important;

    transition:
        color 0.22s ease,
        opacity 0.22s ease;
}


/* Icon hover — only colour changes */

.site-footer .footer-contact li:hover i {
    color: #004a14 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    transform: none !important;
}


/* =========================================================
   CONTACT LINKS
========================================================= */

.site-footer .footer-contact a {
    position: relative;

    color: #172b34 !important;

    text-decoration: none;

    transition:
        color 0.22s ease;
}


/*
 * IMPORTANT:
 * Dark green instead of blue.
 * Maintains strong contrast on mint background.
 */

.site-footer .footer-contact a:hover {
    color: #004a14 !important;

    text-decoration: none;

    transform: none !important;
}


/* Prevent old theme rules turning links blue */

.site-footer .footer-contact li:hover a,
.site-footer .footer-contact a:focus,
.site-footer .footer-contact a:active {
    color: #004a14 !important;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.site-footer .footer-social {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 22px;
}


.site-footer .footer-social a {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.72) !important;

    border:
        1px solid rgba(0, 83, 135, 0.14);

    color: #005387 !important;

    box-shadow:
        0 4px 12px rgba(0, 83, 135, 0.08);

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;

    transform: none !important;
}


.site-footer .footer-social a i {
    color: #005387 !important;

    font-size: 14px;

    transform: none !important;

    transition:
        color 0.22s ease;
}


.site-footer .footer-social a:hover {
    background: #004a14 !important;

    border-color: #004a14;

    color: #ffffff !important;

    box-shadow:
        0 5px 14px rgba(0, 74, 20, 0.17);

    transform: none !important;
}


.site-footer .footer-social a:hover i {
    color: #ffffff !important;

    transform: none !important;
}


/* =========================================================
   MAP
========================================================= */

.site-footer .footer-map {
    overflow: hidden;

    border-radius: 11px;

    background: #ffffff;

    border:
        1px solid rgba(0, 83, 135, 0.14);

    box-shadow:
        0 8px 22px rgba(30, 65, 80, 0.10);
}


.site-footer .footer-map iframe {
    display: block;

    border-radius: 10px;
}


/* =========================================================
   DISCLAIMER
   Compact spacing
========================================================= */

.site-footer .footer-disclaimer-wrap {
    margin-top: 24px !important;

    padding-top: 11px !important;
    padding-bottom: 10px !important;

    border-top:
        1px solid rgba(31, 67, 78, 0.13) !important;

    border-bottom:
        1px solid rgba(31, 67, 78, 0.10) !important;
}


.site-footer .footer-disclaimer {
    margin: 0 auto !important;

    padding: 0 !important;

    color: #53666e !important;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.site-footer .footer-bottom {
    margin-top: 0 !important;

    padding-top: 11px !important;
    padding-bottom: 11px !important;

    border-top: 0 !important;
}


.site-footer .footer-bottom p {
    margin: 0 !important;

    color: #344950 !important;

    line-height: 1.5;
}


/* =========================================================
   TICK MARK FILMS — CLICKABLE HOVER
========================================================= */

.site-footer .footer-bottom strong a {
    position: relative;

    display: inline-block;

    color: #173f35 !important;

    font-weight: 700;

    text-decoration: none;

    padding-bottom: 2px;

    transition:
        color 0.22s ease;
}


.site-footer .footer-bottom strong a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #004a14;

    transform: scaleX(0);

    transform-origin: left center;

    transition:
        transform 0.25s ease;
}


.site-footer .footer-bottom strong a:hover {
    color: #004a14 !important;
}


.site-footer .footer-bottom strong a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   BACK TO TOP
========================================================= */

#backToTop {
    background: #005387 !important;

    color: #ffffff !important;

    border:
        1px solid rgba(255,255,255,0.20);

    box-shadow:
        0 7px 18px rgba(0,83,135,0.18);

    transition:
        background-color 0.22s ease,
        box-shadow 0.22s ease;

    transform: none !important;
}


#backToTop:hover {
    background: #004a14 !important;

    color: #ffffff !important;

    box-shadow:
        0 8px 20px rgba(0,74,20,0.20);

    transform: none !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .site-footer {
        background:

            radial-gradient(
                circle at 95% 68%,
                rgba(0, 83, 135, 0.05),
                transparent 40%
            ),

            linear-gradient(
                180deg,
                #002A00 0%,
                #002A00 4%,
                #0b3d23 9%,
                #24543d 14%,
                #47715d 20%,
                #729485 27%,
                #9db7ad 34%,
                #bfd1ca 41%,
                #d9e5e1 49%,
                #e8efed 59%,
                #f1f5f4 72%,
                #f6f8f8 100%
            ) !important;
    }


    .site-footer::before {
        width: 320px;
        height: 320px;

        right: -185px;
        top: 180px;

        opacity: 0.50;
    }


    .site-footer::after {
        width: 340px;
        height: 270px;

        left: -225px;
        bottom: -160px;

        opacity: 0.50;
    }


    .site-footer .footer-contact li {
        gap: 10px;

        margin-bottom: 12px;
    }


    .site-footer .footer-contact i {
        flex-basis: 20px;

        width: 20px;
        min-width: 20px;

        font-size: 14px;
    }


    .site-footer .footer-disclaimer-wrap {
        margin-top: 20px !important;

        padding-top: 10px !important;
        padding-bottom: 9px !important;
    }


    .site-footer .footer-bottom {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* =========================================================
   HOME PAGE CLIENT CHANGES — 24 SEP 2026
   Patent preview + WhatsApp floating action
========================================================= */

.overview-section .overview-patent {
  cursor: zoom-in;
}

.rs-cert-modal-inner {
  flex-direction: column;
}

.rs-cert-modal.has-description .rs-cert-modal-image {
  max-height: 72vh;
}

.rs-cert-modal-description {
  max-width: 860px;
  margin: 16px auto 0;
  padding: 0 20px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.rs-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9998;

  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #25d366;
  color: #fff !important;

  font-size: 28px;
  line-height: 1;
  text-decoration: none !important;

  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-color .25s ease;
}

.rs-whatsapp-float:hover,
.rs-whatsapp-float:focus {
  background: #1ebe5d;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .26);
}

.rs-whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .30);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .rs-cert-modal.has-description .rs-cert-modal-image {
    max-height: 68vh;
  }

  .rs-cert-modal-description {
    margin-top: 12px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .rs-whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}


/* =========================================================
   GLOBAL HELP / EMAIL SUPPORT WIDGET
   Brand-aligned companion to WhatsApp
========================================================= */

.rs-help-widget {
  position: relative;
  z-index: 9999;
}

.rs-help-float {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 9999;

  min-width: 54px;
  height: 54px;
  padding: 0 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;

  background: var(--secondary);
  color: #fff;

  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  box-shadow: 0 8px 22px rgba(0,83,135,.24);

  cursor: pointer;

  transition:
    transform .25s ease,
    background-color .25s ease,
    box-shadow .25s ease;
}

.rs-help-float i {
  font-size: 20px;
}

.rs-help-float:hover,
.rs-help-float:focus {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,74,20,.24);
}

.rs-help-float:focus-visible,
.rs-help-close:focus-visible,
.rs-help-submit:focus-visible {
  outline: 3px solid rgba(0,83,135,.20);
  outline-offset: 3px;
}

.rs-help-panel {
  position: fixed;
  right: 20px;
  bottom: 158px;
  z-index: 10000;

  width: min(390px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 120px));

  overflow: hidden;

  background: #fff;
  border: 1px solid rgba(0,83,135,.14);
  border-radius: 16px;

  box-shadow:
    0 24px 55px rgba(24,48,66,.20),
    0 6px 18px rgba(0,83,135,.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  transform-origin: bottom right;

  transition:
    opacity .24s ease,
    visibility .24s ease,
    transform .24s ease;
}

.rs-help-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.rs-help-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;

  padding: 20px 20px 18px;

  background:
    linear-gradient(
      135deg,
      var(--secondary) 0%,
      var(--secondary-dark) 58%,
      var(--primary) 100%
    );

  color: #fff;
}

.rs-help-kicker {
  display: block;
  margin-bottom: 4px;

  color: rgba(255,255,255,.82);

  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .015em;
  text-transform: none;
}

.rs-help-header h3 {
  margin: 0;

  color: #fff;

  font-size: 22px;
  line-height: 1.25;
}

.rs-help-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;

  background: rgba(255,255,255,.10);
  color: #fff;

  cursor: pointer;

  transition:
    background-color .22s ease,
    transform .22s ease;
}

.rs-help-close:hover,
.rs-help-close:focus {
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.rs-help-body {
  overflow-y: auto;
  max-height: calc(min(640px, calc(100vh - 120px)) - 92px);

  padding: 20px;
}

.rs-help-intro {
  margin: 0 0 18px;

  color: var(--text);

  font-size: 15px;
  line-height: 1.6;
}

.rs-help-form {
  margin: 0;
}

.rs-help-field {
  margin-bottom: 16px;
}

.rs-help-field label {
  display: block;

  margin-bottom: 7px;

  color: var(--heading);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.rs-help-field input,
.rs-help-field textarea {
  width: 100%;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: #fff;
  color: var(--text);

  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.45;

  box-shadow: inset 0 1px 2px rgba(24,48,66,.025);

  outline: none;

  transition:
    border-color .22s ease,
    box-shadow .22s ease;
}

.rs-help-field input {
  height: 46px;
  padding: 0 13px;
}

.rs-help-field textarea {
  min-height: 128px;
  padding: 12px 13px;
  resize: vertical;
}

.rs-help-field input:focus,
.rs-help-field textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,83,135,.10);
}

.rs-help-field.is-invalid input,
.rs-help-field.is-invalid textarea {
  border-color: #c73939;
  box-shadow: 0 0 0 3px rgba(199,57,57,.08);
}

.rs-help-status {
  min-height: 20px;
  margin: -2px 0 12px;

  font-size: 13px;
  line-height: 1.45;
}

.rs-help-status.is-success {
  color: var(--primary);
}

.rs-help-status.is-error {
  color: #b42318;
}

.rs-help-submit {
  width: 100%;
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 11px 20px;

  border: 1px solid var(--secondary);
  border-radius: 7px;

  background: var(--secondary);
  color: #fff;

  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  cursor: pointer;

  box-shadow: 0 6px 16px rgba(0,83,135,.15);

  transition:
    transform .24s ease,
    background-color .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.rs-help-submit:hover,
.rs-help-submit:focus {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,74,20,.18);
}

.rs-help-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.rs-help-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .rs-help-float {
    right: 16px;
    bottom: 82px;

    width: 50px;
    min-width: 50px;
    height: 50px;

    padding: 0;
    border-radius: 50%;
  }

  .rs-help-float span {
    display: none;
  }

  .rs-help-float i {
    font-size: 21px;
  }

  .rs-help-panel {
    right: 12px;
    left: 12px;
    bottom: 146px;

    width: auto;
    max-height: calc(100vh - 170px);

    border-radius: 14px;
  }

  .rs-help-header {
    padding: 18px 17px 16px;
  }

  .rs-help-header h3 {
    font-size: 20px;
  }

  .rs-help-body {
    max-height: calc(100vh - 262px);
    padding: 18px 17px;
  }

  .rs-help-intro {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-help-float,
  .rs-help-panel,
  .rs-help-close,
  .rs-help-submit {
    transition: none !important;
  }
}


/* =========================================================
   HEADER CONTACT + TRANSLATOR REFINEMENT — 24 SEP 2026
   Premium spacing, mobile language selector, Google banner fix
========================================================= */

.site-header .header-right {
  align-items: center;
  gap: 14px;
  margin-left: 24px;
}

.site-header .header-right .btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 83, 135, .24);
  border-radius: 9px;
  background: #fff !important;
  color: var(--secondary) !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 83, 135, .08);
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    background-color .24s ease,
    color .24s ease,
    border-color .24s ease;
}

.site-header .header-right .btn i,
.site-header .header-right .btn .phone-ring {
  color: var(--secondary) !important;
}

.site-header .header-right .btn:hover,
.site-header .header-right .btn:focus {
  background: var(--primary) !important;
  border-color: var(--primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 74, 20, .18);
}

.site-header .header-right .btn:hover i,
.site-header .header-right .btn:focus i,
.site-header .header-right .btn:hover .phone-ring,
.site-header .header-right .btn:focus .phone-ring {
  color: #fff !important;
}

.rostfrei-translator {
  display: flex;
  align-items: center;
  margin: 0;
}

.rostfrei-translator select,
.rostfrei-translator .goog-te-combo {
  min-width: 132px;
  height: 42px;
  margin: 0 !important;
  padding: 0 34px 0 13px;
  border: 1px solid rgba(0, 83, 135, .20);
  border-radius: 9px;
  background-color: #fff;
  color: #183042;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 42px;
  box-shadow: 0 6px 16px rgba(0, 83, 135, .08);
  cursor: pointer;
  outline: none;
  transition:
    border-color .24s ease,
    box-shadow .24s ease,
    transform .24s ease;
}

.rostfrei-translator select:hover,
.rostfrei-translator select:focus,
.rostfrei-translator .goog-te-combo:hover,
.rostfrei-translator .goog-te-combo:focus {
  border-color: #005387;
  box-shadow: 0 8px 20px rgba(0, 83, 135, .12);
  transform: translateY(-1px);
}

/* Hide the Google Translate top banner without hiding the selector itself */
iframe.goog-te-banner-frame,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
}

/* Translator inserted into mobile off-canvas by custom.js */
.mobile-language-switcher {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8eef2;
}

.mobile-language-switcher-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #183042;
  font-size: 14px;
  font-weight: 700;
}

.mobile-language-switcher-label i {
  color: var(--secondary);
}

.rostfrei-mobile-language {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(0, 83, 135, .22);
  border-radius: 9px;
  background: #fff;
  color: #183042;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 83, 135, .07);
  outline: none;
}

.rostfrei-mobile-language:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 83, 135, .10);
}

@media (max-width: 1199px) {
  .site-header .header-right {
    margin-left: 0;
  }
}

/* =========================================================
   GLOBAL MEDIA CLEANUP — WATERMARKS OFF
   Keeps all existing page layouts/styles unchanged.
========================================================= */

.about-master-page .about-watermarked-media::after,
.storage-master-page .storage-watermarked-media::after,
.gfs-master-page .gfs-watermarked-media::after,
.fbec-page .fbec-watermarked-media::after,
.fbe-master-page .fbe-watermarked-media::after,
.zinc-page .zinc-watermarked-media::after,
.silos-master-page .silos-watermarked-media::after,
.hbs-page .hbs-watermark::after,
.fbs-page .fbs-watermark::after,
.fbs-page .fbs-why-middle-media::after,
.mhe-page .mhe-watermark::after,
.cb-page .cb-watermark::after,
.hdg-page .hdg-watermark::after,
.bgd-page .bgd-watermarked-media::after {
  content: none !important;
  display: none !important;
}

/* GFS approved process/QC graphics — show full artwork without cropping */
.gfs-master-page .gfs-process-reference,
.gfs-master-page .gfs-quality-reference {
  aspect-ratio: auto !important;
}

.gfs-master-page .gfs-process-reference .gfs-media,
.gfs-master-page .gfs-quality-reference .gfs-media {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}


/* =========================================================
   FLOATING SUPPORT UI — FINAL RESPONSIVE REFINEMENT
========================================================= */

/* Footer: keep only top-level quick links; hide nested product-page lists. */
.site-footer .footer-menu .sub-menu {
  display: none !important;
}

/* Desktop / laptop WhatsApp matches the Help pill language. */
.rs-whatsapp-float {
  width: auto;
  min-width: 54px;
  height: 54px;
  padding: 0 17px;
  gap: 9px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
}

.rs-whatsapp-float i {
  font-size: 24px;
}

.rs-whatsapp-float span {
  display: inline-block;
}

/* Keep Help panel fully inside laptop/desktop viewport and avoid internal scrolling. */
@media (min-width: 768px) {
  .rs-help-panel {
    top: 18px;
    bottom: auto;
    width: min(390px, calc(100vw - 40px));
    max-height: calc(100vh - 36px);
  }

  .rs-help-header {
    padding: 16px 18px 14px;
  }

  .rs-help-kicker {
    margin-bottom: 3px;
    font-size: 13px;
  }

  .rs-help-header h3 {
    font-size: 20px;
  }

  .rs-help-close {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .rs-help-body {
    max-height: none;
    overflow: visible;
    padding: 16px 18px 18px;
  }

  .rs-help-intro {
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 1.45;
  }

  .rs-help-field {
    margin-bottom: 11px;
  }

  .rs-help-field label {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .rs-help-field input {
    height: 40px;
    padding-inline: 11px;
  }

  .rs-help-field textarea {
    min-height: 84px;
    height: 84px;
    padding: 9px 11px;
    resize: none;
  }

  .rs-help-status {
    min-height: 16px;
    margin: -1px 0 8px;
    font-size: 12px;
  }

  .rs-help-submit {
    min-height: 42px;
    padding: 9px 18px;
  }
}

/* Mobile: keep only two action circles and move Back-to-Top away from Help. */
@media (max-width: 767px) {
  .rs-whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
  }

  .rs-whatsapp-float span {
    display: none;
  }

  .rs-whatsapp-float i {
    font-size: 25px;
  }

  .rs-help-float {
    right: 16px;
    bottom: 82px;
  }

  #backToTop {
    display: none !important;
  }

  .rs-help-panel {
    top: 12px;
    right: 12px;
    left: 12px;
    bottom: auto;
    width: auto;
    max-height: calc(100dvh - 24px);
  }

  .rs-help-body {
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    padding-top: 14px;
  }

  .rs-help-kicker {
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .015em;
  }

  .rs-help-intro {
    margin: 0 0 12px;
    font-size: 15.5px;
    line-height: 1.5;
  }
}
