.roadmap-hero {
  background: linear-gradient(135deg, #0b1e33, #1e3a8a, #2563eb);
  padding: 200px 0 120px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.roadmap-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.roadmap-hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1s ease;
  position: relative;
  z-index: 2;
}

.roadmap-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.3s both;
  position: relative;
  z-index: 2;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-icons i {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.timeline-section {
  padding: 100px 0;
  background: linear-gradient(145deg, #f8fafc, #e6f0fa);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #1e3a8a, #0dcaf0, #1e3a8a);
  animation: timelineGlow 3s ease-in-out infinite;
}

@keyframes timelineGlow {
  0%,
  100% {
    opacity: 0.3;
    box-shadow: 0 0 10px #0dcaf0;
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 30px #0dcaf0;
  }
}

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

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: white;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 30, 60, 0.1);
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.timeline-content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(13, 202, 240, 0.2);
  border-color: #0dcaf0;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #0dcaf0);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -50px;
}

.timeline-date {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(145deg, #1e3a8a, #2563eb);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.timeline-content h3 {
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 20px;
  font-weight: 700;
}

.timeline-content p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.timeline-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #0dcaf0, #0a58ca);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(13, 202, 240, 0.3);
}

.timeline-dot {
  width: 30px;
  height: 30px;
  background: linear-gradient(145deg, #0dcaf0, #0a58ca);
  border: 4px solid white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 10px rgba(13, 202, 240, 0.2);
}

.stats-section {
  padding: 80px 0;
  background: linear-gradient(145deg, #0b1e33, #1e3a8a);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  animation: rotate 30s linear infinite;
}

.stat-item {
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(145deg, #0dcaf0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(145deg, #f0f5fa, #e5e7eb);
  position: relative;
  overflow: hidden;
}

.newsletter-box {
  background: linear-gradient(145deg, #0b1e33, #1e3a8a);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  border: 1px solid rgba(13, 202, 240, 0.2);
}

.newsletter-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(13, 202, 240, 0.3);
}

.newsletter-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(145deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.user-imgs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.user-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid #0dcaf0;
  margin-left: -15px;
  transition: all 0.3s ease;
  object-fit: cover;
}

.user-img:first-child {
  margin-left: 0;
}

.user-img:hover {
  transform: scale(1.1);
  z-index: 10;
  border-color: #ffffff;
}

.user-count {
  background: linear-gradient(145deg, #0dcaf0, #0a58ca);
  color: white;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 10px;
  box-shadow: 0 5px 15px rgba(13, 202, 240, 0.3);
}

.newsletter-form {
  display: flex;
  background: white;
  border-radius: 60px;
  overflow: hidden;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: #0dcaf0;
  box-shadow: 0 15px 40px rgba(13, 202, 240, 0.4);
}

.newsletter-form input {
  border: none;
  padding: 15px 20px;
  flex: 1;
  outline: none;
  font-size: 1rem;
  background: white;
}

.newsletter-form button {
  background: linear-gradient(145deg, #1e3a8a, #2563eb);
  border: none;
  padding: 15px 30px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.newsletter-form button:hover {
  background: linear-gradient(145deg, #2563eb, #0dcaf0);
  transform: scale(1.05);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.newsletter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.newsletter-box:hover .newsletter-img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(11, 30, 51, 0.8) 0%,
    rgba(30, 58, 138, 0.4) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1rem;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .roadmap-hero h1 {
    font-size: 4rem;
  }

  .timeline-content {
    padding: 35px;
  }

  .timeline-content h3 {
    font-size: 1.8rem;
  }

  .timeline-content p {
    font-size: 1rem;
  }

  .timeline-badge {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}

@media (max-width: 1024px) {
  .timeline-section::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 60px;
    margin-bottom: 60px;
  }

  .timeline-content {
    width: calc(100% - 30px);
    margin-left: 30px;
  }

  .timeline-content::before {
    display: none;
  }

  .timeline-dot {
    left: 30px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  .roadmap-hero {
    padding: 180px 0 100px;
  }

  .roadmap-hero h1 {
    font-size: 3.5rem;
  }

  .roadmap-hero p {
    font-size: 1.1rem;
  }

  .timeline-content {
    padding: 30px;
  }

  .timeline-content h3 {
    font-size: 1.6rem;
  }

  .timeline-badge {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: -10px;
    right: -10px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .newsletter-title {
    font-size: 36px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .col-lg-6.position-relative {
    min-height: 350px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  .roadmap-hero {
    padding: 150px 0 80px;
  }

  .roadmap-hero h1 {
    font-size: 2.8rem;
  }

  .roadmap-hero p {
    font-size: 1rem;
  }

  .floating-icons i {
    font-size: 1.5rem;
  }

  .timeline-section {
    padding: 60px 0;
  }

  .timeline-item {
    margin-left: 40px;
    margin-bottom: 50px;
  }

  .timeline-content {
    padding: 25px;
    width: calc(100% - 20px);
    margin-left: 20px;
  }

  .timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .timeline-date {
    font-size: 1rem;
    padding: 8px 25px;
  }

  .timeline-badge {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .timeline-dot {
    width: 25px;
    height: 25px;
  }

  .stats-section {
    padding: 50px 0;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .newsletter-section {
    padding: 40px 0;
  }

  .newsletter-box {
    border-radius: 30px;
  }

  .newsletter-box .p-5 {
    padding: 30px !important;
  }

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

  .newsletter-form {
    flex-direction: column;
    border-radius: 30px;
  }

  .newsletter-form input {
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding: 12px 20px;
  }

  .newsletter-form button {
    width: 100%;
    border-radius: 0 0 30px 30px;
    justify-content: center;
    padding: 12px 20px;
  }

  .col-lg-6.position-relative {
    min-height: 250px;
  }

  .user-img {
    width: 35px;
    height: 35px;
  }

  .user-count {
    font-size: 0.8rem;
    padding: 4px 10px;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 20px;
  }

  .roadmap-hero h1 {
    font-size: 2.2rem;
  }

  .roadmap-hero p {
    font-size: 0.9rem;
  }

  .timeline-item {
    margin-left: 30px;
    margin-bottom: 40px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.85rem;
  }

  .timeline-date {
    font-size: 0.85rem;
    padding: 6px 18px;
    margin-bottom: 15px;
  }

  .timeline-badge {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: -8px;
    right: -8px;
  }

  .timeline-dot {
    width: 20px;
    height: 20px;
  }

  .stats-section .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-item {
    padding: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .newsletter-box .p-5 {
    padding: 25px !important;
  }

  .newsletter-title {
    font-size: 24px;
  }

  .d-flex.align-items-center {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }

  .user-imgs {
    margin-bottom: 5px;
  }

  .text-white-50 {
    font-size: 0.9rem;
  }

  .col-lg-6.position-relative {
    min-height: 200px;
  }
}

@media (max-width: 425px) {
  .timeline-item {
    margin-left: 25px;
    margin-bottom: 35px;
  }

  .timeline-content {
    padding: 18px;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.8rem;
  }

  .timeline-date {
    font-size: 0.8rem;
    padding: 5px 15px;
  }

  .stats-section .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-item {
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 375px) {
  .roadmap-hero h1 {
    font-size: 2rem;
  }

  .timeline-item {
    margin-left: 20px;
  }

  .timeline-content {
    padding: 15px;
  }

  .timeline-content h3 {
    font-size: 1rem;
  }

  .newsletter-title {
    font-size: 22px;
  }

  .user-img {
    width: 30px;
    height: 30px;
  }
}
