/* =====================
   PLAN MY TOUR - REDESIGNED
===================== */

/* =====================
   HERO SECTION
===================== */
.plan-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 80px 20px 60px;
}

.plan-hero .hero-content {
  max-width: 800px;
}

.plan-hero .hero-badge {
  display: inline-block;
  background: rgba(72, 187, 120, 0.2);
  color: #48bb78;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.plan-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.plan-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* =====================
   MAIN SECTION
===================== */
.plan-main {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.plan-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
}

/* =====================
   LEFT CONTENT
===================== */
.plan-content {
  background: #fff;
  border-radius: 16px;
  padding: 45px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.08);
}

.content-intro {
  margin-bottom: 35px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

.content-intro .lead-text {
  font-size: 18px;
  color: #1a365d;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-intro p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
}

.content-section {
  margin-bottom: 35px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

.content-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 16px;
  line-height: 1.3;
}

.content-section p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 14px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 10px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #48bb78;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.check-list.green li::before {
  background-color: #48bb78;
}

/* Icon List */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #4a5568;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.icon-list li .icon {
  font-size: 18px;
}

.note {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.08), rgba(72, 187, 120, 0.04));
  border-left: 3px solid #48bb78;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #2d3748;
  margin-top: 18px;
}

/* Why Cards */
.why-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.why-card {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: #48bb78;
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.1);
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a365d, #2c5282);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.why-text h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 6px;
}

.why-text p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Process Steps */
.process-steps {
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* =====================
   POPULAR TOURS SECTION
===================== */
.popular-tours-section {
  padding-bottom: 35px;
}

.popular-tours-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.popular-tour-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.popular-tour-card:hover {
  border-color: #48bb78;
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.15);
  transform: translateY(-2px);
}

.popular-tour-card .tour-card-image {
  flex-shrink: 0;
  width: 180px;
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
  position: relative;
}

.popular-tour-card .tour-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular-tour-card .tour-card-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popular-tour-card .tour-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 10px;
  line-height: 1.3;
}

.popular-tour-card .tour-card-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 14px;
}

.popular-tour-card .tour-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #48bb78;
  text-decoration: none;
  transition: all 0.2s ease;
}

.popular-tour-card .tour-card-link:hover {
  color: #38a169;
  gap: 10px;
}

.popular-tour-card .tour-card-link svg {
  transition: transform 0.2s ease;
}

.popular-tour-card .tour-card-link:hover svg {
  transform: translate(2px, -2px);
}

/* CTA Section */
.content-cta {
  background: linear-gradient(135deg, #1a365d, #2c5282);
  margin: -45px;
  margin-top: 35px;
  padding: 35px 45px;
  border-radius: 0 0 16px 16px;
  text-align: center;
}

.content-cta h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.content-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-cta .tagline {
  font-size: 18px;
  font-weight: 600;
  color: #48bb78;
  margin-bottom: 0;
}

/* =====================
   RIGHT FORM WRAPPER
===================== */
.plan-form-wrapper {
  position: relative;
}

.plan-form-sticky {
  position: sticky;
  top: 100px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, #1a365d, #2c5282);
  padding: 25px 30px;
  text-align: center;
}

.form-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* =====================
   FORM STYLES
===================== */
.plan-tour-form {
  padding: 28px 30px 30px;
}

.plan-tour-form .form-row {
  margin-bottom: 16px;
}

.plan-tour-form input,
.plan-tour-form select,
.plan-tour-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #1a365d;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.plan-tour-form input::placeholder,
.plan-tour-form textarea::placeholder {
  color: #94a3b8;
}

.plan-tour-form input:focus,
.plan-tour-form select:focus,
.plan-tour-form textarea:focus {
  border-color: #48bb78;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.15);
  outline: none;
}

.plan-tour-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Country Dropdown */
.country-dropdown-wrapper {
  position: relative;
  overflow: visible !important;
}

.plan-tour-form .form-row.country-dropdown-wrapper {
  overflow: visible !important;
}

.country-dropdown-wrapper .dropdown-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 12px;
}

.plan-tour-form .country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none !important;
}

.plan-tour-form .country-dropdown.open {
  display: block !important;
}

.country-dropdown .country-option {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.country-dropdown .country-option:hover,
.country-dropdown .country-option.highlighted {
  background: #f0fdf4;
}

.country-dropdown .country-option:last-child {
  border-bottom: none;
}

.country-dropdown .country-option.no-results {
  color: #94a3b8;
  cursor: default;
}

/* Phone Row */
.phone-row {
  display: flex;
  gap: 10px;
}

.phone-row select {
  width: 95px;
  min-width: 95px;
  max-width: 95px;
  flex-shrink: 0;
  padding: 14px 8px;
}

.phone-row input {
  flex: 1;
}

/* Participants */
.participants {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  border-radius: 10px;
  margin: 18px 0;
}

.participants label {
  font-weight: 600;
  font-size: 15px;
  color: #1a365d;
  margin-bottom: 14px;
  display: block;
}

.counter {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.counter:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.counter span {
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
}

.counter input {
  width: 50px;
  text-align: center;
  padding: 8px 4px;
  font-size: 14px;
}

.counter button {
  width: 32px;
  height: 32px;
  border: none;
  background: #e2e8f0;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1a365d;
}

.counter button:hover {
  background: #48bb78;
  color: #fff;
}

/* Submit Button */
.btn-submit {
  margin-top: 20px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  padding: 16px;
  width: 100%;
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.35);
}

/* Flatpickr */
.plan-tour-form .flatpickr-wrapper {
  width: 100% !important;
}

.plan-tour-form input#travelDate {
  width: 100% !important;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .plan-grid {
    grid-template-columns: 1fr 360px;
    gap: 35px;
  }
  
  .plan-content {
    padding: 35px;
  }
  
  .content-cta {
    margin: -35px;
    margin-top: 30px;
    padding: 30px 35px;
  }
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .plan-form-wrapper {
    order: -1;
  }
  
  .plan-form-sticky {
    position: static;
  }
  
  .plan-hero h1 {
    font-size: 32px;
  }
  
  .plan-hero p {
    font-size: 16px;
  }
  
  .icon-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .plan-hero {
    min-height: 260px;
    padding: 70px 16px 50px;
  }
  
  .plan-hero .hero-badge {
    font-size: 11px;
    padding: 6px 16px;
  }
  
  .plan-hero h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  
  .plan-hero p {
    font-size: 14px;
  }
  
  .plan-main {
    padding: 40px 0 60px;
  }
  
  .plan-content {
    padding: 28px 22px;
  }
  
  .content-intro .lead-text {
    font-size: 16px;
  }
  
  .content-intro p,
  .content-section p {
    font-size: 15px;
  }
  
  .content-section h2 {
    font-size: 20px;
  }
  
  .check-list li,
  .icon-list li {
    font-size: 14px;
  }
  
  .why-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
  
  .why-icon {
    width: 44px;
    height: 44px;
  }
  
  .why-text h3 {
    font-size: 16px;
  }
  
  .why-text p {
    font-size: 13px;
  }
  
  .step {
    padding: 16px 0;
  }
  
  .step-number {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  
  .step-content h3 {
    font-size: 15px;
  }
  
  .step-content p {
    font-size: 14px;
  }
  
  /* Popular Tours - Tablet */
  .popular-tours-grid {
    gap: 16px;
    margin-top: 20px;
  }
  
  .popular-tour-card {
    flex-direction: column;
  }
  
  .popular-tour-card .tour-card-image {
    width: 100%;
    min-height: 160px;
    height: 160px;
  }
  
  .popular-tour-card .tour-card-content {
    padding: 18px 20px;
  }
  
  .popular-tour-card .tour-card-content h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }
  
  .popular-tour-card .tour-card-content p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .popular-tour-card .tour-card-link {
    font-size: 13px;
  }
  
  .content-cta {
    margin: -28px -22px -28px;
    margin-top: 28px;
    padding: 28px 22px;
  }
  
  .content-cta h2 {
    font-size: 20px;
  }
  
  .content-cta p {
    font-size: 14px;
  }
  
  .content-cta .tagline {
    font-size: 16px;
  }
  
  .form-header {
    padding: 22px 24px;
  }
  
  .form-header h3 {
    font-size: 20px;
  }
  
  .form-header p {
    font-size: 13px;
  }
  
  .plan-tour-form {
    padding: 24px;
  }
  
  .plan-tour-form input,
  .plan-tour-form select,
  .plan-tour-form textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
  
  .participants {
    padding: 14px;
  }
  
  .participants label {
    font-size: 14px;
  }
  
  .counter span {
    font-size: 13px;
  }
  
  .btn-submit {
    padding: 14px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .plan-hero {
    min-height: 220px;
    padding: 60px 14px 40px;
  }
  
  .plan-hero .hero-badge {
    font-size: 10px;
    padding: 5px 14px;
  }
  
  .plan-hero h1 {
    font-size: 22px;
  }
  
  .plan-hero p {
    font-size: 13px;
  }
  
  .plan-main {
    padding: 30px 0 50px;
  }
  
  .plan-main .container {
    padding: 0 14px;
  }
  
  .plan-content {
    padding: 22px 18px;
  }
  
  .content-intro {
    margin-bottom: 25px;
    padding-bottom: 22px;
  }
  
  .content-intro .lead-text {
    font-size: 15px;
  }
  
  .content-section {
    margin-bottom: 25px;
    padding-bottom: 22px;
  }
  
  .content-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .content-section p {
    font-size: 14px;
  }
  
  .check-list li {
    font-size: 13px;
    padding-left: 26px;
  }
  
  .check-list li::before {
    width: 16px;
    height: 16px;
    background-size: 9px;
  }
  
  .icon-list li {
    font-size: 13px;
    padding: 10px 12px;
  }
  
  .icon-list li .icon {
    font-size: 16px;
  }
  
  .note {
    padding: 12px 14px;
    font-size: 13px;
  }
  
  .why-card {
    padding: 16px;
  }
  
  .why-icon {
    width: 40px;
    height: 40px;
  }
  
  .why-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .why-text h3 {
    font-size: 15px;
  }
  
  .why-text p {
    font-size: 12px;
  }
  
  .step {
    gap: 14px;
    padding: 14px 0;
  }
  
  .step-number {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  
  .step-content h3 {
    font-size: 14px;
  }
  
  .step-content p {
    font-size: 13px;
  }
  
  /* Popular Tours - Mobile */
  .popular-tours-grid {
    gap: 14px;
    margin-top: 16px;
  }
  
  .popular-tour-card .tour-card-image {
    height: 140px;
    min-height: 140px;
  }
  
  .popular-tour-card .tour-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 10px;
  }
  
  .popular-tour-card .tour-card-content {
    padding: 14px 16px;
  }
  
  .popular-tour-card .tour-card-content h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .popular-tour-card .tour-card-content p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  .popular-tour-card .tour-card-link {
    font-size: 12px;
  }
  
  .content-cta {
    margin: -22px -18px -22px;
    margin-top: 25px;
    padding: 24px 18px;
  }
  
  .content-cta h2 {
    font-size: 18px;
  }
  
  .content-cta p {
    font-size: 13px;
  }
  
  .content-cta .tagline {
    font-size: 15px;
  }
  
  .form-header {
    padding: 18px 20px;
  }
  
  .form-header h3 {
    font-size: 18px;
  }
  
  .form-header p {
    font-size: 12px;
  }
  
  .plan-tour-form {
    padding: 20px 18px;
  }
  
  .plan-tour-form .form-row {
    margin-bottom: 14px;
  }
  
  .participants {
    padding: 12px;
    margin: 14px 0;
  }
  
  .participants label {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .counter {
    gap: 6px;
    padding: 6px 0;
  }
  
  .counter span {
    font-size: 12px;
  }
  
  .counter input {
    width: 44px;
    padding: 6px 2px;
    font-size: 13px;
  }
  
  .counter button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .btn-submit {
    margin-top: 16px;
    padding: 13px;
    font-size: 15px;
  }
}
