@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
:root {
  --primary-gradient: linear-gradient(135deg, #001529 0%, #003366 50%, #00509d 100%);
  --secondary-gradient: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
  --text-main: #2c3e50;
  --text-light: #f8f9fa;
  --card-bg: #ffffff;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 15px 40px rgba(0, 21, 41, 0.15);
  --hover-transform: translateY(-5px);
}
body {
  font-family: 'Kanit', sans-serif;
  background-color: #f4f6f9;
  color: var(--text-main);
  overflow-x: hidden;
}
.hero-section {
  position: relative;
  height: 65vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding-bottom: 60px;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 21, 41, 0.85) 0%, rgba(0, 51, 102, 0.7) 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 10px);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 20px;
  margin-top: 25px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  animation: fadeInDown 1s ease;
}
.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 20px auto;
  animation: fadeInUp 1s ease 0.3s backwards;
}
.online-service-section {
  position: relative;
  z-index: 20;
  margin-top: -80px;
  padding-bottom: 20px;
}
.eservice-card {
  background: #fff;
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  backdrop-filter: blur(10px);
  perspective: 1000px;
}
.eservice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-gradient);
  transition: height 0.4s ease;
  z-index: 0;
}
.eservice-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 30, 60, 0.25);
}
.eservice-card:hover::before {
  height: 100%;
  opacity: 0.03;
}
.eservice-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #003366;
  transition: all 0.5s ease;
  box-shadow: inset 0 5px 10px rgba(255, 255, 255, 0.8), 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}
.eservice-card:hover .eservice-icon {
  background: var(--primary-gradient);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 10px 25px rgba(0, 51, 102, 0.4);
}
.eservice-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 12px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.eservice-desc {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.eservice-action {
  color: #00509d;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.eservice-card:hover .eservice-action {
  color: #B8860B;
  letter-spacing: 2px;
}
.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003366;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-gradient);
  border-radius: 2px;
}
.services-section {
  padding: 60px 0 80px 0;
  background: #fff;
}
.service-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-gradient);
  z-index: -1;
  transition: height 0.4s ease;
  border-radius: 15px 15px 50% 50%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: transparent;
}
.service-card:hover::before {
  height: 100%;
  border-radius: 15px;
}
.service-icon-box {
  width: 60px;
  height: 60px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
  color: #003366;
  transition: all 0.4s ease;
}
.service-card:hover .service-icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #FFD700;
  transform: rotateY(180deg);
}
.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.3s ease;
}
.service-card:hover .service-title {
  color: #fff;
}
.info-graphics-section {
  padding: 80px 0;
  background: #f4f6f9;
}
.graphic-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.graphic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}
.graphic-header {
  background: var(--primary-gradient);
  padding: 20px;
  text-align: center;
}
.graphic-title {
  color: #fff;
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 1px;
}
.graphic-body {
  padding: 20px;
  text-align: center;
}
.graphic-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}
.graphic-img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.graphic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 21, 41, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.graphic-img-container:hover .graphic-img {
  transform: scale(1.05);
}
.graphic-img-container:hover .graphic-overlay {
  opacity: 1;
}
.zoom-icon {
  color: #fff;
  font-size: 2rem;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 991px) {
  .hero-section {
    height: 55vh;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
    min-height: 450px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .online-service-section {
    margin-top: -40px;
  }
  .eservice-card {
    padding: 25px 20px;
  }
}