@font-face {
  font-family: "Good Times";
  src: url("/font/Good\ Times\ Rg.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  --primary-color: #0e75ba;
  --accent-color: #27aae1;
  --hover-color: #0a5c94;
  --text-color: #333;
  --light-bg: #f9f9f9;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: var(--light-bg);
  color: var(--text-color);
}

header {
  background: linear-gradient(to right, #0e75ba);
  color: #fff;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}



nav {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: var(--hover-color);
}

.home-hero {
  background-image: url(/assert/image/Product/homepage.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 60vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
}

.hero h1 {
  font-size: 62px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.page-banner {
  background-color: #eaeaea;
  padding: 4rem 1rem;
  text-align: center;
}

.hero-btn {
  padding: 0.8rem 1.5rem;
  background-color: #f60;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  background: #fff0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-btn:hover {
  background-color: #e65c00;
  transition: 0.5s;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

#close-icon {
  display: none;
}

.features,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.feature,
.product-card {
  text-align: center;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 10px;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.product-card h3 {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: #222;
  font-weight: bold;
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-banner-text {
  position: absolute;
  top: 25%;
  left: 30%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
  color: #fff;
  max-width: 900px;
}

.product-banner-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.product-banner-text p {
  font-size: 1.5rem;
  font-style: italic;
}

.contact-banner {
  background-image: url(/assert/image/contact/contact.webp);
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  height: 40vh;
}

.contact-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.contact-card {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
  border: 1px solid #e0e0e0;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center; /* Vertical center */
  align-items: center; /* Horizontal center */
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.contact-card p {
  color: #666;
  font-size: 0.9rem;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.form-map-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-form,
.map-card {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
  border: 1px solid #e0e0e0;
}

.contact-form label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border: none;
  background-color: #0056b3;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.map-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
  height: auto;
}

iframe {
  border: none;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

footer {
  background: rgb(0 0 0 / 0.7);
  padding: 2rem 1rem;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  color: #fff;
}

footer p {
  color: #fff;
}

.copyright {
  text-align: left;
  margin-top: 1rem;
  color: #fff;
  font-size: 0.75rem;
}

.footer-logo img {
  height: 60px;
}

.footer-contact,
.footer-socials {
  color: #fff;
  max-width: 300px;
}

.footer-contact a {
  color: #cce7ff;
  text-decoration: underline;
}

.footer-contact h3,
.footer-socials h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-socials a {
  margin-right: 10px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

#backToTopBtn {
  position: fixed;
  top: auto;
  bottom: 80px;
  right: 20px;
  display: none;
  background-color: #0a5c94;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  z-index: 999;
  transition: background-color 0.3s;
}

#backToTopBtn:hover {
  background-color: var(--hover-color);
}

.testimonials {
  background-color: #f5f5f5;
  padding: 2rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  padding: 1.5rem;
  max-width: 300px;
  font-style: italic;
}

.testimonial h3 {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 0.1;
  color: #555;
}

.testimonial p {
  font-weight: 400;
  font-size: 0.9rem;
  color: #555;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.8;
}

.about-container h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #285ca5;
  text-align: center;
  margin-bottom: 1rem;
}

.about-container .tagline {
  text-align: center;
  font-size: 1.2rem;
  color: #457b9d;
  font-style: italic;
  margin-bottom: 2rem;
}

.about-container h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  color: #1d3557;
  border-left: 4px solid #457b9d;
  padding-left: 0.5rem;
}

.about-container p {
  margin-bottom: 1rem;
  text-align: justify;
}

.about-container ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.about-container li {
  margin-bottom: 0.5rem;
}

.about-container strong,
.about-container .highlight {
  font-weight: 600;
  color: #1d3557;
}

.about-banner {
  background-image: url(/assert/image/About/about.webp);
  background-size: cover;
  background-position: center;
  height: 40vh;
}

.product-banner {
  background-image: url(/assert/image/Product/product.webp);
  background-size: cover;
  background-position: center;
  height: 40vh;
}

.about-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  display: block;
}

.about-banner-text {
  position: absolute;
  top: 25%;
  left: 29%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
  color: #fff;
  max-width: 900px;
}

.about-banner-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.about-banner-text p {
  font-size: 1.5rem;
  font-style: italic;
}

.service-banner {
  background-image: url(/assert/image/service/servicebanner.webp);
  background-size: cover;
  background-position: center;
  height: 40vh;
}

.glass-box {
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 10px;
}

.service-banner-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-banner-text p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.7;
}

.service-container h2 {
  margin-top: 2rem;
  color: #1d3557;
  border-left: 4px solid #457b9d;
  padding-left: 0.5rem;
}

.service-container h3 {
  color: #285ca5;
  margin-top: 1.5rem;
}

.service-container ul,
.service-container ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.service-container li {
  margin-bottom: 0.5rem;
}

.service-category {
  margin-bottom: 2rem;
}

.service-container a {
  color: #285ca5;
  text-decoration: underline;
}

.service-container .highlight {
  font-weight: 600;
  color: #1d3557;
}

.btn-primary {
  background-color: #0e75ba;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #152f53;
}

.hero.home-hero {
  position: relative;
  overflow: hidden;
}

.scroll-banner-glass {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
  padding: 10px 0;
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.scroll-banner-glass:hover .scroll-text {
  animation-play-state: paused;
}

.hero-glass {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 2.5rem;
  max-width: 600px;
  text-align: left;
  margin: 3rem auto 3rem 5%;
  color: #fff;
  box-shadow: 0 4px 30px rgb(0 0 0 / 0.3);
}

.hero-subtitle {
  font-size: 0.9rem;
  color: #ddd;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-glass h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-glass p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #eee;
}

.company-name-banner-text {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  font-family: "Good Times", sans-serif;
  font-size: 4.5rem;
  color: #fff;
  line-height: 1.2;
  text-align: left;
  z-index: 3;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 67px;
    right: -100%;
    left: auto;
    height: 100vh;
    width: 50vw;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 999;
    gap: 1.5rem;
    transition: 0.5s;
    display: flex;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  #close-icon,
  #open-icon {
    font-size: 2rem;
    color: #fff;
  }

  nav {
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 1rem;
  }

  .product-card img {
    height: auto;
  }

  .product-card {
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-contact,
  .footer-socials {
    max-width: 100%;
    align-items: center;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
  }

  .info-card {
    flex: 1 1 30%;
  }

  .about-container {
    padding: 1.5rem 1rem;
  }

  .about-container h1 {
    font-size: 1.8rem;
  }

  .about-container h2 {
    font-size: 1.2rem;
  }

  .about-container .tagline {
    font-size: 1rem;
  }

  .features {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 1rem !important;
  }

  .feature {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
  }

  .glass-box {
    position: relative !important;
    margin: 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    transform: none !important;
    text-align: center !important;
    max-width: 90% !important;
  }

  .about-banner-text,
  .service-banner .about-banner-text,
  .contact-banner .about-banner-text {
    margin: 0 auto !important;
    text-align: center !important;
  }

  .glass-box h1 {
    font-size: 1.5rem;
  }

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

  .about-banner-text h1 {
    font-size: 1.6rem;
  }

  .about-banner-text p {
    font-size: 0.95rem;
  }

  .hero-glass {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
    max-width: 100%;
    text-align: center;
  }

  .hero-glass h1 {
    font-size: 1rem;
  }

  .hero-glass p {
    font-size: 0.5rem;
  }

  .hero-btn {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
  }

  .company-name-banner-text {
    position: absolute;
    top: 5px;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 1rem;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }
}
