:root {
    --primary-color: #c62828; /* แดงสิงโต */
    --primary-light: #ef5350; /* แดงอ่อน */
    --white-color: #ffffff;
    --bg-color: #f7f7f9; /* สีพื้นหลังที่สะอาดและนุ่มนวล */
    --text-dark: #212529; /* สีตัวอักษรเข้ม */
    --text-light: #6c757d;
    --border-radius-large: 16px;
    --border-radius-small: 8px;
}

/* -------------------- 
    BASE STYLES 
-------------------- */
body {
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* -------------------- 
    CONTAINER & HEADER 
-------------------- */
.privacy-container {
    max-width: 900px; /* ขยายความกว้างเล็กน้อย */
    margin: 40px auto;
    padding: 3rem; 
    background-color: var(--white-color);
    border-radius: var(--border-radius-large); 
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08); 
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

@media (max-width: 960px) {
    .privacy-container {
        margin: 20px;
        padding: 1.5rem;
    }
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee; /* เส้นแบ่งเบาๆ */
}

.privacy-title {
    font-size: 2.5rem; /* ปรับให้พอดี */
    color: var(--primary-color);
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Background Pattern (เก็บไว้ใน <style> block ใน HTML เพื่อความสะดวก) 
.privacy-container::before { ... } 
*/

/* -------------------- 
    CONTENT SECTIONS 
-------------------- */
.privacy-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding-left: 20px;
    position: relative;
    line-height: 1.2;
}

/* Vertical Bar for Main Titles */
.content-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px; 
    height: 90%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.content-subtitle {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    border-left: 4px solid var(--primary-light);
    padding-left: 12px;
}

/* -------------------- 
    DATA LISTS 
-------------------- */
.data-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.data-list li {
    background-color: #fcfcfc; /* สีพื้นหลังรายการที่นุ่มนวล */
    border-left: 5px solid var(--primary-color); 
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-small); 
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    transition: background-color 0.2s;
}

.data-list li:hover {
    background-color: #fff8f8; /* ไฮไลท์เมื่อเมาส์อยู่เหนือ */
}

.data-list li i {
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
    font-size: 1.1em;
}

/* -------------------- 
    BUTTONS 
-------------------- */
.go-back-btn {
    text-align: center;
    margin-top: 4rem;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2.2rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border: none;
    border-radius: 50px; 
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(198, 40, 40, 0.3); /* เงาเน้นสีแบรนด์ */
}

.modern-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.4);
}

/* -------------------- 
   RESPONSIVENESS (Mobile Optimizations)
-------------------- */

/* ปรับปรุง Media Query เดิม (960px) สำหรับ Tablet/Small Desktops */
@media (max-width: 960px) {
    .privacy-container {
        margin: 20px;
        padding: 1.5rem;
    }
}

/* ----------------------------------------------------
   Optimized for Tablets and Large Smartphones (Max 768px)
---------------------------------------------------- */
@media (max-width: 768px) {
    .privacy-title {
        font-size: 2.2rem;
    }
    .content-title {
        font-size: 1.6rem;
        margin-top: 3rem;
        margin-bottom: 1.2rem;
    }
    .content-subtitle {
        font-size: 1.1rem;
    }
    .data-list li {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}


/* ----------------------------------------------------
   Optimized for Smartphones (Max 600px)
   ปรับขนาดตัวอักษรและ padding ให้กระชับขึ้น
---------------------------------------------------- */
@media (max-width: 600px) {
    .privacy-container {
        /* ใช้ padding น้อยลงบนมือถือเพื่อให้เนื้อที่กว้างขึ้น */
        padding: 1rem; 
        margin: 10px;
        border-radius: 8px; /* มุมโค้งมนเล็กลง */
    }

    .privacy-header {
        margin-bottom: 2rem;
    }

    .privacy-title {
        font-size: 1.8rem; /* หัวข้อหลักเล็กลง */
        letter-spacing: 1px;
    }

    .content-title {
        font-size: 1.4rem; /* หัวข้อรองเล็กลง */
        margin-top: 2rem;
        padding-left: 15px; /* ลด padding ซ้ายของหัวข้อ */
    }
    
    .content-title::before {
        width: 4px; /* ลดความหนาของเส้น */
    }

    .content-subtitle {
        font-size: 1rem;
        padding-left: 10px;
    }
    
    .data-list li {
        /* จัดการการแตกบรรทัดของ Flex item */
        display: block; 
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        gap: 0; /* ลบระยะห่างระหว่าง icon และข้อความ */
        line-height: 1.5;
    }
    
    .data-list li i {
        /* จัด icon ให้อยู่ด้านบนซ้ายของข้อความ */
        position: static; 
        margin-right: 5px;
    }

    /* Trust Seals Display - จัดเรียงให้อยู่ตรงกลางเสมอ และภาพไม่ใหญ่เกินไป */
    .security-seals-display {
        gap: 15px;
        flex-wrap: wrap;
    }
    .security-seals-display img {
        max-height: 35px; /* ลดขนาดภาพ Trust Seal */
    }

    /* ปุ่มกลับ (Go Back Button) */
    .modern-btn {
        font-size: 1rem;
        padding: 0.7rem 1.8rem;
    }
}


/* ====== [Start] F O O T E R SECTION ============ */
/* #region */
.footer {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #8B0000, #d71e1e);
  color: white;
  overflow: hidden;
  padding-top: 60px;
}
.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 0;
  opacity: 0.3;
}
.footer-overlay {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-section {
  flex: 1;
  min-width: 220px;
  padding: 35px;
}
.footer-brand img.footer-logo-img {
  width: 80px;
  margin-bottom: 1rem;
}
.footer-brand h2 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}
.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.footer p, .footer li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: #ffe6e6;
}
.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-btn {
  padding: 0.6rem 1.2rem;
  background: white;
  color: #a30000;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.footer-btn:hover {
  background: #ffe5e5;
  transform: scale(1.05);
}
.footer-btn.line {
  background: #06c755;
  color: white;
}
.footer-map iframe {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.footer-bottom {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}



.copy-popup {
    visibility: hidden; 
    min-width: 150px;
    background-color: #313131;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 12px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

.copy-popup.show {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 480px) {
    .footer-content {
        gap: 0;
    }
    .footer-buttons {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .footer-btn {
        padding: 0.5rem 0.9rem;
        font-weight: bold;
    }
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }

}

@media (min-width: 481px) and (max-width: 1024px) { 
    
    .footer-content {
        gap: 0;
    }
    .footer-buttons {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .footer-btn {
        padding: 0.5rem 0.9rem;
        font-weight: bold;
    }
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 25px;
    }
    .footer-content > div {
        flex: 1 1 calc(50% - 1rem);
        box-sizing: border-box;
    }
    .footer-section {
        justify-content: left;
        justify-items: left;
    }
    .footer-section a {
        font-size: 16px;
    }
    .footer-section p {
        font-size: 16px;
    }

}


/* #endregion */
/* = = = = = [End] F O O T E R SECTION = = = = = */
