/* ==========================================================================
   JAIBABA INTERLININGS — Global Stylesheet
   Premium B2B Manufacturing Design System
   ========================================================================== */

:root {
  --color-primary: #0F2747;
  --color-primary-light: #16375f;
  --color-primary-dark: #081627;
  --color-secondary: #C59D2A;
  --color-secondary-light: #dbb84a;
  --color-secondary-dark: #a17f1c;
  --color-bg: #F8F9FB;
  --color-bg-alt: #EFF2F6;
  --color-text: #222222;
  --color-text-muted: #5B6472;
  --color-white: #FFFFFF;
  --color-border: #E3E7ED;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1320px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 39, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 39, 71, 0.10);
  --shadow-lg: 0 25px 60px rgba(15, 39, 71, 0.16);
  --transition-base: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-weight: 700; }

p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

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

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

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

::selection {
  background: var(--color-secondary);
  color: var(--color-white);
}

.container-custom {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.bg-navy { background-color: var(--color-primary) !important; }
.bg-soft { background-color: var(--color-bg) !important; }
.bg-soft-alt { background-color: var(--color-bg-alt) !important; }
.text-gold { color: var(--color-secondary) !important; }
.text-navy { color: var(--color-primary) !important; }
.text-muted-custom { color: var(--color-text-muted) !important; }

section {
  position: relative;
  padding: 100px 0;
}

@media (max-width: 991.98px) {
  section { padding: 72px 0; }
}

@media (max-width: 575.98px) {
  section { padding: 56px 0; }
}

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

/* ==========================================================================
   Section Heading Pattern
   ========================================================================== */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--color-secondary);
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 680px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-center .section-eyebrow::before {
  display: none;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  border: none;
  margin: 20px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.btn-gold {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-gold:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-navy {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-navy:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light-custom {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  background: transparent;
}

.btn-outline-light-custom:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-outline-navy {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline-navy:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-sm-custom {
  padding: 10px 22px;
  font-size: 13px;
}

.btn-lg-custom {
  padding: 17px 42px;
  font-size: 15px;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-base);
}

.topbar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
}

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

.topbar .topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 8px;
  font-size: 13px;
}

.topbar .topbar-social a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.navbar-main {
  background: var(--color-white);
  padding: 18px 0;
  box-shadow: 0 1px 0 rgba(15, 39, 71, 0.06);
  transition: var(--transition-base);
}

.site-header.is-scrolled .navbar-main {
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

/*
 * .container-custom is our own class, not Bootstrap's .container — Bootstrap's
 * built-in navbar alignment rules are keyed to .navbar > .container, so they
 * never apply here. Without this, .navbar-brand / .navbar-toggler / .navbar-collapse
 * fall back to stacking as plain block/inline children instead of a flex row.
 */
.navbar-main .container-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-main .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-right: 0;
}

.navbar-main .navbar-brand img {
  height: 52px;
  width: auto;
  transition: var(--transition-base);
}

.site-header.is-scrolled .navbar-main .navbar-brand img {
  height: 44px;
}

.navbar-main .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--color-primary);
  padding: 10px 18px !important;
  position: relative;
}

.navbar-main .nav-item.active .nav-link,
.navbar-main .nav-link:hover {
  color: var(--color-secondary);
}

.navbar-main .nav-item.dropdown .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 6px;
}

.navbar-main .dropdown-menu .dropdown-item {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.navbar-main .dropdown-menu .dropdown-item:hover {
  background: var(--color-bg);
  color: var(--color-secondary);
}

.navbar-main .btn-enquire {
  margin-left: 10px;
}

body.header-fixed-offset {
  padding-top: 116px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8,22,39,0.92) 10%, rgba(15,39,71,0.82) 45%, rgba(15,39,71,0.55) 100%);
  z-index: 1;
}

.hero .container-custom {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary-light);
  background: rgba(197, 157, 42, 0.12);
  border: 1px solid rgba(197, 157, 42, 0.35);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--color-white);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--color-secondary);
}

.hero p.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-strip {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-stats-strip .stat-num {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-white);
}

.hero-stats-strip .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.hero-scroll-cue i {
  display: block;
  margin: 8px auto 0;
  animation: scrollBounce 2s infinite;
}

/* Page (interior) hero — shorter than homepage hero */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8,22,39,0.93) 20%, rgba(15,39,71,0.78) 100%);
  z-index: 1;
}

.page-hero .container-custom {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  max-width: 620px;
}

/* Breadcrumb */
.breadcrumb-bar {
  position: relative;
  z-index: 2;
  margin-top: 22px;
}

.breadcrumb-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.75);
}

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

.breadcrumb-custom .active {
  color: var(--color-secondary-light);
}

.breadcrumb-custom .sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Trust / Logo strip
   ========================================================================== */

.trust-strip {
  background: var(--color-white);
  padding: 30px 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  text-align: left;
}

.trust-strip .trust-item i {
  font-size: 28px;
  color: var(--color-secondary);
}

.trust-strip .trust-item .trust-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14.5px;
}

.trust-strip .trust-item .trust-sub {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-custom {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Product / category card */
.product-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-card .product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card .product-body {
  padding: 26px;
}

.product-card .product-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-secondary-dark);
  background: rgba(197, 157, 42, 0.12);
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14.5px;
  margin-bottom: 18px;
}

.product-card .product-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-card .product-link i {
  transition: var(--transition-base);
}

.product-card:hover .product-link i {
  transform: translateX(5px);
}

.product-card .product-link:hover {
  color: var(--color-secondary);
}

/* Value / feature card */
.value-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  height: 100%;
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.value-card .value-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: var(--transition-base);
}

.value-card:hover .value-icon {
  background: var(--color-secondary);
  color: var(--color-white);
}

.value-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* Stat / counter card */
.stat-card {
  text-align: center;
  padding: 20px;
}

.stat-card .stat-icon {
  font-size: 30px;
  color: var(--color-secondary);
  margin-bottom: 14px;
}

.stat-card .counter {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-card .stat-suffix {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-card .stat-caption {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Process / workflow step card */
.step-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  border: 1px solid var(--color-border);
  height: 100%;
  transition: var(--transition-base);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.step-card .step-num {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  color: var(--color-bg-alt);
  -webkit-text-stroke: 1px var(--color-border);
  line-height: 1;
  margin-bottom: 18px;
}

.step-card .step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(197, 157, 42, 0.12);
  color: var(--color-secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
}

/* Testimonial card */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px;
  border: 1px solid var(--color-border);
  height: 100%;
}

.testimonial-card .quote-icon {
  color: var(--color-secondary);
  font-size: 26px;
  margin-bottom: 18px;
  opacity: 0.6;
}

.testimonial-card p.quote-text {
  color: var(--color-text);
  font-size: 15.5px;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-author .author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-primary);
}

.testimonial-author .author-role {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.testimonial-card .stars {
  color: var(--color-secondary);
  font-size: 13px;
  margin-bottom: 12px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(197,157,42,0.18) 0%, transparent 70%);
  top: -160px;
  right: -120px;
}

.cta-section h2 {
  color: var(--color-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-wrap {
  padding: 64px;
  position: relative;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .cta-wrap { padding: 40px 28px; }
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter-bar {
  background: var(--color-bg-alt);
  padding: 46px 0;
  border-top: 1px solid var(--color-border);
}

.newsletter-bar h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.newsletter-bar .form-control {
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-accordion .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--color-primary);
  padding: 22px 26px;
  background: var(--color-white);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-secondary-dark);
  background: var(--color-bg);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-border);
}

.faq-accordion .accordion-button::after {
  background-size: 16px;
}

.faq-accordion .accordion-body {
  padding: 4px 26px 26px;
  font-size: 14.5px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 80px;
}

.site-footer h5 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 22px;
}

.site-footer .footer-about .footer-logo-badge {
  display: inline-block;
  background: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  line-height: 0;
}

.site-footer .footer-about .footer-logo-badge img {
  height: 44px;
  width: auto;
  display: block;
}

.site-footer .footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  margin-right: 8px;
  transition: var(--transition-base);
}

.site-footer .footer-social a:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
}

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

.site-footer ul li {
  margin-bottom: 13px;
}

.site-footer ul li a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
  transition: var(--transition-base);
}

.site-footer ul li a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.site-footer .footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer .footer-contact li i {
  color: var(--color-secondary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 56px;
  padding: 24px 0;
  font-size: 13.5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   Floating Buttons
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  animation: pulseGlow 2.4s infinite;
}

.whatsapp-float:hover {
  color: var(--color-white);
  transform: scale(1.08);
}

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
  border: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control-custom,
.form-select-custom {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14.5px;
  background: var(--color-white);
  width: 100%;
  transition: var(--transition-base);
}

.form-control-custom:focus,
.form-select-custom:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(197, 157, 42, 0.14);
}

.form-label-custom {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

.form-label-custom .req {
  color: var(--color-secondary-dark);
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 130px;
}

.form-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 46px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

@media (max-width: 767.98px) {
  .form-box { padding: 28px; }
}

#formAlert {
  display: none;
}

/* ==========================================================================
   Contact Cards
   ========================================================================== */

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  border: 1px solid var(--color-border);
  height: 100%;
  text-align: center;
  transition: var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-info-card .contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
}

.contact-info-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  border: 1px solid var(--color-border);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(20%);
}

/* ==========================================================================
   Timeline (About page)
   ========================================================================== */

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-secondary);
}

.timeline-item .timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary-dark);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14.5px;
}

/* ==========================================================================
   Specifications Table
   ========================================================================== */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.spec-table th,
.spec-table td {
  padding: 16px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.spec-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background: var(--color-bg);
}

.table-responsive-custom {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table th, .compare-table td {
  padding: 18px 20px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.compare-table td:first-child, .compare-table th:first-child {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
}

.compare-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 13.5px;
}

.compare-table thead th:first-child {
  color: var(--color-white);
}

.compare-table i.fa-check-circle { color: #2e9c5e; }
.compare-table i.fa-times-circle { color: #cf3d3d; }

/* ==========================================================================
   Badges / Pills
   ========================================================================== */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-primary);
}

.pill i {
  color: var(--color-secondary);
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--color-text);
}

.check-list li i {
  color: var(--color-secondary);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(8,22,39,0.85) 0%, transparent 100%);
  color: var(--color-white);
  padding: 40px 20px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */

.product-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-mini {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-mini:last-child {
  border-bottom: none;
}

.feature-mini.flex-column {
  align-items: center;
}

.feature-mini .feature-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197,157,42,0.12);
  color: var(--color-secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-mini h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.feature-mini p {
  font-size: 14px;
  margin-bottom: 0;
}

.variant-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  height: 100%;
  transition: var(--transition-base);
}

.variant-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
}

.variant-card .variant-swatch {
  width: 100%;
  height: 90px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  object-fit: cover;
}

.variant-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.variant-card p {
  font-size: 13px;
  margin-bottom: 0;
}

/* ==========================================================================
   Buying Guide steps
   ========================================================================== */

.guide-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.guide-step .guide-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.guide-step p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ==========================================================================
   Misc utility
   ========================================================================== */

.rounded-custom { border-radius: var(--radius-md); }
.shadow-custom { box-shadow: var(--shadow-md); }
.overlay-dark-img { position: relative; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.badge-experience {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-experience .num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.badge-experience .lbl {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

