/* poppins-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/poppins-v22-latin-regular.woff2") format("woff2");
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/poppins-v23-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/poppins-v23-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/poppins-v22-latin-700.woff2") format("woff2");
}

/* ====== GLOBAL STYLES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0d3ef2;
  --highlight-blue: #2f5af4;
  --light-blue: #8bb6f1;
  /* --feature: #10b981; */
  --feature: #3ef20d;
  --dark: #111827;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --footer-gray: #9ca3af;
  --white: #ffffff;
  --off-white: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --btn-radius: 50px;
  --radius-10: 10px;
  --shadow: 0 4px 6px -1px var(--shadow-color),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;

  --primary-yellow: hsla(47, 90%, 50%, 1);

  /* one-time use */
  --yellow-2: #fec90d;
  --yellow-original: yellow;
  --light-yellow: #feda55;
  --header-bg-color: hsla(47, 90%, 50%, 0.8);

  --golden-gradient: linear-gradient(
    135deg,
    #e6a817 0%,
    #f7c331 50%,
    #ffdb58 100%
  );
  --golden-radial: radial-gradient(
    circle at center,
    #ffdb58 0%,
    #f7c331 60%,
    #e6a817 100%
  );
  --golden-radial-offset: radial-gradient(
    circle at top left,
    #ffdb58 0%,
    #f7c331 60%,
    #e6a817 100%
  );
  --golden-radial-offset-2: radial-gradient(
    circle at top right,
    #ffdb58 0%,
    #f7c331 60%,
    #e6a817 100%
  );

  /*  */
  --btn-padding: 12px 28px;
}
html {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

html {
  scroll-behavior: smooth;
  background-color: var(--primary-yellow);
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.25;
  color: var(--dark);
  background-color: var(--primary-yellow);
  background-image: var(--golden-gradient);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: 700;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: var(--primary-blue);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--dark);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: var(--btn-padding);
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn:hover {
  background: var(--highlight-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.secondary-btn {
  background: var(--yellow-2);
  background: transparent;
  border: 2px solid var(--highlight-blue);
  color: var(--highlight-blue);
}

.secondary-btn:hover {
  /* border: 2px solid var(--light-blue); */
  background: var(--light-blue);
  background: var(--light-yellow);
  color: var(--primary-blue);
}

img {
  max-width: 100%;
  height: auto;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background-color: var(--header-bg-color);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--shadow-color);
  padding: 15px 0;
  border-bottom: 1px solid var(--primary-yellow);
}

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

.logo a {
  display: flex;
  align-items: center; /* Aligns image and text vertically */
  text-decoration: none;
}

.logo img {
  width: 50px; /* Adjust size as needed */
  height: auto;
  margin-right: 0; /* Adds spacing between image and text */
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 10px;
  color: var(--dark);
}

.logo span {
  color: var(--primary-blue);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 25px;
}

.nav-links li a {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: var(--dark);
  font-weight: bold;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-links li a.btn,
.nav-links li a.btn:hover {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.nav-links li a:hover {
  color: var(--white);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ====== HERO SECTION ====== */
.hero {
  background: var(--golden-radial);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-content h1 span {
  color: var(--primary-blue);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.3;
}

.hero-content p span {
  color: var(--primary-blue);
  text-decoration-color: var(--yellow-original);
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 3px;
}

.hero-content p strong {
  color: var(--primary-blue);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;

  animation: hover 3s ease-in-out infinite;
}

@keyframes hover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-image img {
  max-width: 100%;
}

/* ====== FEATURES SECTION ====== */
.features {
  background: var(--golden-radial-offset);
  border-top: 1px solid var(--primary-yellow);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
  background: var(--primary-blue);
  color: var(--white);
}

.feature-card:hover .feature-icon,
.feature-card:hover p {
  color: var(--white);
}

.feature-card:hover h3 {
  color: var(--primary-yellow);
}

/* ====== PROCESS SECTION ====== */
.process {
  background-color: var(--primary-yellow);
}

.process-steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 250px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-content p {
  color: var(--gray);
}

/* ====== PRICING SECTION ====== */
.pricing {
  background: var(--golden-radial-offset);
}

.pricing-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-card {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--off-white);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.pricing-header {
  padding: 30px;
  text-align: center;
  background: var(--primary-blue);
  border-bottom: 1px solid var(--off-white);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-yellow);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pricing-header p {
  color: var(--white);
}

.pricing-features {
  padding: 30px;
}

.pricing-features ul {
  list-style: none;
}

.pricing-features ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features ul li i {
  color: var(--feature);
}

.pricing-btn {
  display: block;
  margin: 0 30px 30px;
}

.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 25px var(--shadow-color);
  border: 2px solid var(--primary-blue);
  z-index: 1;
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-yellow);
  color: var(--primary-blue);
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 var(--radius-10) 0 var(--radius-10);
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--highlight-blue) 100%
  );
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonials .section-header h2::after {
  background-color: var(--primary-yellow);
}

.testimonial-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  /* background: hsla(0, 0%, 100%, 0.8); */
  padding: 30px;
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  position: relative;

  /* background-image: url("assets/quotes.png");
  background-repeat: no-repeat;
  background-position: left bottom; */
}

.quote-bg {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 60px;
  height: auto;
  z-index: 0;
  opacity: 0.4;
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.author-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ====== FAQ SECTION ====== */
.faq {
  background-color: var(--primary-yellow);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
}

.faq-item {
  background: var(--light-gray);
  padding: 25px;
  border-radius: var(--radius-10);
  transition: var(--transition);
}

.faq-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
}

/* .faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--highlight-blue);
} */

.faq-item p {
  color: var(--gray);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--highlight-blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;

  /* font-family: "Poppins", sans-serif; */
  /* line-height: 1.2; */
  /* margin-bottom: 0.5em; */
  font-weight: 700;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Rotate the icon when active */
.faq-item.active .faq-icon {
  transform: rotate(45deg); /* turns + into an x or - look */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* When active */
.faq-item.active .faq-answer {
  max-height: 500px; /* Big enough to show full content */
  opacity: 1;
  transform: translateY(0);
}

/* ====== CTA SECTION ====== */
.cta {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--highlight-blue) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-inline: auto;
}

.cta-btn {
  background: #dce3fd;
  color: var(--primary-blue);
  font-size: 1rem;
  padding: var(--btn-padding);
  font-family: "Poppins", sans-serif;
}

.cta-btn:hover {
  background: var(--white);
  color: var(--highlight-blue);
}

/* ====== CONTACT SECTION ====== */
.contact {
  background: var(--golden-radial-offset-2);
}

.contact-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-item i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.info-item h3 {
  margin-bottom: 10px;
}

.contact-form {
  flex: 2;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  margin-bottom: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 15px;
  border: 1px solid var(--off-white);
  border-radius: var(--radius-10);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  grid-column: span 2;
  justify-self: start;
  padding: var(--btn-padding);
}

/* form confirmation */
#form-success {
  display: none; /* Hidden initially */
  text-align: center;
  margin-top: 20px;
}

.fade-text {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.fade-text.visible {
  opacity: 1;
}

#lottie-checkmark {
  width: 100px !important;
  margin: 0 auto;
}
/* ************ FORM SPECIAL OFFER ************ */
div.price.discounted-price {
  display: none;
  color: var(--feature);
  font-weight: bold;
}

body.discount-active div.price.original-price {
  text-decoration: line-through;
  opacity: 0.5;
}

body.discount-active div.price.discounted-price {
  display: block;
}
/* ************ END FORM SPECIAL OFFER ************ */

/* ====== FOOTER ====== */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 2;
  min-width: 200px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary-blue);
}

.footer-logo p {
  color: var(--footer-gray);
  max-width: 300px;
}

.footer-links,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-yellow);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

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

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

.footer-links ul li a {
  color: var(--footer-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-yellow);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-yellow);
  transform: translateY(-3px);
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid var(--primary-yellow);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--footer-gray);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--yellow-2);
  /* text-decoration: underline; */
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 992px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content,
  .hero-image {
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 101;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    background: var(--primary-yellow);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    box-shadow: -5px 0 15px var(--shadow-color);
    transition: right 0.3s ease;
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-item {
    flex: 1;
    min-width: 200px;
  }

  form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-btn {
    grid-column: span 1;
    width: 100%;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .contact-info {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}
