/* ========== Variables ========== */
:root {
    --font-primary: 'Inter', sans-serif;
    --color-text: #333;
    --color-link: #fff;
    --color-ext-link: #0f2371;
    --color-bg-navbar: #2c3e50;
    --color-bg-cta: #16a085;
    --color-bg-feature: #ecf0f1;
    --color-cta-hover: #1abc9c;
    --color-hero-overlay: rgba(255, 255, 255, 0.2);
    --shadow-default: 0px 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0px 8px 12px rgba(0, 0, 0, 0.2);
    --radius-default: 10px;
    --transition-default: 0.3s ease;
    --font-size-base: 16px;
    --font-size-heading: 2.5rem;
    --font-size-subheading: 1rem;
    --font-size-sm: 0.9rem;
  }
  
  /* ========== Base Styles ========== */
  body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--color-text);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ========== Navbar ========== */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--color-bg-navbar);
    color: #7cb1d1;
  }
  
  .navbar .logo img {
    height: 70px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
  }
  
  .nav-links a {
    color: var(--color-link);
    font-weight: 600;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }
  
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--color-link);
  }
  
  /* ========== Hero Section ========== */
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    color: #081848;
    background: url('../img/background.jpg') no-repeat center center/cover;
    opacity: .9;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-hero-overlay);
    z-index: -1;
  }
  
  .hero-content {
    position: relative;
    margin: 10px;
    top: -60px;
  }
  
  .hero h2 {
    font-size: var(--font-size-heading);
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: var(--font-size-subheading);
    margin-bottom: 20px;
  }
  
  .cta-btn {
    background-color: var(--color-link);
    color: #081848;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color var(--transition-default);
  }
  
  .cta-btn:hover {
    background-color: #92bccf;
  }
  
  /* ========== Content Sections ========== */
  .content-section {
    margin: 20px;
  }

  .centered-section {
    text-align: center;
    font-size: 1.1em;
  }
  
  .feature-item,
  .step-item {
    position: relative;
    padding: 20px;
    width: 20%;
    border-radius: var(--radius-default);
    box-shadow: var(--shadow-default);
    transition: transform var(--transition-default), box-shadow var(--transition-default);
  }

  .feature-item {
    flex: 1 1 calc(50% - 20px);
    margin: 10px 0 0;
    background-color: var(--color-bg-feature);
    max-width: 300px;
  }
  
  .step-item {
    flex: 1 1 calc(30% - 20px);
    background-color: white;
  }
  
  .feature-item:hover,
  .step-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
  }

  .centered-section h2 {
    font-size: 2.5em;
    color: var(--color-text);
  }
  
  #how-it-works-section {
    background-color: #f2f2f2;
  }

  .steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 20px 0;
  }
  
  .feature-item img {
    width: 125px;
  }

  .step-item img {
    width: 80px;
  }
  
  .feature-item h4,
  .step-item h4 {
    margin: 0;
  }
  
  .feature-item p,
  .step-item p {
    margin: 10px 0 0;
  }
  
  /* ========== CTA Section ========== */
  .cta-section {
    padding: 50px;
    text-align: center;
    background-color: var(--color-bg-cta);
    color: var(--color-link);
  }
  
  .cta-section a:not(.cta-btn) {
    color: var(--color-ext-link);
    text-decoration: underline;
  }

  .cta-section p {
    margin-bottom: 35px;
  }
  
  .cta-section .cta-btn {
    background-color: var(--color-link);
    color: var(--color-bg-cta);
  }
  
  .cta-section .cta-btn:hover {
    background-color: var(--color-cta-hover);
  }

  /* ========== Table ========== */
  td {
    padding: 2px;
    border-right: 1px solid black;
    border-top: 1px solid black;
  }
  
  td:first-child {
    width: 33%;
  }
  
  td:last-child {
    width: 15%;
    text-align: center;
  }
  
  tr td:first-child {
    border-left: 1px solid black;
  }
  
  tbody tr:last-child td {
    border-bottom: 1px solid black;
  }
  
  /* ========== Footer ========== */
  footer {
    background-color: var(--color-bg-navbar);
    color: var(--color-link);
    padding: 20px;
    text-align: center;
  }
  
  /* ========== Media Queries ========== */
  @media screen and (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 20px;
      background: var(--color-bg-navbar);
      padding: 10px;
      border-radius: var(--radius-default);
      z-index: 1;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  
    .feature-item,
    .step-item {
      width: 45%;
    }

    .step-item {
      margin: 0 40px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .hero h2 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: var(--font-size-sm);
    }
  
    .feature-item,
    .step-item {
      width: 100%;
    }
  }
  