html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: white;
  font-family: Arial, sans-serif;
}

.about-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.card-overlay {
  /* position: relative; */
  /* top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
  /* display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; */
  position: fixed;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 100%;
  overflow: show;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-soon {
  font-style: italic;
  color: yellow;
  font-weight: bold;
  font-size: smaller;
}

.overlay-message {
  color: White;
  font-size: 2rem;
  font-weight: bolder;
  text-align: center;
  padding: 10px;
  font-style: italic;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.growth-section {
  background-color: #fff;
  padding: 10px 10px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.growth-container {
  max-width: 1000px;
  margin: 0 auto;
}

.growth-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.growth-timeline {
  list-style: none;
  padding: 0;
  border-left: 3px solid #007bff;
  position: relative;
}

.growth-timeline li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 40px;
}

.growth-timeline .year {
  position: absolute;
  left: -70px;
  top: 0;
  font-weight: bold;
  color: #007bff;
  font-size: 1.2rem;
}

.growth-detail h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #222;
}

.growth-detail p {
  margin: 5px 0 0 0;
  color: #555;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .growth-timeline {
    border-left: none;
  }

  .growth-timeline .year {
    position: static;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .growth-timeline li {
    padding-left: 0;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  height: 80%;
  position: relative;
  overflow-x: auto;
  /* white-space: nowrap;  */
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 10px;
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 160px;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  margin: 0;
}

.submenu a {
  color: #333;
  display: block;
  padding: 5px 0;
}

.submenu a:hover {
  color: #0073e6;
}

#modal-body {
  padding: 20px 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: #00008B;
  color: white;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: background-color 0.3s, color 0.3s;
}

.navbar.scrolled {
  background-color: #f0f0f0;
  color: red;
}

.nav {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav li {
  position: relative;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 8px 0;
  display: block;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav,
.sub-nav {
  list-style: none;
  /* Removes bullets */
  padding: 0;
  margin: 0;
}

.nav a:hover {
  color: #FFD700;
  /* Gold hover */
}

/* Sub-navigation styles */
.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1aa6;
  min-width: 180px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.sub-nav li a {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: white;
  transition: background 0.3s;
}

.sub-nav li a:hover {
  background-color: #000066;
}

/* Show sub-nav on hover */
.has-subnav:hover .sub-nav {
  display: block;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
  font-family: 'Helvetica Neue', sans-serif;
  transition: color 0.3s;
}

.navbar.scrolled .logo {
  color: black;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  font-family: serif;
  font-size: 18px;
  transition: color 0.3s;
}

.navbar.scrolled a {
  color: black;
}

.customer-tag {
  font-size: 30px;
  font-family: system-ui;
  margin-bottom: 0px;
}

.nav-links a:hover {
  background-color: #00008B;
  border-radius: 10px;
}

.navbar.scrolled .nav-links a:hover {
  background-color: #f0f0f0;
}

/* Main content layout */
.content {
  display: flex;
  flex-wrap: wrap;
  padding: 35px 10%;
  background-color: #00008B;
  color: white;
  justify-content: space-between;
}

.slogan {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Typing text */
.typing {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Agbalumo", system-ui;
  font-size: 43px;
  /* border-right: 2px solid white; */
}
.timeline-story {
  font-family: "Agbalumo", system-ui;
  font-size: 43px;
  color: black;
}
.timeline-tags {
  font-family: "Agbalumo", system-ui;
  font-size: 20px;
  font-weight: bolder;
}
.about-us-text {
  font-family: "Agbalumo", system-ui;
}

/* First line */
.typing.first {
  animation: typing1 2s steps(26, end) forwards;
}

/* Remove cursor from first line after typing */
.typing.first::after {
  content: '';
  animation: hide-cursor 0s forwards;
  animation-delay: 2s;
}

/* Second line */
.typing.second {
  animation: typing2 2s steps(24, end) 2.1s forwards, blink 0.75s step-end infinite 4.2s;
}

/* Typing animations */
@keyframes typing1 {
  from {
    width: 0
  }

  to {
    width: 28ch
  }
}

@keyframes typing2 {
  from {
    width: 0
  }

  to {
    width: 24ch
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes hide-cursor {
  to {
    border-right: none;
  }
}

/* Button */
.custom-button {
  background-color: #FF2400;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 150px;
}

.custom-button:hover {
  background-color: #e02000;
  transform: scale(1.05);
}

/* Right-side image */
.content-image {
  max-width: 450px;
  flex-shrink: 0;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
  }

  .typing {
    font-size: 28px;
  }

  .content-image {
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }
}

.carousel-container {
  overflow: hidden;
  background-color: #00008B;
  /* border: 1px solid #ddd; */
  padding: 10px 0;
  font-family: sans-serif;
  white-space: nowrap;
  position: relative;
}

.carousel-track {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 20s linear infinite;
}

.rating-text {
  font-weight: bolder;
}

.carousel-item {
  display: inline-block;
  margin-right: 50px;
  font-size: 18px;
  color: #333;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Carousel track with animation */

/* Individual rating items */
.carousel-item {
  /* height: 24px; */
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
}

/* Animation to scroll items */
@keyframes scrollRatings {
  0% {
    transform: translateY(0%);
  }

  33% {
    transform: translateY(-100%);
  }

  66% {
    transform: translateY(-200%);
  }

  100% {
    transform: translateY(0%);
  }
}


section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Card features section */
.features {
  background-color: white;
  padding: 60px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features-text {
  font-family: "Agbalumo", system-ui;
  font-size: 42px;
  margin-top: 0px;
  /* font-weight: 600;
    margin-bottom: 40px;
    color: #222; */
}

.app-text {
  font-family: "Agbalumo", system-ui;
  font-size: 42px;
}

.features-symbol {
  /* color: blue; */
  color: #2176cb;
}

/* .kharchalu_mobile{
  display: flex;
  width: 50%;
  height: auto;
  margin: auto;
} */
.kharchalu_mobile {
  display: flex;
  width: 50%;
  max-width: 600px; /* Adjust this value as needed */
  height: auto;
  margin: auto auto;
  padding: 0 1rem; /* Adds some horizontal spacing on small screens */
  box-sizing: border-box;
}
.kharchalu_paragraph{
  text-align: justify;
}
.note-text{
  text-align: right;
  color: red;
}

.two-grid-section {
  width: 100%;
  /* background-color: white;
    color: white;
    padding: 5px 10%;
    text-align: center; */
}

.two-card-grid {
  /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 0px; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.below-apps {
  margin-top: -30px;
  font-family: system-ui;
  font-size: 25px;

}

.frequently-text {
  font-size: 30px;
  font-family: "Agbalumo", system-ui;
  padding: 0px 0px;
}

.card {
  /* background-color: lavenderblush;
    color: black;
    border-radius: 12px;
    overflow: hidden;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease; */
  background-color: #fff;
  color: #333;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  /* transform: translateY(-8px); */
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;

}

.card h3 {
  /* margin: 15px 0 8px;
    font-size: 22px;
    font-family: system-ui; */
  font-size: 24px;
  margin: 20px 0 10px;
  font-weight: 600;
  color: #444;
}

.card p {
  /* padding: 0 16px;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify; */
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px;
  text-align: justify;
  color: #555;
  flex-grow: 1;
}

.card-button {
  /* display: inline-block;
    margin: 16px;
    padding: 10px 20px;
    background-color: #FF2400;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease; */
  margin: 20px auto;
  padding: 12px 24px;
  background-color: #FF2400;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.card-button:hover {
  background-color: #d92000;
  transform: scale(1.05);
}
.navs{
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}

.apps {
  background: #f0f0f0;
  padding-bottom: 35px;
}

.apps-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.side-logos {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.side-logos img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.center-apps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}


.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.office-pictures {
  text-align: center;
  font-family: "Agbalumo", system-ui;
  font-size: 42px;
  margin-bottom: 40px;
  color: #2b2d42;
  /* color: #111; */
}

/* Masonry-style Gallery */
.gallery {
  column-count: 3;
  column-gap: 20px;
  padding: 10px 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  padding: 20px;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery {
    column-count: 1;
  }

  .section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 18px;
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
  }

  .slogan {
    width: 100%;
    max-width: none;
  }

  .typing {
    font-size: 28px;
  }

  .custom-button {
    width: 100%;
  }

  .customer-tag {
    font-size: 20px;
  }

  .content-image {
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }

  .two-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .apps-layout {
    flex-direction: column;
  }

  .side-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .side-logos img {
    width: 60px;
    height: 60px;
  }

  .center-apps {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .app-logo {
    width: 80px;
    height: 80px;
  }

  .features-text {
    font-size: 28px;
  }

  .below-apps {
    font-size: 18px;
  }

  .carousel-item {
    font-size: 14px;
  }
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

.frequently {
  background-color: #fff;
  padding: 10px 10%;
  text-align: center;
  color: #333;
  margin-top: -25px;
}

.frequently h2 {
  font-size: 40px;
  font-family: "Agbalumo", system-ui;
  margin-bottom: 50px;
  color: #2b2d42;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: scale(1.01);
}

/* .faq-question {
    width: 100%;
    text-align: left;
    font-size: 20px;
    padding: 16px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
  } */

.faq-question {
  width: 100%;
  background-color: #edf2f4;
  border: none;
  outline: none;
  font-size: 20px;
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
  color: #1d3557;
  font-family: 'Poppins';
  transition: background-color 0.3s ease;
}

/* .faq-question:hover {
    background: #e0e0e0;
  } */
.faq-question:hover {
  background-color: #dce3e8;
}

/* .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafafa;
    padding: 0 16px;
  } */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: #f8f9fa;
  padding: 0 24px;
}

.faq-answer p {
  padding: 16px 0;
  margin: 0;
  font-size: 16px;
  color: #495057;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  /* Enough height for most answers */
  padding: 0 24px 16px 24px;
}

.footer {
  background-color: #00008B;
  /* color: white; */
  padding: 20px 10%;
  font-family: 'Poppins', sans-serif;
  color: #f1f1f1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-about,
.footer-links,
.footer-social {
  flex: 1 1 250px;
  /* flex: 1;
    min-width: 220px; */
}

.footer h3,
.footer h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

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

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

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  /* color: white; */
  text-decoration: none;
  font-size: 16px;
  color: #cccccc;
  transition: color 0.3s;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-address p {
  color: #cccccc;
  font-size: 15px;
  margin: 6px 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

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

  .footer-about,
  .footer-links,
  .footer-address {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .nav {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .nav li {
    width: 100%;
  }

  .nav.show {
    display: flex;
  }

  .sub-nav {
    position: static;
    box-shadow: none;
    transform: none;
    visibility: visible;
    opacity: 1;
    padding-left: 20px;
  }

  .nav {
    display: none;
  }
  .sub-nav li a {
    padding: 10px 0;
  }

  #navMenu.hide {
    display: none !important;
  }
  .modal-content { 
    margin-top: 30%;
  }

  .menu-icon {
    width: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    padding: 10px;
  }
  
  .menu-icon span {
    height: 3px;
    background: white;
    border-radius: 2px;
    display: block;
  }

  .kharchalu_mobile {
    max-width: 700px;
  }
  /* .has-subnav:hover .sub-nav {
      display: none;
    } */
}

@media (min-width: 1024px) {
  .kharchalu_mobile {
    max-width: 900px;
  }
}