:root {
  --background-color: #ffffff;
  --font-color: #0e0d0d;
  --hover-color: #ff5c05;
  --navborder-color: #ea0303;
  --seconadry-color: #3ec8ff;
  --font2-color: #006ac0;
  --font3-color: #002d5b;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'MyFont';
  src: url('/fonts/FCSound.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'MyFont', serif;
  background-color: #fdfbfd;
  font-style: normal;
  font-weight: normal;
}


.top-bar {
  width: 100%;
  padding: 10px 20px;
  border-bottom: 1px solid #dddddd;
  border-bottom: none;
  background: linear-gradient(to bottom, #dff6ff, #ffffff);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

}

#nav-links,
header {
  padding: 20px;
  background-color: #fffefe;
}


/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons a img {
  width: 16px;
  height: auto;
  transition: transform 0.5s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}


/* Logo */
.logo img {
  height: 100px;
  left: 50%;
}

/* Actions (Search and Hamburger Menu) */
.actions {
  display: flex;
  gap: 15px;
}

.actions i {
  font-size: 20px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.actions i:hover {
  color: #0078d7;
}


/* Language Switcher Styling */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher a {
  text-decoration: none;
}

.language-switcher img {
  width: 20px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.language-switcher img:hover {
  transform: scale(1.1);
}

/* ปรับการจัดตำแหน่งของ Search Bar */
.search-bar {
  display: none;
  gap: 5px;
}


/* กล่องค้นหา */
.search-bar input {
  flex: 1;
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* ปุ่มค้นหา */
.search-bar button {
  padding: 5px 15px;
  font-size: 14px;
  background-color: #4cc6ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-bar button:hover {
  background-color: #0084ff;
}

.search-bar.active {
  display: flex;
  align-items: center;
}

/* Hamburger Menu */
#hamburger-icon {
  display: block;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ul li a {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .ul li a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .logo img {
    height: 80px;
  }
}

/* Menu Logo */
.menu-logo {
  margin-bottom: 20px;
  text-align: center;
}

.menu-logo img {
  height: 80px;
}

/* Menu Content */
.menu-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

.menu-section {
  flex: 1 1 30%;
  /* Adjust for responsiveness */
  margin: 10px;
}

.menu-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--font3-color);
  font-weight: bold;
}

.menu-section ul {
  list-style: none;
  padding: 0;
}

.menu-section ul li {
  margin: 5px 0;
}

.menu-section ul li a {
  text-decoration: none;
  color: var(--font3-color);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu-section ul li a:hover {
  color: var(--hover-color);
}

.menu-social-icons {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 15px;
}

.menu-social-icons a {
  font-size: 1.2rem;
  color: black;
  transition: color 0.3s ease;
}

#hamburger-icon {
  font-size: 1.5rem;
  color: black;
  cursor: pointer;
}

.menu-link {
  text-decoration: none;
  color: var(--font2-color);
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: var(--hover-color);
}

/* Hide search and language switcher by default on mobile */
@media (max-width: 768px) {

  .language-switcher,
  .search-bar {
    display: none;
  }

  /* Show inside the fullscreen menu */
  .fullscreen-menu .language-switcher,
  .fullscreen-menu .search-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
}


/*line*/
.contact-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #28a745;
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.contact-item:nth-child(2) {
  background-color: white;
  border: 1px solid #28a745;
  color: #28a745;
}

.contact-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1.2rem;
}

.contact-item:hover {
  background-color: #1e7e34;
  color: white;
}

.contact-item:nth-child(2):hover {
  background-color: #28a745;
  color: white;
}

@media screen and (max-width: 768px) {
  .contact-container {
    flex-direction: row;
    gap: 15px;
    bottom: 10px;
  }

  .contact-item {
    width: 90%;
    padding: 12px;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
  }

  .contact-item .icon {
    margin-right: 8px;
    /* Maintain spacing between icon and text */
  }
}



.hero-overlay h1 {
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services-section {
  position: relative;
  padding: 80px 20px;
  background: url('/img/web-bg3.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
}

/* Background Overlay for Readability */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Service Content */
.service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Service Text */
.service-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
  margin-left: 150px;
}

.service-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #a4e2ff;
  /* Highlight Color */
}

.service-text p {
  font-size: 1.2rem;
  color: white;
  line-height: 1.6;
}

/* Video Section */
.service-video {
  flex: 1;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.service-video iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}

.video-caption {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #a4e2ff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .service-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .service-text {
    margin-left: 0;
    text-align: center;
  }

  .service-heading {
    font-size: 2rem;
  }

  .service-text p {
    font-size: 1rem;
  }

  .service-video iframe {
    width: 100%;
    height: 200px;
  }
}



/* Card Front and Back */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
}

/* Front Side */
.card-front {
  background: rgba(255, 255, 255, 0.2);
  /* Transparent White */
  backdrop-filter: blur(10px);
  /* Glass Effect */
  color: white;
}

.card-front i {
  font-size: 3rem;
  color: #ffcc00;
  margin-bottom: 20px;
}

/* Back Side */
.card-back {
  background: rgba(255, 100, 0, 0.8);
  color: white;
  transform: rotateY(180deg);
}

@media screen and (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    gap: 20px;
  }
}


.reports-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background: url('/img/report.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
  overflow: hidden;
}

.reports-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.reports-section>* {
  position: relative;
  z-index: 2;
}

.reports-heading {
  color: #a4e2ff;
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 800;
  letter-spacing: 1px;
}

.reports-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 1;
}

.report-card {
  background: linear-gradient(145deg, #e0f7ff, #ffffff);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 130, 200, 0.2);
  overflow: hidden;
  width: 320px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 180, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.report-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 160, 255, 0.35);
}

.report-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #d4f1ff;
}

.report-button {
  padding: 20px;
  background-color: transparent;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #004477;
  background: linear-gradient(to right, #cceeff, #a0dbff);
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 150, 255, 0.25);
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(to right, #007acc, #00bfff);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 150, 255, 0.4);
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
  .reports-section {
    padding-top: 60px;
    margin-top: 160px;
  }

  .reports-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .report-card {
    width: 100%;
    max-width: 320px;
  }

  .reports-heading {
    font-size: 2rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}



/* Footer Base */
.footer {
  background: rgb(236, 236, 236);
  color: white;
  padding: 50px 20px;
  font-size: 16px;
}

/* Footer Container */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

/* .footer-left {
    flex: 1;
    max-width: 300px;
    text-align: left;
}

.footer-left h2 {
    font-size: 20px;
    color: var(--font2-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-logo {
    width: 180px;
} */
.footer-left h2 {
  font-size: 20px;
  color: var(--font2-color);
  display: inline-block;
  padding-bottom: 5px;
  font-weight: bold;
}

.footer-left {
  flex: 1 1 20%;
  margin-bottom: 20px;
}

.footer-logo {
  height: auto;
  width: 50%;
  display: inline-block;
}

.footer-left p {
  font-size: 16px;
  color: var(--font-color);
  margin-top: 10px;
  font-weight: 600;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a img {
  width: 20px;
  height: auto;
  transition: transform 0.5s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* Footer Center & Right (Company & Services) */
.footer-center,
.footer-right,
.footer-help,
.footer-payment {
  flex: 1;
  text-align: left;
  min-width: 200px;
}

.footer-center h2,
.footer-right h2,
.footer-help h2,
.footer-payment h2 {
  font-size: 18px;
  color: #002d5b;
  /* border-bottom: 2px solid var(--font2-color); */
  display: inline-block;
  padding-bottom: 5px;
  font-weight: bold;
}

.footer-center ul,
.footer-right ul,
.footer-help ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li,
.footer-right ul li,
.footer-help ul li {
  margin: 5px 0;
}

.footer-center ul li a,
.footer-right ul li a,
.footer-help ul li a {
  color: #002d5b;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer-center ul li a:hover,
.footer-right ul li a:hover,
.footer-help ul li a:hover {
  color: var(--font2-color);
}


.payment-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
  justify-items: center;
}

.payment-logos img {
  width: auto;
  height: 45px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.payment-logos img:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .payment-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .payment-logos {
    grid-template-columns: 1fr;
  }
}


/* Footer Bottom */
.footer-bottom {
  color: var(--font2-color);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right,
  .footer-help,
  .footer-payment {
    flex: 1 1 100%;
    max-width: 100%;
  }

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

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-left,
  .footer-center,
  .footer-right,
  .footer-help,
  .footer-payment {
    width: 100%;
  }

  .footer-logo {
    margin: 10px auto;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-center ul,
  .footer-right ul,
  .footer-help ul {
    padding: 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 10px;
  }

  .footer-left h2,
  .footer-center h2,
  .footer-right h2,
  .footer-help h2 {
    font-size: 16px;
  }

  .footer-center ul li a,
  .footer-right ul li a,
  .footer-help ul li a {
    font-size: 14px;
  }

  .footer-logo {
    width: 100px;
  }

  .social-icons img {
    width: 28px;
  }

  .payment-logos img {
    width: 40px;
  }
}

@media (max-width: 768px) {

  .footer-center ul,
  .footer-right ul,
  .footer-help ul {
    display: none;
    /* Hide lists initially */
  }

  .footer-center h2,
  .footer-right h2,
  .footer-help h2 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #002d5b;
    /* Adjust color */
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
  }

  .toggle-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
  }
}

/* Hide the "+" symbol on larger screens */
@media (min-width: 769px) {
  .toggle-icon {
    display: none;
  }

  .footer-center ul,
  .footer-right ul,
  .footer-help ul {
    display: block;
  }
}

/* logo */
@media (max-width: 768px) {
  .footer-left {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .footer-left h2 {
    font-size: 18px;
  }

  .footer-logo {
    width: 140px;
  }
}

/* for tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
  }

  .footer-sections {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }

  .footer-center,
  .footer-right,
  .footer-help {
    flex: 1 1 calc(33.33% - 20px);
    max-width: 33.33%;
    text-align: left;
  }

  .footer-payment {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: left;
    margin-top: 10px;
  }

  .payment-logos {
    display: flex;
    gap: 10px;
    margin-top: 5px;
  }

  .payment-logos img {
    width: 50px;
    transition: transform 0.3s ease;
  }

  .payment-logos img:hover {
    transform: scale(1.1);
  }
}

/* phone */
@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .footer-sections {
    width: 100%;
  }

  .footer-center,
  .footer-right,
  .footer-help {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }

  .footer-center h2,
  .footer-right h2,
  .footer-help h2 {
    font-size: 16px;
    font-weight: bold;
    color: #002d5b;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
  }

  .footer-center ul,
  .footer-right ul,
  .footer-help ul {
    display: none;
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
  }

  .footer-center.active ul,
  .footer-right.active ul,
  .footer-help.active ul {
    display: block;
  }

  .footer-payment {
    width: 100%;
    text-align: left;
    margin-top: 10px;
  }

  .payment-logos {
    display: flex;
    gap: 10px;
  }

  .payment-logos img {
    width: 50px;
    transition: transform 0.3s ease;
  }

  .payment-logos img:hover {
    transform: scale(1.1);
  }
}

:root {
  --primary-color: #00a8ff;
  --secondary-color: #0097e6;
  --accent-color: #02ffff;
  --dark-color: #2f3542;
  --light-color: #f5f6fa;
  --text-color: #57606f;
  --heading-color: #2f3542;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'MyFont', serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000000;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-light {
  background-color: #fff;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;

}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: black;
}

.section-header.light h2 {
  color: #fff;
}

.section-header.left {
  text-align: left;
}

.underline {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto;
  position: relative;
}

.underline::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 4px;
  background-color: var(--accent-color);
  top: 0;
  left: -50px;
}

.underline::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 4px;
  background-color: var(--accent-color);
  top: 0;
  right: -50px;
}

.section-header.left .underline {
  margin: 0;
}

.section-header.left .underline::before,
.section-header.left .underline::after {
  display: none;
}


.hero {
  position: relative;
  height: calc(100vh - 188.8px);
  ;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .hero {
    height: calc(100vh - 100px);
  }
}

.hero .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: fade 50s infinite;
  z-index: 0;
  opacity: 0;
}

.hero .bg1 {
  background-image: url('/img/hero-bg/inspector/1.jpg');
  animation-delay: 0s;
}
.hero .bg2 {
  background-image: url('/img/hero-bg/inspector/2.jpg');
  animation-delay: 5s;
}
.hero .bg3 {
  background-image: url('/img/hero-bg/inspector/3.jpg');
  animation-delay: 10s;
}
.hero .bg4 {
  background-image: url('/img/hero-bg/inspector/4.jpg');
  animation-delay: 15s;
}
.hero .bg5 {
  background-image: url('/img/hero-bg/inspector/5.jpg');
  animation-delay: 20s;
}
.hero .bg6 {
  background-image: url('/img/hero-bg/inspector/6.jpg');
  animation-delay: 25s;
}
.hero .bg7 {
  background-image: url('/img/hero-bg/inspector/7.jpg');
  animation-delay: 30s;
}
.hero .bg8 {
  background-image: url('/img/hero-bg/inspector/8.jpg');
  animation-delay: 35s;
}
.hero .bg9 {
  background-image: url('/img/hero-bg/inspector/9.jpg');
  animation-delay: 40s;
}
.hero .bg10 {
  background-image: url('/img/hero-bg/inspector/10.png');
  animation-delay: 45s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  45% {
    opacity: 1;
  }

  55% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content,
.scroll-indicator {
  position: relative;
  z-index: 2;
  color: white;
}


.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.animate-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 10px;
  }

  100% {
    opacity: 0;
    top: 30px;
  }
}

.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin: -5px;
  animation: scrollArrow 1.5s infinite;
}

.scroll-arrows span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-arrows span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  height: 100%;
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 28px;
  transition: var(--transition);
}

.service-card:hover .icon {
  background-color: var(--primary-color);
  color: #fff;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-description {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.text-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.text-content p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.text-content ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.text-content ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.video-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.container-progress {
  position: relative;
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.process {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('/img/web-bg3.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
}

.timeline-content h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.timeline-content p {
  color: #ddd;
  line-height: 1.6;
}

/* ✅ Responsive for mobile */
@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    margin-bottom: 40px;
    left: 0 !important;
    text-align: left !important;
  }

  .timeline-icon {
    left: 0 !important;
    right: auto;
  }

  .timeline-content {
    padding-left: 20px;
  }
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--light-color);
}

.testimonial-slider {
  display: flex;
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  min-width: 100%;
  transition: var(--transition);
}

.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 0 15px;
  position: relative;
}

.quote {
  font-size: 30px;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-card p {
  margin-bottom: 20px;
  font-style: italic;
}

.client {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.client-info h4 {
  margin-bottom: 5px;
}

.client-info span {
  color: var(--text-color);
  font-size: 0.9rem;
}

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

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary-color);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.slider-dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: #fff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-item h4 {
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'MyFont', serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}


.app-showcase {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;

  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
}


.app-text {
  flex: 1;
  max-width: 500px;
}

.app-features {
  margin: 30px 0;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.app-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.app-download {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-dark);
  color: rgb(0, 0, 0);
  padding: 12px 20px;
  border-radius: 10px;
  transition: var(--transition);
}

.app-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: rgb(0, 0, 0);
}

.app-btn i {
  font-size: 2rem;
}

.app-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-btn small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.app-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.app-image img {
  max-height: 600px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;

}

.section-title-sub {
  font-size: 1.2rem;
  color: #000000;
}

.inspection-scope {
  padding: 5rem 0;
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

.inspection-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.inspection-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e293b;
  position: relative;
}

.inspection-description {
  font-size: 1.1rem;
  color: #475569;
  text-align: center;
  margin-bottom: 2rem;
}

.inspection-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
}

/* ใช้ Grid Layout แทน Flexbox */
.inspection-grid {
  display: grid;
  grid-template-rows: auto auto;
  gap: 2rem;
}

/* แถวบน: 3 การ์ด */
.top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* แถวล่าง: 2 การ์ด (กึ่งกลาง) */
.bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 66%;
  margin: 0 auto;
}

.inspection-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inspection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #2563eb;
  transition: all 0.3s ease;
}

.inspection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.inspection-card:hover::before {
  width: 8px;
}

.inspection-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.inspection-icon svg {
  width: 30px;
  height: 30px;
  color: #2563eb;
}

.inspection-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
  display: flex;
  align-items: center;
}

.inspection-badge {
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #d1fae5;
  color: #10b981;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.75rem;
}

.inspection-content {
  flex: 1;
}

.inspection-content p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.inspection-list {
  list-style: none;
  margin-left: 0.5rem;
}

.inspection-list li {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.inspection-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #2563eb;
}

/* Responsive */
@media (max-width: 1023px) {
  .top-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .bottom-row {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {

  .top-row,
  .bottom-row {
    grid-template-columns: 1fr;
  }

  .bottom-row {
    width: 100%;
  }
}

/* Animation classes for AOS library */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}


.container-top {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.card-grid-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-top {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-top {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.icon-top {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1fae5;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.icon-top svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #10b981;
}

.card-title-top {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.content-top {
  margin-bottom: 1rem;
}

.content-top p {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.link-top {
  font-size: 0.875rem;
  color: #2563eb;
  text-decoration: none;
}

.link-top :hover {
  text-decoration: underline;
}

.sample-reports {
  background-color: #162536;
  color: white;
  padding: 60px 0;
  overflow: hidden;
}

.container-reports {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-reports {
  flex: 1;
  max-width: 500px;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
}

p {
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e6e6e6;
}

.buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-button {
  background-color: #ff7a00;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
}

.pdf-button {
  background-color: #ff7a00;
}

.online-button {
  background-color: #0088cc;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pdf-button:hover {
  background-color: #ff9933;
}

.online-button:hover {
  background-color: #00a0e9;
}

.icon {
  margin-right: 8px;
  font-size: 18px;
}

.devices {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.devices-image {
  max-width: 100%;
  height: auto;
  transform: perspective(1000px) rotateY(-10deg);
  transition: transform 0.5s;
}

.devices-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
  color: #333;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.sample-item {
  text-align: center;
  padding: 15px;
  background-color: #f5f9ff;
  border-radius: 8px;
  transition: transform 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sample-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sample-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.pdf-icon::after {
  content: "PDF";
  font-weight: bold;
}

.online-icon::after {
  content: "Web";
  font-weight: bold;
}

.sample-item p {
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.download-link,
.view-link {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
}

.download-link {
  background-color: #ff7a00;
  color: white;
}

.view-link {
  background-color: #0088cc;
  color: white;
}

.download-link:hover,
.view-link:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .content {
    margin-bottom: 40px;
    text-align: center;
  }

  .devices {
    width: 100%;
  }

  .buttons-container {
    justify-content: center;
  }

  .cta-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .buttons-container {
    flex-direction: column;
  }

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




@keyframes wheelMove {
  0% {
    opacity: 1;
    top: 10px;
  }

  50% {
    opacity: 0.5;
    top: 15px;
  }

  100% {
    opacity: 1;
    top: 10px;
  }
}

/* ARROWS */
.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #555;
  border-right: 2px solid #555;
  transform: rotate(45deg);
  margin: 4px auto;
  animation: arrowBlink 1.5s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrowBlink {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(4px) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: translateY(0) rotate(45deg);
  }
}

/* RESPONSIVE: scale down on small screens */
@media (max-width: 600px) {
  .mouse {
    width: 20px;
    height: 35px;
  }

  .wheel {
    width: 3px;
    height: 6px;
    top: 8px;
  }

  .arrow span {
    width: 8px;
    height: 8px;
  }
}


.floating-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 119, 255, 0.3);
  animation: float 3s ease-in-out infinite;
  -webkit-animation: float 3s ease-in-out infinite;
}

@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about .container,
  .contact-wrapper {
    flex-direction: column;
  }

  .image-stack {
    margin-top: 50px;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-content {
    text-align: center;
  }

  .about-features {
    justify-content: center;
  }

  .feature {
    justify-content: center;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    justify-content: flex-start;
  }

  .timeline-content {
    width: calc(100% - 80px);
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
}

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

  @media (max-width: 768px) {
    .timeline {
      padding-left: 20px;
    }

    .timeline::before {
      left: 10px;
    }

    .timeline-icon {
      left: -10px;
      width: 30px;
      height: 30px;
      font-size: 14px;
    }

    .timeline-content {
      padding-left: 50px;
    }

    .timeline-content h3 {
      font-size: 18px;
    }

    .timeline-content p {
      font-size: 14px;
    }
  }
}

@media (max-width: 576px) {
  .hero .container {
    flex-direction: column;
    padding: 20px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 250px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 400px) {
  .hero .container {
    padding: 15px 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons a {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
  }
}

@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .hero-buttons a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}



.pricing-body {
  margin-top: 50px;
  font-family: "Sarabun", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fce7f3 25%, #f3e8ff 50%, #dbeafe 75%, #bfdbfe 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding: 20px 0;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #2d1b69;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 15px 40px;
  border: none;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Sarabun", sans-serif;
  background: #f5f5f5;
  color: #666;
}

.tab-btn:first-child {
  border-radius: 25px 0 0 25px;
}

.tab-btn:last-child {
  border-radius: 0 25px 25px 0;
}

.tab-btn.active {
  background: #d8a7ca;
  color: white;
  box-shadow: 0 4px 15px rgba(216, 167, 202, 0.4);
}

.tab-btn:hover:not(.active) {
  background: #e8e8e8;
  transform: translateY(-2px);
}

/* Content Container */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Header */
.section-header-condo {
  background: #2db2ff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(45, 178, 255, 0.3);
}

.section-header-condo h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0;
}

.section-header-pricing {
  background: #d8a7ca;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(216, 167, 202, 0.3);
}

.section-header-pricing h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin-bottom: 50px;
}

/* Table Header */
.table-header th {
  background: rgba(249, 218, 253, 0.1);
  color: black;
  padding: 20px 15px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #ddd;
}

.table-subheader th {
  background: rgba(252, 227, 255, 0.1);
  color: black;
  padding: 15px 10px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid #ddd;
}

/* Table Body - Completely Transparent */
.table-row {
  transition: all 0.3s ease;
}

.table-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.table-row td {
  padding: 20px 15px;
  text-align: center;
  border: 1px solid #ddd;
  vertical-align: middle;
  background: transparent;
}

/* Cell Styles - All Transparent */
.size-cell {
  font-weight: 700;
  font-size: 1.3rem;
  color: #2d1b69;
}

.area-cell {
  font-weight: 500;
  color: #4a5568;
}

.price-cell {
  font-weight: 600;
  color: #2d1b69;
  font-size: 1.1rem;
}

.time-cell {
  color: #4a5568;
  font-weight: 500;
}

/* Staff Info Styles */
.staff-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.staff-icons {
  display: flex;
  gap: 0.125rem;
}

.staff-icon {
  width: 1rem;
  height: 1rem;
  color: #2d1b69;
}

.staff-count {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Notes Section - No Background */
.notes-section {
  margin-top: 40px;
}

.notes-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.notes-title-vertical {
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-left: 80px;
}

.notes-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.note-number {
  background: #d8a7ca;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(216, 167, 202, 0.3);
  line-height: 1.4;
}

.note-text {
  color: #2d1b69;
  line-height: 1.6;
  font-size: 1.2rem;
  font-weight: 400;
}

.note-text strong {
  font-weight: 600;
  color: #d8a7ca;
}

/* Promotional Banner - Transparent */
.promo-banner {
  background: transparent;
  border-radius: 0.5rem;
  padding: 1.5rem;
  color: #2d1b69;
  margin-top: 40px;
}

.promo-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.promo-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-box {
  background-color: rgba(45, 27, 105, 0.1);
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.icon {
  width: 2rem;
  height: 2rem;
  color: #2d1b69;
}

.plus-sign {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d8a7ca;
}

.promo-text {
  text-align: center;
}

.text-line {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #2d1b69;
}

.highlight-text {
  font-size: 1.125rem;
  font-weight: bold;
  background-color: rgba(216, 167, 202, 0.2);
  color: #2d1b69;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-top: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-container {
    padding: 0 10px;
  }

  .main-title {
    font-size: 1.875rem;
  }

  .pricing-table {
    font-size: 0.875rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 8px;
  }

  .notes-layout {
    flex-direction: column;
    gap: 20px;
  }

  .notes-title-vertical {
    writing-mode: initial;
    /* หรือเอาออกไปเลยก็ได้ */
    transform: none;
    text-align: center;
    display: block;
    margin-bottom: 0.5rem;
    /* ระยะห่างจากเนื้อหาด้านล่าง */
    font-weight: bold;
    font-size: 1.2rem;
  }

  .promo-content {
    text-align: center;
  }

  .promo-icons {
    flex-direction: column;
    gap: 1rem;
  }

  .plus-sign {
    transform: rotate(90deg);
  }

  .tab-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .tabs {
    width: 100%;
  }

  .tab-btn {
    flex: 1;
    padding: 0.5rem;
  }

  .staff-icons {
    flex-wrap: wrap;
  }

  .notes-grid {
    gap: 1rem;
  }

  .note-text {
    font-size: 1rem;
  }
}





/* Responsive Design */
@media (max-width: 1200px) {
  .pricing-table {
    font-size: 0.9rem;
  }

  .table-header th,
  .table-subheader th,
  .table-row td {
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .tab-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .pricing-table {
    font-size: 0.8rem;
  }

  .table-header th,
  .table-subheader th,
  .table-row td {
    padding: 12px 8px;
  }

  .size-cell {
    font-size: 1.1rem;
  }

  .price-cell {
    font-size: 1rem;
  }

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

@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .pricing-table {
    font-size: 0.7rem;
  }

  .table-header th,
  .table-subheader th,
  .table-row td {
    padding: 10px 6px;
  }

  .section-header {
    padding: 15px;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .notes-section {
    margin-top: 30px;
  }

  .note-item {
    padding: 10px 0;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }

  .pricing-container {
    max-width: none;
  }

  .tab-btn {
    display: none;
  }

  .tab-content {
    display: block !important;
  }

  .pricing-table {
    border: 1px solid #000;
  }

  .table-header th,
  .table-subheader th {
    background: #f0f0f0 !important;
    color: black !important;
  }

  .table-row td {
    border: 1px solid #000;
  }
}


/* Cell Styles */
.size-cell {
  font-weight: 700;
  font-size: 1.3rem;
  color: #2d1b69;
  background: transparent;
}

.area-cell {
  font-weight: 500;
  color: #4a5568;
}

.price-cell {
  font-weight: 600;
  color: #2d1b69;
  font-size: 1.1rem;
}

.time-cell {
  color: #4a5568;
  font-weight: 500;
}

.staff-cell {
  color: #4a5568;
  font-weight: 500;
}

/* Staff Info */
.staff-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-icons {
  display: flex;
  gap: 4px;
}

.staff-icon {
  font-size: 1.2rem;
  color: #7fb3d3;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.staff-count {
  color: #4a5568;
  font-weight: 500;
}

.info-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: black;
}

/* แก้ตรงนี้! ใช้ flex เพื่อให้ "หมายเหตุ" อยู่ซ้าย รายการอยู่ขวา */
.info-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-title {
  font-size: 1.3rem;
  font-weight: 600;
  min-width: 80px;
  margin-top: 5px;
}

.info-list {
  margin: 0;
  padding-left: 20px;
}


.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  color: black;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-number {
  background: rgba(255, 255, 255, 0.9);
  color: #2d1b69;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: black;
}

.info-text {
  line-height: 1.6;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: black;
  margin-top: 50px;
}

.highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: black;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .pricing-table {
    font-size: 0.9rem;
  }

  .table-header th,
  .table-subheader th,
  .table-row td {
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .tab-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .pricing-table {
    font-size: 0.8rem;
  }

  .table-header th,
  .table-subheader th,
  .table-row td {
    padding: 12px 8px;
  }

  .size-cell {
    font-size: 1.1rem;
  }

  .price-cell {
    font-size: 1rem;
  }

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

  .staff-info {
    flex-direction: row;
    justify-content: center;
  }

  .staff-icons {
    margin-right: 8px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .pricing-table {
    font-size: 0.7rem;
  }

  .table-header th,
  .table-subheader th,
  .table-row td {
    padding: 10px 6px;
  }

  .section-header {
    padding: 15px;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .info-section {
    padding: 20px;
  }

  .info-item {
    padding: 15px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }

  .pricing-container {
    max-width: none;
  }

  .tab-btn {
    display: none;
  }

  .tab-content {
    display: block !important;
  }

  .table-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .info-section {
    background: #f9f9f9;
    border: 1px solid #ccc;
  }
}




.service-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #ddd;
}

.web-app,
.thermal,
.drone {
  text-align: center;
  padding: 15px;
}

.web-app h3,
.thermal h3,
.drone h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #0099cc;
}

#house-content .web-app h3,
#house-content .thermal h3,
#house-content .drone h3 {
  color: #e91e63;
}

.web-app p,
.thermal p,
.drone p {
  font-size: 14px;
  color: #666;
}

.plus {
  font-size: 24px;
  margin: 0 15px;
  color: #999;
}

.equipment-note {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  color: #0099cc;
  font-weight: 500;
}

#house-content .equipment-note {
  color: #e91e63;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
    border-radius: 10px;
  }

  .tab-btn {
    padding: 10px 20px;
    font-size: 16px;
  }

  .price-header h2 {
    font-size: 22px;
  }

  .table-header,
  .table-subheader,
  .table-row {
    font-size: 14px;
  }

  .col-size {
    flex: 0.3;
  }

  .col-sqm {
    flex: 1;
  }

  .info-text {
    font-size: 14px;
  }

  .service-features {
    flex-direction: column;
  }

  .plus {
    margin: 10px 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 10px;
  }

  .tab-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .price-header h2 {
    font-size: 18px;
  }

  .table-header,
  .table-subheader,
  .table-row {
    font-size: 12px;
  }

  .table-header>div,
  .table-subheader>div,
  .table-row>div {
    padding: 8px 5px;
  }

  .info-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .info-text {
    font-size: 12px;
  }
}