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

body {
  background: #fcfbf7;
}

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

a {
  text-decoration: none;
}

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

.default-button {
  background: linear-gradient(93.29deg, #2374d7 0.15%, #383838 99.85%);
  border-radius: 30px;
  box-shadow: 0px 2px 2px 0px #00000040;
  color: #ffffff;
}

.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;
  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;
  list-style-type: none;
}

.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 {
  min-height: 750px;
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.hero-top h1 {
  font-family: "Bangers", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 120%;
  color: #383838;
  max-width: 700px;
  margin: 0 auto;
}

.hero-top p {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  line-height: 120%;
  color: #38383899;
  max-width: 500px;
  margin: 0 auto;
}

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-cta {
  background: #00000066;
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 300px;
}

.hero-cta-item {
  background: #ffffffcc;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

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

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

.hero-stats {
  background: #00000066;
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #ffffff;
  min-width: 250px;
}

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

.hero-stats h4 {
  font-weight: 300;
  font-size: clamp(24px, 4vw, 32px);
}

.hero-stats p {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
}

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

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

.services-header h2 {
  font-family: "Bangers", "Lexend", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: white;
}

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

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

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

.services-grid-item h3 {
  font-weight: 300;
  font-size: clamp(24px, 4vw, 32px);
  color: #ffffff;
}

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

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

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

.about-header h2 {
  font-family: "Bangers", "Lexend", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: #383838;
}

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

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.about-content-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-width: 300px;
}

.about-content-left h3 {
  font-family: "Bangers", "Lexend", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 120%;
  color: #383838;
}

.about-content-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.about-content-item i {
  margin-top: 1rem;
  color: #fc7cd4;
  flex-shrink: 0;
}

.about-content-item .color-2 {
  color: #f4da21;
}

.about-content-item .color-3 {
  color: #9747ff;
}

.about-content-item h4 {
  font-weight: 300;
  font-size: clamp(20px, 3vw, 32px);
  color: #383838;
}

.about-content-item p {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 120%;
  color: #38383899;
  margin-top: 8px;
}

.about-content img {
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  flex: 1;
  min-width: 300px;
}

.testimonial {
  padding: 50px 10px;
  background: #22272d;
}

.testimonial h2 {
  font-family: "Bangers", "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: 1rem;
  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: #ffffff15;
  background-blend-mode: overlay;
}

.testimonial-item .stars {
  color: #1958a6;
}

.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: "Bangers", "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: #22272d;
}

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

.contact-us-header h2 {
  font-family: "Bangers", "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: #ffffff15;
  backdrop-filter: blur(20px);
  color: white;
  font-size: 16px;
}

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

.contact-us form textarea {
  padding: 1rem;
  border-radius: 10px;
  border: none;
  background: #ffffff15;
  backdrop-filter: blur(20px);
  color: white;
  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;
}

/* 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: #2374d7;
}

.data-plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2374d7;
}

.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: #2374d7;
  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: #2374d7;
  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: #2374d7cc;
  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;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* .header-content { */
  /*   flex-direction: column; */
  /*   gap: 1rem; */
  /* } */
  /**/
  /* .header-content ul { */
  /*   order: 2; */
  /*   gap: 1rem; */
  /* } */
  /**/
  /* .buttons-content { */
  /*   order: 1; */
  /*   width: 100%; */
  /*   justify-content: center; */
  /* } */

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stats {
    width: 100%;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content-left {
    order: 2;
  }

  .about-content img {
    order: 1;
    max-width: 80%;
  }

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

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

  .pricing-cards {
    grid-template-columns: 1fr;
  }

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

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

  .faq-item .question {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    padding: 16px;
  }

  .hero-cta-item {
    padding: 16px;
  }

  .hero-stats {
    padding: 16px;
  }

  .services-grid-item {
    padding: 16px;
  }

  .testimonial-item {
    padding: 16px;
  }

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

  .buttons-content a {
    width: 100%;
  }

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

@media (max-width: 800px) {
  .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;
  }
  /* Hide the entire hero section when mobile nav is active */
  .mobile-nav.active ~ main .hero,
  .mobile-nav.active ~ .hero-header .hero {
    display: none;
  }

  /* Alternative: Set negative z-index on hero elements */
  .hero-bottom,
  .hero-cta,
  .hero-stats {
    position: relative;
    z-index: -1 !important;
  }

  /* Ensure mobile nav has highest z-index */
  .mobile-nav {
    z-index: 9999 !important;
  }

  .menu-btn {
    z-index: 10000 !important;
  }
}

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