* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.timeline-section {
  width: 100%;
  position: relative;
  background: #000;
  padding: 80px 0;
  margin: 0;
  z-index: 1;
  display: block;
  clear: both;
  overflow: hidden;
}

/* Smooth gradient transition at top of timeline section */
.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, 
    rgba(32, 31, 31, 0.95) 0%,
    rgba(32, 31, 31, 0.6) 30%,
    rgba(23, 23, 23, 0.3) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Smooth gradient transition at bottom of timeline section */
.timeline-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, 
    rgba(32, 31, 31, 0.95) 0%,
    rgba(32, 31, 31, 0.6) 30%,
    rgba(23, 23, 23, 0.3) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.timeline-section .container-fluid {
  padding: 0 80px 0px 80px;
}

.timeline-section .d-flex {
  margin-bottom: 0px;
}

.timeline-wrapper {
  width: 100%;
  overflow: hidden;
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-weight: bolder;
}

.journey {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding: 140px 80px;
  position: relative;
  background: radial-gradient(
    circle at center,
    #151515 0%,
    #080808 55%,
    #000 100%
  );
}

.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* Big lines (every 100px) */
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 99px,
      rgba(255, 255, 255, 0.08) 100px,
      rgba(255, 255, 255, 0.08) 102px
    ),
    /* Small lines (every 50px) */
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 49px,
      rgba(255, 255, 255, 0.04) 50px,
      rgba(255, 255, 255, 0.04) 51px
    );
  pointer-events: none;
}


.journey-track {
  display: flex;
  align-items: center;
  padding-top: 60px;
  gap: 160px;
  height: 100%;
  width: fit-content;
  will-change: transform;
}

.item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 480px;
}

.item.big {
  width: 5620px;
  min-width: 520px;
}

.item.small {
  width: 350px;
}

.item.top-aligned .item-content {
  align-items: flex-start;
}

.item.bottom-aligned {
  padding-bottom: 80px;
}

.item.bottom-aligned .item-content {
  align-items: flex-start;
  padding-bottom: 40px;
}

.year {
  position: absolute;
  font-size: 32px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  cursor: default;
}

.year:hover {
  color: #CEF501;
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(206, 245, 1, 0.6),
               0 0 30px rgba(85, 187, 7, 0.4);
  transform: translateX(-50%) scale(1.1);
}

.year.top {
  top: -120px;
  text-align: center;
}

.year.bottom {
  bottom: -50px;
  text-align: center;
}

.connector {
  position: absolute;
  width: 1px;
  background: rgba(255, 255, 255, 0.5);
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.item:hover .connector {
  background: linear-gradient(to bottom, 
    rgba(206, 245, 1, 0.8) 0%,
    rgba(85, 187, 7, 0.6) 50%,
    rgba(206, 245, 1, 0.8) 100%);
  box-shadow: 0 0 10px rgba(206, 245, 1, 0.6),
              0 0 20px rgba(85, 187, 7, 0.4);
  width: 2px;
}

.connector.top {
  top: -90px;
  height: 68px;
}

.connector.bottom {
  bottom: -108px;
  height: 68px;
}

.dot {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot:hover {
  background: #CEF501;
  box-shadow: 0 0 15px rgba(206, 245, 1, 0.9),
              0 0 30px rgba(85, 187, 7, 0.6),
              0 0 45px rgba(206, 245, 1, 0.4);
  transform: translateX(-50%) scale(1.5);
}

.dot.top {
  top: -70px;
}

.dot.bottom {
  bottom: -0px;
}

.subtitle {
  position: absolute;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  font-weight: 300;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.subtitle:hover {
  color: #CEF501;
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(85, 187, 7, 0.5);
  transform: translateX(-50%) scale(1.05);
}

.item-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
}

.item-with-side {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  width: 100%;
  justify-content: center;
}

.polaroid-card {
  position: relative;
  width: 320px;
  min-width: 320px;
  background-color: #CEF501;
  padding: 12px 12px 50px 12px;
  border-radius: 4px;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4),
              0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.polaroid-card:hover {
  transform: rotate(calc(var(--r, 0deg) * 0.3)) translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5),
              0 4px 12px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(206, 245, 1, 0.5),
              0 0 60px rgba(85, 187, 7, 0.3);
  border: 1px solid rgba(206, 245, 1, 0.4);
}

.polaroid-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  background: #fff;
}

.polaroid-card .logo-card {
  width: 100%;
  height: 280px;
  background: #000;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.polaroid-card .logo {
  color: #fff;
  text-align: center;
}

.polaroid-card .logo-icon {
  font-size: 64px;
  margin-bottom: 15px;
  display: block;
  font-weight: 300;
  line-height: 1;
}

.polaroid-card .logo-text {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.polaroid-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #000;
  font-weight: bold;
  text-align: left;
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  transition: all 0.3s ease;
}

.polaroid-card:hover .polaroid-text {
  color: #000;
  text-shadow: 0 0 5px rgba(85, 187, 7, 0.3);
  font-weight: 600;
}

.side-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 0;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.side-image {
  width: 160px;
  min-width: 160px;
  transform: rotate(var(--r, 0deg));
  flex-shrink: 0;
}

.side-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.9;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5),
              0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.side-image:hover img {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 0 20px rgba(206, 245, 1, 0.6),
              0 0 40px rgba(85, 187, 7, 0.4),
              0 3px 15px rgba(0, 0, 0, 0.5);
}

.side-image.single img {
  height: 180px;
}

.card-text {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-align: center;
  max-width: 100%;
  width: 60%;
  padding: 0 10px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.item:hover .card-text {
  color: rgba(206, 245, 1, 0.95);
  text-shadow: 0 0 8px rgba(206, 245, 1, 0.4);
}


.her-bg-section a,
.counter-section a,
.brands-slider a {
  transition: all 0.3s ease;
}

.her-bg-section a:hover,
.counter-section a:hover,
.brands-slider a:hover {
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(85, 187, 7, 0.5);
  transform: translateY(-2px);
}

.her-bg-section a.a2:hover {
  box-shadow: 0 0 20px rgba(206, 245, 1, 0.6),
              0 0 40px rgba(85, 187, 7, 0.4),
              0 4px 15px rgba(0, 0, 0, 0.3);
  border-color: rgba(206, 245, 1, 0.6);
}


.contentbox {
  transition: all 0.3s ease;
  cursor: default;
}



.contentbox:hover p span {
  color: #CEF501;
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(85, 187, 7, 0.5);
}

.counterbox {
  transition: all 0.3s ease;
}

.counterbox:hover h2 {
  color: #CEF501;
  text-shadow: 0 0 15px rgba(206, 245, 1, 0.8),
               0 0 30px rgba(85, 187, 7, 0.5);
}


.counter-innerbox {
  transition: all 0.3s ease;
  cursor: default;
}

.counter-innerbox:hover {
  transform: translateY(-5px) scale(1.02);
}

.counter-innerbox:hover .counter-number {
  color: #CEF501;
  text-shadow: 0 0 15px rgba(206, 245, 1, 0.8),
               0 0 30px rgba(85, 187, 7, 0.5);
}

.counter-innerbox:hover .counter-text {
  color: rgba(206, 245, 1, 0.9);
  text-shadow: 0 0 8px rgba(206, 245, 1, 0.4);
}


.brand-item {
  transition: all 0.3s ease;
  filter: brightness(0.8);
}



.brand-item img {
  transition: all 0.3s ease;
}




h1, h2 {
  transition: all 0.3s ease;
}

h1:hover, h2:hover {
  text-shadow: 0 0 15px rgba(206, 245, 1, 0.6),
               0 0 30px rgba(85, 187, 7, 0.4);
}

h1 span:hover, h2 span:hover {
  color: #CEF501;
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(85, 187, 7, 0.5);
}


.polaroid-card img {
  transition: all 0.3s ease;
}

.polaroid-card:hover img {
  filter: brightness(1.1) contrast(1.05);
  box-shadow: 0 0 15px rgba(206, 245, 1, 0.4) inset;
}


.polaroid-card:hover .logo-card {
  background: linear-gradient(135deg, 
    rgba(206, 245, 1, 0.1) 0%,
    rgba(85, 187, 7, 0.1) 100%);
  box-shadow: 0 0 20px rgba(206, 245, 1, 0.3) inset;
}

.polaroid-card:hover .logo {
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.6),
               0 0 20px rgba(85, 187, 7, 0.4);
}


.side-image {
  transition: all 0.3s ease;
}

.side-image:hover {
  transform: rotate(calc(var(--r, 0deg) * 0.5)) scale(1.05);
  z-index: 20;
}


img[src*="puzzle"] {
  transition: all 0.3s ease;
  filter: brightness(0.9);
}

img[src*="puzzle"]:hover {
  transform: rotate(15deg) scale(1.1);
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(206, 245, 1, 0.8))
          drop-shadow(0 0 20px rgba(85, 187, 7, 0.5));
}


p {
  transition: all 0.3s ease;
}

p:hover {
  text-shadow: 0 0 5px rgba(206, 245, 1, 0.3);
}

p span:hover {
  color: #CEF501;
  text-shadow: 0 0 8px rgba(206, 245, 1, 0.6),
               0 0 15px rgba(85, 187, 7, 0.4);
}


video {
  transition: all 0.3s ease;
}

video:hover {
  border-color: rgba(206, 245, 1, 0.8) !important;
  box-shadow: 0 0 30px rgba(206, 245, 1, 0.6),
              0 0 60px rgba(85, 187, 7, 0.4);
  transform: scale(1.05);
}


.item {
  transition: all 0.3s ease;
}

.item:hover {
  z-index: 15;
}


a, button, .polaroid-card, .side-image, .brand-item, .counter-innerbox {
  position: relative;
}

a::before, button::before, .polaroid-card::before, .side-image::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  background: linear-gradient(45deg, 
    rgba(206, 245, 1, 0.5),
    rgba(85, 187, 7, 0.5),
    rgba(206, 245, 1, 0.5));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  filter: blur(8px);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

a:hover::before, button:hover::before, 
.polaroid-card:hover::before, .side-image:hover::before {
  opacity: 1;
}


.her-bg-section:hover h1,
.her-bg-section:hover p {
  transition: all 0.3s ease;
}

.counter-section:hover .d-flex span {
  color: #CEF501;
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(85, 187, 7, 0.5);
  transition: all 0.3s ease;
}

.brands-slider:hover h2,
.brands-slider:hover p {
  transition: all 0.3s ease;
}

.brands-slider:hover h2 span {
  color: #CEF501;
  text-shadow: 0 0 15px rgba(206, 245, 1, 0.8),
               0 0 30px rgba(85, 187, 7, 0.5);
}


.timeline-section:hover .d-flex span {
  color: #CEF501;
  text-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
               0 0 20px rgba(85, 187, 7, 0.5);
  transition: all 0.3s ease;
}


a, button, .polaroid-card, .side-image, .brand-item, 
.counter-innerbox, .year, .dot, .connector, .subtitle,
.card-text, h1, h2, p, img, video {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(206, 245, 1, 0.9),
                0 0 30px rgba(85, 187, 7, 0.6),
                0 0 45px rgba(206, 245, 1, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(206, 245, 1, 1),
                0 0 50px rgba(85, 187, 7, 0.8),
                0 0 75px rgba(206, 245, 1, 0.6);
  }
}

.dot:hover {
  animation: neonPulse 1.5s ease-in-out infinite;
}


.item:hover .connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(206, 245, 1, 0.6) 20%,
    rgba(85, 187, 7, 0.8) 50%,
    rgba(206, 245, 1, 0.6) 80%,
    transparent 100%);
  box-shadow: 0 0 10px rgba(206, 245, 1, 0.8),
              0 0 20px rgba(85, 187, 7, 0.6);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}




@media (min-width: 1400px) {
  .timeline-section .container-fluid {
    padding: 0 100px 40px 100px;
  }
  
  .journey {
    padding: 160px 100px;
  }
  
  .item.big {
    width: 580px;
    min-width: 580px;
  }
  
  .polaroid-card {
    width: 360px;
    min-width: 360px;
  }
}


@media (min-width: 992px) and (max-width: 1399px) {
  .timeline-section .container-fluid {
    padding: 0 60px 40px 60px;
  }
  
  .journey {
    padding: 120px 60px;
  }
  
  .journey-track {
    gap: 100px;
  }
  
  .item.big {
    width: 480px;
    min-width: 480px;
  }
  
  .polaroid-card {
    width: 300px;
    min-width: 300px;
  }
  
  .side-image {
    width: 140px;
    min-width: 140px;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .timeline-section {
    padding: 60px 0;
  }
  
  .timeline-section .container-fluid {
    padding: 0 40px 30px 40px;
  }
  
  .journey {
    height: auto;
    min-height: 100vh;
    padding: 100px 40px;
  }
  
  .journey-track {
    flex-direction: column;
    gap: 80px;
    padding-top: 40px;
    width: 100%;
    align-items: center;
  }
  
  .item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 600px;
    min-height: auto;
    margin-bottom: 60px;
  }
  
  .item.big,
  .item.small {
    width: 100%;
    min-width: 100%;
  }
  
  .year {
    font-size: 28px;
  }
  
  .year.top {
    top: -120px;
  }
  
  .year.bottom {
    bottom: -140px;
  }
  
  .connector.top {
    top: -88px;
    height: 48px;
  }
  
  .connector.bottom {
    bottom: -88px;
    height: 48px;
  }
  
  .dot.top {
    top: -93px;
  }
  
  .dot.bottom {
    bottom: -93px;
  }
  
  .subtitle {
    top: -90px;
    font-size: 14px;
  }
  
  .item-content {
    width: 100%;
  }
  
  .item-with-side {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .polaroid-card {
    width: 100%;
    max-width: 400px;
    min-width: auto;
  }
  
  .polaroid-card img {
    height: 240px;
  }
  
  .polaroid-card .logo-card {
    height: 240px;
  }
  
  .side-images {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 20px;
  }
  
  .side-image {
    width: 45%;
    max-width: 200px;
    min-width: auto;
  }
  
  .side-image img {
    height: 150px;
  }
  
  .side-image.single img {
    height: 200px;
  }
  
  .card-text {
    margin-top: 20px;
    font-size: 13px;
    padding: 0 5px;
  }
  
 
  .her-bg-section .container-fluid {
    padding: 60px 40px;
  }
  
  .her-bg-section h1 {
    font-size: 2.5rem;
  }
  
  .her-bg-section p {
    font-size: 1rem;
  }
  
  .her-bg-section video {
    max-width: 30% !important;
  }
  
 
  .counter-section .container-fluid {
    padding: 60px 40px;
  }
  
  .counter-innerbox {
    margin-bottom: 30px;
  }
  
  .counter-number {
 
  }
  
  .counter-text {
    font-size: 0.9rem;
  }
  
 
  .brands-slider .container-fluid {
    padding: 0px 40px;
  }
  
  .brands-slider h2 {
    font-size: 2rem;
  }
  
  .brands-slider p {
    font-size: 0.95rem;
  }
}


@media (max-width: 767px) {
  .timeline-section {
    padding: 40px 0;
  }
  
  .timeline-section .container-fluid {
    padding: 0 20px 20px 20px;
  }
  
  .timeline-section .d-flex {
    margin-bottom: 30px;
  }
  
  .timeline-section .d-flex img {
    width: 4% !important;
  }
  
  .timeline-section .d-flex span {
    font-size: 18px !important;
  }
  
  .journey {
    height: auto;
    min-height: auto;
    padding: 60px 20px;
  }
  
  .journey::before {
    display: none;
  }
  
  .journey-track {
    flex-direction: column;
    gap: 50px;
    padding-top: 20px;
    width: 100%;
    align-items: center;
  }
  
  .item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100%;
    min-height: auto;
    margin-bottom: 40px;
    padding-bottom: 0;
  }
  
  .item.bottom-aligned {
    padding-bottom: 0;
  }
  
  .item.bottom-aligned .item-content {
    padding-bottom: 0;
  }
  
  .year {
    font-size: 24px;
  }
  
  .year.top {
    top: -100px;
  }
  
  .year.bottom {
    bottom: -120px;
  }
  
  .connector {
    display: none;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .dot.top {
    top: -103px;
  }
  
  .dot.bottom {
    bottom: -123px;
  }
  
  .subtitle {
    top: -80px;
    font-size: 13px;
  }
  
  .item-content {
    width: 100%;
    gap: 15px;
  }
  
  .item-with-side {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
  }
  
  .polaroid-card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 10px 10px 40px 10px;
  }
  
  .polaroid-card img {
    height: 200px;
  }
  
  .polaroid-card .logo-card {
    height: 200px;
    padding: 30px;
  }
  
  .polaroid-card .logo-icon {
    font-size: 48px;
  }
  
  .polaroid-card .logo-text {
    font-size: 16px;
  }
  
  .polaroid-text {
    font-size: 13px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  
  .side-images {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .side-image {
    width: 48%;
    max-width: 180px;
    min-width: auto;
  }
  
  .side-image img {
    height: 120px;
  }
  
  .side-image.single {
    width: 100%;
    max-width: 250px;
  }
  
  .side-image.single img {
    height: 180px;
  }
  
  .card-text {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.6;
    padding: 0;
    text-align: center;
  }
  
 
  .her-bg-section .container-fluid {
    padding: 40px 20px;
  }
  
  .her-bg-section .row {
    text-align: center;
  }
  
  .her-bg-section .a1 {
    width: auto !important;
    display: inline-flex;
    font-size: 14px;
    padding: 8px 15px !important;
    margin-bottom: 20px;
  }
  
  .her-bg-section .a1 img {
    width: 12% !important;
  }
  
  .her-bg-section h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .her-bg-section h1 br {
    display: block;
  }
  
  .her-bg-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  
  .her-bg-section p br {
    display: none;
  }
  
  .her-bg-section .a2 {
    font-size: 14px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: inline-flex;
  }
  
  .her-bg-section .text-end {
    text-align: center !important;
  }
  
  .her-bg-section video {
    max-width: 60% !important;
    margin: 0 auto;
  }
  
 
  .counter-section .container-fluid {
    padding: 40px 20px;
  }
  
  .counter-section .d-flex {
    margin-bottom: 25px;
  }
  
  .counter-section .d-flex img {
    width: 10% !important;
  }
  
  .counter-section .d-flex span {
    font-size: 18px !important;
  }
  
  .contentbox {
    margin-bottom: 30px;
  }
  
  .contentbox p {
    font-size: 0.9rem;
    line-height: 1.6;
    padding-bottom: 15px;
  }
  
  .contentbox p br {
    display: none;
  }
  
  .counterbox h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  .counterbox .row {
    margin: 0;
  }
  
  .counterbox .col-lg-2,
  .counterbox .col-lg-5 {
           width: 100%;
        padding: 20px 0 0;
  }
  
  .counter-innerbox {
    text-align: center;
  }
  
  .counter-number {
    display: block;
    margin-bottom: 0px;
  }
  
  .counter-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .counter-text br {
    display: none;
  }
  
 
  .brands-slider .container-fluid {
    padding: 0px 20px;
  }
  
  .brands-slider .d-flex {
    margin-bottom: 25px;
  }
  
  .brands-slider .d-flex img {
    width: 9% !important;
  }
  
  .brands-slider .d-flex span {
    font-size: 18px !important;
  }
  
  .brands-slider h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .brands-slider h2 br {
    display: block;
  }
  
  .brands-slider p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  .brands-slider p br {
    display: none;
  }
  
 
  .brand-section {
    padding: 30px 0;
  }
  
  .brand-item {
    padding: 10px;
  }
  
  .brand-item img {
    max-width: 80px;
    height: auto;
  }
  
 
  .journey-track {
    transform: none !important;
  }
}


@media (max-width: 480px) {
  .timeline-section .container-fluid {
    padding: 0 15px 15px 15px;
  }
  
  .journey {
    padding: 40px 15px;
  }
  
  .journey-track {
    gap: 40px;
  }
  
  .item {
    margin-bottom: 30px;
  }
  
  .year {
    font-size: 20px;
  }
  
  .year.top {
    top: -80px;
  }
  
  .year.bottom {
    bottom: -100px;
  }
  
  .dot.top {
    top: -83px;
  }
  
  .dot.bottom {
    bottom: -103px;
  }
  
  .subtitle {
    top: -70px;
    font-size: 12px;
  }
  
  .polaroid-card {
    padding: 8px 8px 35px 8px;
  }
  
  .polaroid-card img {
    height: 180px;
  }
  
  .polaroid-card .logo-card {
    height: 180px;
    padding: 20px;
  }
  
  .polaroid-card .logo-icon {
    font-size: 40px;
    margin-bottom: 10px;
  }
  
  .polaroid-card .logo-text {
    font-size: 14px;
  }
  
  .polaroid-text {
    font-size: 12px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  
  .side-image {
    width: 100%;
    max-width: 200px;
  }
  
  .side-image img {
    height: 100px;
  }
  
  .side-image.single img {
    height: 150px;
  }
  
  .card-text {
    font-size: 11px;
  }
  
 
  .her-bg-section .container-fluid {
    padding: 30px 15px;
  }
  
  .her-bg-section h1 {
    font-size: 1.5rem;
  }
  
  .her-bg-section p {
    font-size: 0.85rem;
  }
  
  .her-bg-section video {
    max-width: 80% !important;
  }
  
 
  .counter-section .container-fluid {
    padding: 0;
  }
  
  .counter-number {
  
  }
  
  .counter-text {
    font-size: 0.8rem;
  }
  
 
  .brands-slider .container-fluid {
    padding: 0;
  }
  
  .brands-slider h2 {
    font-size: 1.3rem;
  }
  
  .brands-slider p {
    font-size: 0.8rem;
  }
  
  .brand-item img {
    max-width: 60px;
  }
}


@media (max-width: 767px) and (orientation: landscape) {
  .journey {
    min-height: auto;
    padding: 40px 20px;
  }
  
  .journey-track {
    gap: 40px;
  }
  
  .item {
    margin-bottom: 30px;
  }
  
  .year.top {
    top: -80px;
  }
  
  .year.bottom {
    bottom: -100px;
  }
}


@media (hover: none) and (pointer: coarse) {
  .polaroid-card,
  .side-image,
  .brand-item,
  .counter-innerbox {
    transition: all 0.2s ease;
  }
  
 
  .polaroid-card:active {
    transform: rotate(calc(var(--r, 0deg) * 0.3)) translateY(-3px) scale(0.98);
  }
  
  .side-image:active img {
    transform: scale(1.02);
  }
}


@media (max-width: 767px) {
  .her-bg-section .a1 {
    width: auto !important;
    padding: 8px 15px !important;
    font-size: 14px;
  }
  
  .her-bg-section .a1 img {
    width: 12% !important;
  }
  
  .counter-section .d-flex img {
    width: 10% !important;
  }
  
  .timeline-section .d-flex img {
    width: 4% !important;
  }
  
 
  
  .her-bg-section video {
    max-width: 60% !important;
  }
}

@media (max-width: 480px) {
  .her-bg-section video {
    max-width: 80% !important;
  }
}


@media print {
  .journey {
    height: auto;
    page-break-inside: avoid;
  }
  
  .item {
    page-break-inside: avoid;
    margin-bottom: 30px;
  }
  
  .polaroid-card,
  .side-image {
    box-shadow: none;
  }
}


@media (min-width: 769px) and (max-width: 991px) {
 
  .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
  }
  
 
  body {
    overflow-x: hidden;
  }
  
 
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
}


@media (max-width: 767px) {
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
 
  a, button, .polaroid-card, .side-image {
    min-height: 44px;
    min-width: 44px;
  }
  
 
  body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

/* ================================
   RESPONSIVE SAFETY PATCH
   (Non-destructive overrides only)
================================ */

/* Prevent horizontal scroll everywhere */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Journey container safety */
.journey,
.timeline-wrapper,
.timeline-section {
  overflow-x: hidden;
}

/* Ensure track never forces width on mobile */
@media (min-width: 769px) and (max-width: 991px) {
  .journey-track {
    width: 100%;
    max-width: 100%;
    transform: none !important;
  }
}

/* Fix fixed large widths */
@media (min-width: 769px) and (max-width: 991px) {
  .item.big,
  .item.small {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 700px;
  }
}

/* Center all timeline content cleanly */
@media (min-width: 769px) and (max-width: 991px) {
  .item-content,
  .item-with-side {
    align-items: center;
    text-align: center;
  }
}

/* Polaroid cards responsive scaling */
@media (min-width: 769px) and (max-width: 991px) {
  .polaroid-card {
    width: 100%;
    max-width: 420px;
    min-width: auto;
  }
}

/* Side images adapt naturally */
@media (min-width: 769px) and (max-width: 991px) {
  .side-images {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .side-image {
    width: 48%;
    min-width: auto;
  }
}

/* Stack everything vertically on mobile */
@media (max-width: 767px) {
  .journey-track {
    flex-direction: column;
    align-items: center;
  }

  .item {
    margin-bottom: 50px;
  }
}

/* Improve year & dot positioning on small screens */
@media (max-width: 767px) {
  .year {
    position: relative;
    left: auto;
    transform: none;
    margin-bottom: 10px;
  }

  .dot {
    position: relative;
    left: auto;
    transform: none;
    margin-bottom: 15px;
  }
}

/* Card text readability */
@media (max-width: 767px) {
  .card-text {
    width: 100%;
    max-width: 500px;
    padding: 0 10px;
  }
}

/* Ultra small devices */
@media (max-width: 480px) {
  .polaroid-card img,
  .polaroid-card .logo-card {
    height: 170px;
  }

  .side-image img {
    height: 110px;
  }
}
