/* ==========================================================
   SHARED COMPONENTS STYLESHEET
   Header, Footer, Buttons, Cards, Forms, and Global Components
========================================================== */

/* ──── BUTTON STYLES ──── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-orange {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

/* ──── CARD COMPONENT ──── */
.card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--tr);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* ──── STAT ICON (hstat-icon) ──── */
.hstat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Default colors for hstat-icon */
.hstat-icon {
  background: var(--green-100);
  color: var(--green-700);
}

/* ──── FEATURE ICON ──── */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ──── FEATURE CARD ──── */
.feature-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  transition: all var(--tr);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
 font-size: 0.96rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.84rem;
    color: var(--slate-600);
    line-height: 1.6;
}

/* ──── FORM STYLES ──── */
.form-grid {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.form-label span {
  color: var(--orange-600);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="phone"],
textarea,
select {
  padding: 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate-800);
  transition: all var(--tr);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="phone"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ──── FOOTER DISCLAIMER ──── */
.footer-disclaimer {
  padding: 24px 20px 28px;
  margin: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 58, 138, 0.4));
  border-radius: 10px;
}

.disclaimer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.disclaimer-header-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclaimer-unit {
  font-size: 0.75rem;
  color: var(--slate-300);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

.disclaimer-company-name {
  font-size: 0.85rem;
  color: var(--slate-200);
  font-weight: 600;
  margin: 0;
}

.grievance-cell-title {
  font-size: 0.9rem;
  color: #FFD700;
  font-weight: 700;
  margin: 0;
}

.disclaimer-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grievance-logo-box {
  background: white;
  border-radius: 8px;
  padding: 12px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grievance-logo-img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.disclaimer-content-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grievance-text {
  font-size: 0.78rem;
  color: var(--slate-200);
  line-height: 1.6;
  margin: 0;
}

.disclaimer-contact-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.76rem;
}

.contact-label {
  color: var(--slate-300);
  font-weight: 600;
}

.contact-link {
 font-size: 0.77rem;
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--tr);
}

.contact-link:hover {
     color: #fff;
    text-decoration: underline;
}

.contact-separator {
  color: var(--slate-400);
}

/* ──── SECTION HEADER ──── */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.section-header.centered {
  align-items: center;
  text-align: center;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.section-title {
 font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--primary-900);
    line-height: 1.14;
    letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ──── BREADCRUMB ──── */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: #ffffff;
  transition: color var(--tr);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 600;
}

/* ──── FAQ ACCORDION ──── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  color: var(--slate-800);
  transition: all var(--tr);
}

.faq-item.open .faq-question {
  background: linear-gradient(135deg, var(--green-50), var(--slate-50));
  color: var(--primary);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate-100);
  transition: all var(--tr);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  padding: 0 20px 20px;
}

.faq-answer p {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq-answer ul {
  color: var(--slate-600);
  line-height: 1.7;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* ──── MEDIA PLACEHOLDER ──── */
.media-placeholder {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  border-radius: var(--r-xl);
}

.media-placeholder i {
  font-size: 4rem;
  color: var(--green-300);
  opacity: 0.7;
}

/* ──── GRID LAYOUTS ──── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* ──── RESPONSIVE MEDIA BREAKPOINTS ──── */

@media (max-width: 960px) {
  .footer-disclaimer {
    padding: 26px 28px 30px;
  }

  .disclaimer-wrapper {
    gap: 13px;
  }

  .grievance-text {
    font-size: 0.77rem;
  }

  .story-grid,
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .footer-disclaimer {
    padding: 22px 24px 26px;
  }

  .disclaimer-wrapper {
    gap: 12px;
  }

  .grievance-text {
    font-size: 0.76rem;
  }

  .media-placeholder {
    min-height: 300px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .form-grid {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .footer-disclaimer {
    padding: 18px 16px 20px;
  }

  .disclaimer-wrapper {
    gap: 10px;
  }

  .grievance-text {
    font-size: 0.72rem;
  }

  .grievance-logo-box {
    height: 52px;
  }

  .media-placeholder {
    min-height: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.95rem;
  }
}
