/* =========================================================
   BASE / GLOBAL
========================================================= */
:root {
  --primary: #16a34a;
  --dark: #111827;
  --muted: #6b7280;
  --light: #f8faf8;
  --border: #e5e7eb;
}

h2 {
  font-weight: 800;
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
  background: #f5f7fa;
  border-bottom: 1px solid #e8edf3;
  position: relative;
  z-index: 8;
  margin: 15px 0;
}

.announcement-bar .container {
  position: relative;
  max-width: 1400px;
  margin: auto;
  padding: 14px 70px;
  align-items: center;
}

.announcementSwiper {
  overflow: hidden;
}

.announcementSwiper .swiper-slide {
  text-align: center;
}

.announcementSwiper p {
  margin: 0;
  font-size: 13px;
  color: #4a5568;
  font-weight: 500;
}

.announcementSwiper a {
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
}

.announcementSwiper a:hover {
  text-decoration: underline;
}

/* Navigation */
.announce-prev,
.announce-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #64748b;
  transition: 0.3s;
}

.announce-prev:hover,
.announce-next:hover {
  color: #111827;
}

.announce-prev {
  left: 15px;
}

.announce-next {
  right: 15px;
}

.announce-prev i,
.announce-next i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .announcement-bar .container {
    padding: 12px 50px;
  }

  .announcementSwiper p {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-modern {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-card {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.4fr);
  align-items: center;
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)),
    url("/assets/image/infitoolz-bg.avif");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.hero-content {
  padding: 80px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
  border-radius: 5px;
}

.hero-content h1 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--dark);
}

.hero-content h1 span {
  display: block;
  color: #545f77;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  max-width: 650px;
  margin-bottom: 35px;
  font-weight: 500;
}

/* SEARCH */
.hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 70px;
  padding: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 25px;
  font-size: 16px;
  outline: none;
}

.hero-search-btn {
  height: 58px;
  padding: 0 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #22c55e, var(--primary));
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ACTIONS */
.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-primary-custom {
  background: var(--dark);
  color: #fff;
  padding: 15px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary-custom {
  border: 1px solid var(--border);
  color: var(--dark) !important;
  padding: 15px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.hero-stats h3 {
  font-size: 32px;
  margin: 0;
  color: var(--dark);
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   PROMO BANNER
========================================================= */
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px 32px;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(90, 255, 120, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(90, 255, 120, 0.2),
      transparent 25%
    ),
    linear-gradient(90deg, #163d22, #1f5a33, #216c39, #13381f);
}

.promo-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.promo-content h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin: 0;
}

.promo-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.promo-btn {
  background: #1d1d1d;
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.promo-btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   ABOUT / VALUE BOXES
========================================================= */
.value-box {
  border-top: 1px solid var(--border);
  background: var(--light);
  padding: 15px 30px;
  border-radius: 20px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.value-box:hover {
  transform: scale(1.03);
}

.value-header span {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}

.value-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

/* =========================================================
   BRAND SECTION
========================================================= */

.brand-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 80px 60px 180px;
  background: url("/assets/image/infitoolz-why us.avif") center center/cover;
  min-height: 600px;
}

.brand-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.brand-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.brand-content p {
  margin-top: 15px;
  color: #fff;
  font-weight: 600;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.brand-cards {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.brand-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: 30px;
  border-radius: 20px;
}

.brand-card h4 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.brand-card p {
  margin: 0;
  color: #111;
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================
   LAPTOP
========================== */

@media (max-width: 1199px) {
  .brand-banner {
    padding: 70px 40px 200px;
  }

  .brand-content h2 {
    font-size: 34px;
  }
}

/* ==========================
   TABLET
========================== */

@media (max-width: 991px) {
  .brand-banner {
    padding: 60px 30px;
    min-height: auto;
  }

  .brand-cards {
    position: static;
    margin-top: 50px;

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

  .brand-content h2 {
    font-size: 32px;
  }

  .brand-card {
    padding: 24px;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 767px) {
  .brand-banner {
    border-radius: 20px;
    padding: 50px 20px;
  }

  .brand-content h2 {
    font-size: 28px;
  }

  .brand-content p {
    font-size: 15px;
  }

  .brand-btn {
    width: 100%;
    justify-content: center;
  }

  .brand-card {
    padding: 20px;
    border-radius: 16px;
  }

  .brand-card h4 {
    font-size: 18px;
  }
}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 480px) {
  .brand-content h2 {
    font-size: 24px;
  }

  .brand-content p {
    font-size: 14px;
  }
}
/* =========================================================
   FAQ
========================================================= */
.faq-modern {
  padding: 80px 0;
}

.faq-image img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.faq-custom .accordion-button {
  font-size: 20px;
  font-weight: 500;
  padding: 22px 0;
}

.faq-custom .accordion-item {
  border: none;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
}

.faq-custom .accordion-button {
  background: none;
  box-shadow: none;
  padding: 25px 0;
  font-size: 22px;
  font-weight: 500;
  color: #222;
}

.faq-custom .accordion-button:not(.collapsed) {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 20px;
}

.faq-custom .accordion-body {
  color: #666;
  line-height: 1.8;
  padding: 0 25px 25px;
}

.faq-custom .accordion-button::after {
  transform: scale(0.8);
}

/* =========================================================
   TESTIMONIAL
========================================================= */
.testimonial-card {
  border-radius: 20px;
  padding: 30px;
  background: #ececec;
  transition: 0.3s;
  min-height: 250px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.rating {
  color: var(--primary);
  margin-bottom: 15px;
}

/* =========================================================
   SUCCESS BANNER
========================================================= */
.success-banner {
  border-radius: 28px;
  background: #dff4df;
  margin: 80px 0;
  overflow: hidden;
}

.success-content {
  padding: 70px;
}

.success-img {
  width: 100%;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* TABLET */
@media (max-width: 991px) {
  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 20px;
  }

  .promo-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

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

  .success-content {
    padding: 40px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 28px;
  }

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

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .promo-content h3 {
    font-size: 20px;
  }

  .brand-banner {
    padding: 40px 20px 130px;
  }

  .faq-image img {
    height: 250px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .success-content {
    padding: 25px;
  }

  .hero-card {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgb(255 255 255 / 45%)),
      url(/assets/image/infitoolz-bg.avif);
  }
}

/* get help */
.help-section {
  padding: 20px 0;
}

.help-box {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.help-intro h2 {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  max-width: 320px;
}

.help-intro p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  max-width: 420px;
}

.help-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #dff3dc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.help-icon i {
  color: #2e7d32;
  font-size: 20px;
}

.help-item h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.help-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.help-item a {
  color: #16a34a;
  text-decoration: none;
  font-weight: 600;
}

.help-item a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .help-box {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 30px;
  }

  .help-intro h2 {
    font-size: 36px;
    max-width: 100%;
  }

  .help-intro p {
    max-width: 100%;
  }
}
