/* বেসিক স্টাইলিং */
@import url("https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #1c2e58;
  --primary-dark: #192b56;
  --primary-light: #f5a0c5;
  --secondary-color: #ffdd00;
  --text-color: #333333;
  --light-text: #666666;
  --white: #ffffff;
  --light-bg: #fff5f8;
  --dark-bg: #222222;
  --border-light: #eeeeee;
  --border-dark: #444444;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Hind Siliguri", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 60px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

/* হিরো ব্যানার স্টাইল */
.hero-section {
  padding-top:0;
  position: relative;
}

.hero-banner {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 30px;
  background-color: rgba(28, 46, 88 , 0.7);
  border-radius: 50%;
  width: 400px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

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

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text .highlight {
  color: var(--secondary-color);
  font-size: 4.5rem;
}

/* টাইমলাইন স্টাইল - আপডেটেড */
.history-section {
  padding: 80px 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.timeline {
  margin-top: 50px;
  position: relative;
}

/* টাইমলাইন ট্র্যাক স্টাইল */
.timeline-track {
  position: relative;
  align-items: center;
  padding: 40px 0;
  margin-bottom: 30px;
}

.timeline-track::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 90%;
  left: 5%;
  background-color: var(--primary-color);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* টাইমলাইন ইয়ার স্টাইল */
.timeline-year {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: var(--transition);
}

.timeline-year.active {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.5);
  box-shadow: 0 0 15px rgba(226, 20, 108, 0.5);
}

.timeline-year:hover:not(.active) {
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 10px rgba(226, 20, 108, 0.3);
}

/* টাইমলাইন স্ট্রেইট লাইন */
.timeline-straight-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  transition: left 0.5s ease;
}

.timeline-straight-line .year-indicator {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.timeline-straight-line .year-indicator::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}

/* টাইমলাইন স্লাইডার */
.timeline-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-btn {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  flex-shrink: 0;
}

.slider-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.slider-btn:disabled,
.slider-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* টাইমলাইন কার্ডস */
.timeline-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 400px;
  perspective: 1000px;
  overflow: visible;
}

.timeline-card {
  position: absolute;
  width: 300px; /* Adjusted width to match example */
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s ease;
  transform-origin: center bottom;
  z-index: 1;
  padding: 15px;
  text-align: center; /* Center content */
}

.timeline-card.active {
  transform: translateZ(100px) scale(1.1);
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.timeline-card:not(.active) {
  transform: translateZ(0) scale(0.85);
  filter: blur(2px);
  opacity: 0.7;
}

.card-image {
  height: auto; /* Allow natural height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.card-image img {
  width: 120px; /* Make image small and fixed width like in example */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain;
}

.timeline-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.card-content p {
  color: var(--light-text);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

/* টাইমলাইন কার্ড পজিশন */
.timeline-cards .timeline-card:nth-child(1) {
  transform: translate(-200%, 10%) scale(0.7);
}

.timeline-cards .timeline-card:nth-child(2) {
  transform: translate(-100%, 5%) scale(0.8);
}

.timeline-cards .timeline-card.active {
  transform: translate(0, 0) scale(1.1);
}

.timeline-cards .timeline-card:nth-child(4) {
  transform: translate(100%, 5%) scale(0.8);
}

.timeline-cards .timeline-card:nth-child(5) {
  transform: translate(200%, 10%) scale(0.7);
}

/* গল্প সেকশন স্টাইল */
.story-section {
  padding: 80px 0;
  background-color: var(--white);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}

.story-content p {
  margin-bottom: 20px;
}

/* পার্টনার সেকশন স্টাইল */
.partners-section {
  padding: 80px 0;
  background-color: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.partner-logo {
  background-color: white; /* Match exactly with the section background */
  border-radius: 0; /* Remove border radius */
  padding: 20px; /* Add some padding around the logos */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none; /* Remove any shadow */
  transition: var(--transition);
  border: none; /* Remove any border */
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.partner-logo img {
  max-height: none; /* Remove max-height restriction */
  width: 100%; /* Make image fill the div width */
  height: auto; /* Maintain aspect ratio */
  filter: none; /* Remove grayscale filter */
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* ফুটার স্টাইল */
.bkash-footer {
  background-color: #1f1f1f;
  color: white;
  padding: 40px 0 20px;
  font-family: "Hind Siliguri", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* Logo and Tagline */
.footer-logo-section {
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 60px;
}

.footer-tagline {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 800px;
}

/* App Download Section */
.footer-app-download {
  margin-bottom: 30px;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 500;
}

.app-store-buttons {
  display: flex;
  gap: 10px;
}

.app-button {
  display: block;
  max-width: 180px;
}

.app-button img {
  width: 100%;
}

/* Footer Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.footer-column-title {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 500;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #e6146c;
}

.certification-logos {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.certification-logos img {
  height: 50px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.copyright-text {
  color: #999;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.social-icon i {
  color: #222;
  font-size: 16px;
}

.social-icon:hover {
  background-color: #1c2e58;
}

.social-icon:hover i {
  color: #fff;
}

/* Live Chat Button */
.live-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1c2e58;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
  z-index: 100;
}

.live-chat:hover {
  transform: translateY(-3px);
}

.live-chat i {
  font-size: 18px;
}

/* হেডার স্টাইল - ইনডেক্স থেকে */
.header {
  background-color: #1c2e58;
  padding: 8px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.bangla-bkash {
  color: white;
  font-size: 24px;
  margin-right: 5px;
  letter-spacing: -0.5px;
}

.logo {
  height: 64px;
}

.nav {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-left: -100px;
}

.nav-item {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
  
}

.right-nav {
  display: flex;
  align-items: center;
}

.login-btn {
  background-color: transparent;
  color: white;
  padding: 6px 20px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-right: 10px;
}

.login-btn:hover {
  border-color: rgba(255, 255, 255, 1);
}

.app-btn {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 6px 14px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
}

.app-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* রেস্পন্সিভ স্টাইল */
@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-track {
    justify-content: flex-start;
    padding-bottom: 15px;
  }
}

@media (max-width: 992px) {
  .hero-text {
    width: 300px;
    height: 300px;
  }

  .timeline-card {
    min-width: 280px;
  }

  .card-image img {
    width: 100px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text .highlight {
    font-size: 3.5rem;
  }

  .timeline-cards .timeline-card:nth-child(1),
  .timeline-cards .timeline-card:nth-child(5) {
    display: none;
  }

  .timeline-cards .timeline-card:nth-child(2) {
    transform: translate(-80%, 5%) scale(0.8);
  }

  .timeline-cards .timeline-card:nth-child(4) {
    transform: translate(80%, 5%) scale(0.8);
  }

  .timeline-card {
    min-width: 280px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .timeline-card {
    width: 320px; /* Updated from 280px */
  }

  .timeline-cards .timeline-card:nth-child(2),
  .timeline-cards .timeline-card:nth-child(4) {
    display: none;
  }

  .timeline-cards .timeline-card.active {
    transform: translate(0, 0) scale(1);
  }

  .timeline-card {
    width: 260px;
  }

  .card-image img {
    width: 90px;
  }

  .card-image {
    height: 150px; /* Updated from 180px */
  }
  .hero-banner {
    height: 60vh;
  }

  .hero-text {
    width: 250px;
    height: 250px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .highlight {
    font-size: 3rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  /* .nav {
    display: none;
  } */
}

@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .timeline-cards {
    height: 300px;
  }

  .timeline-card {
    width: 240px;
  }

  .card-image img {
    width: 80px;
  }

  .card-image {
    height: 140px; /* Updated from 160px */
  }

  .hero-text {
    width: 200px;
    height: 200px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text .highlight {
    font-size: 2.2rem;
  }

  .timeline-year {
    width: 45px;
    height: 45px;
    font-size: 11px;
    margin: 0 6px;
  }

  .slider-btn {
    width: 32px;
    height: 32px;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .app-store-buttons {
    flex-direction: column;
  }
}

/* এনিমেশন */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.animate {
  animation: fadeInUp 0.8s ease forwards;
}

/* CSS for the new information sections */
.info-section {
  padding: 40px 0; /* Reduced padding to make sections closer */
  background-color: #fff5f8;
  position: relative;
  margin-bottom: 20px; /* Added 20px margin between sections */
}

.info-section:last-child {
  margin-bottom: 0; /* Remove margin from last section */
}

.info-section:nth-child(even) {
  background-color: var(--white);
}

.info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.info-text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.info-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-button:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(226, 20, 108, 0.2);
}

.info-image {
  flex: 1;
  max-width: 50%;
}

.info-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Responsive styles for the info sections */
@media (max-width: 992px) {
  .info-title {
    font-size: 28px;
  }

  .info-button {
    padding: 10px 30px;
  }
}

@media (max-width: 768px) {
  .info-section {
    padding: 30px 0;
    margin-bottom: 15px; /* Smaller margin on mobile */
  }

  .info-container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .info-section:nth-child(odd) .info-container {
    flex-direction: column-reverse;
  }

  .info-section:nth-child(even) .info-container {
    flex-direction: column-reverse;
  }

  .info-content,
  .info-image {
    max-width: 100%;
  }

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

  .info-text {
    font-size: 15px;
  }

  .info-button {
    padding: 10px 25px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .info-section {
    padding: 25px 0;
    margin-bottom: 10px; /* Even smaller margin on small mobile */
  }

  .info-container {
    gap: 25px;
  }

  .info-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .info-text {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .info-button {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* When two buttons are side by side in mobile */
  .info-button + .info-button {
    margin-top: 10px;
    margin-left: 0 !important;
    display: inline-block;
  }
}

.info-section {
  padding: 80px 0;
  background-color: #fff5f8;
  position: relative;
}

.info-section:nth-child(even) {
  background-color: var(--white);
}

.info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.info-text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.info-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-button:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(226, 20, 108, 0.2);
}

.info-image {
  flex: 1;
  max-width: 50%;
}

.info-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .info-container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .info-content,
  .info-image {
    max-width: 100%;
  }

  .info-title {
    font-size: 26px;
  }

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