/* About Us Page Styles */
html,
body {
  overflow-x: hidden;
}

:root {
  --color-blue: #00adef;
  --color-red: #bd3257;
  --color-green: #03a550;
  --color-yellow: #eddb13;
  --font-heading: "Winky Rough", cursive;
  --font-body: "Raleway", sans-serif;
}

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

body {
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* About Hero Section */
.about-hero {
  background: #29abe2;
  min-height: 100vh;
  position: relative;
  padding: 100px 0 50px;
  /* overflow: hidden; */
}

.circle-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* Updated circle gradient to match design with distinct color rings */
.circle-1 {
  width: 700px;
  height: 700px;
  background: #FF9F3B;
}

.circle-2 {
  width: 550px;
  height: 550px;
  background: #E7E197;
}

.circle-3 {
  width: 400px;
  height: 400px;
  background: #f4efb2;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 250px;
  height: 250px;
  background: #f4efb2;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 82px;
  font-weight: 800;
  color: #023047;
  margin: 0;
  letter-spacing: 3px;
}

.about-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: #023047;
  margin-top: 10px;
  font-weight: 700;
}

/* Floating Items with Auto Show/Hide Effect */
.floating-item,
.floating-label {
  position: absolute;
  z-index: 30;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.1s ease;
  pointer-events: none;
}

.floating-item.revealed,
.floating-label.revealed {
  opacity: 1;
  transform: scale(1);
}

.tilted-img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tilted-left {
  transform: rotate(-12deg);
}

.tilted-right {
  transform: rotate(12deg);
}

.tilted-img-circle {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-label span {
  background: white;
  padding: 12px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-family: var(--font-body);
  font-weight: 600;
  color: #333;
  font-size: 16px;
  display: inline-block;
}

/* Replaced diagonal band styles with scrolling banner from attractions page */
/* Diagonal Banner */
.diagonal-banner-about {
  position: absolute;
  bottom: 120px;
  left: -5%;
  width: 110%;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red) 100%);
  padding: 25px 0;
  overflow: hidden;
  border-top: 6px solid var(--color-yellow);
  border-bottom: 6px solid var(--color-yellow);
  transform: rotate(15deg);
  z-index: 20;
}

.banner-text-scroll-about {
  display: flex;
  white-space: nowrap;
  animation: scrollTextAbout 30s linear infinite;
}

.banner-text-scroll-about span {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-yellow);
  padding-right: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes scrollTextAbout {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}
/* Removed old diagonal-band-text-about styles as they're now part of the banner */

/* Info Box */
.info-box {
  position: absolute;
  bottom: 240px;
  right: 80px;
  max-width: 280px;
  z-index: 22;
  font-family: var(--font-body);
  color: #1a3a52;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
}

/* CTA Button positioned below diagonal banner */
.btn-about-cta {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-red);
  color: white;
  border: none;
  padding: 12px 45px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 4px 6px 0 #8b1043;
  z-index: 22;
  transition: all 0.3s ease;
}

.btn-about-cta:hover {
  transform: translateX(-50%) translateY(2px);
  box-shadow: 2px 2px 0 #8b1043;
}

/* Banner Section */
.about-banner-section {
  width: 100%;
  overflow: hidden;
}

.banner-full-width {
  width: 100%;
  display: block;
  height: auto;
}

/* Timeline Section */
.timeline-section {
  background: white;
  padding: 80px 0;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1400px;
}

/* Updated timeline vertical line positioning and style */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, #bd3257 10%, #bd3257 90%, transparent 100%);
  z-index: 1;
}

/* Added animated line that travels up and down the timeline */
.timeline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 3px;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, #ff4d6d 30%, #ffffff 50%, #ff4d6d 70%, transparent 100%);
  z-index: 2;
  animation: timelineTravel 3s ease-in-out infinite;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.6), 0 0 20px rgba(255, 77, 109, 0.4);
}

@keyframes timelineTravel {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 80px);
    opacity: 0;
  }
}

/* Updated timeline item spacing and layout */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item:nth-child(1) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.4s;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Increased image size and updated border radius for softer corners */
.timeline-image {
  width: 100%;
  max-width: 70%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  justify-self: end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Increased dot size and updated positioning */
.timeline-dot {
  position: relative;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  border: 5px solid var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(189, 50, 87, 0.1);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px #bd325736;
  }
  50% {
    box-shadow: 0 0 0 15px #bd325726;
  }
}

/* Updated content spacing and typography */
.timeline-content {
  justify-self: start;
  max-width: 520px;
}

.timeline-content h3 {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.timeline-content p {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: #555555;
  line-height: 1.8;
}

/* --- City Selection Section Styles --- */

/* --- City Status Titles --- */
.city-status-title {
    font-family: "Winky Rough", sans-serif;
    color: white;
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .city-status-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
}

/* Reusing the pink background to match brand flow */
.city-section {
    background: var(--pink);
    padding: 0 0 50px 0; /* Adjust spacing as needed */
}

/* Specific Card Styling for the City Tickets */
.city-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    /* Optional: Add a white border or shadow to make it pop off the pink background */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    background: transparent; /* Keeping it transparent to let the ticket shape shine */
    max-width: 350px; /* Limits width so it doesn't get too huge on tablets */
    margin: 0 auto;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.city-img {
    width: 100%;
    height: auto;
    display: block;
    /* Ensure the image corners match the card border */
    border-radius: 15px; 
}

/* Optional: Button Overlay that appears on hover for active cities */
.city-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.city-card:hover .city-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Fix for the blurred item reusing your existing class */
.city-card.blurred-ticket {
    cursor: default; /* Remove pointer cursor */
}

.city-card.blurred-ticket:hover {
    transform: none; /* Disable hover lift effect for the blurred card */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Keep shadow static */
}

/* Ensure the existing blur effect covers the rounded corners properly */
.city-card.blurred-ticket::before {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1); /* Slight white tint to enhance blur */
}

/* Map Section */
.map-section {
  background: var(--color-blue);
  padding: 60px 0;
}

.section-heading-blue {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 62px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.section-subtext-blue {
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.map-image-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Add interactive map container styles */
.interactive-map-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: visible;
}

.interactive-map-container .map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Map overlay - translucent background when hovering */
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 20px;
  pointer-events: none;
  transition: background 0.4s ease;
  z-index: 50;
}

.map-overlay.active {
  background: rgba(0, 48, 73, 0.3);
  backdrop-filter: blur(3px);
}

/* Ride Hotspot Styles */
.ride-hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 60;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.ride-hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: transparent;
  transition: all 0.3s ease;
}

.ride-hotspot:hover::before {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Ride Popup - centered modal in the middle of the map */
.ride-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* Remove old hover-based popup trigger */
/* Now controlled via JS by adding .active class */

.ride-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.ride-popup img {
  width: 50rem;
  height: auto;
  /* max-height: 320px; */
  object-fit: contain;
  animation: floatBounce 2s ease-in-out infinite;
}

.ride-popup .ride-name {
  margin-top: 20px;
  background: white;
  color: #023047;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  padding: 12px 40px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  animation: fadeInUp 0.5s ease 0.2s both;
}

@keyframes floatBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glow pulse effect on hotspot when idle */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.2);
  }
}

.ride-hotspot {
  animation: pulseGlow 3s ease-in-out infinite;
}

.ride-hotspot:hover {
  animation: none;
}

/* Add touch-active state for mobile devices */
.ride-hotspot.touch-active::before {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Responsive styles for interactive map */
@media (max-width: 992px) {
  .ride-popup img {
    width: 45rem;
    /* max-height: 250px; */
  }

  .ride-popup .ride-name {
    font-size: 22px;
    padding: 10px 30px;
  }
}

@media (max-width: 768px) {
  .ride-popup img {
    width: 40rem;
    /* max-height: 200px; */
  }

  .ride-popup .ride-name {
    font-size: 18px;
    padding: 8px 24px;
    margin-top: 15px;
  }

  .ride-popup {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  }
}

@media (max-width: 480px) {
  .ride-popup img {
    width: 30rem;
    /* max-height: 160px; */
  }

  .ride-popup .ride-name {
    font-size: 14px;
    padding: 6px 18px;
    margin-top: 10px;
  }
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Testimonials Section */
/* Testimonials Section */
.testimonials-section {
  background-image: url("images/JM_Bannerf-03.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #03a550;
  padding: 80px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.testimonials-wrapper {
  position: relative;
}

.testimonials-carousel-container {
  overflow: hidden;
  width: 100%;
}

.testimonials-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  margin-top: 60px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  background: rgba(6, 91, 46, 1);
  border-radius: 10px;
  padding: 30px 25px;
  box-shadow: 12px 15px 0 rgba(44, 130, 85, 1);
  transition: transform 0.3s;
  min-height: 200px;
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  color: white;
}

.testimonial-company {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.testimonial-rating {
  font-size: 16px;
  font-weight: 700;
  color: white;
  position: absolute;
  right: 0;
  top: 0;
}

.testimonial-text {
  font-family: "Raleway", sans-serif;
  line-height: 1.7;
  color: white;
  font-size: 16px;
  margin: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 45px;
  height: 15px;
  border-radius: 10px;
  background: rgba(35, 35, 35, 0.8);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.testimonial-arrows {
  display: flex;
  gap: 15px;
}

.arrow-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background: white;
  color: #03a550;
  transform: scale(1.1);
}

.section-title-white {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  color: white;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.section-subtitle-white {
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  color: white;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-title {
    font-size: 60px;
  }

  .circle-container {
    width: 500px;
    height: 500px;
  }

  /* Scale down circles for tablet */
  .circle-1 {
    width: 500px;
    height: 500px;
  }

  .circle-2 {
    width: 400px;
    height: 400px;
  }

  .circle-3 {
    width: 300px;
    height: 300px;
  }

  .circle-center {
    width: 200px;
    height: 200px;
  }

  /* Scale down floating images for tablet */
  .tilted-img {
    width: 140px;
    height: 110px;
  }

  .floating-label span {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Adjust diagonal banner for tablet */
  .diagonal-banner-about {
    bottom: 100px;
    padding: 18px 0;
  }

  .banner-text-scroll-about span {
    font-size: 22px;
  }

  /* Stack timeline vertically on tablet with left-aligned line */
  .timeline {
    padding-left: 50px;
  }

  .timeline::before {
    left: 40px;
    transform: none;
  }

  /* Adjusted for new ::after element */
  .timeline::after {
    left: 40px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .timeline-dot {
    position: absolute;
    left: -46px;
  }

  .timeline-image {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    height: 220px;
  }

  .timeline-content {
    grid-column: 2;
    grid-row: 2;
  }

  /* Added responsive styles for 2 cards on tablet */
  .testimonial-card {
    min-width: calc((100% - 30px) / 2);
  }

  /* Map section responsive */
  .section-heading-blue {
    font-size: 48px;
  }

  .section-subtext-blue {
    font-size: 16px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  /* Hero section responsive */
  .about-hero {
    min-height: 70vh;
    padding: 80px 0 40px;
  }

  .about-title {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .about-subtitle {
    font-size: 13px;
  }

  /* Scale down circles for mobile */
  .circle-container {
    width: 320px;
    height: 320px;
  }

  .circle-1 {
    width: 320px;
    height: 320px;
  }

  .circle-2 {
    width: 250px;
    height: 250px;
  }

  .circle-3 {
    width: 180px;
    height: 180px;
  }

  .circle-center {
    width: 130px;
    height: 130px;
  }

  /* Scale down floating images for mobile */
  .tilted-img {
    width: 100px;
    height: 80px;
    border-radius: 10px;
  }

  .floating-label span {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 15px;
  }

  /* Reposition floating items for mobile */
  .floating-item[style*="top: 10%; left: 5%"] {
    top: 5% !important;
    left: 2% !important;
  }
  .floating-label[style*="top: 8%; left: 13%"] {
    top: 3% !important;
    left: 5% !important;
  }

  .floating-item[style*="top: 10%; right: 5%"] {
    top: 5% !important;
    right: 2% !important;
  }
  .floating-label[style*="top: 8%; right: 13%"] {
    top: 3% !important;
    right: 5% !important;
  }

  .floating-item[style*="top: 35%; left: 12%"] {
    top: 28% !important;
    left: 2% !important;
  }
  .floating-label[style*="top: 32%; left: 8%"] {
    top: 25% !important;
    left: 0% !important;
  }

  .floating-item[style*="top: 40%; right: 13%"] {
    top: 32% !important;
    right: 2% !important;
  }
  .floating-label[style*="top: 38%; right: 8%"] {
    top: 29% !important;
    right: 0% !important;
  }

  /* Hide some floating items on mobile for cleaner look */
  .floating-item[style*="top: 25%; right: 40%"],
  .floating-label[style*="top: 25%; right: 48%"],
  .floating-item[style*="bottom: 25%; right: 50%"],
  .floating-label[style*="bottom: 22%; right: 45%"] {
    display: none;
  }

  /* Diagonal banner responsive for mobile */
  .diagonal-banner-about {
    bottom: 90px;
    padding: 12px 0;
    transform: rotate(12deg);
  }

  .banner-text-scroll-about span {
    font-size: 16px;
    padding-right: 30px;
  }

  /* CTA button responsive */
  .btn-about-cta {
    bottom: 25px;
    padding: 10px 35px;
    font-size: 14px;
  }

  /* Timeline section responsive */
  .timeline-section {
    padding: 50px 0;
  }

  .timeline {
    padding-left: 35px;
  }

  .timeline::before {
    left: 15px;
    width: 2px;
  }

  /* Adjusted for new ::after element */
  .timeline::after {
    left: 15px;
    width: 2px;
  }

  .timeline-item {
    gap: 20px;
    margin-bottom: 50px;
  }

  .timeline-dot {
    left: -27px;
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  .timeline-image {
    height: 180px;
    border-radius: 12px;
  }

  .timeline-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .timeline-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Map section responsive */
  .map-section {
    padding: 40px 0;
  }

  .section-heading-blue {
    font-size: 36px;
    letter-spacing: 1px;
    padding: 0 15px;
  }

  .section-subtext-blue {
    font-size: 14px;
    padding: 0 20px;
    margin-bottom: 25px;
  }

  /* Testimonials responsive */
  .testimonials-section {
    padding: 50px 0 70px;
    min-height: auto;
  }

  .section-title-white {
    font-size: 32px;
    letter-spacing: 1px;
    padding: 0 15px;
  }

  .section-subtitle-white {
    font-size: 15px;
    padding: 0 20px;
  }

  .testimonials-grid {
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 20px;
  }

  .testimonial-card {
    min-width: 100%;
    padding: 22px 18px;
    box-shadow: 8px 10px 0 rgba(44, 130, 85, 1);
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-controls {
    flex-direction: column;
    gap: 25px;
  }

  .arrow-btn {
    width: 40px;
    height: 40px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .about-hero {
    min-height: 50vh;
    padding: 70px 0 30px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-subtitle {
    font-size: 11px;
    margin-top: 5px;
  }

  /* Further scale down circles */
  .circle-container {
    width: 260px;
    height: 260px;
  }

  .circle-1 {
    width: 260px;
    height: 260px;
  }

  .circle-2 {
    width: 200px;
    height: 200px;
  }

  .circle-3 {
    width: 150px;
    height: 150px;
  }

  .circle-center {
    width: 110px;
    height: 110px;
  }

  /* Further scale down floating images */
  .tilted-img {
    width: 70px;
    height: 55px;
    border-radius: 8px;
  }

  .floating-label span {
    padding: 4px 10px;
    font-size: 9px;
  }

  /* Diagonal banner for extra small */
  .diagonal-banner-about {
    bottom: 70px;
    padding: 10px 0;
    border-width: 4px;
  }

  .banner-text-scroll-about span {
    font-size: 12px;
    padding-right: 20px;
  }

  .btn-about-cta {
    bottom: 15px;
    padding: 8px 28px;
    font-size: 12px;
    box-shadow: 3px 4px 0 #8b1043;
  }

  /* Timeline for extra small */
  .timeline-section {
    padding: 35px 0;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 12px;
  }

  /* Adjusted for new ::after element */
  .timeline::after {
    left: 12px;
  }

  .timeline-item {
    gap: 15px;
    margin-bottom: 40px;
  }

  .timeline-dot {
    left: -25px;
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  .timeline-image {
    height: 150px;
    border-radius: 10px;
  }

  .timeline-content h3 {
    font-size: 20px;
  }

  .timeline-content p {
    font-size: 13px;
  }

  /* Map section for extra small */
  .map-section {
    padding: 30px 0;
  }

  .section-heading-blue {
    font-size: 28px;
  }

  .section-subtext-blue {
    font-size: 13px;
  }

  /* Testimonials for extra small */
  .testimonials-section {
    padding: 40px 0 60px;
  }

  .section-title-white {
    font-size: 26px;
  }

  .section-subtitle-white {
    font-size: 13px;
  }

  .testimonials-grid {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .testimonial-card {
    padding: 18px 15px;
    min-height: auto;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
  }

  .testimonial-info h3 {
    font-size: 15px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .dot {
    width: 12px;
    height: 12px;
  }

  .dot.active {
    width: 35px;
    height: 12px;
  }

  .arrow-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Fix timeline dot alignment across all breakpoints */
@media (max-width: 992px) {
  .timeline-item {
    display: flex;
  }
}
