/* Laos Government Official Website Style */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', 'Times', serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header with Laos Flag */
.visa-header {
  background: #ffffff;
  border-bottom: 3px solid #1e3a8a;
  padding: 2rem 0;
  text-align: center;
}

.flag-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.laos-img {
  width: 900px;
  height: auto;
  border: 2px solid #333;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.visa-title {
  font-family: 'Times New Roman', 'Times', serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.visa-subtitle {
  color: #666;
  font-size: 1.1rem;
  font-weight: normal;
}

/* Main Container */
.visa-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Table of Contents */
.toc {
  background: #f8f9fa;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #dee2e6;
}

.toc h3 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #1e3a8a;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toc ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.toc li {
  margin: 0;
}

.toc a {
  color: #1e3a8a;
  text-decoration: none;
  padding: 0.8rem 1rem;
  display: block;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.toc a:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

/* Visa Sections */
.visa-section {
  padding: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.visa-section:last-child {
  border-bottom: none;
}

.visa-section h2 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #1e3a8a;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Visa Types */
.visa-type {
  background: #f8f9fa;
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid #1e3a8a;
  border-radius: 0 4px 4px 0;
}

.visa-type h3 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #1e3a8a;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.visa-type h4 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #1e3a8a;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 1rem 0 0.5rem 0;
  border-left: 3px solid #dc2626;
  padding-left: 0.8rem;
}

/* Content Styling */
.visa-details {
  color: #333;
  line-height: 1.7;
}

.visa-details p {
  margin-bottom: 1rem;
  color: #555;
}

.visa-details ul, .visa-details ol {
  margin: 1rem 0;
  padding-left: 2rem;
  color: #555;
}

.visa-details li {
  margin: 0.5rem 0;
}

/* Highlight Boxes */
.highlight {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-left: 4px solid #f39c12;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

.highlight h4 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #856404;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Application Methods */
.application-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.method-card {
  background: #ffffff;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.method-card h4 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #1e3a8a;
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #dc2626;
  padding-bottom: 0.5rem;
}

/* Fee Information */
.fee-info {
  background: #e8f4fd;
  border: 1px solid #bee5eb;
  border-left: 4px solid #17a2b8;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

.fee-info h3 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #0c5460;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

/* Important Notes */
.important-note {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-left: 4px solid #dc3545;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

.important-note h4 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #721c24;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

/* Contact Information */
.contact-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  border-left: 4px solid #17a2b8;
  padding: 1.5rem;
  margin: 0;
  border-radius: 0 4px 4px 0;
}

.contact-info h3 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #0c5460;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info h4 {
  font-family: 'Times New Roman', 'Times', serif;
  color: #0c5460;
  font-weight: bold;
  margin: 1rem 0 0.5rem 0;
  border-left: 3px solid #17a2b8;
  padding-left: 0.8rem;
}

/* Links */
a {
  color: #1e3a8a;
  font-weight: 500;
  text-decoration: none;
}

a:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .visa-container {
    margin: 0;
    box-shadow: none;
  }
  
  .visa-header {
    padding: 1.5rem 1rem;
  }
  
  .visa-title {
    font-size: 1.8rem;
  }
  
  .visa-section {
    padding: 1.5rem 1rem;
  }
  
  .visa-type {
    padding: 1rem;
  }
  
  .toc ul {
    grid-template-columns: 1fr;
  }
  
  .application-methods {
    grid-template-columns: 1fr;
  }
  
  .method-card {
    padding: 1rem;
  }
}