@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800&display=swap');
:root {
  --primary-blue: #004e92;
  --secondary-blue: #00c6ff;
  --bg-body: #eef3f3;
  --bg-card: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: rgba(255, 255, 255, 0.8);
  --shadow-color: rgba(0, 0, 0, 0.05);
  --grad-blue: linear-gradient(135deg, #004e92 0%, #00c6ff 100%);
  --grad-header: linear-gradient(120deg, #002d62 0%, #004e92 50%, #00c6ff 100%);
}
[data-theme="dark"] {
  --bg-body: #121212;
  --bg-card: #1e1e2d;
  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Kanit', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
}
html {
  background-color: var(--bg-body);
}
body > div:not(#mainFooterWrapper):not(.cookie-banner-container):not(.modal):not(.scroll-to-top) {
  flex: 1 0 auto;
  width: 100%;
}
.bg-footer.mt-5 {
  margin-top: 0 !important;
  padding-top: 40px !important;
}
#mainFooterWrapper {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto !important;
  margin-bottom: 0 !important;
}
.bg-light-premium {
  background-image:
    radial-gradient(at 10% 10%, rgba(0, 198, 255, 0.08) 0px, transparent 50%), radial-gradient(at 90% 90%, rgba(0, 78, 146, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}
.law-hero-header {
  background: var(--grad-header);
  position: relative;
  padding-top: 180px;
  padding-bottom: 310px;
  color: white;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 0 !important;
}
.header-geometric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.03) 75%, transparent 75%, transparent), linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.03) 75%, transparent 75%, transparent);
  background-size: 60px 60px;
}
.hero-icon-box {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  animation: floatIcon 5s ease-in-out infinite;
}
@keyframes floatIcon {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.hero-title {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 3.2rem;
  margin: 25px 0 15px 0;
  text-shadow:
    0 4px 0 rgba(0, 45, 98, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
  position: relative;
  z-index: 2;
  font-weight: 300;
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 0;
  padding: 0 15px;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.custom-shape-divider-bottom-1680000000 {
  display: none;
}
.main-content-overlap {
  margin-top: -60px !important;
  position: relative;
  z-index: 10;
  padding-bottom: 60px;
}
.section-header-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: background 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
[data-theme="dark"] .section-header-badge {
  background: rgba(30, 30, 45, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}
.badge-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--grad-blue);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3);
}
.section-title {
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.3;
}
.badge-icon.icon-2, .badge-icon.icon-3 {
  background: var(--grad-blue) !important;
  box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3) !important;
}
.section-title.text-gradient-2, .section-title.text-gradient-3 {
  color: var(--primary-blue) !important;
}
[data-theme="dark"] .section-title, [data-theme="dark"] .section-title.text-gradient-2, [data-theme="dark"] .section-title.text-gradient-3 {
  color: var(--primary-blue) !important;
}
.law-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.law-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}
.law-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 78, 146, 0.15);
  border-color: var(--secondary-blue);
}
.law-card-body {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.law-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}
.law-card:hover .law-icon-wrapper {
  transform: scale(1.1) rotate(10deg);
}
.law-icon-wrapper.color-1, .law-icon-wrapper.color-2, .law-icon-wrapper.color-3 {
  background: rgba(0, 198, 255, 0.1) !important;
  color: var(--primary-blue) !important;
}
[data-theme="dark"] .law-icon-wrapper.color-1, [data-theme="dark"] .law-icon-wrapper.color-2, [data-theme="dark"] .law-icon-wrapper.color-3 {
  background: rgba(0, 198, 255, 0.15) !important;
  color: var(--secondary-blue) !important;
}
.law-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}
.law-card-footer {
  padding: 0 25px 30px 25px;
  text-align: center;
}
.btn-download-premium {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  padding: 12px 25px;
  background: var(--grad-blue);
  color: white !important;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 78, 146, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}
.btn-download-premium span {
  white-space: nowrap;
}
.btn-download-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}
.btn-download-premium:hover::before {
  left: 100%;
}
.btn-download-premium:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 78, 146, 0.4);
  color: white;
}
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--grad-blue);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 78, 146, 0.4);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
}
@media (max-width: 991px) {
  .law-hero-header {
    padding: 140px 0 160px 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .main-content-overlap {
    margin-top: 0 !important;
  }
}
@media (max-width: 768px) {
  .law-hero-header {
    height: auto !important;
    min-height: auto !important;
    padding-top: 110px !important;
    padding-bottom: 220px !important;
    clip-path: none !important;
    border-radius: 0 !important;
  }
  .hero-content-wrapper {
    position: relative;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    text-align: center !important;
  }
  .hero-icon-box {
    margin: 0 !important;
    width: 70px !important;
    height: 70px !important;
    font-size: 2.5rem !important;
    flex-shrink: 0;
    margin-bottom: 10px !important;
  }
  .hero-title {
    font-size: 2rem !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  .hero-subtitle {
    width: 100% !important;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    font-size: 0.90rem !important;
    line-height: 1.4 !important;
    display: block !important;
    white-space: normal !important;
    text-align: center !important;
    padding: 0 10px !important;
  }
  .main-content-overlap {
    margin-top: 0 !important;
    padding-top: 20px !important;
  }
  .section-header-badge {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 15px !important;
    padding: 15px !important;
  }
  .section-header-badge .badge-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.4rem !important;
    flex-shrink: 0 !important;
  }
}