* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Lexend", 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: 30px;
  box-shadow: 0px 2px 2px 0px #00000040;
  color: #ffffff;
  background: #ff6f00;
}

.header-hero {
  min-height: 600px;
  background: url("./assets/images/hero.png") no-repeat center center/cover;
}

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

.mobile-nav {
  display: none;
}

header {
  padding: 20px 10px;
  background: #0000000d;
  background-blend-mode: overlay;
  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: #ff6f00;
}

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

.login-btn {
  background: transparent;
  color: white;
}

/* Hero */
.hero {
  min-height: 750px;
  padding: 3rem 0;
}

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

.hero-text h1 {
  font-family: "Cambay", "Lexend", sans-serif;
  font-size: 56px;
  font-weight: 400;
  color: #383838;
  line-height: 120%;
}

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

/* 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: #ff6f00;
  backdrop-filter: blur(20px);
}

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

.cta-item {
  background: #ffffffcc;
  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: #ff6f00;
}

/* About */
.about {
  padding: 50px 10px;
  background: #ffffff;
}

.about-text {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
}

.about-text h2 {
  font-family: "Cambay", "Lexend", sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #383838;
  line-height: 120%;
}

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

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

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

.services-header h2 {
  font-family: "Cambay", "Lexend", sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  line-height: 120%;
}

.services-header p {
  color: #ffffffcc;
  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: #ffffff66;
  background-blend-mode: overlay;
  border-radius: 30px;
  padding: 24px;
}

.service-item i {
  color: #ff6f00;
}

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

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

/* Why */
.why {
  padding: 50px 10px;
  background: #ffffff;
}

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

.why-header h2 {
  font-family: "Cambay", "Lexend", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  color: #383838;
}

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

.why-text-item {
  display: flex;
  gap: 1rem;
}

.why-text-item i {
  margin-top: 1.5rem;
  color: #008080;
}

.why-text-item h3 {
  font-weight: 300;
  font-size: 32px;
  color: #383838;
}

.why-text-item p {
  color: #38383899;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  margin-top: 10px;
}

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

.testimonial h2 {
  font-family: "Cambay", "Lexend", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: white;
  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: #ffffff66;
  background-blend-mode: overlay;
}

.testimonial-item .stars {
  color: #ffffff;
}

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

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

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

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

.faq h2 {
  font-family: "Cambay", "Lexend", sans-serif;
  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: url("./assets/images/contact-image.png") no-repeat center
    center/cover;
}

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

.contact-us-header h2 {
  font-family: "Cambay", "Lexend", sans-serif;
  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: #ffffffcc;
}

.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;
  background: #ffffff;
  color: #38383899;
  font-size: 16px;
}

.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;
}

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

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

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

/* 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: 50px 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 #f0f0f0;
  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: #ff9a2b;
}

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

.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 #f5f5f5;
  font-weight: 500;
}

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

.data-plan ul li:first-child {
  font-weight: 600;
  color: #ff9a2b;
  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: #ff9a2b;
  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: #e6861f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 154, 43, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .data-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .data-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .data-plan {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 600px) {
  .data-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing {
    padding: 60px 10px;
  }

  .data h2 {
    margin-bottom: 2rem;
  }

  .data-plan {
    padding: 1.5rem;
  }

  .data-plan ul li {
    font-size: 0.9rem;
    padding: 0.6rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .data-plan ul li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .data-plan ul li:first-child,
  .data-plan ul li:nth-child(2) {
    flex-direction: row;
    align-items: center;
  }
}

/* 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;
  }

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

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

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

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

/* Stats Section Responsive */
@media (max-width: 768px) {
  .stats-content {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-item {
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }
}

/* Services Section Responsive */
@media (max-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

/* About/Why Section Responsive */
@media (max-width: 1024px) {
  .why-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

/* Dark CTA Section Responsive */
@media (max-width: 768px) {
  .dark-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .dark-cta-text h2 {
    font-size: 32px;
  }
}

/* Pricing Section Responsive */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section Responsive */
@media (max-width: 768px) {
  .faq-item .question {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .faq-item .question h3 {
    font-size: 18px;
    line-height: 1.4;
  }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
  .contact-us form {
    padding: 0 1rem;
  }

  .contact-us form div {
    justify-content: center;
  }

  .contact-us form button {
    width: 100%;
    max-width: 200px;
  }
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

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

  .hero-text h1 {
    font-size: 28px;
  }

  .services-header h2,
  .about-header h2,
  .why-header {
    font-size: 32px;
  }
}

/* Fix the menu icon display */
@media (max-width: 800px) {
  .menu-btn {
    display: block;
  }
}
@media (max-width: 768px) {
  .about-text {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .about-text h2 {
    font-size: 32px;
  }
}

/* Fix Why section responsiveness */
@media (max-width: 768px) {
  .why-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .why-header h2 {
    font-size: 32px;
  }

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

  .why-text-item i {
    margin-top: 0;
  }

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

/* Fix CTA section grid responsiveness */
@media (max-width: 600px) {
  .cta-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Fix testimonial grid for very small screens */
@media (max-width: 480px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Improve hero section for smaller screens */
@media (max-width: 480px) {
  .hero {
    min-height: 500px;
    padding: 2rem 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

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

/* Fix header responsiveness */
@media (max-width: 480px) {
  header {
    padding: 15px 10px;
  }

  .logo img {
    max-width: 120px;
    height: auto;
  }
}

/* Fix stats section for mobile */
@media (max-width: 480px) {
  .stat-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .stat-item h2 {
    font-size: 28px;
  }

  .stat-item p {
    font-size: 14px;
  }
}

/* Fix services section spacing */
@media (max-width: 480px) {
  .service-item {
    padding: 20px;
  }

  .service-item h3 {
    font-size: 22px;
    margin-top: 1rem;
  }

  .service-item p {
    font-size: 14px;
  }
}

/* Fix contact form on very small screens */
@media (max-width: 480px) {
  .contact-us {
    padding: 40px 10px;
  }

  .contact-us form input,
  .contact-us form textarea {
    font-size: 14px;
    padding: 0.8rem;
  }
}

/* Footer background image responsive */
@media (max-width: 768px) {
  .footer-bg {
    margin: 0 1rem;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .footer-bg {
    margin: 0;
    min-height: 300px;
  }
}

/* Fix social icons wrapping */
@media (max-width: 480px) {
  .footer-social {
    gap: 0.5rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }
}

/* Improve button responsiveness */
@media (max-width: 480px) {
  .default-button,
  .login-btn,
  .form-btn {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* Fix FAQ section for mobile */
@media (max-width: 480px) {
  .faq-item .question h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .faq-item .answer p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Additional mobile menu improvements */
@media (max-width: 480px) {
  .mobile-nav ul li a {
    font-size: 16px;
  }

  .mobile-buttons-content {
    gap: 0.8rem;
  }

  .mobile-buttons-content button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Fix overflow issues */
body {
  overflow-x: hidden;
}

.container {
  overflow-x: hidden;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix any text that might overflow */
@media (max-width: 320px) {
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .services-header h2,
  .testimonial h2,
  .faq h2,
  .contact-us-header h2 {
    font-size: 28px;
  }

  .about-text h2,
  .why-header h2 {
    font-size: 28px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

.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;
}
