@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Poppins:wght@400;500;600&display=swap');

:root {
  --primary: #e6005c;
  --secondary: #6c63ff;
  --dark: #222;
  --light: #fff;
  --gray: #f8f8f8;
}

/* ---------------- RESET ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  scroll-behavior: smooth;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------------- HEADER ---------------- */
.top-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  font-size: 0.95rem;
}

.top-bar i {
  color: #fff;
}

header {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar-brand img {
  height: 60px;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  text-decoration: none !important;
}

/* ---------------- BANNER SLIDER ---------------- */
.banner {
  overflow: hidden;
}

.slide-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.slide-content {
  position: relative;
  z-index: 1;
}

.btn-Know-theme1 {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
  border: none;
}

.btn-Know-theme1:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ---------------- SECTION TITLES ---------------- */
.section-title {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2.3rem;
  position: relative;
  display: block;
  text-align: center; /* center titles */
}

.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: var(--secondary);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ---------------- ABOUT SECTION ---------------- */
.about-section {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease forwards;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-content {
  flex: 1 1 50%;
  color: #333;
  animation: fadeIn 1s ease forwards;
}

.about-heading {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 25px;
  text-align: center; /* center title */
}

.about-content p {
  font-size: 1.1rem; /* slightly bigger text */
  line-height: 1.9; /* more spacing */
  margin-bottom: 1.8rem;
  color: #555;
}

/* Simple Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ---------------- PRODUCTS ---------------- */
.products-section {
  background: var(--gray);
  padding: 80px 0;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ---------------- CONTACT ---------------- */
.contact-section {
  padding: 90px 0;
  background: #fff;
}

.contact-section .section-title {
  color: var(--primary);
}

.contact-form .form-control {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(230, 0, 92, 0.1);
}

.contact-submit {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.contact-section iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.address-detail {
  font-weight: 500;
  color: var(--dark);
}

.address-detail i {
  color: var(--primary);
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #fff;
  text-align: left;
  padding-top: 60px;
  padding-bottom: 30px;
}

.site-footer h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-link:hover {
  color: #ffe8f0;
  text-decoration: underline;
}

.social-icons .social-link {
  color: #fff;
  font-size: 1.3rem;
  transition: 0.3s ease;
}

.social-icons .social-link:hover {
  color: #ffe8f0;
}

.rights {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #fdfdfd;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.9rem;
  }

  .contact-section iframe {
    height: 250px;
  }

  .navbar-brand img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .slide-bg {
    height: 70vh;
  }

  .products-section {
    padding: 60px 0;
  }

  .contact-section {
    padding: 70px 0;
  }

  .product-card {
    margin-bottom: 20px;
  }

  .about-heading {
    font-size: 1.9rem;
  }

  .about-content p {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }

  .about-heading {
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .products-section .col-12.col-md-6.col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .contact-submit {
    width: 100%;
  }

  .footer-contact,
  .rights {
    text-align: left; /* align footer content to left on small screens */
  }

  .site-footer {
    padding-top: 50px;
    padding-bottom: 20px;
  }
}

@media (max-width: 370px) {
  body, html {
    overflow-x: hidden; /* fix overflow on very small screens */
  }

  .about-section {
    padding: 50px 15px;
  }

  .products-section {
    padding: 50px 10px;
  }

  .contact-section {
    padding: 50px 10px;
  }
}
