/* ==========================================================================
   Envoy - Pintex Theme Clone
   Exact match to WordPress Pintex theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Pintex Theme)
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Pintex Theme */
  --bs-primary: #9370db;
  --bs-primary-rgb: 147, 112, 219;
  --bs-secondary: #f4b400;
  --bs-secondary-hover: #daa000;
  --bs-headings-color: #120036;
  --bs-body-color: #545465;
  --bs-body-bg: #ffffff;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-400: #f5f6f7;
  --color-grey: #6c757d;

  /* Typography */
  --pintex-body-font-family: 'Inter', sans-serif;
  --pintex-headings-font-family: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: 100px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--pintex-body-font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pintex-headings-font-family);
  color: var(--bs-headings-color);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Typography Classes (Pintex)
   -------------------------------------------------------------------------- */
.s-50 { font-size: 3.125rem; }
.s-46 { font-size: 2.875rem; }
.s-28 { font-size: 1.75rem; }
.s-24 { font-size: 1.5rem; }
.s-21 { font-size: 1.3125rem; }
.s-20 { font-size: 1.25rem; }
.w-700 { font-weight: 700; }

.color-grey { color: var(--color-grey); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.align-items-center {
  align-items: center;
}

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

.col {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.col-img,
.col-txt {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-accordion {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-xl-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
  margin: 0 auto;
}

.col-copyright,
.col-nav {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

/* Row Cols */
.row-cols-md-2 > .col {
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 30px;
}

.row-cols-lg-4 > .col {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Utilities */
.mb-70 { margin-bottom: 70px; }
.mt-30 { margin-top: 30px; }

/* --------------------------------------------------------------------------
   Hero Logo
   -------------------------------------------------------------------------- */
.hero-logo {
  padding: 40px 0 20px;
}

.logo img {
  height: auto;
  width: 130px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Hero Section (hero-7)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f8f5ff 100%);
  padding: 0 0 80px;
  overflow: hidden;
}

.hero-7 {
  padding-top: 0;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 20px;
}

.hero-7-img {
  margin-bottom: 50px;
}

.hero-7-img img {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}

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

.hero-content .title-element {
  margin-bottom: 20px;
  font-size: 3rem;
}

.hero-content .subtitle-element {
  color: var(--bs-body-color);
  margin-bottom: 35px;
  line-height: 1.7;
  font-size: 1.2rem;
  padding: 0 20px;
}

/* Button */
.btn {
  display: inline-block;
  font-family: var(--pintex-headings-font-family);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-theme {
  background-color: var(--bs-primary);
  color: #fff;
  border: 2px solid var(--bs-primary);
  font-weight: 600;
}

.btn-theme:hover {
  background-color: #7b5fc9;
  border-color: #7b5fc9;
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Content Sections
   -------------------------------------------------------------------------- */
.content-section {
  padding: var(--section-padding) 0;
}

.content-1 .row {
  gap: 30px 0;
}

.content-4 .row {
  gap: 30px 0;
}

/* Image Block */
.img-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Text Block */
.txt-block {
  padding: 0 20px;
}

.txt-block .section-id {
  display: inline-block;
  font-family: var(--pintex-headings-font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.txt-block .title-element {
  margin-bottom: 25px;
}

.txt-block .subtitle-element {
  color: var(--bs-body-color);
  line-height: 1.7;
}

.txt-block p {
  color: var(--bs-body-color);
  line-height: 1.7;
}

/* Reverse Layout */
.content-section.reverse .row {
  flex-direction: row-reverse;
}

/* List Bullets */
.list-bullets {
  margin-top: 20px;
  padding-left: 0;
}

.list-bullets li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--bs-body-color);
}

.list-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--bs-primary);
  font-weight: bold;
  font-size: 1.2em;
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--bs-gray-200);
  margin: 30px 0;
}

.divider-section {
  padding: 30px 0;
}

/* BC-1 Wrapper (Rounded Background) */
.bc-1-wrapper {
  background-color: var(--bs-gray-400);
  border-radius: 16px;
  padding: 60px 40px;
}

/* --------------------------------------------------------------------------
   Section Title
   -------------------------------------------------------------------------- */
.section-title {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title .title-element {
  margin-bottom: 18px;
}

.section-title .description-element {
  color: var(--bs-body-color);
  padding: 0 3%;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features-section {
  padding: var(--section-padding) 0;
}

.fbox-wrapper {
  width: 100%;
}

/* Feature Box 11 (horizontal: icon left, text right) */
.fbox-11 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  height: 100%;
  padding: 0;
}

.fbox-11 .fbox-img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fbox-11 .fbox-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fbox-11 .fbox-txt {
  flex: 1;
}

.fbox-11 .feature-title {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.fbox-11 .fbox-txt p {
  color: var(--bs-body-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Feature Box 6 (4-column centered) */
.features-6 {
  padding: 60px 0 var(--section-padding);
}

.fbox-6 {
  padding: 0 15px;
}

.fbox-5-img {
  margin-bottom: 25px;
}

.fbox-5-img img {
  max-width: 120px;
  margin: 0 auto;
}

.fbox-6 .feature-title {
  margin-bottom: 12px;
}

.fbox-6 .fbox-txt p {
  color: var(--bs-body-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Counter
   -------------------------------------------------------------------------- */
.counter-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.counter-box {
  text-align: left;
}

.counter-number {
  font-family: var(--pintex-headings-font-family);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1;
  margin-bottom: 5px;
}

.counter-number span {
  font-size: 2rem;
}

.counter-title {
  font-family: var(--pintex-headings-font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-headings-color);
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.features-accordion-section {
  padding: var(--section-padding) 0;
}

.accordion-wrapper {
  width: 100%;
}

.accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-thumb {
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--bs-gray-100);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-thumb::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bs-headings-color);
  transition: transform 0.3s ease;
}

.accordion-item.is-active .accordion-thumb::after {
  content: '−';
}

.accordion-thumb:hover {
  background-color: var(--bs-gray-200);
}

.accordion-item.is-active .accordion-thumb {
  background-color: var(--bs-gray-200);
  border-radius: 8px 8px 0 0;
}

.accordion-thumb .question {
  margin: 0;
  padding-right: 40px;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background-color: var(--bs-gray-100);
  border-radius: 0 0 8px 8px;
  transition: max-height 0.3s ease;
}

.accordion-item.is-active .accordion-panel {
  max-height: 500px;
}

.accordion-panel .answer {
  padding: 0 25px 25px;
}

.accordion-panel .answer p {
  color: var(--bs-body-color);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faqs-section {
  padding: var(--section-padding) 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-section {
  background-color: var(--bs-body-bg);
  border-top: 1px solid var(--bs-gray-200);
  padding: 40px 0;
}

.footer-inner {
  width: 100%;
}

.footer-inner .row {
  align-items: center;
}

.col-copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bs-body-color);
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li a {
  font-size: 0.9rem;
  color: var(--bs-body-color);
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  color: var(--bs-primary);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .col-xl-11 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 80px;
  }

  .s-50 { font-size: 2.5rem; }
  .s-46 { font-size: 2.25rem; }
  .s-28 { font-size: 1.5rem; }

  .col-img,
  .col-txt,
  .col-accordion {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .col-txt:last-child,
  .col-img:last-child {
    margin-bottom: 0;
  }

  .content-section.reverse .row {
    flex-direction: column;
  }

  .content-4 .col-txt {
    order: 2;
  }

  .content-4 .col-img {
    order: 1;
  }

  .features-accordion-section .col-img {
    order: 1;
  }

  .features-accordion-section .col-accordion {
    order: 2;
    margin-bottom: 0;
  }

  .row-cols-lg-4 > .col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .counter-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .bc-1-wrapper {
    padding: 40px 25px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 60px;
  }

  .s-50 { font-size: 2rem; }
  .s-46 { font-size: 1.875rem; }
  .s-28 { font-size: 1.25rem; }
  .s-24 { font-size: 1.25rem; }
  .s-21 { font-size: 1.125rem; }
  .s-20 { font-size: 1.125rem; }

  .hero-section {
    padding: 0 0 60px;
  }

  .hero-content .title-element {
    font-size: 2rem;
  }

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

  .row-cols-md-2 > .col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .row-cols-lg-4 > .col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .row-cols-lg-4 > .col:last-child {
    margin-bottom: 0;
  }

  .txt-block {
    padding: 0;
  }

  .mb-70 {
    margin-bottom: 40px;
  }

  .fbox-11 {
    gap: 15px;
  }

  .fbox-11 .fbox-img {
    width: 50px;
    height: 50px;
  }

  .col-copyright,
  .col-nav {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .col-copyright {
    margin-bottom: 15px;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 20px;
  }

  .shape-divider svg {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .s-50 { font-size: 1.75rem; }
  .s-46 { font-size: 1.5rem; }

  .hero-section {
    padding: 0 0 40px;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }

  .accordion-thumb {
    padding: 15px 20px;
  }

  .accordion-thumb::after {
    right: 15px;
  }

  .accordion-thumb .question {
    padding-right: 30px;
  }

  .accordion-panel .answer {
    padding: 0 20px 20px;
  }
}
