/* ============================================
   Country Details Page - CSS
   ============================================ */

/* ── Packages Section ── */
.country-packages-section { background: #f8f9ff; padding-top: 10px; padding-bottom: 50px; }

/* View All — centered */
.pkg-view-all-wrap { text-align: center; margin-top: 30px; }
.pkg-view-all-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #084298; color: #fff; padding: 11px 30px;
  border-radius: 25px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.pkg-view-all-btn:hover { background: #e12e36; color: #fff; text-decoration: none; }

/* Equal height — make owl stage flex */
.pkg-slider .owl-stage        { display: flex !important; align-items: stretch; }
.pkg-slider .owl-item         { display: flex; }
.pkg-slider .owl-item .item   { display: flex; width: 100%; }

/* Card — flex column fills full height */
.pkg-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(8,66,152,0.10);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column; width: 100%;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(8,66,152,0.18); }

.pkg-card-img { position: relative; height: 200px; overflow: hidden; flex-shrink: 0; }
.pkg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pkg-card:hover .pkg-card-img img { transform: scale(1.06); }
.pkg-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: #e12e36; color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px;
}

/* Body flex — pushes button to bottom */
.pkg-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pkg-card-title {
  font-size: 15px; font-weight: 700; color: #084298;
  margin-bottom: 8px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pkg-card-desc {
  font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pkg-card-meta { font-size: 12px; color: #888; margin-bottom: 14px; }
.pkg-card-meta i { color: #e12e36; margin-right: 3px; }

/* Button always at bottom */
.pkg-card-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: #084298; color: #fff; padding: 10px 18px; border-radius: 6px;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s;
  margin-top: auto;
}
.pkg-card-btn:hover { background: #e12e36; color: #fff; text-decoration: none; }

/* Owl dots & nav */
.pkg-slider .owl-dots { margin-top: 20px; }
.pkg-slider .owl-dot span { background: #d0dbf5 !important; width: 10px !important; height: 10px !important; }
.pkg-slider .owl-dot.active span { background: #084298 !important; }
.pkg-slider .owl-nav button {
  position: absolute; top: 40%; transform: translateY(-50%);
  background: #084298 !important; color: #fff !important;
  width: 36px; height: 36px; border-radius: 50% !important;
  font-size: 18px !important; line-height: 1 !important;
}
.pkg-slider .owl-nav .owl-prev { left: -18px; }
.pkg-slider .owl-nav .owl-next { right: -18px; }
.pkg-slider .owl-nav button:hover { background: #e12e36 !important; }

/* ── FAQ Section ── */
.faq-section { background: #f8f9ff; }
.faq-accordion { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e0e4f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(8,66,152,0.06);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #084298;
  transition: background 0.2s;
  user-select: none;
}
.faq-question:hover { background: #eef2ff; }
.faq-item.faq-open .faq-question { background: #084298; color: #fff; }
.faq-item.faq-open .faq-question .faq-icon { transform: rotate(180deg); color: #fff; }
.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: #e12e36;
  flex-shrink: 0;
}
.faq-answer {
  padding: 16px 20px;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  border-top: 1px solid #e0e4f0;
}
.faq-answer p { margin: 0; }

/* ── Responsive Mobile Styles ── */
@media (max-width: 767px) {
  .pkg-slider .owl-nav button { display: none !important; }
  .pkg-card-img { height: 180px; }
  .pkg-view-all-btn { padding: 10px 24px; font-size: 13px; }
  .country-packages-section { padding-bottom: 40px; }

  /* Inner Banner Mobile */
  .inner-banner { height: 150px !important; }
  .page-hd { height: 120px !important; }
  .page-hd-text h1 { font-size: 1.3rem !important; }
  .page-hd-text ul { font-size: 12px; gap: 5px; }

  /* About Section */
  .about-section { overflow: hidden; }
  .about-section .col-md-5,
  .about-section .col-md-6 { width: 100%; margin-bottom: 25px; }
  .about-section .row { flex-direction: column; }
  .about-img { margin-bottom: 20px; position: relative; overflow: hidden; }
  .flag-circle { right: 25px !important; bottom: 10px !important; top: auto !important; transform: none !important; width: 80px; height: 80px; }
  .flag-circle > img { width: 80px !important; height: 80px !important; }
  .flag-circle .flag { width: 42px !important; height: 42px !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; overflow: hidden !important; border-radius: 6px !important; }
  .flag-circle .flag img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .about-text { padding: 0 10px; }
  .section-title h2 { font-size: 1.4rem !important; }
  .country-overview p { font-size: 14px; line-height: 1.7; }

  /* Full Details Section */
  .country-details-section { padding: 30px 0 !important; }
  .country-details-content { padding: 0 10px; font-size: 14px; line-height: 1.7; }
  .country-details-content h2,
  .country-details-content h3 { font-size: 1.2rem !important; margin-top: 20px; }
  .country-details-content p { margin-bottom: 12px; }
  .country-details-content ul,
  .country-details-content ol { padding-left: 20px; }

  /* Tour Places Gallery */
  .gallery-sec { padding: 30px 0 !important; }
  .gallery-sec .section-title h2 { font-size: 1.3rem !important; }
  .location-galler-box { margin-bottom: 15px; }
  .gallery-img { height: 200px; overflow: hidden; }
  .gallery-img img { height: 100%; object-fit: cover; }
  .gallery-text h3 { font-size: 1rem !important; margin-top: 15px !important; }

  /* DMC Partners Section */
  .partner-section { padding: 30px 0 !important; }
  .partner-section .col-md-4,
  .partner-section .col-md-8 { width: 100%; }
  .white-bg { padding: 20px !important; margin-top: 15px !important; }
  .travel-logo { margin-bottom: 20px; text-align: center; }
  .travel-logo-img { max-width: 200px; margin: 0 auto; }
  .travel-logo-img img { height: auto !important; max-height: 100px; }
  .visit-btn { display: inline-block; padding: 8px 20px; background: #084298; color: #fff !important; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; margin-top: 10px; }
  .visit-btn:hover { background: #e12e36; }
  .travel-text { margin-top: 0; }
  .travel-text h3 { font-size: 1.1rem !important; margin-bottom: 12px; }
  .travel-text p { font-size: 14px; line-height: 1.7; }

  /* FAQ Section */
  .faq-section { padding: 30px 0 !important; }
  .faq-section .section-title { margin-bottom: 25px !important; }
  .faq-section .section-title h2 { font-size: 1.3rem !important; }
  .faq-question { padding: 14px 16px !important; font-size: 14px !important; }
  .faq-question span { padding-right: 10px; line-height: 1.5; }
  .faq-icon { font-size: 18px !important; }
  .faq-answer { padding: 14px 16px !important; font-size: 13px !important; }
  .faq-accordion { padding: 0 10px; }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  .inner-banner { height: 130px !important; }
  .page-hd { height: 100px !important; }
  .page-hd-text h1 { font-size: 1.1rem !important; }
  .page-hd-text ul { font-size: 11px; }
  .section-title h2 { font-size: 1.2rem !important; }
  .pkg-card-img { height: 160px; }
  .pkg-card-title { font-size: 14px !important; }
  .pkg-card-desc { font-size: 12px !important; }
  .flag-circle { width: 70px !important; height: 70px !important; right: 25px !important; bottom: 10px !important; top: auto !important; transform: none !important; }
  .flag-circle > img { width: 70px !important; height: 70px !important; }
  .flag-circle .flag { width: 36px !important; height: 36px !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; overflow: hidden !important; border-radius: 6px !important; }
  .flag-circle .flag img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .country-details-content { font-size: 13px; }
  .gallery-img { height: 180px; }
  .faq-question { font-size: 13px !important; padding: 12px 14px !important; }
  .faq-answer { font-size: 12px !important; padding: 12px 14px !important; }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .about-section .col-md-5,
  .about-section .col-md-6 { width: 100%; margin-bottom: 30px; }
  .about-section .row { flex-direction: column; }
  .flag-circle { right: 25px !important; width: 100px; height: 100px; }
  .flag-circle .flag { width: 45px !important; height: 45px !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; }
  .pkg-card-img { height: 190px; }
  .partner-section .col-md-4 { width: 100%; margin-bottom: 20px; }
  .partner-section .col-md-8 { width: 100%; }
  .travel-logo { text-align: center; margin-bottom: 20px; }
}
