/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, #0b2c4a, #0e3a63);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    padding: 14px 0;
}

/* LOGO */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff !important;
}

/* MENU ITEM */
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

/* underline animation */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #00c6ff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* hover effect */
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ACTIVE MENU */
.navbar-nav .nav-link.active {
    color: #00c6ff !important;
}

/* language / icon */
.navbar .dropdown-toggle {
    color: #ffffff !important;
}

/* ===== RESET / BASE ===== */
body {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  color: #2b2b2b;
  background: #f5f7fa;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg, #0a2540, #0f3a5f);
  padding: 14px 0;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff !important;
}

.navbar-nav .nav-link {
  color: #d9e2ec !important;
  font-size: 0.95rem;
  margin-left: 15px;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

/* ===== HERO / PAGE HEADER ===== */
.page-header {
  background: linear-gradient(
    rgba(10,37,64,0.85),
    rgba(10,37,64,0.85)
  ),
  url("/assets/images/factory/hero.jpg") center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.05rem;
  color: #dbe7f3;
}

/* ===== SECTION ===== */
section {
  padding: 70px 0;
}

h3 {
  color: #0a2540;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #0f3a5f;
  display: block;
  margin-top: 8px;
}

/* ===== CARD / BOX ===== */
.box {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px 30px;
  height: 100%;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.box h4 {
  color: #0a2540;
  font-weight: 600;
  margin-bottom: 15px;
}

.box p {
  font-size: 0.95rem;
  color: #555;
}

.box a {
  display: inline-block;
  margin-top: 15px;
  color: #0a2540;
  font-weight: 500;
  text-decoration: none;
}

.box a:hover {
  text-decoration: underline;
}

/* ===== PRODUCT GRID ===== */
.product-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ===== FOOTER ===== */
footer {
  background: #0a2540;
  color: #d9e2ec;
  padding: 25px 0;
  font-size: 0.9rem;
  text-align: center;
}
/* ===== ICON ===== */
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0a2540;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

/* ===== CARD HOVER EFFECT ===== */
.box {
  position: relative;
  overflow: hidden;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15,58,95,0.08),
    rgba(15,58,95,0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box:hover::before {
  opacity: 1;
}

.box:hover .icon-circle {
  background: #0f3a5f;
  transform: scale(1.1) rotate(5deg);
}

/* ===== LINK ARROW ANIMATION ===== */
.box a {
  position: relative;
}

.box a::after {
  content: " →";
  transition: margin-left 0.3s ease;
}

.box:hover a::after {
  margin-left: 6px;
}
/* =========================
   RESPONSIVE DESIGN
========================= */

/* ===== TABLET ===== */
@media (max-width: 991px) {

  .page-header {
    padding: 60px 20px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .box {
    padding: 30px 25px;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 15px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {

  /* HERO */
  .page-header {
    padding: 45px 15px;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  /* SECTION */
  section {
    padding: 45px 0;
  }

  h3 {
    font-size: 1.3rem;
  }

  /* ICON */
  .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 22px;
    margin-bottom: 15px;
  }

  /* CARD */
  .box {
    margin-bottom: 25px;
    padding: 28px 22px;
  }

  .box h4 {
    font-size: 1.1rem;
  }

  .box p {
    font-size: 0.95rem;
  }

  /* NAVBAR */
  .navbar {
    padding: 10px 0;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  footer {
    font-size: 0.85rem;
    padding: 20px 10px;
  }
}
/* ===== SERVICE CARD (HOME) ===== */
.service-card {
  display: block;
  background: #ffffff;
  padding: 45px 25px;
  border-radius: 12px;
  text-decoration: none;
  color: #0a2540;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.service-card h5 {
  margin-top: 18px;
  font-weight: 600;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  background: #f0f5fa;
}

.service-card:hover h5 {
  color: #0f3a5f;
}
/* ===== PRODUCT SLIDER ===== */

.slider-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.slider-box img {
  height: 420px;
  object-fit: cover;
}

.slider-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,32,61,.85),
    rgba(8,32,61,.3)
  );
}

.slider-caption {
  position: absolute;
  bottom: 30px;
  left: 40px;
  color: #fff;
  z-index: 2;
}

.slider-caption h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.slider-caption p {
  font-size: 1rem;
  opacity: .9;
}

/* Mobile */
@media (max-width: 768px) {
  .slider-box img {
    height: 260px;
  }

  .slider-caption {
    left: 20px;
    bottom: 20px;
  }

  .slider-caption h3 {
    font-size: 1.2rem;
  }
}
.certification-section {
    margin-top: 60px;
}

.certification-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #0a2a4a;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cert-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.cert-card img {
    max-width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.cert-card p {
    font-weight: 600;
    color: #0a2a4a;
}
/* ===== CERTIFICATION ===== */
.certification-section {
    padding: 80px 10%;
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #0b2c4d;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.cert-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.cert-card img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    margin-bottom: 20px;
}

.cert-card h3 {
    color: #0b2c4d;
    margin-bottom: 8px;
}

.cert-card p {
    color: #555;
    font-size: 14px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255,255,255,0.2);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.about-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-video video {
    width: 100%;
    height: 320px;          /* <<< ปรับความสูงตรงนี้ */
    object-fit: cover;     /* ตัดขอบให้พอดี ดูพรีเมียม */
    border-radius: 12px;
    background: #000;
}

.about-content {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-video video {
        height: 220px;
    }
}
.products-section {
  padding: 80px 0;
  background: #f6f8fb;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform .4s ease;
}

.product-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3,32,60,0.85),
    rgba(3,32,60,0.2)
  );
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-card h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 15px;
  opacity: .9;
}

.product-card span {
  margin-top: 12px;
  font-weight: 600;
  display: inline-block;
}
.company-policy {
    background: #f7f9fb;
    padding: 60px 20px;
    text-align: center;
}

.company-policy h2 {
    font-size: 28px;
    color: #0b2c4d;
    margin-bottom: 20px;
    font-weight: 600;
}

.company-policy .policy-text {
    font-size: 18px;
    color: #444;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}
.vision-mission {
    background: #f7f9fc;
    padding: 80px 20px;
}

.vm-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vm-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-6px);
}

.vm-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.vm-card h3 {
    font-size: 26px;
    color: #0b2d4f;
    margin-bottom: 15px;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.vm-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-card ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.vm-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0b2d4f;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 600;
}

.slider-img {
  height: 360px;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
}

.company-policy h2 {
  font-weight: 600;
  margin-bottom: 10px;
}

.company-policy p {
  font-size: 1.05rem;
  color: #555;
}

.vm-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  height: 100%;
}

.vm-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-card {
  display: block;
  padding: 25px 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  text-decoration: none;
  color: #000;
}

.icon-circle {
  width: 55px;
  height: 55px;
  background: #0d3b66;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
/* กล่องสไลด์ */
.slider-box {
    position: relative;
    width: 100%;
    height: 420px;          /* ปรับความสูงได้ตามต้องการ */
    overflow: hidden;
    border-radius: 12px;
}

/* รูปในสไลด์ */
.slider-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔥 ตัวนี้แหละที่ทำให้ภาพพอดี */
    object-position: center;
}

/* ข้อความซ้อนภาพ */
.slider-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 12px 18px;
    border-radius: 8px;
}
/* กันเนื้อหาถูก footer บัง */
body {
    padding-bottom: 70px;
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, #0b2a4a, #0f3b66);
    color: #fff;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    height: 100%;
    padding: 0 20px;

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

    font-size: 14px;
}

.footer-left span {
    font-size: 13px;
    opacity: 0.9;
}

.footer-center {
    font-size: 13px;
    opacity: 0.85;
}

.footer-right a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 500;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 12px;
    }
}
.main-nav{
background: linear-gradient(135deg,#06203a,#0b3a63);
box-shadow:0 6px 20px rgba(0,0,0,.25);
}

.nav-link{
position:relative;
transition:.3s;
}

.nav-link:hover,
.nav-link.active{
color:#4dd0ff !important;
}

.nav-link.active::after{
content:'';
position:absolute;
left:0;right:0;bottom:-6px;
height:2px;
background:#4dd0ff;
}

.dropdown-menu{
border-radius:12px;
border:none;
box-shadow:0 15px 40px rgba(0,0,0,.25);
animation:fadeUp .25s ease;
}

@keyframes fadeUp{
from{opacity:0;transform:translateY(10px)}
to{opacity:1;transform:none}
}
/* Modern Navbar */
.navbar {
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #00d4ff;
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}
.hero {
    min-height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('/assets/images/slider/injection.jpg') center/cover no-repeat;
}
.section-alt {
    background-color: #f8f9fa;
}

.section-padding {
    padding: 80px 0;
}
.service-card {
    display: block;
    padding: 30px;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.icon-circle {
    font-size: 28px;
    margin-bottom: 15px;
    color: #0d6efd;
}
/* ===== PREMIUM HERO ===== */
.hero-premium {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('/assets/images/slider/injection.jpg') center/cover no-repeat;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-sub {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Gold Button */
.btn-gold {
    background: linear-gradient(45deg, #c9a227, #f5d76e);
    border: none;
    color: #000;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 30px;
}

.btn-gold:hover {
    opacity: 0.9;
}

/* Section */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    max-width: 700px;
    margin: auto;
    opacity: 0.8;
}

/* Service Premium */
.service-premium {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-premium:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #0d3b66;
}

/* Dark Section */
.section-dark {
    background: #0d3b66;
    padding: 80px 0;
}

.dark-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
}

/* Glass Card */
.glass-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
}
.section-dark {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 80px 0;
}

.section-dark h2 {
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.section-dark .feature-box {
    text-align: center;
}

.section-dark .feature-box h5 {
    font-weight: 600;
    margin-top: 15px;
}

.section-dark .feature-box p {
    color: #cbd5e1;
}
/* ================= GLOBAL ================= */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    letter-spacing: 1px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c8a96a, #e5c07b);
    margin: 15px auto;
}

/* ================= HERO ================= */
.hero-premium {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('/assets/images/slider/injection.jpg') center/cover no-repeat;
}

/* ================= GOLD BUTTON ================= */
.btn-gold {
    background: linear-gradient(135deg, #c8a96a, #e5c07b);
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-gold:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ================= PREMIUM CARD ================= */
.premium-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.icon-premium {
    font-size: 35px;
    margin-bottom: 15px;
    color: #c8a96a;
}

/* ================= WHY SECTION ================= */
.why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f2745, #1c3b66);
}

.why-box h3 {
    font-size: 40px;
    font-weight: 700;
}

.policy-text {
    font-size: 18px;
    color: #444;
}
/* ===== Premium Products Section ===== */

.premium-products {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.premium-title {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: #38bdf8;
    margin: 15px auto;
    border-radius: 2px;
}

.premium-sub {
    color: #cbd5e1;
    font-weight: 300;
}

/* Slide container */
.premium-slide {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #111827;
}

/* Auto fit image */
.premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* 🔥 auto fit ทุกขนาด */
    transition: transform 0.6s ease;
}

/* Zoom effect */
.premium-slide:hover .premium-img {
    transform: scale(1.05);
}

/* Arrows */
.premium-arrow {
    width: 60px;
}

.premium-arrow .carousel-control-prev-icon,
.premium-arrow .carousel-control-next-icon {
    background-color: rgba(255,255,255,0.4);
    padding: 20px;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-slide {
        height: 250px;
    }
}
/* HERO */
.business-hero {
    height: 65vh;
    background: linear-gradient(rgba(5,20,40,0.75), rgba(5,20,40,0.75)),
                url('/assets/images/machines/factory-premium.jpg') center/cover no-repeat;
}

/* SECTION TITLE */
.section-title {
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #0d6efd;
    display: block;
    margin-top: 10px;
}

/* LIST */
.business-list {
    list-style: none;
    padding-left: 0;
}

.business-list li {
    padding: 6px 0;
    font-weight: 500;
}

/* DARK TECH SECTION */
.tech-section {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* TECH CARD */
.tech-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
}

.tech-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
/* HERO VIDEO SECTION */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* DARK OVERLAY */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(5,20,40,0.75),
        rgba(5,20,40,0.85)
    );
    z-index: 2;
}

/* TEXT CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    font-weight: 300;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .bg-video {
        display: none;
    }

    .hero-video {
        background: url('/assets/images/factory-mobile.jpg') center/cover no-repeat;
    }
}
.production-slider {
    background: #f4f6f9;
}

.prod-img {
    height: 480px;
    object-fit: cover;
    transition: transform 6s ease;
}

.carousel-item.active .prod-img {
    transform: scale(1.05);
}

.carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}
.prod-img {
    height: 480px;
    object-fit: cover;
}

.activity-hero {
    padding: 120px 0 80px;
    background: linear-gradient(to right, #0f2c38, #214a5c);
    color: #fff;
}

.activity-card {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.activity-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

.activity-card:hover img {
    transform: scale(1.08);
}
/* Mega Menu */
.mega-dropdown .dropdown-menu {
    width: 700px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
}

.mega-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0d6efd;
}

.dropdown-item {
    padding: 6px 0;
    font-size: 14px;
}

.navbar .nav-link.active {
    color: #0d6efd !important;
    border-bottom: 2px solid #0d6efd;
}

/* Smooth animation */
.dropdown-menu {
    transition: all 0.3s ease;
}
