/* =========================================
   1. IMPORT FONTS & GLOBAL RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Prompt:wght@300;400;500;600&display=swap');
.ul_list {
    list-style: inside !important;
}
#bt_line {

  background: #4CAF50 !important;
}

.bt_list {
  background-color: #00000000 !important;
  display: block !important;
  z-index: 1 !important;
  width: 0% !important;
  height: 0% !important;
}

.text-red {
  color: red !important;
}

.fy-address-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-top: 4px solid #d4af37;
  /* ขอบทองด้านบนเพิ่มความหรู */
  font-family: 'Prompt', sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.address-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ชื่อบริษัท */
.company-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  /* ขนาดสำหรับ PC */
  color: #0f172a;
  /* Midnight Blue */
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* เส้นคั่นสีทองตรงกลาง */
.gold-divider-center {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
  margin: 0 auto 25px auto;
  border-radius: 2px;
}

/* กล่องรายละเอียดที่อยู่ */
.address-details {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* จัดให้ไอคอนอยู่บรรทัดแรกเสมอ */
  gap: 10px;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.6;
}

.icon-pin {
  font-size: 1.5rem;
  color: #d4af37;
  /* ไอคอนสีทอง */
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
  margin-top: -3px;
  /* ปรับตำแหน่งไอคอนให้ตรงกับตัวหนังสือ */
}

address {
  font-style: normal;
  /* ทำให้ตัวเอียงกลับเป็นปกติ */
}

/* ซ่อนการตัดบรรทัดในหน้าจอใหญ่ */
.mobile-break {
  display: none;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablet & Small Laptop (max-width: 1024px) */
@media (max-width: 1024px) {
  .company-name {
    font-size: 1.8rem;
  }

  .address-details {
    font-size: 1.1rem;
  }
}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .fy-address-section {
    padding: 40px 0;
  }

  .company-name {
    font-size: 1.5rem;
    /* ลดขนาดชื่อบริษัทในมือถือ */
    line-height: 1.3;
  }

  .address-details {
    font-size: 1rem;
    flex-direction: column;
    /* เรียงไอคอนไว้บนข้อความในมือถือ */
    align-items: center;
    gap: 5px;
  }

  .icon-pin {
    font-size: 2rem;
    /* ขยายไอคอนในมือถือให้กดง่าย/เห็นชัด */
    margin-bottom: 5px;
  }

  /* ให้ที่อยู่ตัดบรรทัดในมือถือเพื่อให้อ่านง่าย */
  .mobile-break {
    display: block;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .company-name {
    font-size: 1.3rem;
  }

  .gold-divider-center {
    width: 50px;
    margin-bottom: 20px;
  }
}

/* --- Highlight Section Styles (White Luxury - Fully Responsive) --- */
.highlight-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
  /* ไล่สีขาวไปเทาอ่อนจางๆ */
}

/* Header Design */
.highlight-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 15px;
  /* ป้องกันข้อความชิดขอบจอเกินไปในมือถือ */
}

.highlight-header h2 {
  font-size: 2.2rem;
  /* ขนาดมาตรฐาน PC */
  color: #0f172a;
  margin-bottom: 15px;
  line-height: 1.3;
}

.highlight-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.gold-text {
  color: #d4af37;
  /* Luxury Gold */
  font-weight: 700;
}

.gold-line-small {
  width: 60px;
  height: 3px;
  background: #d4af37;
  margin: 0 auto;
  border-radius: 2px;
}

/* Content Box Design */
.highlight-content-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  /* เงานุ่มหรู */
  border: 1px solid rgba(212, 175, 55, 0.2);
  /* ขอบทองจางๆ */
  position: relative;
  overflow: hidden;
  margin: 0 15px;
  /* เว้นขอบซ้ายขวาเล็กน้อยเมื่อจอเล็ก */
}

/* ตกแต่งมุมกล่องด้วยสีทอง */
.highlight-content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
}

/* Grid Layout for Items */
.highlight-grid {
  display: grid;
  /* ปรับ minmax ให้เล็กลง (250px) เพื่อให้ไม่แตกในจอแท็บเล็ตแนวตั้ง */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid #d4af37;
  flex-shrink: 0;
  /* ไม่ให้ไอคอนหด */
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.text-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 700;
}

.text-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Footer Section */
.highlight-footer {
  text-align: center;
  background-color: #0f172a;
  /* พื้นหลังสีน้ำเงินเข้ม */
  padding: 30px;
  border-radius: 12px;
  color: white;
}

.highlight-footer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #d4af37;
  /* ข้อความสีทอง */
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
}

/* Large CTA Button */
.cta-btn-large {
  display: inline-block;
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #0f172a;
  padding: 12px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
  /* ป้องกันข้อความปุ่มตกบรรทัด */
}

.cta-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #ffd700, #d4af37);
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablet & Small Laptop (max-width: 1024px) */
@media (max-width: 1024px) {
  .highlight-content-box {
    padding: 40px 30px;
  }

  .highlight-grid {
    gap: 30px;
    /* ลดช่องว่างระหว่าง Grid ลง */
  }
}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .highlight-section {
    padding: 60px 0;
    /* ลดความสูง section */
  }

  .highlight-header h2 {
    font-size: 1.8rem;
    /* ลดขนาดหัวข้อ */
  }

  .highlight-content-box {
    padding: 30px 20px;
    margin: 0 10px;
    /* ลดระยะขอบ */
  }

  /* เปลี่ยน Grid เป็น 1 คอลัมน์สำหรับมือถือ */
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .highlight-item {
    flex-direction: column;
    /* ไอคอนอยู่บน ข้อความอยู่ล่าง */
    align-items: center;
    text-align: center;
  }

  .icon-circle {
    margin-bottom: 10px;
  }

  .highlight-footer {
    padding: 25px 15px;
  }

  .highlight-footer h3 {
    font-size: 1.1rem;
  }

  .cta-btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
    width: 100%;
    /* ปุ่มเต็มความกว้างในมือถือ */
    max-width: 300px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .highlight-header h2 {
    font-size: 1.6rem;
  }

  .highlight-header p {
    font-size: 1rem;
  }

  .highlight-content-box {
    padding: 25px 15px;
    border-radius: 15px;
  }
}


.bt_contact0 {
  bottom: 130px !important;
}

html:not(.tablet):not(.mobile) .profile-modern-main-item_primary {
  padding: 20px;
}

.btnphone {
  background-image: linear-gradient(120deg, #F44336 0%, #8e0404 100%) !important;
  width: 100%;
  margin-top: 10px !important;
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-style: solid;
  border-width: 0px 0px 3px 0.5px;
  border-color: #dbb42c;
  border-radius: 50px
}

.btnline {
  background-image: linear-gradient(120deg, #49ae4d 0%, #CDDC39 100%) !important;
  width: 100%;
  margin-top: 10px !important;
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-style: solid;
  border-width: 0px 0px 3px 0.5px;
  border-color: #dbb42c;
  border-radius: 50px
}

.btnfb {
  background-image: linear-gradient(120deg, #03A9F4 0%, #3F51B5 100%) !important;
  width: 100%;
  margin-top: 10px !important;
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-style: solid;
  border-width: 0px 0px 3px 0.5px;
  border-color: #dbb42c;
  border-radius: 50px;
}

.text-img {
  display: inline-block;
}

@font-face {
  font-family: 'FontAwesome';
  src: url("../fonts/font-awesome-5-brands/fa-brands-400.eot?#iefix") format("embedded-opentype"),
    url("../fonts/font-awesome-5-brands/fa-brands-400.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

.fa-youtube {
  color: red !important;
}

.fa-facebook {
  color: #2196f3de !important;
}

.fa-phone {
  color: #fff !important;
}


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

/* บังคับพื้นหลังขาว Clean Luxury */
body,
html,
.bg-gray-100,
.bg-white,
.bg-cover {
  background-color: #ffffff !important;
  font-family: 'Prompt', sans-serif !important;
  color: #555555;
  /* สีตัวอักษรเทาเข้ม อ่านง่าย */
  line-height: 1.6;
}

/* หัวข้อทั้งหมดเป็น Midnight Blue */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title h2,
.section-heading h2,
.text-dark,
.box-modern-title {
  font-family: 'Playfair Display', serif !important;
  color: #0f172a !important;
  /* Midnight Blue */
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: #0f172a;
}

a:hover {
  color: #d4af37;
}

/* เส้นคั่น */
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

/* =========================================
   2. HEADER & NAVIGATION (LUXURY STYLE)
   ========================================= */
header,
.rd-navbar,
.rd-navbar-fixed .rd-navbar-panel,
.rd-navbar-static.rd-navbar--is-stuck {
  background-color: #0f172a !important;
  /* Midnight Blue Header */
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rd-nav-link,
.rd-navbar-nav a {
  color: #FFC107 !important;
  font-family: 'Prompt', sans-serif;
}

.rd-nav-link:hover {
  color: #d4af37 !important;
  /* Gold on hover */
}

.logo,
.text-logo {
  color: #d4af37 !important;
  /* Luxury Gold */
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
  vertical-align: sub !important;
  padding-left: 5px;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
  /* เว้นที่ให้ Header */
}

.hero h1 {
  color: #d4af37 !important;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: #f0f0f0 !important;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* =========================================
   4. UI COMPONENTS (BUTTONS & LINES)
   ========================================= */

/* เส้นขีดสีทอง */
.line,
.gold-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f7ef8a, #d4af37);
  margin: 0 auto 20px auto;
  border-radius: 2px;
}

/* ปุ่มหลัก Luxury Gold */
.cta-btn,
.button-primary {
  display: inline-block;
  background: linear-gradient(135deg, #b8860b, #ffd700, #b8860b) !important;
  background-size: 200% auto !important;
  color: #0f172a !important;
  /* Text สีน้ำเงินเข้ม */
  padding: 12px 30px;
  border-radius: 50px !important;
  font-weight: 600;
  border: none !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: all 0.4s ease;
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
}

.cta-btn:hover,
.button-primary:hover,
.btnphone:hover,
.btnline:hover,
.btnfb:hover {
  background-position: right center !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  color: #000 !important;
}

/* =========================================
   5. SECTIONS: PROCESS & SERVICES
   ========================================= */
.section-padding,
.section-lg {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-title,
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

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

.process-card {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  border: 1px solid #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Process Card Hover Effect */
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #d4af37;
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #f3f4f6;
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.process-card:hover .step-number {
  color: rgba(212, 175, 55, 0.25);
}

/* --- Services / Box Modern (แก้ไขจากของเดิม) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card,
.box-modern,
.box-custom-1 {
  background-color: #ffffff !important;
  /* บังคับพื้นขาว */
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  border-top: 4px solid #d4af37 !important;
  /* ขอบบนทอง */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  /* หรือ left ตามชอบ */
}

.service-card:hover,
.box-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.service-icon,
.box-modern-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: -webkit-linear-gradient(45deg, #d4af37, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* =========================================
   6. FEATURES SECTION (Midnight Blue Background)
   ========================================= */
.features {
  background-color: #0f172a;
  /* พื้นหลังน้ำเงินเข้ม */
  color: #ffffff;
  padding: 80px 0;
}

.features h2 {
  color: #d4af37 !important;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-list li {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  color: #e2e8f0;
}

.feature-list li::before {
  content: "✔";
  color: #d4af37;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.3rem;
  background: rgba(212, 175, 55, 0.15);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* =========================================
   7. CONTACT & FOOTER
   ========================================= */
.contact-box {
  background-color: #ffffff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  text-align: center;
  border: 1px solid #f0f0f0;
}

.breadcrumbs-custom-aside {
  background: #f8f9fa !important;
  /* แก้จากดำเป็นเทาอ่อน */
  padding: 10px;
  border-radius: 8px;
}

footer,
.footer-classic {
  background-color: #000000;
  color: #888888;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  border-top: 3px solid #d4af37;
}

/* =========================================
   8. UTILITIES & RESPONSIVE (LEGACY SUPPORT)
   ========================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

  .process-grid,
  .services-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* Grid Utilities (Keep to prevent layout break) */
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }

  .hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }

  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }

  .hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }

  .hidden-lg {
    display: none !important;
  }
}