body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #222;
}

/* Default Styling */
.container {
    position: relative;
    background-image: url('https://agii.ng/images/pic1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

/* Overlay to fade the background */
.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust opacity for stronger fading */
    z-index: 1;
}

/* Ensure content stays above overlay */
.container * {
    position: relative;
    z-index: 2;
}
/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
}
@media (max-width: 480px) {
    .form-container {
        max-width: 90%; /* Adjusts width for smaller screens */
    }
    
    .form-container p {
        font-size: 1rem; /* Slightly smaller text */
    }
    
    .form-container input,
    .start-btn {
        font-size: 0.9rem; /* Reduce font size slightly */
    }
}
/* Heading */
h1 {
    color: white;
    font-size: 50px;
    max-width: 90%;
    margin-bottom: 20px;
}

/* Features List */
.features {
    font-size: 30px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

/* Make the page more responsive for small screens */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    .features {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 26px; /* Smaller font for small screens */
        line-height: 1.3; /* Prevent text from stretching */
    }
    .features {
        font-size: 18px;
    }
    .form-container {
        width: 100%; /* Full width for smaller screens */
    }
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    color: #8fc74a;
}

.logo img {
    width: 40px;
    margin-right: 10px;
}

.list-business-btn {
    background: #8fc74a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 5%;
}

.content {
    width: 50%;
}

h1 {
    font-size: 32px;
    color: #333;
}

.form-container {
    background: #e4ffc3;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    text-align: left;
}

.form-container input {
    width: 70%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.start-btn {
    background: #8fc74a;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.signin {
    font-size: 14px;
    margin-top: 10px;
}

.signin a {
    color: #8fc74a;
    font-weight: bold;
}

.features {
    text-align: left;
    list-style: none;
    padding-left: 0;
}

.features li {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 8px;
}


.stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stats div {
    font-size: 16px;
}

.image-section {
    width: 40%;
}

.dashboard {
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.how-it-works {
    text-align: center;
    padding: 50px 20px;
    background: #e4ffc3;
    border-radius: 10px;
}

.how-it-works h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.how-it-works p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 20px;
    margin-top: 30px;
}

.step {
    flex: 1;
    min-width: 280px; /* Ensures smaller screens don't break */
    max-width: 320px;
    text-align: center;
    padding: 20px;
}

.icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.bg-shape {
    width: 100px;
    height: 70px;
    background: linear-gradient(120deg, #e4ffc2, #ffffff);
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    opacity: 0.5;
}

.icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yellow-icon {
    background-color: #656565;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-icon {
    background-color: #8fc74a;
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 50px;
}

.step h3 {
    font-size: 20px;
    margin-top: 10px;
    color: #222;
}

.step p {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
    .steps {
        flex-direction: column;
    }

    .step {
        width: 90%;
        max-width: 400px;
    }

    .how-it-works h2 {
        font-size: 24px;
    }

    .how-it-works p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }
    
    .content, .image-section {
        width: 100%;
    }

    .form-container {
        width: 100%;
    }
}

.why-choose {
    text-align: center;
    padding: 50px 20px;
}

.why-choose h2 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
}

.why-choose p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.features {
    display: flex;
    justify-content: center;
    align-items: left;
    flex-wrap: wrap; /* Responsive */
    gap: 20px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
    padding: 20px;
}

.feature img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 20px;
    margin-top: 10px;
    color: #222;
}

.feature p {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
    }

    .feature {
        width: 90%;
        max-width: 400px;
    }

    .why-choose h2 {
        font-size: 24px;
    }

    .why-choose p {
        font-size: 16px;
    }
}
.popular-categories {
    padding: 50px 20px;
    text-align: center;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
}

p {
    color: #666;
    font-size: 18px;
}

.categories-slider {
    overflow: hidden; /* Hide overflow to prevent scrollbars */
    display: flex;
    justify-content: center;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}

.categories-track {
    display: flex;
    gap: 15px;
    animation: scrollLeft 20s linear infinite; /* Animation for continuous scrolling */
}

.categories-track img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.categories-track img:hover {
    transform: scale(1.05);
}

/* Animation for infinite left scrolling */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* CTA Section */
.cta-section {
    margin-top: 30px;
    text-align: center;
}

.cta-section p {
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
}

.cta-section h3 {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-top: 5px;
}

.cta-button {
    background-color: #8fc74a;
    color: #fff;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #8fc74a;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
    .categories-slider {
        overflow-x: scroll;
        padding: 10px 0;
    }

    .categories-track img {
        width: 150px;
        height: 100px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    .cta-section h3 {
        font-size: 18px;
    }

    .cta-button {
        font-size: 14px;
        padding: 10px 18px;
    }
}
.faq {
    width: 90%;  /* Make it flexible */
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

h2 {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.faq-section {
    margin-top: 15px;
}

.faq-section h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    background: #f5f5f5;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #e5e5e5;
}

/* Arrow Icon */
.faq-question::after {
    content: '▼';
    font-size: 14px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s ease-in-out;
    font-size: 14px;
    padding: 0 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 10px 14px;
}

/* 📱 Mobile Responsive Design */
@media (max-width: 600px) {
    .faq {
        width: 95%;
        padding: 12px;
    }

    h2 {
        font-size: 20px;
    }

    .faq-section h4 {
        font-size: 16px;
    }

    .faq-question {
        font-size: 14px;
        padding: 12px;
    }

    .faq-answer {
        font-size: 13px;
        padding: 10px;
    }
}


/* Footer Styles */
.footer {
    background: #8fc74a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-container {
    max-width: 800px;
    margin: auto;
    padding: 10px;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 15px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}


.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.section__subheader {
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--text-dark);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

.problem-solution {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  text-align: center; /* Center text inside */
  height: 50vh; /* Full viewport height */
  padding: 20px; /* Prevents text from touching edges */
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  position: relative; /* Establish a positioning context */
  overflow: hidden;   /* Hide any overflow from the blur */
}

/* Pseudo-element for the blurred background */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.2)
    ),
    url("assets/header.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(8px); /* Adjust blur intensity as needed */
  z-index: -1;       /* Place it behind header content */
}


nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  flex: 1;
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link a {
  position: relative;
  padding: 10px 0;
  color: var(--white);
  transition: 0.3s;
}

.link a::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background-color: var(--white);
  transition: 0.3s;
}

.link a:hover::after {
  width: 100%;
}

.nav__menu__btn {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
}

.nav__actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.nav__actions span {
  font-size: 1.2rem;
  color: var(--white);
  cursor: pointer;
}

.header__container {
  text-align: center;
  color: var(--white);
}

.header__container h1 {
  margin-bottom: 1rem;
  font-size: 4.5rem;
  font-weight: 600;
  font-family: var(--header-font);
}

.header__container p {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  font-size: 1.2rem;
}

.header__container form {
  width: 100%;
  max-width: 350px;
  margin-inline: auto;
  margin-bottom: 4rem;
  padding-block: 0.25rem;
  padding-inline: 1.25rem 0.25rem;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  border: 1px solid var(--white);
  border-radius: 5rem;
}

.header__container input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
}

.header__container input::placeholder {
  color: var(--white);
}

.header__container button {
  padding: 11px 12px;
  font-size: 1.25rem;
  outline: none;
  border: none;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
  cursor: pointer;
}

.header__container a {
  display: inline-block;
  padding: 0 12px;
  font-size: 3rem;
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid var(--white);
  border-radius: 100%;
}

.choose__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.choose__container .choose__bg {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-3rem);
  max-width: 300px;
  opacity: 0.4;
  z-index: -1;
}

.choose__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

.choose__card span {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 5px 10px;
  font-size: 1.25rem;
  background-color: #cad8d8;
  border-radius: 100%;
}

.choose__card h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.choose__card p {
  color: var(--text-light);
}

.choose__image img {
  max-width: 500px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.offer__container {
  padding-block: 5rem;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, var(--max-width))
    minmax(0, 1fr);
  row-gap: 2rem;
}

.offer__grid__top {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.offer__grid__bottom {
  grid-column: 2/4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.offer__container img {
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.offer__content {
  padding-right: 1rem;
}

.offer__content .section__subheader {
  margin-bottom: 2rem;
}

.craft__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.craft__container .section__subheader {
  margin-bottom: 2rem;
}

.craft__image {
  position: relative;
  isolation: isolate;
}

.craft__image::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #ebf1f1;
  border-radius: 15px;
  transition: 0.3s;
  z-index: -1;
}

.craft__image:hover::before {
  height: 80%;
}

.craft__image__content {
  padding-bottom: 2rem;
  text-align: center;
  transition: 0.3s;
}

.craft__image__content img {
  margin-bottom: 1rem;
  max-width: 250px;
  margin: auto;
}

.craft__image__content p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.craft__image__content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.craft__image:hover .craft__image__content {
  transform: translateY(-2rem);
}

.craft__image a {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, 50%);
  padding: 0 7px;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: 0.3s;
}

.craft__image:hover a {
  opacity: 1;
}

.modern__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.modern__image {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 100%;
  min-height: 470px;
  margin: auto;
  align-items: center;
}

.modern__bg {
  position: absolute;
  max-width: 200px;
  right: 0;
  top: -4rem;
  opacity: 0.5;
}

.modern__img-1,
.modern__img-2,
.modern__img-3 {
  position: absolute;
  border-radius: 10px;
  
}

.modern__img-1 {
  max-width: 475px;
}

.modern__grid {
  margin-block: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.modern__card {
  display: flex;
  gap: 1rem;
}

.modern__card span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.modern__card p {
  color: var(--text-light);
}

.testimonial__container .section__header {
  text-align: center;
}

.swiper {
  margin-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}

.testimonial__card {
  max-width: 900px;
  margin: auto;
  padding: 1rem;
  text-align: center;
}

.testimonial__card p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.testimonial__card img {
  max-width: 60px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  
}

.testimonial__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial__card h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.blog__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog__card img {
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.blog__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.blog__card p {
  font-weight: 500;
  color: var(--text-dark);
}

.blog__card p span {
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
}

.footer {
  background-color: var(--primary-color);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
  border-bottom: 1px solid var(--white);
}

.footer__content h4 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.5rem;
  color: var(--white);
}

.footer__content p {
  color: var(--white);
}

.footer__form form {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--white);
  border-radius: 10px;
}

.footer__form input {
  width: 100%;
  padding: 0 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
}

.footer__form button {
  padding: 1rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1.2rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
}

.footer__bar {
  padding-block: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__logo h4 a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__logo p {
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--white);
}

.footer__nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer__link a {
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

@media (width < 1200px) {
  .offer__container {
    row-gap: 1rem;
  }

  .offer__grid__top,
  .offer__grid__bottom {
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .offer__grid__top img:first-child,
  .offer__grid__bottom img:first-child {
    display: none;
  }

  .craft__container {
    gap: 1rem;
  }
}

@media (width < 900px) {
  .nav__actions {
    display: none;
  }

  .choose__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .choose__container .choose__bg {
    left: 0;
    transform: translateX(0);
  }

  .choose__image {
    grid-area: 1/1/2/2;
  }

  .offer__grid__top,
  .offer__grid__bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer__grid__top img:nth-child(2),
  .offer__grid__bottom img:nth-child(4) {
    display: none;
  }

  .craft__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .modern__container {
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }
}

