:root {
  --primary: #247581;
  --secondary: #f96932;
  --text: #000000;
  --deep-gray: #131c23;
  --white: #ffffff;
  --light-gray: #c8c8c8;
  --black: #000000;
}

* {
  padding: 0;
  margin: 0;

  font-family: "Manrope", sans-serif;
}

body {
  padding-top: 0px !important;
}

.text-teal {
  color: var(--primary) !important;
}


/* Navbar */
.navbar {
  transition: all 0.4s ease;
  background: transparent;
}

/* When scrolled */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.navbar-brand {
  /* background-color: var(--white); */
  padding: 12px;
  border-radius: 5px;
}


.navbar-brand img {
  max-width: 230px;
  min-height: 40px;
}

.nav-link.active {
  color: var(--secondary) !important;
}

.nav-link:active {
  color: var(--secondary) !important;
}

.nav-link {
  color: var(--white);

  &:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
  }
}

.nav-item a{
  font-size: large;
}

.nav-item.dropdown .dropdown-menu {
  top: 100%;
  left: 0;
  margin-top: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu {
  background-color: var(--deep-gray);
  margin-top: 20px !important;
  border: none;
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 0 !important;

  border-top: 4px solid var(--secondary);
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-menu a {
  color: var(--white);
  transition: color 0.3s ease;
}

.dropdown-menu a:hover {
  color: var(--secondary);
  background-color: transparent;
}

.action-area {
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 10px;
  padding: 0 16px;
  border-radius: 0;
  align-self: stretch;
}

.btn-brand {
  background-color: #1D5E68 !important;
  border-color: #1D5E68 !important;
  color: white !important;
}

.action-area .btn-link {
  color: var(--white);
  font-size: 1.2rem;
}

.action-area .btn-link:hover {
  color: var(--deep-gray);
}

.action-area .btn-teal {
  background-color: var(--deep-gray);
  font-weight: 500;
}

.action-area .btn-action {
  background-color: var(--deep-gray);
  padding: 4px 3px;
  border: none;
}

.action-area .btn-teal:hover {
  background-color: var(--primary);
}

.navbar-toggler {
  height: 50px !important;
  width: 50px !important;
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.nav-search i {
  font-size: 20px;
  color: var(--deep-gray);
}

@media screen and (max-width: 700px) {
  .nav-action-button {
    display: none;
  }
}

@media screen and (min-width: 426px) {
  .nav-action-button {
    margin-left: 120px;
  }

  .nav-search {
    display: none;
  }
}

/* Footer */
.footer-area {
  min-height: 25rem;
  background-color: var(--black);
  line-height: 1.6;
}

.footer-main-text {
  display: inline-block;
  width: auto;
  border-radius: 5px;
}

.footer-title {
  color: var(--secondary);
}

.footer-area p {
  line-height: 1.8;
  font-size: large;
  color: var(--white);
}

.footer-area a {
  line-height: 2.5;
  color: var(--white);

  &:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
  }
}

.footer-area h5,
.footer-area h6 {
  line-height: 1.4;
}

.footer-contact span {
  color: var(--white);

  &:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
  }
}

.footer-office a,
span {
  color: var(--white);

  &:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
  }
}

.footer-bottom {
  color: var(--white);

  &:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
  }
}

.footer-company a {
  color: var(--white);

  &:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
  }
}

.footer-logo {
  display: inline-block;
  width: auto;
  background-color: var(--white);
  border-radius: 5px;
}

.footer-logo img {
  min-height: 40px;
  max-width: 200px;
}

/* Product view table */
.form-control:focus,
.form-select:focus {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 0.25rem rgba(249, 105, 50, 0.25) !important;
}

/* Buttons */
/* Smaller icons */
.icon-sm {
  width: 14px;
  height: 14px;
}

/* View button */
.btn-view {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 0 !important;
  font-size: 0.75rem;
  /* smaller text */
  padding: 4px 8px;
  /* reduced size */
  transition: all 0.2s ease-in-out;
}

.btn-view:hover {
  background-color: #1d5e68;
  transform: translateY(-2px);
  color: var(--white);
  /* keep text white */
}

/* Download button */
.btn-download {
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 0 !important;
  font-size: 0.75rem;
  padding: 4px 8px;
  transition: all 0.2s ease-in-out;
}

.btn-download:hover {
  background-color: #e85c28;
  transform: translateY(-2px);
  color: var(--white);
  /* keep text white */
}

.btn-product {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 0 !important;
  transition: all 0.2s ease-in-out;
}

.btn-product:hover {
  background-color: #1d5e68;
  transform: translateY(-2px);
  color: var(--white);
}

/* product filter */
.product-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.product-card img {
  height: 200px;
  object-fit: cover;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card .card-body {
  padding: 1rem;
}

.product-card h6 {
  font-weight: 600;
}

.product-card {
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product-card .card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-badge {
  background: #f8f9fa;
  color: #333;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #dee2e6;
  margin-right: 4px;
  border-radius: 6px;
  padding: 4px 8px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

/* Modern Pagination */
.pagination .page-item .page-link {
  border: none;
  margin: 0 5px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
  color: var(--deep-gray);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(45deg, #6366f1, #4f46e5);
  color: white;
}

.pagination .page-item .page-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Offcanvas */
.premium-offcanvas {
  width: 480px;
  background: linear-gradient(145deg, #ffffff, #eef2ff);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
}

/* Header */
.premium-header {
  background: linear-gradient(45deg, var(--secondary), #e85c28);
  color: white;
  padding: 20px;
  border-bottom: none;
}

.premium-header small {
  color: var(--white) !important;
}

.premium-header .btn-close {
  color: var(--light-gray) !important;
  outline: none !important;
  /* remove focus outline */
  box-shadow: none !important;
  /* remove focus border shadow */
}

.premium-header .btn-close:hover {
  color: var(--white) !important;
}

.premium-header .btn-close:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Image Card */
.image-card {
  border-radius: 15px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  position: relative;
}

.product-image {
  width: 100%;
  transition: 0.4s ease;
}

/* Hover Shadow */
.image-card:hover .product-image {
  transform: scale(1.05);
  filter: brightness(0.8);
}

/* Overlay Name */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-weight: 500;
  opacity: 0;
  transition: 0.3s ease;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

/* Zoom Icon */
.zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.zoom-icon:hover {
  background: white;
  transform: scale(1.1);
}

/* DataSheet Button */

.offcanvas-body .btn-datasheet a {
  text-decoration: none !important;
  color: var(--white) !important;

  &:hover {
    color: var(--text) !important;
  }
}

.btn-datasheet {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(45deg, var(--deep-gray), var(--black));
  color: var(--white);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.btn-datasheet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background: var(--white);
  color: var(--text);
}

.product-details p {
  padding: 6px 0;
  border-bottom: 1px solid #f1f1f1;
}

/* RFQ Form */
/* ---------- Stepper ---------- */
.rfq-stepper {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
  gap: 10px;
  /* tighter spacing between steps */
}

.step {
  text-align: center;
  flex: 1;
  min-width: 60px;
  /* smaller footprint */
}

.step .circle {
  width: 32px;
  /* reduced size */
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ddd;
  line-height: 28px;
  margin: auto;
  font-weight: 600;
  font-size: 14px;
  /* smaller text inside circle */
  transition: 0.3s ease;
}

.step span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  /* smaller label text */
  font-weight: 500;
  color: #2c3e50;
}

/* Completed */
.step.completed .circle {
  background: #6c757d;
  color: #fff;
  border-color: #6c757d;
}

/* Active */
.step.active .circle {
  background: #28a745;
  color: #fff;
  border-color: #28a745;
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
  /* softer glow */
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .rfq-stepper {
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
    gap: 15px;
  }

  .step {
    flex: none;
    width: 70px;
    /* consistent size on mobile */
  }

  .step span {
    font-size: 10px;
  }
}

/* ---------- Card ---------- */
.rfq-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.section-title {
  font-weight: 700;
  margin-bottom: 30px;
  color: #2c3e50;
  border-left: 4px solid #28a745;
  padding-left: 10px;
}

/* ---------- Sections ---------- */
.rfq-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.rfq-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Buttons ---------- */
.btn-next {
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 8px;
  background-color: var(--primary);
  color: var(--white);
}

.btn-next:hover {
  background-color: #1d5e68;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-next span {
  color: var(--white) !important;
}

.btn-outline-secondary {
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .rfq-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .step span {
    font-size: 11px;
  }
}

/* By Application */

.application-title {
  text-align: center;
}

.application-title h5 {
  color: #f59e0b;
  letter-spacing: 3px;
  font-weight: 400;
  margin-bottom: 10px;
}

.application-title h1 {
  font-weight: 700;
  margin-bottom: 15px;
}

.application-title p {
  color: #555;
  max-width: 750px;
  margin: 0 auto;
}

/* Card Design */
.app-card {
  position: relative;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Hover */
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* Glass Shine Effect */
.app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      transparent);
  transform: skewX(-25deg);
  transition: 0.8s;
}

.app-card:hover::before {
  left: 120%;
}

/* Image */
.app-img {
  border-radius: 14px;
  height: 170px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 14px;
  transition: transform 0.4s ease;
  display: block;
}

.app-card:hover .app-img {
  transform: scale(1.03);
}

/* Title */
.app-card h5 {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1f2937;
  margin: 0;
  letter-spacing: 0.3px;
}