* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Ojuju", sans-serif;
}

body {
  background: #ffffff;
}

button {
  cursor: pointer;
  outline: none;
  font-family: inherit;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

/* reusable classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.default-button {
  border-radius: 12px;
  color: #ffffff;
  background: #0e132e;
  box-shadow: 0px 2px 2px 0px #00000040;
}

/* Header */
.menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

header {
  padding: 20px 10px;
  backdrop-filter: blur(20px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-content ul li a {
  color: #383838;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}

.header-content ul li a:hover {
  color: #1148b6;
}

.header-content .buttons-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-btn {
  background: transparent;
  color: #383838;
}

/* Hero */
.hero {
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 600;
  color: #383838;
  line-height: 120%;
}

.hero-text p {
  font-size: 16px;
  color: #38383899;
  line-height: 120%;
  font-weight: 400;
  max-width: 500px;
}

.hero img {
  width: 100%;
  border-radius: 20px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-btn {
  background: #e1e1e1;
  color: #383838;
  box-shadow: 0px 2px 2px 0px #00000040;
  border-radius: 10px;
}

/* Stats */
.stats {
  padding: 50px 10px;
  background: #ffffff;
  backdrop-filter: blur(20px);
}

.stats-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stat-item h2 {
  font-size: 32px;
  font-weight: 300;
  color: #383838;
}

.stat-item p {
  color: #38383899;
  font-size: 16px;
  font-weight: 400;
}

.stat-item i {
  color: #383838;
}

/* CTA */
.cta {
  padding: 50px 10px;
  background: #ffffff;
  backdrop-filter: blur(20px);
}

.cta-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cta-item {
  background: #f8f8f8;
  padding: 24px;
  border-radius: 8px;
}

.cta-item div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-item h2 {
  font-size: 18px;
  font-weight: 300;
  color: #383838;
  margin-bottom: 10px;
}

.cta-item p {
  color: #38383899;
  font-size: 14px;
  font-weight: 400;
}

.cta-item i {
  color: #ff9a2b;
}

/* Services */
.services {
  padding: 50px 10px;
  background: #ffffff;
}

.services-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.services-header h2 {
  font-size: 40px;
  font-weight: 400;
  color: #383838;
  line-height: 120%;
}

.services-header p {
  color: #38383899;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.service-item {
  backdrop-filter: blur(20px);
  background: #f8f8f8;
  background-blend-mode: overlay;
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-item i {
  color: #3c9017;
}

.service-item h3 {
  margin-top: 2rem;
  font-size: 28px;
  font-weight: 400;
  color: #383838;
}

.service-item p {
  color: #38383899;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  margin-top: 1rem;
  text-align: center;
}

/* about us */

.about {
  padding: 80px 20px;
  background: white;
  position: relative;
}

.about-content {
  position: relative;
  background: white;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
}

.about-header h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #2d3748;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-content > h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #2d3748;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.why-content {
  padding: 40px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  padding: 30px 0;
}

.why-item:last-child {
  margin-bottom: 0;
}

.why-text {
  flex: 1;
  max-width: 450px;
}

.why-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
  line-height: 1.3;
}

.why-text p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

.why-item > div:not(.why-text) {
  flex-shrink: 0;
}

.why-item img {
  width: 100%;
  object-fit: cover;
}

.why-item img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Reverse layout for even items */
.why-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about {
    padding: 60px 15px;
  }

  .about-content {
    padding: 40px 20px;
  }

  .about-header h2,
  .about-content > h2 {
    font-size: 2rem;
  }

  .about-header p {
    font-size: 1rem;
  }

  .why-content {
    padding: 20px;
  }

  .why-item {
    flex-direction: column !important;
    gap: 30px;
    text-align: center;
  }

  .why-item:nth-child(even) {
    flex-direction: column !important;
  }

  .why-text {
    max-width: 100%;
  }

  .why-text h3 {
    font-size: 1.5rem;
  }

  .why-item img {
    width: 100%;
    max-width: 300px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .about-header h2,
  .about-content > h2 {
    font-size: 1.8rem;
  }

  .why-text h3 {
    font-size: 1.3rem;
  }

  .why-item img {
    height: 150px;
  }
}

/* Animation on scroll */
.why-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.why-item:nth-child(1) {
  animation-delay: 0.2s;
}
.why-item:nth-child(2) {
  animation-delay: 0.4s;
}
.why-item:nth-child(3) {
  animation-delay: 0.6s;
}

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

/* Main Cta */
.main-cta {
  background-color: #304fb2;
  padding: 2rem 1rem 6rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Curved background element */
.main-cta::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 560px;
  background-color: white;
  border-radius: 50%;
  z-index: 1;
}

/* Additional curved layer for depth */
/* .main-cta::after { */
/*   content: ""; */
/*   position: absolute; */
/*   top: -80px; */
/*   left: 50%; */
/*   transform: translateX(-50%); */
/*   width: 350px; */
/*   height: 350px; */
/*   background-color: white; */
/*   border-radius: 50%; */
/*   z-index: 2; */
/* } */

.main-cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.cta-image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 2rem;
  display: block;
  position: relative;
  z-index: 4;
  /* Add a subtle shadow to make it pop */
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.main-cta-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.main-cta-text p {
  font-size: 1rem;
  color: #dce2ff;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #f3f3f3;
  color: #333;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 4;
}

.cta-button:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-cta::before {
    width: 320px;
    height: 320px;
    top: -80px;
  }

  .main-cta::after {
    width: 280px;
    height: 280px;
    top: -60px;
  }

  .cta-image {
    max-width: 250px;
  }
}

/* Testimonial */
.testimonial {
  padding: 50px 10px;
  background: #ffffff;
}

.testimonial h2 {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: #383838;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-item {
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  backdrop-filter: blur(20px);
  background: #f8f8f8;
  background-blend-mode: overlay;
}

.testimonial-item .stars {
  color: #3c9017;
}

.testimonial-item h4 {
  font-weight: 300;
  font-size: clamp(16px, 2vw, 18px);
  color: #383838;
}

.testimonial-item p {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 120%;
  color: #383838;
}

.testimonial-item span {
  font-weight: 400;
  font-size: clamp(12px, 2vw, 14px);
  color: #38383899;
}

/* Pricing */
.pricing {
  padding: 50px 10px;
  background: #ffffff;
}

.testimonials-header h2 {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: #383838;
  text-align: center;
}

/* FAQ */
.faq {
  padding: 50px 10px;
  background: #ffffff;
}

.faq h2 {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: #383838;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item .question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item .question h3 {
  font-size: clamp(18px, 3vw, 22px);
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  color: #1e1e1e;
}

.faq-item .question i {
  color: #1a1a1a;
  transition: transform 0.5s ease-in;
  flex-shrink: 0;
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
}

.faq-item .answer p {
  font-size: clamp(14px, 2vw, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  color: #1a1a1a;
  padding-top: 1rem;
}

.faq-item.active .answer {
  max-height: 300px;
}

.faq-item.active .question i {
  transform: rotate(180deg);
}

/* Contact US */
.contact-us {
  padding: 50px 10px;
  background: #1148b6;
}

.contact-us-header {
  text-align: center;
}

.contact-us-header h2 {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  letter-spacing: 0%;
  color: white;
}

.contact-us-header p {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 120%;
  color: white;
}

.contact-us form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-us form input {
  padding: 1rem;
  border-radius: 10px;
  border: none;
  color: #38383899;
  font-size: 16px;
  background: #ffffff;
  backdrop-filter: blur(20px);
}

.contact-us form input::placeholder {
  color: #38383899;
}

.contact-us form textarea {
  padding: 1rem;
  border-radius: 10px;
  border: none;
  background: #ffffff;
  color: #38383899;
  resize: none;
  font-size: 16px;
  backdrop-filter: blur(20px);
}

.contact-us form textarea::placeholder {
  color: #38383899;
}

.contact-us form div {
  display: flex;
  justify-content: flex-end;
}

.contact-us form button {
  border-radius: 10px;
  background: #d5d5d5;
}

/* Footer */
footer {
  padding: 50px 10px;
  background: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links li a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #fc7cd4;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.contact-value {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 12px;
}

.footer-bottom a {
  color: #fc7cd4;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bg {
  margin: 0 3rem;
  min-height: 700px;
  background: url("./assets/images/footer-logo.png") no-repeat center
    center/cover;
}

/* Pricing Section */
.pricing {
  padding: 80px 10px;
  background: #ffffff;
}

.data h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
  color: #383838;
  line-height: 120%;
}

.data-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.data-plan {
  border: 2px solid #304fb2;
  border-radius: 20px;
  background: #ffffff;
  padding: 2rem 1.5rem;
  color: #383838;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.data-plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #304fb2;
}

.data-plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #304fb2, #304fb2);
}

.data-plan img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem;
}

.data-plan h4 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #383838;
}

.data-plan ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.data-plan ul:last-of-type {
  margin-bottom: 2rem;
}

.data-plan ul li {
  font-size: 0.95rem;
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #304fb2;
  font-weight: 500;
}

.data-plan ul li:last-child {
  border-bottom: none;
}

.data-plan ul li:first-child {
  font-weight: 600;
  color: #304fb2;
  font-size: 1.1rem;
}

.data-plan ul li:nth-child(2) {
  font-weight: 700;
  color: #383838;
  font-size: 1.1rem;
}

.data-plan ul li:nth-child(3) {
  color: #666;
  font-size: 0.9rem;
}

.data-plan a {
  display: block;
  width: 100%;
}

.data-plan button {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  background: #304fb2;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 154, 43, 0.3);
}

.data-plan button:hover {
  background: #304fb288;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 154, 43, 0.4);
}

/* Responsive Styles */
@media (max-width: 800px) {
  /* Hide desktop navigation elements */
  .main-nav {
    display: none !important;
  }

  .buttons-content {
    display: none !important;
  }

  /* Show mobile menu button */
  .menu-btn {
    display: block !important;
    z-index: 1001;
  }

  #menu-icon i.active:before {
    content: "\f00d";
  }

  /* Mobile nav styles */
  .mobile-nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    top: 0;
    left: -100%;
    right: 0;
    background-color: #ffffff;
    transition: left 0.3s ease;
    backdrop-filter: blur(20px);
    z-index: 1000;
  }

  .mobile-nav.active {
    left: 0;
  }

  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .mobile-nav ul li a {
    font-size: 18px;
    color: #383838;
    font-weight: 500;
  }

  .mobile-buttons-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* Tablet and Mobile Adjustments */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons button {
    width: 100%;
  }

  /* Stats Section */
  .stats-content {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* CTA Section */
  .cta-content {
    grid-template-columns: 1fr;
  }

  /* Services Section */
  .services-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Testimonial Section */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing Section */
  .data-box {
    grid-template-columns: 1fr;
  }

  /* Contact Form */
  .contact-us form input,
  .contact-us form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bg {
    margin: 0 1rem;
    min-height: 400px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  /* Container padding */
  .container {
    padding: 0 15px;
  }

  /* Section padding adjustments */
  .hero,
  .stats,
  .cta,
  .services,
  .testimonial,
  .pricing,
  .faq,
  .contact-us,
  footer {
    padding: 40px 15px;
  }

  /* Hero text */
  .hero-text h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .hero-text p {
    font-size: 14px;
  }

  /* Service items */
  .service-item {
    padding: 20px;
  }

  .service-item h3 {
    font-size: 24px;
  }

  /* CTA items */
  .cta-item {
    padding: 20px;
  }

  /* Main CTA */
  .main-cta {
    padding: 2rem 1rem 4rem;
  }

  .main-cta-text h2 {
    font-size: 1.5rem;
  }

  /* Testimonial items */
  .testimonial-item {
    padding: 20px;
  }

  /* Data plans */
  .data-plan {
    padding: 1.5rem 1rem;
  }

  /* FAQ items */
  .faq-item .question h3 {
    font-size: 16px;
  }

  /* Contact form */
  .contact-us form {
    margin-top: 2rem;
  }

  /* Footer background */
  .footer-bg {
    margin: 0;
    min-height: 300px;
  }
}

/* Large Mobile Landscape */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    padding: 2rem 0;
  }

  .main-cta {
    padding: 1.5rem 1rem 3rem;
  }
}

/* Tablet Specific */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Print styles */
@media print {
  .mobile-nav,
  .menu-btn,
  .main-cta,
  .contact-us {
    display: none;
  }

  * {
    color: #000 !important;
    background: #fff !important;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup input[type="email"] {
  padding: 10px;
  width: 80%;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.popup button {
  margin: 10px 5px 0;
  padding: 10px 15px;
  border: none;
  background: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

.popup.hidden {
  display: none;
}

#close-newsletter {
  font-size: 20px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

#close-newsletter:hover {
  color: #000;
}

.popup-close {
  display: flex;
  align-items: center;
  justify-content: end;
}
