/* ============================================
   Joyshine Machinery - Complete Stylesheet
   Bootstrap 4.6.x + Custom Styles
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #1a3a5c;
  --primary-hover: #0f2a44;
  --accent: #e87722;
  --accent-hover: #cc6618;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --text: #333333;
  --text-secondary: #666666;
  --text-light: #888888;
  --border: #e0e0e0;
  --success: #28a745;
  --overlay: rgba(0,0,0,0.55);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: all 0.3s ease;
}

/* ---- Global Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary);
  height: 42px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  position: relative;
  z-index: 1010;
}
.top-bar a { color: #fff; opacity: 0.9; text-decoration: none; }
.top-bar a:hover { opacity: 1; color: #fff; }
.top-bar i { margin-left: 6px; }

/* Top Bar Buttons */
.top-bar .btn-quote,
.top-bar .btn-quote-sm {
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.top-bar .btn-quote:hover,
.top-bar .btn-quote-sm:hover { background: var(--accent-hover); color: #fff; }

/* Top Bar Dropdown - Language Switcher */
.top-bar-dropdown { position: relative; }
.top-bar-dropdown .dropdown-toggle {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.top-bar-dropdown .dropdown-toggle::after {
  border-top-color: #fff;
  margin-right: 6px;
  vertical-align: middle;
}
.top-bar-dropdown .dropdown-menu {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  margin-top: 8px;
  min-width: 140px;
  border-top: 3px solid var(--accent);
  z-index: 1011;
}
.top-bar-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-bottom: 8px solid var(--accent);
}
.top-bar-dropdown .dropdown-item {
  color: var(--text);
  font-size: 13px;
  padding: 8px 18px;
  font-family: 'Roboto', sans-serif;
  transition: var(--transition);
}
.top-bar-dropdown .dropdown-item:hover {
  background: var(--bg-alt);
  color: var(--accent);
}
.top-bar-dropdown .dropdown-item.active {
  background: var(--bg-alt);
  color: var(--accent);
  font-weight: 500;
}
.top-bar-dropdown .dropdown-item.active::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  float: left;
  font-size: 11px;
}

/* Top Bar Link */
.top-bar-link {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.top-bar-link:hover { color: var(--accent); text-decoration: none; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header,
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.site-header.scrolled,
.main-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.navbar { padding: 0; }

/* Brand / Logo */
.navbar-brand {
  padding: 10px 0;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary) !important;
  font-family: 'Montserrat', sans-serif;
}
.navbar-brand .brand-joy,
.navbar-brand span { color: var(--accent); }
.navbar-brand .brand-shine { color: var(--primary); }

/* Nav Links */
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary) !important;
  padding: 25px 14px !important;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 18px;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Mobile Toggler */
.navbar-toggler {
  border: 1px solid var(--border);
  padding: 8px 12px;
  color: var(--primary);
  font-size: 16px;
}
.navbar-toggler:focus { outline: none; box-shadow: none; }

/* ============================================
   MEGA MENU
   ============================================ */
.mega-dropdown { position: static !important; }
.mega-dropdown .dropdown-toggle::after {
  border-top-color: var(--primary);
  margin-right: 6px;
  transition: transform 0.3s;
}
.mega-dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }

/* Desktop: hover to show mega menu */
@media (min-width: 992px) {
  .mega-menu {
    width: 100%;
    right: 0;
    left: 0;
    border: none;
    border-radius: 0;
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
    padding: 30px 0;
    margin-top: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }
  .mega-dropdown:hover .mega-menu,
  .mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mega-dropdown:hover .dropdown-toggle,
  .mega-dropdown .dropdown-toggle:hover {
    color: var(--accent) !important;
  }
  /* Prevent Bootstrap JS from interfering on desktop */
  .mega-dropdown .dropdown-toggle[data-toggle="dropdown"] {
    pointer-events: none; /* Let hover work, not click */
  }
  .mega-dropdown .dropdown-toggle[data-toggle="dropdown"]::after {
    pointer-events: auto;
  }
}
.mega-menu .container { max-width: 1200px; }

.mega-menu-col { padding: 0 20px; }
.mega-menu-col + .mega-menu-col { border-right: 1px solid var(--border); }

.mega-menu-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.mega-menu-item {
  display: flex !important;
  align-items: center;
  padding: 8px 0;
  color: var(--text-secondary) !important;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none !important;
}
.mega-menu-item i {
  width: 24px;
  color: var(--accent);
  font-size: 13px;
  margin-left: 8px;
}
.mega-menu-item:hover {
  color: var(--accent) !important;
  padding-right: 5px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Primary CTA - Orange */
.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary-custom:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* Outline Orange */
.btn-outline-custom {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline-custom:hover {
  background: var(--accent);
  color: #fff;
}

/* Outline White (for Hero/CTA sections) */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* White Button */
.btn-white {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}

/* Small / Large */
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 15px; }

/* WhatsApp Button */
.btn-whatsapp,
.btn-outline-whatsapp {
  background: #25d366;
  color: #fff;
  border: 2px solid #25d366;
}
.btn-whatsapp:hover,
.btn-outline-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.88) 0%, rgba(26,58,92,0.70) 50%, rgba(26,58,92,0.50) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 140px 0 100px;
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}
.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 700px;
  line-height: 1.7;
  color: #fff;
  margin-right: auto;
  margin-left: auto;
}

/* Hero Buttons */
.hero-buttons { margin-bottom: 60px; }
.hero-buttons .btn { margin: 0 8px 10px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat-item { text-align: center; }
.hero-stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 100px 0 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
}
.page-hero h1 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 15px;
  font-weight: 700;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  max-width: 600px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
  background: var(--bg-alt);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-section .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.breadcrumb-section .breadcrumb-item a { color: var(--primary); }
.breadcrumb-section .breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-section .breadcrumb-item.active { color: var(--text-secondary); }
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-light);
}

/* Dark breadcrumb (on dark backgrounds) */
.page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 20px;
}
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item a:hover { color: var(--accent); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ============================================
   SECTIONS
   ============================================ */
.section-padding { padding: 80px 0; }
.section-bg { background: var(--bg-alt); }
.section-header { margin-bottom: 50px; }
.section-header.text-center,
.section-header.center { text-align: center; }
.section-subtitle {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 700px;
}
.section-header.text-center .section-desc,
.section-header.center .section-desc { margin-right: auto; margin-left: auto; }

/* ============================================
   CARDS
   ============================================ */
.card-custom {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}
.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.card-img,
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.card-img img,
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-custom:hover .card-img img,
.card-custom:hover .card-img-wrapper img { transform: scale(1.08); }
.card-body { padding: 25px; }
.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
}
.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

/* ============================================
   ICON BOX
   ============================================ */
.icon-box {
  text-align: center;
  padding: 35px 25px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}
.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.icon-box-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
}
.icon-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}
.icon-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   PROCESS FLOW
   ============================================ */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.process-step {
  text-align: center;
  flex: 0 0 auto;
}
.process-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(26,58,92,0.3);
}
.process-step h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}
/* Process step icon (for index.html Turnkey Solutions) */
.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(26,58,92,0.3);
}
.process-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}
.process-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 0; }

.process-arrow {
  font-size: 24px;
  color: var(--accent);
  margin: 0 15px;
  align-self: flex-start;
  padding-top: 25px;
}

/* Horizontal Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  right: 10%;
  left: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.step-number {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(26,58,92,0.3);
}
.step-item h5 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.step-item p { font-size: 12px; color: var(--text-secondary); margin-bottom: 0; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item,
.faq-section .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  background: #fff;
  border: none;
  width: 100%;
  text-align: right;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question i { transition: transform 0.3s ease; color: var(--accent); }
.faq-question.collapsed i { transform: rotate(0deg); }
.faq-question:not(.collapsed) i { transform: rotate(180deg); }
.faq-answer,
.faq-answer-content {
  padding: 0 25px 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   CTA BANNER v2 - REDESIGNED
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2240 50%, var(--primary-hover) 100%);
  padding: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,119,34,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .container {
  position: relative;
  z-index: 2;
  padding: 80px 15px;
}
.cta-banner h2,
.cta-banner .cta-title {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}
.cta-banner p,
.cta-banner .cta-subtitle {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.6;
}

/* CTA highlight text */
.cta-highlight {
  color: var(--accent);
  font-weight: 700;
}

/* CTA Buttons */
.cta-banner .btn {
  margin: 5px;
  min-width: 180px;
}
.cta-banner .btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

/* CTA decorative icons */
.cta-deco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(232,119,34,0.15);
  border: 2px solid rgba(232,119,34,0.3);
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 20px;
}

/* ============================================
   FOOTER v2 - REDESIGNED
   ============================================ */
.site-footer,
.main-footer,
.footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
}
.site-footer .footer-main {
  padding: 60px 0 40px;
}

/* Footer Logo */
.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

/* Footer column headers */
.site-footer h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', sans-serif;
}

/* Company description */
.footer-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Footer Links - with chevron */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0; }
.footer-links li a {
  display: block;
  padding: 7px 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-links li a i {
  margin-left: 8px;
  font-size: 10px;
  color: var(--accent);
  transition: var(--transition);
}
.footer-links li a:hover {
  color: #fff;
  padding-right: 5px;
}
.footer-links li a:hover i {
  color: #fff;
}

/* Footer Contact */
.footer-contact-info { margin-top: 0; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item i {
  margin-left: 12px;
  margin-top: 3px;
  color: var(--accent);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social .social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social .social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  background: var(--primary-hover);
  padding: 18px 0;
}
.footer-bottom-bar p {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  margin: 0;
}
.footer-bottom-bar a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-bar a:hover { color: var(--accent); }

.footer-widget h4,
.footer-links h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-widget p,
.footer-desc { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; }
.footer-widget a,
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
  font-size: 14px;
  transition: var(--transition);
}
.footer-widget a:hover,
.footer-links a:hover { color: var(--accent); padding-right: 5px; text-decoration: none; }
.footer-widget i,
.footer-links i { margin-left: 10px; width: 16px; color: var(--accent); }

/* Footer Brand */
.footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}
.footer-brand span { color: var(--accent); }

/* Footer Contact */
.footer-contact-item,
.footer-contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.footer-contact-item i,
.footer-contact-info i { margin-top: 3px; margin-left: 10px; color: var(--accent); width: 16px; }
.footer-contact-item span,
.footer-contact-item a,
.footer-contact-info span { color: rgba(255,255,255,0.7); font-size: 14px; }

/* Footer Logo */
.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}
.footer-logo span { color: var(--accent); }

/* Footer Bottom */
.footer-bottom,
.copyright {
  background: var(--primary-hover);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}
.footer-bottom p,
.footer-bottom span,
.copyright p { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; }

/* ---- Footer Title (for index.html) ---- */
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Footer Contact List (for index.html) ---- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-list li i {
  margin-left: 10px;
  margin-top: 3px;
  color: var(--accent);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.footer-contact-list li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.footer-contact-list li a:hover { color: var(--accent); }

/* ---- Footer Links with chevron (for index.html) ---- */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0; }
.footer-links li a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}
.footer-links li a i {
  margin-left: 8px;
  font-size: 10px;
  color: var(--accent);
}
.footer-links li a:hover {
  color: var(--accent);
  padding-right: 5px;
}

/* ---- Footer Newsletter (for index.html) ---- */
.footer-newsletter-text {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}
.footer-newsletter-form .input-group { margin-top: 15px; }
.footer-newsletter-form .form-control {
  border: none;
  font-size: 14px;
  padding: 12px 15px;
  border-radius: var(--radius) 0 0 var(--radius) !important;
}
.btn-subscribe {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  cursor: pointer;
  transition: var(--transition);
}
.btn-subscribe:hover { background: var(--accent-hover); }

/* ---- Footer Social Links ---- */
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ---- Footer Bottom Links ---- */
.footer-bottom-link {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-right: 20px;
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-link:hover { color: var(--accent); }

/* ============================================
   SIDEBAR COMPONENTS (Why Choose / Quick Contact)
   ============================================ */
.sidebar-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 25px;
}
.sidebar-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  font-family: 'Montserrat', sans-serif;
}

/* Quick Contact Item */
.quick-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.quick-contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.quick-contact-item i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  font-size: 18px;
  color: var(--accent);
  text-align: center;
  line-height: 42px;
}
.quick-contact-item small {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.quick-contact-item p {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 0;
  font-weight: 500;
}
.quick-contact-item p a {
  color: var(--primary);
  text-decoration: none;
}
.quick-contact-item p a:hover { color: var(--accent); }

/* ============================================
   WHATSAPP CTA SECTION
   ============================================ */
.whatsapp-cta-section {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  padding: 60px 0;
  color: #fff;
}
.whatsapp-cta-content {
  display: flex;
  align-items: center;
  gap: 25px;
}
.whatsapp-cta-content > i {
  font-size: 64px;
  color: #fff;
  flex-shrink: 0;
}
.whatsapp-cta-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.whatsapp-cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}
.btn-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #25d366;
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-whatsapp-btn:hover {
  background: transparent;
  color: #fff;
  text-decoration: none;
}
.btn-whatsapp-btn i { font-size: 20px; }

/* WhatsApp CTA right column - ensure white text on green bg */
.whatsapp-cta-section a:not(.btn) {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.whatsapp-cta-section a:not(.btn):hover { color: rgba(255,255,255,0.85); }
.whatsapp-note {
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  font-size: 13px;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section { padding: 80px 0; }
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
}
.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e8eef4 0%, #dce4ed 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.map-placeholder i {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 15px;
}
.map-placeholder p {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

/* ============================================
   FOOTER FIXES
   ============================================ */
/* Footer contact info - vertical layout override */
.footer-widget .footer-contact-info,
.footer-widget > .footer-contact-info {
  display: block !important;
  margin-top: 20px;
}
.footer-widget .footer-contact-item,
.footer-widget > .footer-contact-info .footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-widget .footer-contact-item:last-child {
  margin-bottom: 0;
}

/* Social links in footer bottom */
.social-links {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.mobile-bar-item {
  flex: 1;
  text-align: center;
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-bar-item i {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
}
.mobile-bar-item:hover { color: var(--accent); }

/* ============================================
   NAV SEARCH BOX
   ============================================ */
.nav-search-form {
  position: relative;
  margin-right: 15px;
}
.nav-search-form .form-control {
  width: 180px;
  height: 38px;
  padding: 8px 35px 8px 15px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-alt);
  transition: var(--transition);
}
.nav-search-form .form-control:focus {
  width: 220px;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(232,119,34,0.15);
}
.nav-search-form .btn-search {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.nav-search-form .btn-search:hover { color: var(--accent); }

/* Logo image in navbar */
.logo-img {
  height: 45px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ============================================
   BLOG HERO (blog-detail.html)
   ============================================ */
.blog-hero {
  position: relative;
  padding: 120px 0 60px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.92) 0%, rgba(26,58,92,0.75) 100%);
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}
.blog-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 14px;
}
.blog-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.blog-hero .breadcrumb-item a:hover { color: var(--accent); }
.blog-hero .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.blog-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.article-meta .meta-item i { margin-left: 5px; color: var(--accent); }
.article-meta .meta-divider { color: rgba(255,255,255,0.3); }

/* ============================================
   ARTICLE CONTENT (blog-detail.html)
   ============================================ */
.article-content { max-width: 900px; margin: 0 auto; }
.article-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
.article-featured-img img { width: 100%; height: auto; }
.article-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-body .lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin-bottom: 20px; padding-right: 25px; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; }
.article-body table { margin: 20px 0; }
.article-body .table-responsive { margin: 25px 0; }
.article-body thead.thead-dark th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.article-share { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.article-share h5 { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 15px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.share-buttons .btn { font-size: 13px; padding: 8px 16px; }

/* ============================================
   SIDEBAR (blog.html only)
   ============================================ */
.blog-sidebar { padding-right: 20px; }
.sidebar-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 25px;
}
.sidebar-box h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  font-family: 'Montserrat', sans-serif;
}
.sidebar-categories { list-style: none; padding: 0; margin: 0; }
.sidebar-categories li { margin-bottom: 0; }
.sidebar-categories li a {
  display: block;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.sidebar-categories li a i { margin-left: 8px; font-size: 10px; color: var(--accent); }
.sidebar-categories li a:hover { color: var(--accent); padding-right: 5px; }
.sidebar-categories .cat-count { float: left; color: var(--text-light); font-size: 13px; }
.sidebar-article-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.sidebar-article-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-article-item { text-decoration: none; transition: var(--transition); }
.sidebar-article-item:hover .sidebar-article-title { color: var(--accent); }

/* ============================================
   PROJECT STATS
   ============================================ */
.project-stats-section { padding: 60px 0; }
.project-stats-section .icon-box h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  margin: 10px 0 5px;
}
.project-stats-section .icon-box p {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   BLOG COMPONENTS
   ============================================ */
.link-view {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.link-view i { margin-right: 5px; transition: var(--transition); }
.link-view:hover { color: var(--accent-hover); }
.link-view:hover i { transform: translateX(5px); }

/* ============================================
   FLOATING WHATSAPP (index.html uses float-whatsapp)
   ============================================ */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  text-decoration: none;
  transition: var(--transition);
}
.float-whatsapp:hover {
  color: #fff;
  background: #1da851;
  transform: scale(1.1);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  text-decoration: none;
}
.whatsapp-float a:hover { color: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9998;
  border: none;
  font-size: 16px;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: #fff; }

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 9999;
  padding: 8px 0;
  justify-content: space-around;
}
.mobile-bottom-bar a {
  flex: 1;
  text-align: center;
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-bottom-bar a i {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
}
.mobile-bottom-bar a.whatsapp { color: #25d366; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-hero-section {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #eef0f4 100%);
  padding: 60px 0;
}
.product-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-hero-img img { width: 100%; height: auto; }

/* Quick Quote Form */
.quick-quote-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.quick-quote-form h4 { font-size: 18px; margin-bottom: 20px; color: var(--primary); }
.key-point { display: flex; align-items: center; margin-bottom: 10px; }
.key-point i { color: var(--accent); margin-left: 10px; font-size: 14px; }
.key-point span { font-size: 14px; }

/* ============================================
   FACTORY STRENGTH (index.html)
   ============================================ */
.factory-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.factory-content { padding-right: 20px; }
.factory-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.factory-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.factory-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  font-size: 20px;
  color: #fff;
}
.factory-text h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary);
}
.factory-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   PARAMETER TABLE
   ============================================ */
.param-table {
  width: 100%;
  border-collapse: collapse;
}
.param-table th, .param-table td {
  padding: 14px 20px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.param-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.param-table tr:nth-child(even) { background: var(--bg-alt); }

/* ============================================
   CAPACITY CARDS
   ============================================ */
.capacity-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.capacity-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.capacity-card h4 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.capacity-range {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.capacity-card p { font-size: 14px; color: var(--text-secondary); }

/* ============================================
   PROJECT CARDS
   ============================================ */
/* ============================================
   PROJECT CARD - index.html variant
   ============================================ */
.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img { transform: scale(1.08); }

.project-body {
  padding: 25px;
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.project-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.4;
}
.project-capacity {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}
.project-capacity i { color: var(--accent); margin-left: 6px; }

/* project-card used in other pages */
.project-card .card-img,
.project-card .card-img-wrapper { height: 250px; position: relative; }
.project-card .project-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}
.project-card .project-overlay h4 { color: #fff; font-size: 16px; margin-bottom: 5px; }
.project-card .project-overlay span { font-size: 13px; opacity: 0.9; }
.project-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs,
.filter-tabs-section .filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================
   CONTACT CARDS
   ============================================ */
.contact-cards-section { padding: 60px 0; }
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.contact-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--accent);
}
.contact-card h4 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.contact-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 15px; }

/* Contact info links */
.contact-info a { color: var(--accent); }
.contact-info a:hover { text-decoration: underline; }

/* ============================================
   FORMS
   ============================================ */
.form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 14px;
  transition: var(--transition);
  height: auto;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(232,119,34,0.15);
}
.form-control-file { padding: 10px 0; }
label {
  font-weight: 500;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-group { margin-bottom: 20px; }

/* ============================================
   VIDEO & BLOG SECTIONS
   ============================================ */
.video-section .video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-section .video-wrapper img { width: 100%; }
.video-play-btn {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(232,119,34,0.4);
  border: none;
}
.video-play-btn:hover {
  background: var(--accent-hover);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-play-btn::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(232,119,34,0.3);
  animation: ripple 2s infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Blog Cards */
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.blog-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--accent);
}
.blog-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}
.blog-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* ============================================
   FEATURES & APPLICATIONS
   ============================================ */
.checkmark-list { list-style: none; padding: 0; }
.checkmark-list li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text);
}
.checkmark-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--accent);
}

.application-list { list-style: none; padding: 0; }
.application-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.application-item:last-child { border-bottom: none; }
.app-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Machine cards */
.machine-card {
  text-align: center;
  padding: 25px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
  height: 100%;
}
.machine-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.machine-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 12px;
}
.machine-card h5 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.machine-card p { font-size: 13px; color: var(--text-secondary); margin: 0; }

/* Capacity icon */
.capacity-icon { font-size: 36px; color: var(--accent); margin-bottom: 12px; }

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto;
  border-radius: 2px;
}

/* Badge */
.badge-light {
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* WhatsApp CTA Section */
.whatsapp-cta-section {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  padding: 60px 0;
  color: #fff;
  text-align: center;
}
.whatsapp-cta-section i { font-size: 48px; margin-bottom: 15px; }
.whatsapp-cta-section h3 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.whatsapp-cta-section p { opacity: 0.9; margin-bottom: 20px; }

/* Sticky Contact Bar */
.sticky-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.12);
  z-index: 9997;
  padding: 10px 15px;
  gap: 10px;
}
.sticky-contact-bar .btn { flex: 1; padding: 12px; font-size: 13px; }

/* ============================================
   SOLUTIONS PAGE
   ============================================ */
.solution-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.solution-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.solution-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.solution-card h4 { font-size: 18px; margin-bottom: 10px; }
.solution-card p { font-size: 14px; color: var(--text-secondary); }

/* Pain point boxes */
.pain-point {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  border-right: 4px solid var(--accent);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.pain-point h5 { font-size: 16px; margin-bottom: 8px; }
.pain-point p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ============================================
   FACTORY PAGE
   ============================================ */
.factory-gallery img {
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.factory-gallery img:hover { transform: scale(1.03); }

.certificate-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.certificate-card i { font-size: 48px; color: var(--accent); margin-bottom: 15px; }
.certificate-card h5 { font-size: 16px; margin-bottom: 5px; }
.certificate-card p { font-size: 13px; color: var(--text-secondary); }

/* ============================================
   VIDEO MODAL / PLAYER
   ============================================ */
.video-modal .modal-dialog {
  max-width: 900px;
  margin: 30px auto;
}
.video-modal .modal-content {
  background: #000;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-modal .modal-header {
  border: none;
  padding: 10px 15px;
  background: #111;
}
.video-modal .modal-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.video-modal .close {
  color: #fff;
  opacity: 0.8;
  text-shadow: none;
  font-size: 24px;
  padding: 0;
  margin: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.video-modal .close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}
.video-modal .modal-body {
  padding: 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-modal .modal-body iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   VIDEOS PAGE
   ============================================ */
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  cursor: pointer;
}
.video-card img { width: 100%; height: 220px; object-fit: cover; }
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.video-card:hover .video-card-overlay { background: rgba(0,0,0,0.2); }
.video-card .play-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.video-card-title {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 100%;
}
.blog-post-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.blog-post-card .post-img { height: 200px; overflow: hidden; }
.blog-post-card .post-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-card .post-body { padding: 25px; }
.blog-post-card .post-category {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.blog-post-card h4 { font-size: 17px; margin-bottom: 10px; }
.blog-post-card p { font-size: 14px; color: var(--text-secondary); }
.blog-post-card .post-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 15px;
}

/* Blog sidebar */
.blog-sidebar .widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 25px;
}
.blog-sidebar .widget h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.blog-sidebar .widget a {
  display: block;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.blog-sidebar .widget a:hover { color: var(--accent); padding-right: 5px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.team-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.team-card .team-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 32px;
  color: var(--accent);
}
.team-card h5 { font-size: 16px; margin-bottom: 5px; }
.team-card p { font-size: 13px; color: var(--text-secondary); margin: 0; }

.timeline-item {
  position: relative;
  padding-right: 40px;
  padding-bottom: 30px;
  border-right: 3px solid var(--border);
}
.timeline-item::before {
  content: '';
  position: absolute;
  right: -9px;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item h5 { font-size: 16px; margin-bottom: 5px; }
.timeline-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .section-padding { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .hero-title { font-size: 36px; }
  .hero-stats { gap: 30px; }
  .process-arrow { display: none; }
  .process-flow { gap: 20px; }
  .process-step { flex: 0 0 30%; }
  .nav-link { padding: 12px 0 !important; }
  .nav-link::after { display: none; }
  .navbar-brand { font-size: 20px; }
  .process-steps::before { display: none; }
  .process-steps { flex-direction: column; gap: 20px; }
  .back-to-top { right: 30px; bottom: 80px; }
  .whatsapp-float { bottom: 80px; }

  /* Mobile mega menu as accordion */
  .mega-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    padding: 10px 0;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-top: 2px solid var(--accent);
    width: 100%;
    border-radius: 0;
    margin: 0;
    display: none;
    transition: none;
    pointer-events: auto;
  }
  .mega-menu.show { display: block !important; }
  .mega-menu-col { padding: 0 15px; margin-bottom: 15px; }
  .mega-menu-col + .mega-menu-col { border-right: none; border-top: 1px solid var(--border); padding-top: 15px; }
  .mega-menu-title { font-size: 13px; margin-bottom: 8px; }
  .mega-menu-item { padding: 6px 0; font-size: 13px; }
  /* Re-enable click on mobile */
  .mega-dropdown .dropdown-toggle[data-toggle="dropdown"] { pointer-events: auto; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .hero-section { min-height: auto; }
  .hero-content { padding: 100px 0 60px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stats { flex-direction: row; gap: 20px; flex-wrap: wrap; }
  .hero-stat-number { font-size: 32px; }
  .hero-stat-label { font-size: 12px; }
  .btn { padding: 12px 24px; font-size: 13px; }
  /* Mobile top-bar: compact layout */
  .top-bar { font-size: 12px; height: auto; padding: 0; }
  .top-bar .container { padding-right: 10px; padding-left: 10px; }
  .top-bar .row { min-height: 38px; }
  .top-bar .col-md-6:first-child { max-width: 55%; min-width: 0; }
  .top-bar .col-md-6:last-child { max-width: 45%; min-width: 0; }
  .top-bar .col-md-6:first-child {
    flex: 0 0 auto;
    width: auto;
    padding-left: 5px;
  }
  .top-bar .col-md-6:first-child .top-bar-link {
    font-size: 11px;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .top-bar .col-md-6:first-child .top-bar-link i {
    font-size: 12px;
    margin-left: 4px;
  }
  .top-bar .col-md-6:last-child {
    flex: 1;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0;
    gap: 8px;
  }
  .top-bar .col-md-6:last-child .top-bar-link {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .top-bar .col-md-6:last-child .top-bar-link i {
    margin-left: 4px;
  }
  .top-bar .top-bar-dropdown { margin-left: 0 !important; }
  .top-bar .top-bar-dropdown .dropdown-toggle {
    font-size: 12px;
    white-space: nowrap;
  }
  .top-bar .top-bar-dropdown .dropdown-toggle i {
    margin-left: 3px;
  }
  .top-bar .btn-quote-sm {
    padding: 3px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .section-title { font-size: 24px; }
  .card-img, .card-img-wrapper { height: 180px; }
  .page-hero { padding: 70px 0 50px; }
  .page-hero h1 { font-size: 28px; }
  .process-steps { flex-wrap: wrap; }
  .process-step { flex: 0 0 45%; }
  .site-footer, .main-footer, .footer { padding: 40px 0 0; }
  .footer-widget, .footer-links { margin-bottom: 30px; }
  .footer-bottom, .copyright { margin-top: 20px; }
  .mobile-bottom-bar { display: flex !important; }
  .back-to-top { display: none !important; }
  .whatsapp-float { bottom: 70px; right: 15px; }
  .whatsapp-float a { width: 50px; height: 50px; font-size: 24px; }
  .cta-banner { padding: 50px 0; }
  .cta-banner h2, .cta-title { font-size: 24px; }
  .navbar-brand { font-size: 18px; }
}

@media (max-width: 575px) {
  .hero-content { padding: 80px 0 50px; }
  .hero-buttons .btn { display: block; width: 100%; margin: 0 0 10px; }
  .section-header { margin-bottom: 30px; }
  .icon-box { padding: 25px 15px; }
  .process-step { flex: 0 0 100%; }
  .capacity-card { margin-bottom: 15px; }
  .hero-stats { gap: 15px; }
  .hero-stat-number { font-size: 28px; }
  .blog-card, .contact-card { margin-bottom: 15px; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-dark-blue { background: var(--primary); }
.bg-dark-blue h1, .bg-dark-blue h2, .bg-dark-blue h3,
.bg-dark-blue h4, .bg-dark-blue h5, .bg-dark-blue h6 { color: #fff; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }

/* Navbar expand on mobile */
.navbar-expand-lg .navbar-collapse { flex-grow: 0; align-items: center; }

/* Form row */
.form-row > .form-group { padding: 0 8px; }

/* List unstyled inside footer */
.footer-links { list-style: none; padding: 0; }

/* ===== RTL Arabic Additions ===== */
body[dir="rtl"], html[dir="rtl"] {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding-right: 0;
    padding-left: 0.5rem;
}
[dir="rtl"] .dropdown-menu {
    text-align: right;
}
[dir="rtl"] .navbar-nav {
    padding-right: 0;
}
