/* ================================================= */
/* === ĐỊNH NGHĨA CHUNG & BIẾN (Tái tạo từ thphuc.css) === */
/* ================================================= */
html, body {
  margin: 0;
  padding: 0;
  border: 0;
}

:root {
  --primary: #0066cc;
  --secondary: #00b39f;
  --dark: #0f172a;
  --white: #ffffff;
  --light: #f5f7fa;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --footer-bg: #003d7c;
  --footer-light: #52c2ff;
  --footer-text: #e0f7ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container-wrapper {
    max-width: 100vw;
}

/* ================================================= */
/* === HEADER/MENU (Tái tạo từ thphuc.css) === */
/* ================================================= */
header {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: white;
  padding: 0; 
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1150px; 
  margin: 0 auto;    
 
}

.nav {
  max-width: 1150px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 8px 20px; 
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px; 
  letter-spacing: 0.5px;
}
.brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-title {
    font-weight:700; 
    font-size: 24px;
}
.brand-slogan {
    font-size:12px;
    color:rgba(255, 255, 255, 0.7);
}

.member-banner {
  background: none; 
  display: flex;
  flex-direction: row; 
  align-items: center; 
  gap: 5px; 
  justify-content: center;
  padding: 0; 
  color: white;
  font-weight: 500; 
  font-size: 13px;
  line-height: 1.2;
}

.member-banner img {
  height: 30px;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1); 
  margin-top: 5px; 
}

nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
}

nav a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Link active của trang Thông tin */
nav a.active-link {
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
}
nav a.active-link::after {
    width: 0 !important; 
}

@media (max-width: 768px) {
  .brand {
    flex-direction: column; 
    align-items: flex-start;
    gap: 5px;
  }
  .member-banner {
    flex-direction: row;
    font-size: 12px;
  }
  .member-banner img {
    height: 25px;
    margin-top: 0;
  }
  nav ul {
    gap: 14px;
  }
}

/* ================================================= */
/* === NỘI DUNG CHÍNH (SÁNG TẠO) === */
/* ================================================= */

section {
    max-width: 1150px;
    margin: 0 auto;
}
.hero-info {
    padding: 80px 20px 60px; 
    background: linear-gradient(135deg, var(--secondary), var(--primary)); 
    color: white;
    text-align: center;
}
.hero-info h1 {
    font-size: 38px;
    color: white;
    font-weight: 800;
}
.hero-info p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 800px;
    margin: 10px auto 0;
}

.schedule-regulation-section {
    padding: 70px 20px;
    background-color: var(--white);
}

.schedule-regulation-section h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 700;
}

.timeline-container {
    position: relative;
    padding: 0 0 0 40px; 
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 20px;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 10px 0 30px 20px;
    margin-bottom: 25px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 11px;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    border: 4px solid var(--light); 
}

.dot-primary { background-color: var(--primary); }
.dot-secondary { background-color: var(--secondary); }
.dot-danger { 
    background-color: #dc3545; 
    animation: pulse 1.5s infinite;
}

.timeline-content {
    background: var(--light);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.time-label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9em;
    margin-bottom: 5px;
}

.timeline-content h3 {
    text-align: left;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3em;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* --- Quy Định (Accordion) --- */
.accordion-regulations {
    padding: 50px 20px 80px;
}

.accordion-regulations h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 40px;
}

.regulation-card {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: white;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: background-color 0.3s;
}

.card-title:hover { background-color: #f7f7f7; }

.card-title i.fa-solid {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.1em;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--secondary);
}

.regulation-card input:checked ~ .card-title .toggle-icon {
    transform: rotate(180deg);
}

.card-body {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.regulation-card input:checked ~ .card-body {
    max-height: 300px; 
    padding: 15px 25px 20px;
    border-top: 1px solid #eee;
}

.card-body ul {
    list-style: none;
    padding-left: 0;
}

.card-body ul li {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
    font-size: 0.95em;
}

.card-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

/* ================================================= */
/* === FOOTER (Tái tạo từ thphuc.css) === */
/* ================================================= */
.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 20px 20px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 1150px; 
  margin: 0 auto;    
}
@media (max-width: 1150px) {
    .main-footer {
        max-width: 100%;
        border-radius: 0;
    }
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  min-width: 250px;
  margin-bottom: 30px;
  flex-basis: calc(33.33% - 40px);
}

.footer-column h3 {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--footer-light);
  position: relative;
}

.footer-column h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--footer-light);
  margin-top: 5px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

.footer-title {
  font-size: 1.5em;
  margin: 0 0 5px;
}

.footer-slogan {
  font-size: 0.9em;
  opacity: 0.8;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icon-fa {
  font-size: 20px;
  color: #ffffff;
  width: auto;
  height: auto;
  padding: 6px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  transition: 0.3s;
}


.footer-social a:hover .social-icon-fa {
  transform: scale(1.1);
  opacity: 0.9;
  color: #ffffff;
  border-color: #ffffff;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact ul li i {
  font-size: 1em;
  color: var(--footer-light);
  margin-right: 15px;
  margin-top: 3px;
}

.footer-contact a {
  color: var(--footer-light);
  text-decoration: none;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-org-name {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  padding-left: 15px;
}

.footer-links a:hover {
  color: var(--footer-light);
}

.footer-links a::before {
  content: '▶';
  position: absolute;
  left: 0;
  font-size: 0.7em;
  color: var(--footer-light);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85em;
  opacity: 0.7;
}


@media (max-width: 992px) {
  .footer-content {
    justify-content: space-around;
  }
  .footer-column {
    flex-basis: calc(50% - 20px);
  }
  .footer-brand-column {
    flex-basis: 100%;
    text-align: center;
  }
  .footer-brand-column .footer-logo,
  .footer-brand-column .footer-social {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .footer-column h3::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .main-footer {
    padding-top: 20px;
  }
  .footer-column {
    flex-basis: 100%;
    text-align: center;
  }
  .footer-column h3 {
    font-size: 1.1em;
    text-align: center;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
    margin: 5px auto 0;
  }
  .footer-contact ul li {
    justify-content: center;
  }
  .footer-contact ul li i {
    margin-right: 10px;
  }
  .footer-links a {
    padding-left: 0;
  }
  .footer-links a::before {
    content: none;
  }
}
/* CSS cho container chứa bản đồ */
.map-container {
    width: 100%;
  
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 0; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.map-container:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); 
}


.map-container iframe {
    border: none; 
    width: 100%; 
    height: 480px;
    border-radius: 12px;
    display: block; 
}


@media (max-width: 768px) {
    .map-container {
        margin: 20px auto; 
        border-radius: 0; 
        box-shadow: none;
        max-width: 100%; 
    }

    .map-container:hover {
        transform: none; 
        box-shadow: none;
    }

    .map-container iframe {
        height: 350px; 
        border-radius: 0; 
    }
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: #333;
    background-color: #f8f9fa; 
}

h2 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #003366; 
    font-size: 2.2em;
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-top: 60px;  
    margin-bottom: 30px;    
    font-size: 2.2em;
    font-weight: 700;
    color: #333; 
    position: relative; 
    display: block; 
}


.section-title::after {
    content: ''; 
    display: block;
    width: 60px; 
    background-color: #007bff; 
    
    
    margin: 10px auto 0;
    
   
    border-radius: 2px; 
}


@media (max-width: 768px) {
    .section-title {
        font-size: 1.8em; 
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .section-title::after {
        width: 40px;
    }
}
/* --- Cập nhật: Quy Định (Grid View) --- */
.detailed-regulations {
    padding: 50px 20px 80px;
    background-color: var(--light); 
}

.detailed-regulations h2 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 32px;
}

.regulations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.detailed-regulations .regulation-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--secondary);
}

.detailed-regulations .regulation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.detailed-regulations .card-icon {
    font-size: 2.2em;
    color: var(--secondary);
    margin-bottom: 15px;
}

.detailed-regulations h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.detailed-regulations ul {
    list-style: none;
    padding-left: 0;
}

.detailed-regulations ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95em;
    line-height: 1.4;
}

.detailed-regulations ul li::before {
    content: '\f00c'; /* FontAwesome Checkmark */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9em;
}

/* --- Bổ sung: Lưu Ý Chung --- */
.general-notes-section {
    padding: 50px 20px 80px;
}

.general-notes-section h2 {
    color: #dc3545; /* Màu đỏ nổi bật cho Lưu ý */
    margin-bottom: 40px;
    font-size: 32px;
}

.notes-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
    gap: 20px;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #fff3cd; /* Màu nền vàng nhạt */
    border-left: 5px solid #ffc107; /* Viền vàng đậm */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.note-icon {
    font-size: 1.8em;
    color: #ffc107;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 1.2em;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.note-content p {
    margin: 0;
    font-size: 0.95em;
    color: #664d03;
}