* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Roboto, sans-serif;
}

.hero{
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.slider{
  width: 100%;
  height: 100%;
  position: relative;
}

.slides{
  display: flex;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide{
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
  animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Dark overlay for text clarity */
.overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.25)
  );
}

/* Text content */
.content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 650px;
  background: rgba(5, 14, 26, 0.75);
  backdrop-filter: blur(15px);
  padding: 40px 50px;
  border-left: 8px solid #B58E24; /* Golden Amber */
  border-radius: 0 20px 20px 0;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  animation: slideInText 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes slideInText {
  from { opacity: 0; transform: translateY(30%) scale(0.95); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

.content h1{
  font-size: 36px;
  max-width: 100%;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.content p{
  font-size: 18px;
  opacity: 0.9;
}

/* Responsive Hero Slider */
@media (max-width: 991px) {
  .hero { height: 75vh; }
  .content { 
    left: 5% !important; 
    max-width: 90% !important; 
    padding: 25px !important;
    bottom: 15% !important;
    transform: none !important;
    top: auto !important;
  }
  .content h1 { font-size: 30px !important; }
}

@media (max-width: 768px) {
  .hero { height: 65vh; }
  .content h1 { font-size: 26px !important; }
  .content p { font-size: 15px !important; }
}

@media (max-width: 576px) {
  .hero { height: 60vh; }
  .content {
    border-left-width: 4px !important;
    padding: 20px !important;
  }
  .content h1 { font-size: 22px !important; }
}

.hot-machines {
  padding: 80px 40px;
  background: #fff;
  text-align: center;
}

.hot-machines h2 {
  font-size: 40px;
  margin-bottom: 60px;
  color: #0b1f3a;
  font-weight: 700;
}

.machine-grid {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.machine-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: .3s;
}

.machine-card:hover {
  transform: translateY(-8px);
}

.machine-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 30px;
}

.machine-title {
  background: #004aad;
  color: #fff;
  padding: 18px;
  font-weight: 600;
  font-size: 16px;
}

/* RESPONSIVE GRID */
@media(max-width:1100px){
  .machine-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:768px){
  .hot-machines { padding: 50px 20px; }
  .hot-machines h2 { font-size: 30px; margin-bottom: 40px; }
  .machine-grid { gap: 20px; }
}

@media(max-width:576px){
  .machine-grid{grid-template-columns:1fr}
  .machine-card img { height: 220px; padding: 20px; }
}

.why-choose {
  background: #003f8f;
  padding: 90px 40px;
  text-align: center;
  color: #fff;
}

.why-choose h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 70px;
}

.choose-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.choose-box .icon {
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 25px;
}

.choose-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
  color: #dbe9ff;
}

.choose-box p {
  font-size: 15px;
  line-height: 1.8;
  color: #cfe2ff;
  max-width: 330px;
  margin: auto;
}

/* RESPONSIVE WHY CHOOSE */
@media(max-width:991px){
  .why-choose { padding: 60px 20px; }
  .why-choose h2 { font-size: 32px; margin-bottom: 50px; }
  .choose-grid { gap: 40px; }
}

@media(max-width:768px){
  .choose-grid { grid-template-columns: 1fr; }
  .choose-box { padding: 20px; }
}

.site-footer {
  background: #f2f2f2;
  font-family: Arial, sans-serif;
  color: #555;
}

.footer-top {
  max-width: 1400px;
  margin: auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.5fr 1.3fr;
  gap: 60px;
}

.footer-logo {
  max-width: 220px;
}

.footer-col h4 {
  font-size: 20px;
  color: #003f8f;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  font-size: 15px;
  margin-bottom: 8px;
}

.two-col {
  columns: 2;
  column-gap: 40px;
}

.footer-col p {
  font-size: 15px;
  margin-bottom: 10px;
}

.date {
  font-size: 14px;
  color: #888;
}

.view-more {
  display: inline-block;
  margin-bottom: 20px;
  color: #003f8f;
  font-weight: 600;
}

.bold {
  font-weight: 700;
}

.social {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.social span {
  width: 34px;
  height: 34px;
  background: #003f8f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.footer-bottom {
  background: #0b2c57;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* RESPONSIVE FOOTER */
@media(max-width:1000px){
  .footer-top{
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  .two-col{columns:1}
}

.product-list {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.category-title {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.product-card {
  display: flex;
  gap: 30px;
  padding: 25px;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
  transition: all 0.3s;
}

.product-card img {
  width: 260px;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.product-info {
  flex: 1;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.product-info p {
  color: #444;
  line-height: 1.6;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  min-width: 180px;
}

/* Responsive Product Cards (Horizontal to Vertical) */
@media (max-width: 991px) {
  .product-card { gap: 20px; }
  .product-card img { width: 200px; }
}

@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
    padding: 20px;
  }
  .product-card img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
  }
  .product-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .product-actions .btn {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .product-actions .btn {
    width: 100%;
    flex: none;
  }
}

.btn {
  display: inline-block;
  padding: 10px 26px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.btn.inquiry { background: #666; }
.btn.detail { background: #666; }
.btn:hover { background: #000; color: #fff; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  width: 90%;
  max-width: 500px;
  background: #fff;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: #003f8f;
  color: #fff;
  padding: 16px 20px;
}

.modal-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #003f8f;
}

.send-btn {
  background: #1aa9e1;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
}

.send-btn:hover { background: #0e8fc2; }

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.shop-products {
  padding: 40px 20px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.shop-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.shop-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.shop-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.shop-card h3 {
  font-size: 18px;
  margin: 15px 0 5px;
}

.short-desc {
  font-size: 14px;
  color: #555;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.card-actions button,
.card-actions a {
  flex: 1;
  padding: 10px;
  border: none;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.card-actions button { background: #666; color: #fff; }
.card-actions .details { background: #666; color: #fff; }
.card-actions button:hover,
.card-actions .details:hover { background: #000; }

.inquiry-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.inquiry-box {
  background: white;
  width: 90%;
  max-width: 350px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Advanced Navigation */
.advanced-top-header {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-logo { transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.05); }

.contact-pill {
  background: #f8f9fa;
  padding: 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  border: 1px solid #eee;
}

.btn-premium-action {
  background: linear-gradient(135deg, #004aad, #007bff);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-premium-action:hover {
  background: linear-gradient(135deg, #003f8f, #0060c8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3) !important;
  color: white;
}

.cart-icon-wrapper {
  color: #333;
  position: relative;
  transition: transform 0.2s;
  display: inline-block;
}

.cart-icon-wrapper:hover {
  transform: scale(1.1);
  color: #004aad;
}

/* Sticky Navbar Glassmorphism */
.sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.advanced-navbar { background: transparent !important; }

.advanced-navbar .nav-link {
  font-weight: 600;
  color: #1a1a1a !important;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 15px !important;
  position: relative;
  transition: color 0.3s;
}

.advanced-navbar .nav-link:hover { color: #004aad !important; }

/* Animated Underline */
.advanced-navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 4px;
  right: 0;
  background: #004aad;
  transition: width 0.3s ease;
  -webkit-transition: width 0.3s ease;
}

.advanced-navbar .nav-link:hover::after {
  width: 100%;
  left: 0;
  background: #004aad;
}

/* Dropdown Overrides */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
  color: #004aad;
  padding-left: 25px;
}

.list-group-item {
  transition: all 0.2s ease;
  border-color: rgba(0, 0, 0, 0.03);
}

.list-group-item:hover {
  color: #004aad;
  background: #f8fafc;
  padding-left: 20px;
}

/* ADVANCED INQUIRY FORM */
.inquiry-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1050;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.premium-inquiry-box {
  background: #ffffff;
  width: 90%;
  max-width: 550px;
  border-radius: 20px;
  transform: scale(0.95);
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes scaleUp {
  to { transform: scale(1); }
}

.premium-close-btn {
  background-color: #f1f5f9;
  border-radius: 50%;
  padding: 12px;
  transition: all 0.2s;
  z-index: 10;
}

.premium-close-btn:hover {
  background-color: #e2e8f0;
  transform: rotate(90deg);
}

.premium-btn-gradient {
  background: linear-gradient(135deg, #004aad, #00b4d8);
  border: none;
  transition: all 0.3s;
}

.premium-btn-gradient:hover {
  background: linear-gradient(135deg, #003f8f, #0096c7);
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3) !important;
  transform: translateY(-2px);
}

/* SEARCH SYSTEM UI */
.search-input {
  transition: width 0.4s ease, border-color 0.3s;
  border: 1px solid transparent !important;
}
.search-input:focus {
  width: 250px !important;
  border-color: #004aad !important;
  background: #fff !important;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
@media (max-width: 991px) {
  .search-input:focus { width: 100% !important; }
}

/* LIVE SEARCH SUGGESTIONS */
.suggestion-item {
  cursor: pointer;
  border-bottom: 1px solid #f8fafc !important;
}
.suggestion-item:last-child {
  border-bottom: none !important;
}
.suggestion-item .badge {
  font-size: 9px !important;
  padding: 4px 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#searchSuggestionsBox::-webkit-scrollbar {
  width: 6px;
}
#searchSuggestionsBox::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#searchSuggestionsBox::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
#searchSuggestionsBox::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
