    #tripTimelineSection {
      width: 100%;
      min-height: 100vh;
      margin: 0;
      padding: 88px 60px 100px;
      background:
        radial-gradient(circle at 10% 18%, rgba(56, 166, 221, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
      font-family: var(--montserrat_alternates);
      color: var(--dark-blue);
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    #tripTimelineSection * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* Header Styling */
    #tripTimelineSection .main-title {
      font-family: var(--playfair);
      font-size: clamp(3rem, 6vw, 5.4rem);
      color: var(--dark-blue);
      line-height: 1.05;
      margin-bottom: 14px;
    }

    #tripTimelineSection .main-title span {
      color: var(--primary-blue);
      margin-left: 12px;
    }

   #tripTimelineSection .header-description {
font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-blue, #0f172a);
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.85;
}

    #tripTimelineSection .sub-title span {
      color: var(--dark-blue);
    }

    /* Timeline & Wavy SVG */
    #tripTimelineSection .timeline-container {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 90px;
      z-index: 2;
      max-width: 1180px;
      width: 100%;
      margin: 0 auto;
    }

    #tripTimelineSection .timeline-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 34px;
      position: relative;
    }

    #tripTimelineSection .path-svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      overflow: visible;
    }

    #tripTimelineSection .path-svg path {
      stroke: #0284c7;
      stroke-dasharray: 8, 8;
      stroke-width: 3.5;
      fill: none;
      stroke-linecap: round;
      opacity: 0.65;
    }

 /* Polaroid Base with Matching Borders */
#tripTimelineSection .polaroid {
  background: #f9f3e5;
  padding: 12px 12px 18px 12px;
  border-radius: 8px;
  width: 220px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 2;
  border: 2px solid transparent; /* Set to 2px for clean visibility */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Polaroid Border Color Classes (Matching Badge Colors) */
#tripTimelineSection .p-green  { border-color: #22c55e; }
#tripTimelineSection .p-blue   { border-color: #3b82f6; }
#tripTimelineSection .p-purple { border-color: #a855f7; }
#tripTimelineSection .p-orange { border-color: #f97316; }
#tripTimelineSection .p-teal   { border-color: #14b8a6; }
#tripTimelineSection .p-pink   { border-color: #ec4899; }
#tripTimelineSection .p-navy   { border-color: #0284c7; }

/* Enhanced hover effect preserving border color */
#tripTimelineSection .polaroid:hover {
  transform: translateY(-10px) scale(1.04) !important;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.18), 0 10px 12px -6px rgba(0, 0, 0, 0.08);
}

    #tripTimelineSection .polaroid:hover {
      transform: translateY(-10px) scale(1.04) !important;
      box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 12px -6px rgba(0, 0, 0, 0.08);
      border-color: #cbd5e1;
    }

    #tripTimelineSection .p1 {
      transform: rotate(-2.5deg);
    }

    #tripTimelineSection .p2 {
      transform: rotate(1.5deg);
    }

    #tripTimelineSection .p3 {
      transform: rotate(-2deg);
    }

    #tripTimelineSection .p4 {
      transform: rotate(2.5deg);
    }

    #tripTimelineSection .p5 {
      transform: rotate(-2deg);
    }

    #tripTimelineSection .p6 {
      transform: rotate(2.5deg);
    }

    #tripTimelineSection .p7 {
      transform: rotate(-1.5deg);
    }

    /* Number Badges */
    #tripTimelineSection .badge {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      color: #ffffff;
      font-weight: 700;
      font-size: 0.95rem;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: -19px;
      left: 50%;
      transform: translateX(-50%);
      border: 3px solid #ffffff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      z-index: 3;
    }

    #tripTimelineSection .b-green {
      background: linear-gradient(135deg, #22c55e, #16a34a);
    }

    #tripTimelineSection .b-blue {
      background: linear-gradient(135deg, #3b82f6, #2563eb);
    }

    #tripTimelineSection .b-purple {
      background: linear-gradient(135deg, #a855f7, #9333ea);
    }

    #tripTimelineSection .b-orange {
      background: linear-gradient(135deg, #f97316, #ea580c);
    }

    #tripTimelineSection .b-teal {
      background: linear-gradient(135deg, #14b8a6, #0d9488);
    }

    #tripTimelineSection .b-pink {
      background: linear-gradient(135deg, #ec4899, #db2777);
    }

    #tripTimelineSection .b-navy {
      background: linear-gradient(135deg, #0284c7, #0369a1);
    }

    /* Card Details */
    #tripTimelineSection .photo-frame {
      width: 100%;
      height: 140px;
      overflow: hidden;
      border-radius: 4px;
      margin-top: 10px;
      background-color: #f1f5f9;
      position: relative;
    }

    #tripTimelineSection .photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    #tripTimelineSection .polaroid:hover .photo-frame img {
      transform: scale(1.08);
    }

    #tripTimelineSection .photo-count-pill {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(4px);
      color: #ffffff;
      font-size: 0.65rem;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 20px;
    }

    #tripTimelineSection .card-info {
      margin-top: 12px;
      text-align: left;
    }

    #tripTimelineSection .grade-label {
      font-size: 0.7rem;
      font-weight: 700;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    #tripTimelineSection .trip-title {
      font-size: 0.95rem;
      font-weight: 800;
      margin-top: 2px;
    }

    #tripTimelineSection .c-green {
      color: #16a34a;
    }

    #tripTimelineSection .c-blue {
      color: #2563eb;
    }

    #tripTimelineSection .c-purple {
      color: #9333ea;
    }

    #tripTimelineSection .c-orange {
      color: #ea580c;
    }

    #tripTimelineSection .c-teal {
      color: #0d9488;
    }

    #tripTimelineSection .c-pink {
      color: #db2777;
    }

    #tripTimelineSection .c-navy {
      color: #0284c7;
    }

    /* Quote Box */
    #tripTimelineSection .quote-box {
      width: 220px;
      border: 2px dashed #00285e;
      padding: 20px 14px;
      border-radius: 12px;
      text-align: center;
      background: #f8fafc;
      align-self: center;
    }

    #tripTimelineSection .quote-box p {
      font-family: 'Caveat', cursive;
      font-size: 1.8rem;
      line-height: 1.1;
      color: #0f172a;
    }

    #tripTimelineSection .quote-box p span {
      color: #38a6dd;
    }

    /* Modal Popup */
    #tripTimelineSection .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(8px);
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    #tripTimelineSection .modal-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    #tripTimelineSection .modal-polaroid {
      background: #ffffff;
      width: 90%;
      max-width: 650px;
      padding: 24px 24px 30px 24px;
      border-radius: 12px;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
      transform: scale(0.9) rotate(-1.5deg);
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      position: relative;
    }

    #tripTimelineSection .modal-overlay.open .modal-polaroid {
      transform: scale(1) rotate(-1deg);
    }

    #tripTimelineSection .modal-badge {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      color: #ffffff;
      font-weight: 800;
      font-size: 1.2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: -25px;
      left: 50%;
      transform: translateX(-50%);
      border: 4px solid #ffffff;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
      z-index: 10;
    }

    #tripTimelineSection .close-btn {
      position: absolute;
      top: 16px;
      right: 16px;
      background: #f1f5f9;
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      font-size: 1.2rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10;
      transition: background 0.2s;
    }

    #tripTimelineSection .close-btn:hover {
      background: #e2e8f0;
    }

    #tripTimelineSection .modal-photo-frame {
      width: 100%;
      height: 380px;
      background: #0f172a;
      border-radius: 6px;
      overflow: hidden;
      position: relative;
      margin-top: 15px;
      box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    }

    #tripTimelineSection .slide-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: none;
    }

    #tripTimelineSection .slide-img.active {
      display: block;
    }

    #tripTimelineSection .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.85);
      border: none;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      font-size: 1.4rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: all 0.2s;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      z-index: 5;
    }

    #tripTimelineSection .nav-arrow:hover {
      background: #ffffff;
      transform: translateY(-50%) scale(1.1);
    }

    #tripTimelineSection .nav-prev {
      left: 14px;
    }

    #tripTimelineSection .nav-next {
      right: 14px;
    }

    #tripTimelineSection .modal-caption {
      margin-top: 20px;
      text-align: center;
    }

    #tripTimelineSection .modal-grade {
      font-size: 0.8rem;
      font-weight: 700;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    #tripTimelineSection .modal-title-text {
      font-family: 'Caveat', cursive;
      font-size: 2.4rem;
      line-height: 1.1;
      margin-top: 2px;
    }

    #tripTimelineSection .thumbnails-row {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 14px;
    }

    #tripTimelineSection .thumb {
      width: 55px;
      height: 40px;
      border-radius: 4px;
      object-fit: cover;
      cursor: pointer;
      opacity: 0.5;
      transition: all 0.2s;
      border: 2px solid transparent;
    }

    #tripTimelineSection .thumb.active,
    #tripTimelineSection .thumb:hover {
      opacity: 1;
      border-color: #f59e0b;
      transform: scale(1.05);
    }

    @media (max-width: 1180px) {
      #tripTimelineSection .timeline-container {
        max-width: 920px;
        gap: 58px;
      }

      #tripTimelineSection .timeline-row {
        flex-wrap: wrap;
        justify-content: center;
      }
    }

    @media (max-width: 900px) {
      #tripTimelineSection {
        padding: 54px 18px 70px;
      }

      #tripTimelineSection .path-svg {
        display: none;
      }

      #tripTimelineSection .timeline-row {
        gap: 40px;
      }

      #tripTimelineSection .modal-photo-frame {
        height: 260px;
      }
    }