* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #4F4F4F;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
}

.hero-faq {
    background: linear-gradient(135deg, #1e40af 0%, #0d9488 100%);
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.2);
}

.hero-faq-content h1 {
    font-family: Palatino, serif;
    font-size: 48px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-faq-subtitle {
    font-size: 24px;
    color: #ffffff;
    opacity: 0.95;
    font-weight: 300;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.faq-content {
    background-color: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.faq-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid #1e40af;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
}

.card-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #1e40af 0%, #0d9488 100%);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.faq-card h2 {
    font-size: 22px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.faq-card p {
    color: #4F4F4F;
    line-height: 1.8;
    font-size: 15px;
}

.acknowledgment-card {
    background: linear-gradient(135deg, #1e40af 0%, #0d9488 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.2);
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.acknowledgment-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    font-size: 32px;
    color: #1e40af;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.acknowledgment-card p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-faq {
        padding: 60px 20px;
    }

    .hero-faq-content h1 {
        font-size: 36px;
    }

    .hero-faq-subtitle {
        font-size: 20px;
    }

    .faq-container {
        padding: 40px 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-card {
        padding: 25px;
    }

    .faq-card h2 {
        font-size: 20px;
    }

    .acknowledgment-card {
        padding: 30px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-faq {
        padding: 50px 15px;
    }

    .hero-faq-content h1 {
        font-size: 28px;
    }

    .hero-faq-subtitle {
        font-size: 18px;
    }

    .faq-container {
        padding: 30px 10px;
    }

    .faq-card {
        padding: 20px;
    }

    .card-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: -12px;
    }

    .faq-card h2 {
        font-size: 18px;
    }

    .faq-card p {
        font-size: 14px;
    }

    .acknowledgment-card {
        padding: 25px;
    }

    .acknowledgment-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .acknowledgment-card p {
        font-size: 15px;
    }
}


/* WooCommerce Page Title Top Margin Fix */
    .hero-faq-content h1 {
    margin-top: 130px !important;
  }

  @media (max-width: 879px) {
    .hero-faq-content h1 {
    margin-top: 120px !important;
  }
  }

   /* Card Grid */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row desktop */
    gap: 20px;
  }

  /* Individual Card */
  .card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.2);
  }

  /* Card Image */
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  /* Card Heading */
  .card h3 {
    margin: 0;
    padding: 15px;
    font-size: 1rem;
    text-align: center;
    background: #37475A;
    color: white;
  }

  @media (max-width: 900px) {
    .card-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 per row mobile */
    }

    .card h3 {
      font-size: 0.9rem; /* slightly smaller text on mobile */
    }
  }