/* Cambodia Visa Page Styles */

/* Hero Section */
.visa-hero-section {
  background-image: url("https://travelley.net/wp-content/uploads/2025/02/Cambodia.jpg");
  background-size: cover;
  background-position: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visa-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.visa-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.visa-hero-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Content Section */
.visa-content-section {
  background-color: #f8f9fa;
  padding: 40px 0;
}

/* Country Info Card */
.country-info-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.country-flag {
  width: 200px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.country-info-text h2 {
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.country-info-text p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Visa Tabs */
.visa-tabs {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.tab-button {
  flex: 1;
  padding: 15px 20px;
  background: transparent;
  border: none;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-button.active {
  background-color: var(--bs-success);
  color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
}

.tab-button:hover:not(.active) {
  background-color: #e9ecef;
}

.tab-content {
  display: none;
  padding: 30px;
}

.tab-content.active {
  display: block;
}

.tab-title {
  color: var(--bs-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

/* Checklist Accordion */
.checklist-accordion {
  margin-top: 20px;
}

.checklist-item {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.checklist-header {
  background-color: #f8f9fa;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--bs-primary);
  transition: background-color 0.3s ease;
}

.checklist-header:hover {
  background-color: #e9ecef;
}

.checklist-header i {
  color: var(--bs-success);
  font-size: 14px;
}

.checklist-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.checklist-item.active .checklist-content {
  max-height: 300px;
  padding: 20px;
}

.checklist-item.active .checklist-header i:before {
  content: "\f068"; /* minus icon */
}

.checklist-content ul {
  margin: 0;
  padding-left: 20px;
}

.checklist-content li {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #555;
}

/* Info Table */
.info-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.info-row {
  display: flex;
  border-bottom: 1px solid #dee2e6;
  min-height: 50px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  background-color: #f8f9fa;
  padding: 15px 20px;
  font-weight: 600;
  color: var(--bs-primary);
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  border-right: 1px solid #dee2e6;
}

.info-value {
  padding: 15px 20px;
  color: #555;
  flex: 1;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

/* Remarks List */
.remarks-list {
  margin-top: 20px;
}

.remark-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 5px;
  border-left: 4px solid var(--bs-success);
}

.remark-item i {
  color: var(--bs-success);
  margin-top: 2px;
  flex-shrink: 0;
}

.remark-item span {
  color: #555;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 20px;
}

.faq-item {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-header {
  background-color: #f8f9fa;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--bs-primary);
  transition: background-color 0.3s ease;
}

.faq-header:hover {
  background-color: #e9ecef;
}

.faq-header i {
  color: var(--bs-success);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 200px;
  padding: 20px;
}

.faq-content p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Appointment Form */
.appointment-form {
  margin-top: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--bs-success);
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 175, 2, 0.2);
}

.captcha-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-section span {
  font-weight: 600;
  color: var(--bs-primary);
}

.captcha-input {
  max-width: 150px;
}

.submit-btn {
  background-color: var(--bs-primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #1a1b4a;
}

/* Sidebar */
.sidebar {
  padding-left: 20px;
}

.sidebar-section {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  color: var(--bs-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--bs-success);
  padding-bottom: 10px;
}

/* Attractions List */
.attractions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.attractions-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.attractions-list li:last-child {
  border-bottom: none;
}

.attractions-list i {
  color: var(--bs-success);
  font-size: 12px;
}

/* Country Links */
.country-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.country-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.country-link:hover {
  background-color: #e9ecef;
}

.country-link img {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
}

.country-info h5 {
  margin: 0 0 5px 0;
  color: var(--bs-primary);
  font-weight: 600;
}

.country-info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Tour Packages */
.tour-packages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-package {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.tour-package:hover {
  background-color: #e9ecef;
}

.tour-package img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.package-info h5 {
  margin: 0 0 8px 0;
  color: var(--bs-primary);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.package-info p {
  margin: 0;
  color: var(--bs-success);
  font-size: 12px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .sidebar {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .visa-hero-title {
    font-size: 2rem;
  }

  .country-info-card {
    flex-direction: column;
    text-align: center;
  }

  .country-flag {
    width: 150px;
    align-self: center;
  }

  .tab-buttons {
    flex-wrap: wrap;
  }

  .tab-button {
    flex: 1 1 50%;
    min-width: 120px;
  }

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

  .info-row {
    flex-direction: column;
  }

  .info-label {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
  }
}

@media (max-width: 576px) {
  .tab-button {
    flex: 1 1 100%;
    font-size: 14px;
    padding: 12px 15px;
  }

  .visa-content-section {
    padding: 20px 0;
  }

  .country-info-card,
  .visa-tabs,
  .sidebar-section {
    margin-left: 15px;
    margin-right: 15px;
  }
}
