.page-content {
  position: relative;
  padding: 180px 0 200px;
  text-align: center;
  color: white;
  overflow: hidden;
}

.page-content .background-image {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-content .background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.page-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.page-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Information Section */
.information-section {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.info-card {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(1, 118, 211, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(1, 118, 211, 0.15);
}

.info-card-header {
  background-color: var(--primary);
  color: white;
  padding: 25px;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card-header h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.info-card-header p {
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.info-card-icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0.2;
  font-size: 80px;
  z-index: 1;
}

.info-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.info-list {
  list-style-type: none;
  margin-top: 20px;
  flex-grow: 1;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 35px;
  font-size: 1rem;
}

.info-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-list li:after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
}

.info-list li:last-child {
  border-bottom: none;
}

/* Expanded Content Section */
.expanded-content {
  padding: 80px 0;
  background-color: var(--primary-light);
  border-radius: 20px;
  margin-top: 40px;
}

.expanded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.expanded-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.expanded-card:hover {
  transform: translateY(-5px);
}

.expanded-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 28px;
}

.expanded-card h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background-color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--primary-light);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: var(--primary);
  color: white;
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-text {
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
}

/* Process Section */
.process {
  padding: 80px 0;
  background-color: var(--light);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 30px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 30px;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 24px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light);
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background-color: white;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(1, 118, 211, 0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  background-color: white;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

.cta-button-light {
  background-color: white;
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.cta-button-light:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .page-content {
    padding: 130px 0 80px;
  }

  .page-content h1 {
    font-size: 2.2rem;
  }

  .process-steps {
    flex-direction: column;
  }

  .step {
    min-width: 100%;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-content h1 {
    font-size: 1.8rem;
  }

  .page-content p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .expanded-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* card */
.migration-card {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  /* Increased margin */
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 16px;
  /* Slightly larger radius */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  min-height: 400px;
  /* Added minimum height */
}

.migration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.95);
}

.migration-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* Thicker top border */
  background: linear-gradient(90deg, #0176d3, #0056b3);
  z-index: 2;
}

/* Left Side: Image/Graphic - Increased Height */
.card-image {
  flex: 1;
  background: linear-gradient(135deg, #0176d3, #0056b3, #003d82);
  padding: 30px;
  /* Increased padding */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

.image-placeholder {
  width: 100%;
  height: 280px;
  /* Increased height */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  /* Larger radius */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Image Styling */
.migration-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  /* Slightly larger radius */
  transition: transform 0.3s ease;
}

.migration-image:hover {
  transform: scale(1.05);
}

/* Right Side: Content - More Spacious */
.card-content {
  flex: 1.2;
  padding: 35px;
  /* Increased padding */
  color: #2c2c2c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
}

.content-header {
  margin-bottom: 20px;
  /* Increased margin */
}

.card-content h2 {
  font-size: 2.2em;
  /* Larger heading */
  font-weight: 700;
  background: linear-gradient(135deg, #0176d3, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3em;
  line-height: 1.2;
}

.card-content .subtitle {
  font-size: 1.2em;
  /* Larger subtitle */
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 1em;
}

.card-content .description {
  line-height: 1.6;
  /* Better line height */
  margin-bottom: 1.8em;
  /* Increased margin */
  font-size: 1.05em;
  /* Slightly larger text */
  color: #495057;
}

/* More Spacious Features List */
.features-list ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.features-list li {
  padding: 10px 0;
  /* Increased padding */
  font-size: 1.05em;
  /* Slightly larger font */
  color: #495057;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.features-list li:hover {
  transform: translateX(6px);
  /* Larger hover movement */
}

.feature-icon {
  font-size: 1.3em;
  /* Larger icons */
  margin-right: 12px;
  /* Increased spacing */
  width: 24px;
  text-align: center;
}

.features-list li::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  display: inline-block;
  width: 1.2em;
  margin-right: 0.7em;
  /* Increased spacing */
  font-size: 1.1em;
  /* Larger checkmark */
}

/* Responsive Design */
@media (max-width: 968px) {
  .migration-card {
    flex-direction: column;
    max-width: 95%;
    margin: 25px auto;
    /* Increased margin */
    min-height: auto;
    /* Remove fixed height on mobile */
  }

  .card-image {
    padding: 25px;
    /* Increased padding */
  }

  .image-placeholder {
    height: 220px;
    /* Larger on mobile */
  }

  .card-content {
    padding: 30px 25px;
    /* Increased padding */
  }

  .card-content h2 {
    font-size: 2em;
    /* Larger heading */
  }
}

@media (max-width: 480px) {
  .migration-card {
    margin: 15px auto;
    /* Increased margin */
    border-radius: 12px;
    /* Larger radius */
  }

  .card-image {
    padding: 20px;
    /* Increased padding */
  }

  .card-content {
    padding: 25px 20px;
    /* Increased padding */
  }

  .card-content h2 {
    font-size: 1.8em;
    /* Larger heading */
  }

  .image-placeholder {
    height: 180px;
    /* Increased height */
  }
}

/* Timeline Section */
.timeline-section {
  background-color: #f8faff;
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.timeline-content::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -10px;
}

.timeline-year {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 15px;
}
/* =========================================== */
/* Timeline Responsive Styles */
@media (max-width: 768px) {
  .timeline-section {
    padding: 60px 0;
  }

  .timeline::before {
    left: 30px; /* Move line to the left on mobile */
  }

  .timeline-item {
    width: 100%;
    left: 0 !important; /* Override the left positioning */
    padding: 0 0 0 80px; /* Add left padding for mobile */
    margin-bottom: 40px;
  }

  .timeline-content::after {
    left: -10px !important; /* Position arrow on left side */
    right: auto !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    right: auto;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-year {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .timeline::before {
    left: 20px; /* Adjust line position for very small screens */
  }

  .timeline-item {
    padding: 0 0 0 60px; /* Reduce padding on very small screens */
  }

  .timeline-content {
    padding: 15px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 1rem;
  }
}
