/* =====================================================
   Country Detail / Single Page (Enhanced & Consistent)
   ===================================================== */

/* -------------------------
   PAGE HEADING / HERO
-------------------------- */

.page-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 240px 0 140px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dynamic gradient overlay */
.page-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 43, 72, 0.92) 0%,
    rgba(46, 74, 111, 0.85) 50%,
    rgba(26, 43, 72, 0.88) 100%
  );
  z-index: 1;
}

/* Animated geometric shapes */
.page-heading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(129, 199, 132, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(176, 196, 222, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(163, 226, 168, 0.12) 0%, transparent 60%);
  z-index: 1;
  animation: pulseShapes 8s ease-in-out infinite;
}

@keyframes pulseShapes {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Floating particles effect */
.page-heading .row::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(3px 3px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(3px 3px at 30% 80%, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 200%;
  animation: floatParticles 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatParticles {
  0%, 100% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%, 100% 0%, 50% 100%;
  }
  50% {
    background-position: 100% 100%, 0% 0%, 25% 75%, 100% 0%, 0% 100%, 75% 25%;
  }
}

/* Diagonal accent lines */
.page-heading .container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(129, 199, 132, 0.08) 50%,
    transparent 70%
  );
  transform: rotate(-15deg);
  animation: slideAccent 10s ease-in-out infinite;
  z-index: 0;
}

@keyframes slideAccent {
  0%, 100% {
    transform: rotate(-15deg) translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: rotate(-15deg) translateX(-100px);
    opacity: 0.9;
  }
}

.page-heading > .container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-heading .row {
  position: relative;
  animation: fadeInDown 0.8s ease;
}

.page-heading .breadcrumb {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.page-heading .breadcrumb:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.page-heading .breadcrumb,
.page-heading .breadcrumb a {
  color: #fff;
}

.page-heading .breadcrumb a {
  transition: all 0.3s ease;
}

.page-heading .breadcrumb a:hover {
  color: var(--clr-green-lighter);
}

.page-heading h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 2px 3px 8px rgba(0,0,0,0.4);
  line-height: 1.3;
}


/* -------------------------
   MAIN SECTION WRAPPER
-------------------------- */

.single-page {
  background: linear-gradient(135deg, var(--clr-blue-alice) 0%, #ffffff 50%, var(--clr-blue-alice) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.single-page > .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

/* -------------------------
   MAIN CONTENT CARD
-------------------------- */

.service-details {
  background: linear-gradient(135deg, #ffffff 0%, var(--clr-blue-alice) 100%);
  border-radius: 25px;
  padding: 55px 50px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

/* Gradient border effect on hover */
.service-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--clr-green-light) 0%, var(--clr-navy-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-details:hover::before {
  transform: scaleX(1);
}

.service-details:hover {
  border-color: var(--clr-green-lighter);
  box-shadow: 0 20px 55px rgba(0,0,0,0.15);
}

.service-details h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  animation: fadeInDown 0.8s ease;
  animation-delay: 0.2s;
  animation-fill-mode: both;
  padding-bottom: 10px;
}

.service-details h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--clr-green-light);
  border-radius: 2px;
}

.service-details h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 50px 0 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--clr-green-lighter);
  position: relative;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.service-details h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 90px;
  height: 3px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-details h4:hover::after {
  width: 140px;
}

.service-details p {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  padding: 10px;
}

.service-details p strong {
  color: var(--clr-navy);
  font-weight: 600;
}

/* -------------------------
   LISTS (DESTINATIONS ETC.)
-------------------------- */

.service-details .list-group {
  animation: fadeInUp 0.8s ease;
  animation-fill-mode: both;
}

.service-details .list-group-item {
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.service-details .list-group-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(8px);
  border-left-color: var(--clr-green-light);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-details .list-group-item i {
  color: var(--clr-green-light);
  margin-right: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.service-details .list-group-item:hover i {
  color: var(--clr-navy);
  transform: scale(1.2);
}

.service-details .list-group-item strong {
  color: var(--clr-navy);
  font-weight: 600;
}

/* -------------------------
   HIGHLIGHTED INFO BOXES
-------------------------- */

.service-details .bg-light {
  background: linear-gradient(135deg, var(--clr-green-gentlemoss), var(--clr-mint-cooler) 100%) !important;
  border-left: 5px solid var(--clr-green-light) !important;
  border-radius: 15px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
  animation-fill-mode: both;
}

.service-details .bg-light::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(129, 199, 132, 0.15) 0%, transparent 70%);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.service-details .bg-light:hover::before {
  opacity: 1;
  top: -100%;
  right: -100%;
}

.service-details .bg-light:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
  border-left-color: var(--clr-navy);
}

.service-details .bg-light h5 {
  font-family: 'Montserrat', sans-serif;
  color: var(--clr-navy);
  font-weight: 700;
  padding: 15px;
}

/* -------------------------
   FEATURE CARDS WITH ICONS
-------------------------- */

.service-details .d-flex.align-items-start {
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 12px;
}

.service-details .d-flex.align-items-start:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(5px);
}

.service-details .d-flex i {
  transition: all 0.3s ease;
}

.service-details .d-flex:hover i {
  transform: scale(1.15) rotate(5deg);
}

.service-details .fw-bold {
  font-family: 'Montserrat', sans-serif;
  color: var(--clr-navy);
}

/* -------------------------
   ACCORDION / FAQ
-------------------------- */

.service-details .accordion {
  margin-top: 35px;
  animation: fadeInUp 0.8s ease;
  animation-fill-mode: both;
}

.service-details .accordion-item {
  border: none;
  margin-bottom: 18px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.service-details .accordion-item:nth-child(1) {
  animation-delay: 0.1s;
}

.service-details .accordion-item:nth-child(2) {
  animation-delay: 0.2s;
}

.service-details .accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-details .accordion-button {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--clr-navy);
  background: rgba(163, 226, 168, 0.3);
  padding: 20px 28px;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-details .accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.service-details .accordion-button:hover::before {
  left: 100%;
}

.service-details .accordion-button:not(.collapsed) {
  background: var(--clr-green-lighter);
  color: var(--clr-navy);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.service-details .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.service-details .accordion-body {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px 28px;
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

.service-details .accordion-body strong {
  color: var(--clr-navy);
  font-weight: 600;
}

/* -------------------------
   SIDEBAR CONTACT FORM
-------------------------- */

.sidebar-item.contact-form {
  margin-top: 50px;
  padding: 40px 35px;
  background: linear-gradient(135deg, #ffffff 0%, var(--clr-blue-alice) 100%);
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.sidebar-item.contact-form:hover {
  border-color: var(--clr-green-lighter);
  box-shadow: 0 15px 45px rgba(0,0,0,0.18);
  transform: translateY(-5px);
}

.sidebar-heading {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  padding-bottom: 20px;
}

.sidebar-heading h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 8px;
}

.sidebar-heading p {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.sidebar-input-group {
  margin-bottom: 18px;
  width: 100%;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.sidebar-input-group:nth-child(1) { animation-delay: 0.1s; }
.sidebar-input-group:nth-child(2) { animation-delay: 0.2s; }
.sidebar-input-group:nth-child(3) { animation-delay: 0.3s; }

.sidebar-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: 8px;
  margin-left: 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}

.sidebar-input-group input, 
.sidebar-input-group textarea, 
.sidebar-input-group select {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #f1f3f5;
  border: 2px solid transparent;
  border-radius: 25px;
  padding: 0 22px;
  font-size: 14px;
  color: #333;
  outline: none;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.sidebar-input-group input:focus, 
.sidebar-input-group textarea:focus,
.sidebar-input-group select:focus {
  background: #fff;
  border-color: var(--clr-green-light);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
  transform: translateY(-2px);
}

.sidebar-input-group input, 
.sidebar-input-group select {
  height: 50px !important;
  line-height: 50px;
}

.sidebar-input-group textarea {
  height: 110px !important;
  padding-top: 16px;
  border-radius: 18px;
  line-height: 1.6;
  resize: vertical;
}

/* Split row for side-by-side inputs */
.sidebar-split-row {
  display: flex !important;
  gap: 15px; 
  width: 100%;
  margin-bottom: 18px;
}

.sidebar-split-row .sidebar-input-group {
  flex: 1; 
  width: 50%;
  margin-bottom: 0;
}

/* Submit button */
.main-button {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(26, 43, 72, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  animation: fadeInUp 0.8s ease;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

.main-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.main-button:hover::before {
  width: 350px;
  height: 350px;
}

.main-button:hover {
  background: linear-gradient(135deg, var(--clr-green-light) 0%, var(--clr-green) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.main-button:active {
  transform: translateY(-1px);
}

/* -------------------------
   RESPONSIVE
-------------------------- */

@media (max-width: 992px) {
  .page-heading {
    padding: 180px 0 110px;
  }

  .page-heading h3 {
    font-size: 36px;
  }

  .single-page {
    padding: 80px 0;
  }

  .service-details {
    padding: 45px 35px;
  }

  .service-details h1 {
    font-size: 30px;
  }

  .service-details h4 {
    font-size: 22px;
  }

  .sidebar-item.contact-form {
    margin-top: 40px;
    padding: 35px 30px;
  }
}

@media (max-width: 767px) {
  .page-heading {
    padding: 140px 0 90px;
  }

  .page-heading h3 {
    font-size: 28px;
    line-height: 1.4;
  }

  .page-heading .breadcrumb {
    font-size: 12px;
    padding: 8px 18px;
  }

  .single-page {
    padding: 60px 0;
  }

  .single-page::before,
  .single-page::after {
    display: none;
  }

  .service-details {
    padding: 30px 20px;
  }

  .service-details h1 {
    font-size: 5vw;
    margin-bottom: 20px;
  }

  .service-details h4 {
    font-size: 20px;
    margin: 35px 0 20px;
  }

  .service-details p {
    font-size: 3vw;
  }

  .service-details .list-group-item {
    padding: 14px 16px;
    font-size: 3.2vw;
  }

  .service-details .bg-light {
    padding: 1.2rem 1rem !important;
  }

  .service-details .accordion-button {
    font-size: 3vw;
    padding: 0.9rem 1.1rem;
  }

  .service-details .accordion-body {
    padding: 1rem 1.1rem;
    font-size: 3vw;
  }

  .sidebar-item.contact-form {
    margin-top: 30px;
    padding: 25px 20px;
  }

  .sidebar-heading h4 {
    font-size: 4.8vw;
  }

  .sidebar-heading p {
    font-size: 3vw;
  }

  .sidebar-input-group label {
    font-size: 3.2vw;
  }

  .sidebar-input-group input,
  .sidebar-input-group select {
    height: 46px !important;
    font-size: 3vw;
  }

  .sidebar-input-group textarea {
    height: 100px !important;
    font-size: 13px;
  }

  .main-button {
    height: 48px;
    font-size: 3.3vw;
  }

  .sidebar-split-row {
    flex-direction: column;
    gap: 0;
  }

  .sidebar-split-row .sidebar-input-group {
    width: 100%;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .page-heading h3 {
    font-size: 24px;
  }

  .service-details h1 {
    font-size: 22px;
  }

  .service-details h4 {
    font-size: 18px;
  }

  .service-details .d-flex.align-items-start {
    padding: 6px;
  }

  .service-details .fw-bold {
    font-size: 14px;
  }

  .service-details .text-muted.small {
    font-size: 13px;
  }
}