:root {
  /* ======= Option 3 — Navy + Orange + Off-White ======= */
  --primary: #0D1B2A;         /* deep navy */
  --primary-dark: #09111D;
  --secondary: #FCA311;       /* bright industrial orange */
  --secondary-hover: #FFB703; /* lighter orange hover */
  --bg: #E5E5E5;              /* off-white background */
  --surface: #FFFFFF;         /* cards/surfaces */
  --muted: #C5C6C7;           /* light gray borders */
  --text: #14213D;            /* main text */
  --on-primary: #FFFFFF;      /* text on dark areas */
  --highlight: #FCA311;
  --shadow: 0 12px 30px rgba(13, 27, 42, 0.1);
  --radius: 12px;
  --card-padding: 1.25rem;
}

/* ===================== GLOBAL RESET ===================== */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.body{
    overflow: hidden;
}

img, picture, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.filters {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filters .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filters .btn {
  white-space: normal;
  min-width: 100px;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

/* ===================== NAVBAR ===================== */
.navbar {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark)) !important;
  color: var(--on-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar .navbar-brand {
  color: var(--on-primary);
  font-weight: 700;
}
.navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  transition: color 0.25s ease;
}
.navbar .nav-link:hover {
  color: var(--highlight) !important;
}
.navbar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--on-primary);
}
/* Nested dropdown support */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* ===================== MEGA MENU ===================== */
.dropdown-submenu.mega-submenu {
    position: relative;       /* anchor beside the parent item */
}

.dropdown-submenu.mega-submenu > .dropdown-menu.mega-menu {
    top: 0;
    left: 100%;               /* fly out to the right */
    right: auto;
    min-width: 640px;
    max-width: 780px;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 12px 16px;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
    margin-top: 0;
    margin-left: 2px;
}

.dropdown-submenu.mega-submenu:hover > .dropdown-menu.mega-menu {
    display: flex;
}

.mega-col {
    flex: 1 1 150px;
    min-width: 140px;
    padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,0.07);
}

.mega-col:last-child {
    border-right: none;
}

.mega-col-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary, #FCA311);
    padding: 2px 8px 8px;
    display: block;
    white-space: nowrap;
}

.mega-col .dropdown-item {
    font-size: 0.82rem;
    padding: 5px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.mega-col .dropdown-item:hover {
    background: rgba(252,163,17,0.12);
    color: var(--secondary, #FCA311);
}

@media (max-width: 992px) {
    .dropdown-submenu.mega-submenu > .dropdown-menu.mega-menu {
        position: static;
        left: 0;
        top: 0;
        flex-direction: column;
        min-width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 8px 0;
    }
    .mega-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        padding-bottom: 8px;
        margin-bottom: 4px;
        flex: none;
        min-width: 100%;
    }
    .mega-col:last-child { border-bottom: none; }
}

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(180deg, rgba(13, 27, 42, 1), rgba(20, 33, 61, 0.95));
  color: var(--on-primary);
  padding: 5rem 0;
}
.hero h1 {
    font-size:64px;
    line-height:1.02;
    margin:0 0 18px; color:var(--on-primary);
    font-weight:800;
    letter-spacing:-1px;
    text-shadow: 0 6px 20px rgba(2,6,10,0.6);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.badge-gold { display:inline-block; padding:12px 18px; border-radius:10px; font-weight:700; font-size:.95rem; }
.badge-gold { background:var(--secondary); color:#0b0b0b; box-shadow: 0 10px 28px rgba(252,163,17,0.12); }


/* ===================== BUTTONS ===================== */
.btn-primary {
  background: var(--secondary);
  color: var(--text);
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(252, 163, 17, 0.25);
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(252, 163, 17, 0.35);
}
.btn-outline-accent {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: all 0.25s ease;
}
.btn-outline-accent:hover {
  background: var(--secondary);
  color: var(--text);
}
.about-learn-more {
  background: var(--primary);
  color: var(--on-primary);
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.about-learn-more:hover,
.about-learn-more:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(252, 163, 17, 0.28);
}
.btn-catalog {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}
.btn-catalog:hover {
  background: #ffffff;
  color: #101827;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}
.enquire{
  border-radius: 25px;
}
.enquire:hover{
    background: var(--secondary-hover);
    color: #09111D;

}
/* ===================== CARDS ===================== */
.card {
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.15);
}
.card h5,
.card h4 {
  color: var(--text);
  font-weight: 600;
}
.card p {
  color: #444;
}

/* ===================== PRODUCT CARDS ===================== */
.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.product-card:hover img {
  filter: brightness(0.95);
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* ===================== FILTER BUTTONS ===================== */
.filters .btn {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.filters .btn.active {
  background: var(--secondary);
  color: var(--text);
  border: none;
  box-shadow: 0 8px 20px rgba(252, 163, 17, 0.25);
}
.filters .btn:hover {
  background: var(--secondary-hover);
  color: var(--text);
}
/* ===================== APPLICATIONS SECTION ===================== */

.applications-section {
  background: var(--bg);
}

.app-main-tabs,
.app-sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.app-main-btn,
.app-sub-btn {
  border: 1px solid var(--muted);
  background: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.app-main-btn.active,
.app-sub-btn.active {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
  box-shadow: 0 6px 18px rgba(252, 163, 17, 0.25);
}

.app-main-btn:hover,
.app-sub-btn:hover {
  background: var(--secondary-hover);
}

.application-product {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.application-product img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.application-product h6 {
  padding: 12px;
  margin: 0;
  font-weight: 600;
}

.application-product:hover {
  transform: translateY(-4px);
}
/* ===================== APPLICATION SUB CATEGORIES ===================== */

.app-sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2rem;
}

.app-sub-btn {
  background: transparent;
  border: 1px dashed var(--muted);
  color: var(--text);
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.85;
}

.app-sub-btn:hover {
  background: rgba(252, 163, 17, 0.1);
  border-color: var(--secondary);
  opacity: 1;
}

.app-sub-btn.active {
  background: rgba(252, 163, 17, 0.15);
  border-color: var(--secondary);
  color: var(--secondary);
  font-weight: 600;
  opacity: 1;
}

/* ===================== OEM SERVICES SECTION ===================== */
.oem-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.oem-card {
  text-align: center;
  background: var(--surface);
  border-radius: 14px;
  padding: 2rem 1.2rem;
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.oem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.15);
}

.oem-card .card-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.oem-card:hover .card-icon {
  transform: scale(1.15);
}

.oem-card .card-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.oem-card .card-text {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .oem-card {
    padding: 1.5rem 1rem;
  }
}


/* ===================== CAPABILITIES SECTION ===================== */
.capabilities-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.capability-card {
  border: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.capability-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.capability-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.capability-card .card-title {
  font-weight: 700;
  color: var(--primary);
}

.capability-card .card-text {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .capability-card img {
    height: 180px;
  }
}
/* ===================== GLOBAL PRESENCE =====================  */
#global-presence {
  background-color: #f8f9fb;
}

#global-presence h2 {
  color: #0b1c2d;
}

#global-presence .lead {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}

/*  */

/* Industries Section */
.industries-section{
  margin-top:40px;
}

.industry-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.industry-card{
  position:relative;
  height:260px;
  background-size:cover;
  background-position:center;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  text-decoration:none;
  color:white;
  transition:transform 0.3s ease;
}

.industry-card:hover{
transform:scale(1.03);
}

.industry-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.3),
    transparent
  );
}

.industry-overlay{
  position:relative;
  padding:20px;
  z-index:2;
}

.industry-overlay h3{
  margin-bottom:8px;
  font-weight:600;
}

.industry-overlay p{
  line-height:1.4;
}

/* ===================== FORMS ===================== */
input,
textarea,
select {
  border: 1px solid var(--muted);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: var(--surface);
  color: var(--text);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.2);
}
.form-label {
  color: var(--text);
  font-weight: 600;
}

/* ===================== MODALS ===================== */
.modal-content {
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===================== FOOTER ===================== */
footer {
  background: linear-gradient(180deg, rgba(20, 33, 61, 1), rgba(13, 27, 42, 1));
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
  text-align: center;
}
footer a {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 8px;
  transition: color 0.3s ease;
}
footer a:hover {
  color: var(--secondary);
}

/* ===================== UTILITIES ===================== */
.text-muted-weak {
  color: #707a88;
}
.small-muted {
  color: #6c7480;
  font-size: 0.9rem;
}
.accent-pill {
  background: var(--secondary);
  color: var(--text);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: calc(100% - 2rem);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.cookie-banner.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner.cookie-banner--closing {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(9, 17, 29, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: var(--on-primary);
}

.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-word;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-cookie-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  text-decoration: underline;
}

.footer-cookie-link:hover {
  color: var(--secondary-hover);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .hero {
    padding: 3.5rem 1.25rem;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
  }
  .hero p {
    max-width: 38rem;
  }
  .hero .card.product-card {
    margin-top: 1.5rem;
  }
  .dropdown-submenu > .dropdown-menu {
    position: static;
    left: 0;
    top: 0;
    margin: 0.25rem 0 0;
    width: 100%;
  }
  .app-main-tabs,
  .app-sub-tabs {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 1rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    max-width: 100%;
  }
  .d-flex.gap-3,
  .d-flex.gap-4,
  .d-flex.gap-2 {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .product-card img,
  .capability-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .oem-card,
  .capability-card,
  .application-product,
  .card {
    min-width: 0;
  }
  .filters .btn {
    min-width: 100px;
  }
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .cookie-banner__content {
    align-items: flex-start;
    padding: 1rem;
  }
  .cookie-banner__actions {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .cookie-banner {
    max-width: calc(100% - 1rem);
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }
  .cookie-banner__text {
    font-size: 0.9rem;
  }
  .cookie-banner__actions {
    justify-content: flex-end;
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 140px;
    min-width: 0;
  }
}
