:root {
  --primary-color: #0d1a3c; /* Dark Blue from logo */
  --secondary-color: #f78d1e; /* Orange from logo */
  --light-bg: #f5f8ff; /* Light bluish-white */
  --text-color: #333;
  --white: #fff;
  --font-family: "Kanit", sans-serif;
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  height: 100px; /* Adjust as needed */
  vertical-align: middle;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center; /* Align with language switcher */
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

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

.language-switcher button {
  background: none;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 5px 10px;
  margin-left: 15px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.language-switcher button.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

.language-switcher button:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    #2a4173
  ); /* Gradient for depth */
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--secondary-color); /* Highlight with orange */
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.section {
  padding: 60px 0;
  text-align: center;
}

.section.bg-light {
  background-color: var(--light-bg);
}

.section h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn.primary-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
}

.btn.primary-btn:hover {
  background-color: #e67e00; /* Slightly darker orange */
  transform: translateY(-2px);
}

/* Services Grid */
.service-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item img {
  height: 140px;
  margin-bottom: 20px;
}

.service-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* Flow Chart */
.flow-chart img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.flow-description {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.flow-description h4 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  display: inline-block; /* To make border-bottom only cover text */
}

.flow-description ol {
  list-style: decimal;
  padding-left: 20px;
}

.flow-description li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Customer Logos */
.subtitle {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
}

.customer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.customer-logos img {
  height: 80px; /* Uniform height for logos */
  width: auto;
  object-fit: contain;
  /* filter: grayscale(80%);  */
  /* opacity: 0.8; */
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.customer-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Contact Form (Optional) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto 0 auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-family);
  font-size: 1em;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

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

  nav ul {
    flex-direction: column;
    margin-top: 15px;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .section h2 {
    font-size: 2em;
  }

  .service-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-item {
    max-width: 90%;
  }
}


