/* Font Faces */
@font-face {
  font-family: "MiSans-Regular";
  src: url("https://assets-persist.lovart.ai/agent-static-assets/MiSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "MiSans-Bold";
  src: url("https://assets-persist.lovart.ai/agent-static-assets/MiSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Alibaba-PuHuiTi-Regular";
  src: url("https://assets-persist.lovart.ai/agent-static-assets/Alibaba-PuHuiTi-Regular.otf") format("opentype");
}

:root {
  --primary-color: #1a4d8c;
  --secondary-color: #f8f9fa;
  --accent-color: #e63946;
  --text-dark: #333333;
  --text-light: #666666;
  --card-bg: #ffffff;
}

/* Bootstrap Theme Overrides */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-primary:hover {
  background-color: #153d70 !important;
  border-color: #153d70 !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-outline-light:hover {
  color: var(--primary-color) !important;
}

body {
  font-family: "Alibaba-PuHuiTi-Regular", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #f5f5f5;
  overflow-x: hidden;
  color: var(--text-dark);
}

/* Navigation */
.navbar {
  padding: 18px 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-family: "MiSans-Bold", sans-serif;
  font-size: 25px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-link {
  font-family: "MiSans-Regular", sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  margin: 0 15px;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.dropdown-item {
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateX(5px);
}

.btn-download {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-download:hover {
  background-color: #153d70;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 77, 140, 0.3);
}

/* Hero Section */
.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/banner-img.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  padding: 120px 0;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content h1 {
  font-family: "MiSans-Bold", sans-serif;
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 24px;
  opacity: 0.9;
  margin-bottom: 40px;
  font-weight: 300;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: "MiSans-Bold", sans-serif;
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title .divider {
  width: 80px;
  height: 4px;
  background-color: #153d70;
  margin: 0 auto;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-family: "MiSans-Bold", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
}

.stat-box {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.stat-number {
  font-family: "MiSans-Bold", sans-serif;
  font-size: 48px;
  color: var(--primary-color);
  display: block;
}

/* Products Section */
.products-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

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

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  cursor: pointer;
}

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

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-info {
  padding: 30px;
}

.product-info h4 {
  font-family: "MiSans-Bold", sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 16px;
}

.card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonial Section */
.testimonial-section {
  /* padding: 100px 0; */
  padding-top: 80px;
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--secondary-color);
  padding: 40px;
  border-radius: 15px;
  position: relative;
}

.quote-icon {
  font-size: 40px;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  /* background: linear-gradient(135deg, var(--primary-color) 0%, #153d70 100%); */
  color: #153d70;

}

.contact-section {
  background-color: #ffffff;
  /* white background */
}

.contact-container {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  /* background: rgba(255, 255, 255, 0.1); */
  background-color: #153d70;
  color: #fff;
  padding: 60px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  width: 100%;
  font-size: 16px;
}

.__cf_email__ {
  color: #ffffff;
  text-decoration: none;
}

.__cf_email__:hover {
  color: #ffffff;
}

.btn-submit {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: #d32f2f;
  transform: scale(1.02);
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 28px;
  color: white;
  font-family: "MiSans-Bold", sans-serif;
  margin-bottom: 20px;
  display: block;
}

.footer-links h5 {
  color: white;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: bold;
}

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

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.floating-whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* Utility classes */
.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: var(--accent-color);
}

/* product -> powder coating */
.powder-coating-section .product-img {

  height: 300px;
  width: 200%;
  object-fit: cover;
  border-radius: 8px;

}

.product-title {
  color: #5aa6e8;
  /* light blue */
  font-size: 20px;
  font-weight: 600;
}

.product-price {
  color: #5aa6e8;
  font-size: 14px;
  font-weight: 500;
}

.product-details-title {
  color: #5aa6e8;
  font-size: 14px;
  font-weight: 600;
}

.product-label {
  color: #6c757d;
}

.product-value {
  color: #212529;
  font-weight: 500;
}


/* about section */
.about-title {
  color: #2B5C8A;
  font-weight: 800;
}

.about-section img {
  height: 100%;
  object-fit: cover;
}

.main-container {
  background-color: #fff;
}

/* why us section */
/* Why Us Card Hover */
.why-card {
  transition: all 0.3s ease;
  background: #fff;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border-color: #2B5C8A;
}

/* profile section */
.profile-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: 0.3s;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #2B5C8A;
}

.profile-icon {
  font-size: 34px;
  color: #2B5C8A;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .hero-content p {
    font-size: 22px;
  }

  .hero-section {
    min-height: 60vh;
    padding: 100px 0;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .about-section,
  .products-section,
  .testimonial-section,
  .contact-section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-section {
    min-height: 50vh;
    padding: 80px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .about-text h3 {
    font-size: 24px;
  }

  .navbar-brand {
    font-size: 14px;
  }

  .navbar-brand img {
    width: 50px;
    height: 50px;
  }

  .nav-link {
    font-size: 14px;
    margin: 0 10px;
  }

  .about-section,
  .products-section,
  .testimonial-section,
  .contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-section {
    min-height: 60vh;
    padding: 60px 0;
  }

  .d-flex.gap-3 {
    flex-direction: column;
    gap: 10px !important;
  }

  .btn {
    width: 100%;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .product-info h4 {
    font-size: 20px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .about-text p {
    font-size: 16px;
  }

  .stat-box {
    padding: 20px;
    margin-bottom: 15px;
  }

  .stat-number {
    font-size: 36px;
  }

  .contact-form input,
  .contact-form textarea {
    margin-bottom: 15px;
    padding: 12px 15px;
  }

  .row {
    flex-direction: column;
  }

  .col-md-6 {
    width: 100% !important;
  }

  .navbar {
    padding: 15px 0;
  }

  .nav-link {
    font-size: 13px;
    margin: 5px 0;
  }

  footer {
    padding: 50px 0 30px;
  }

  .footer-logo {
    font-size: 22px;
  }

  .footer-links h5 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 20px;
  }

  .section-title p {
    font-size: 14px;
  }

  .badge {
    font-size: 12px;
  }
}