/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* Navy blue, white, soft gray with green accents */
  --primary-color: #1e3a8a; /* Navy blue */
  --primary-color-alt: #1e40af;
  --primary-color-light: #3b82f6;
  --secondary-color: #10b981; /* Green accent */
  --secondary-color-alt: #059669;
  --title-color: #1f2937; /* Dark gray */
  --text-color: #6b7280; /* Medium gray */
  --text-color-light: #9ca3af; /* Light gray */
  --body-color: #ffffff; /* White */
  --container-color: #f9fafb; /* Very light gray */
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 2.75rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margins Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mb-1-5);
  padding-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-1);
}

.section__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  color: var(--text-color);
}

.section__header {
  margin-bottom: var(--mb-2-5);
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.button:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.button__icon {
  margin-left: var(--mb-0-5);
  transition: transform 0.3s ease;
}

.button:hover .button__icon {
  transform: translateX(0.25rem);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: box-shadow 0.3s ease;
}

.header.scroll-header {
  box-shadow: 0 2px 4px var(--shadow-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: var(--font-bold);
  font-size: var(--h3-font-size);
}

.nav__logo i {
  margin-right: var(--mb-0-5);
  font-size: 1.5rem;
}

.nav__list {
  display: flex;
  align-items: center;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
}

/*=============== HERO ===============*/
.hero {
  padding-top: calc(var(--header-height) + 2rem);
}

.hero__container {
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.hero__data {
  text-align: left;
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.1;
}

.hero__title-accent {
  color: var(--primary-color);
}

.hero__description {
  margin-bottom: var(--mb-2);
  font-size: var(--h3-font-size);
  color: var(--text-color);
}

.hero__button {
  font-size: var(--h3-font-size);
  padding: 1.25rem 2.5rem;
}

.hero__img {
  justify-self: center;
}

/* Hero Visual Styles */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
}

.visual__graphic {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic__circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-alt));
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color-light), var(--secondary-color));
  top: 10%;
  right: 15%;
  animation-delay: 4s;
}

.graphic__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
  z-index: 5;
}

.graphic__icon i {
  font-size: 2.5rem;
  color: white;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/*=============== FEATURES ===============*/
.features__content {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature__card {
  background-color: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.feature__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1-5);
}

.feature__icon i {
  font-size: 2rem;
  color: white;
}

.feature__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.feature__description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== HOW IT WORKS ===============*/
.how-it-works {
  background-color: var(--container-color);
}

.steps__content {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.step__card {
  text-align: center;
  position: relative;
}

.step__number {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--small-font-size);
}

.step__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
}

.step__icon i {
  font-size: 2.5rem;
  color: white;
}

.step__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  color: var(--title-color);
}

.step__description {
  color: var(--text-color);
}

.step__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step__arrow i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/*=============== TESTIMONIALS ===============*/
.testimonials__content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.testimonial__placeholder {
  text-align: center;
  color: var(--text-color-light);
  font-style: italic;
}

.testimonial__placeholder i {
  font-size: 3rem;
  margin-bottom: var(--mb-1);
  color: var(--border-color);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--primary-color);
  color: white;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.footer__logo i {
  margin-right: var(--mb-0-5);
  font-size: 1.5rem;
}

.footer__description {
  margin-bottom: var(--mb-1-5);
  opacity: 0.8;
  line-height: 1.6;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__contact-item i {
  color: var(--secondary-color);
}

.footer__bottom {
  padding: 1.5rem 0;
}

.footer__copy {
  text-align: center;
  opacity: 0.6;
  font-size: var(--small-font-size);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: all 0.4s ease;
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

/* Show scroll up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== PRIVACY POLICY STYLES ===============*/
.privacy-policy {
  padding-top: calc(var(--header-height) + 2rem);
}

.privacy-policy__header {
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.privacy-policy__title {
  font-size: var(--biggest-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.privacy-policy__updated {
  color: var(--text-color);
  font-style: italic;
  font-size: var(--small-font-size);
}

.privacy-policy__content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.policy-section {
  margin-bottom: var(--mb-2-5);
}

.policy-section h2 {
  color: var(--primary-color);
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--mb-0-5);
}

.policy-section h3 {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  margin: var(--mb-1-5) 0 var(--mb-1);
}

.policy-section p {
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.policy-section ul {
  margin-left: var(--mb-1-5);
  margin-bottom: var(--mb-1);
}

.policy-section li {
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
  list-style: disc;
}

.policy-section a {
  color: var(--primary-color);
  text-decoration: underline;
}

.policy-section a:hover {
  color: var(--primary-color-alt);
}

.info-table {
  margin: var(--mb-1-5) 0;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
}

.table-header {
  background-color: var(--primary-color);
  color: white;
  padding: var(--mb-1);
  font-weight: var(--font-semi-bold);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.table-header:last-child {
  border-right: none;
}

.table-cell {
  padding: var(--mb-1);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.table-cell:last-child {
  border-right: none;
}

.table-row:last-child .table-cell {
  border-bottom: none;
}

.contact-info {
  background-color: var(--container-color);
  padding: var(--mb-2);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary-color);
  margin-top: var(--mb-1);
}

.contact-info p {
  margin-bottom: 0;
}

.important-notice {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  border-radius: 0.75rem;
  padding: var(--mb-2);
  margin-bottom: var(--mb-2);
  position: relative;
}

.important-notice h3 {
  color: #92400e;
  margin-bottom: var(--mb-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.important-notice h3 i {
  color: #f59e0b;
}

.important-notice p {
  color: #92400e;
  margin-bottom: 0;
  font-weight: var(--font-medium);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 85%);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color-alt);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    padding-left: var(--mb-1);
    padding-right: var(--mb-1);
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__data {
    order: 2;
  }

  .hero__img {
    order: 1;
  }

  .visual__graphic {
    width: 250px;
    height: 250px;
  }
  
  .hero__visual {
    height: 350px;
  }

  .features__content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .steps__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .step__arrow {
    transform: rotate(90deg);
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--body-color);
    box-shadow: -2px 0 4px var(--shadow-color);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--title-color);
  }

  .nav__toggle {
    display: block;
    font-size: 1.3rem;
    color: var(--title-color);
  }

  .show-menu {
    right: 0;
  }

  .section {
    padding: 3.5rem 0 1rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .visual__graphic {
    width: 200px;
    height: 200px;
  }
  
  .hero__visual {
    height: 300px;
  }

  .feature__card,
  .step__card {
    padding: 2rem 1.5rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .table-header,
  .table-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .privacy-policy__content {
    padding: 0 var(--mb-1);
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .container {
    padding-left: var(--mb-1);
    padding-right: var(--mb-1);
  }

  .hero__title {
    font-size: var(--h1-font-size);
  }

  .hero__description {
    font-size: var(--normal-font-size);
  }

  .visual__graphic {
    width: 180px;
    height: 180px;
  }
  
  .hero__visual {
    height: 250px;
  }

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

  .feature__card {
    padding: 1.5rem 1rem;
  }

  .step__icon {
    width: 80px;
    height: 80px;
  }

  .step__icon i {
    font-size: 2rem;
  }
}

@media screen and (max-width: 350px) {
  .container {
    padding-left: var(--mb-1);
    padding-right: var(--mb-1);
  }

  .hero__button {
    padding: 1rem 1.5rem;
    font-size: var(--normal-font-size);
  }

  .visual__graphic {
    width: 160px;
    height: 160px;
  }
  
  .hero__visual {
    height: 220px;
  }
}
