@charset "utf-8";

/* HALAL page */

.halal-page-wrap {

}

.halal-container {
  margin: 0 auto;
  padding: 0 2% 0px;
}

/* Sub navigation */
.halal-subnav {
  background: #eef1f4;
  border-bottom: 1px solid #e0e4e8;
}

.halal-subnav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.halal-subnav-links {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.halal-subnav-links li a {
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.halal-subnav-links li a:hover,
.halal-subnav-links li.active a {
  color: #0460a0;
  font-weight: 600;
}

.halal-subnav-links li.active a {
  border-bottom: 3px solid #0460a0;
  margin-bottom: -1px;
}

.halal-breadcrumb {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.halal-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.halal-breadcrumb a:hover {
  color: #0460a0;
}

.halal-breadcrumb span {
  margin: 0 6px;
  color: #ccc;
}

/* Halal section */
.halal-section { max-width: 1300px; margin:auto; padding:60px 0px 60px 0px; line-height:30px;

}

.halal-section-title {
  text-align: center;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: #222;
  margin: 0 0 36px;
}

.halal-intro {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin: 0 0 32px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.halal-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.halal-pillar {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.halal-pillar.visible {
  opacity: 1;
  transform: translateY(0);
}

.halal-pillar:hover {
  box-shadow: 0 8px 28px rgba(4, 96, 160, 0.12);
  transform: translateY(-4px);
}

.halal-pillar.visible:hover {
  transform: translateY(-4px);
}

.halal-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0460a0, #0580c8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.halal-pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.halal-pillar b{
  font-size: 16px;
  font-weight: 700;
  color: #0460a0;
  margin: 0 0 6px;
}

.halal-pillar p { font-size: 16px;
  line-height: 1.65;
  color: #666;
  margin: 0;
}

/* Q&A accordion */
.halal-qa {
 width: 100%;
  margin: 0 auto 36px;
}

.halal-qa-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px;
}

.halal-accordion-item {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.halal-accordion-item.open {
  box-shadow: 0 4px 20px rgba(4, 96, 160, 0.1);
  border-color: #b8d4ea;
}

.halal-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.halal-accordion-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.halal-accordion-head .arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef4f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s, background 0.35s;
}

.halal-accordion-item.open .halal-accordion-head .arrow {
  transform: rotate(180deg);
  background: #0460a0;
}

.halal-accordion-item.open .halal-accordion-head .arrow svg {
  fill: #fff;
}

.halal-accordion-head .arrow svg {
  width: 14px;
  height: 14px;
  fill: #0460a0;
  transition: fill 0.35s;
}

.halal-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.halal-accordion-item.open .halal-accordion-body {
  max-height: 320px;
}

.halal-accordion-inner {
  padding: 0 22px 20px; font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.halal-accordion-inner ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.halal-accordion-inner li {
  margin-bottom: 8px;
}

.halal-accordion-inner li strong {
  color: #0460a0;
}

.halal-cta {
  text-align: center;
}

.halal-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px;
}

.halal-cta-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap; padding-top:20px;
}

.halal-cta-links a {
  display: inline-flex;
  padding: 10px 54px;
  font-size: 13px;
  font-weight: 600;
  color: #0460a0;
  text-decoration: none;
  border: 2px solid #0460a0;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}

.halal-cta-links a:hover {
  background: #0460a0;
  color: #fff;
}

/* REACH section */
.reach-section {
  background: #eef1f4;
  margin: 0 -2%;
  padding: 64px 2% 72px;
}

.reach-section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.reach-section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #222;
  margin: 0 0 48px;
}

.reach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.reach-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0 0 15px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reach-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.reach-step:last-child {
  padding-bottom: 0;
}

.reach-step:last-child .reach-step-line {
  display: none;
}

.reach-step-marker {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.reach-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0460a0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(4, 96, 160, 0.3);
  position: relative;
  z-index: 2;
  transition: transform 0.3s, box-shadow 0.3s;
}

.reach-step:hover .reach-step-num {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(4, 96, 160, 0.4);
}

.reach-step-line {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 8px);
  background: linear-gradient(to bottom, #0460a0, #b8d4ea);
  opacity: 0.4;
}

.reach-step-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  border: 1px solid #e0e4e8;
  transition: box-shadow 0.35s, border-color 0.35s;
}

.reach-step:hover .reach-step-card {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border-color: #b8d4ea;
}

.reach-step-card b {
  font-size: 18px;
  font-weight: 700;
  color: #0460a0;
  margin: 0 0 10px;
}

.reach-step-card p {
  font-size: 16px;
  line-height:22px;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .halal-pillars {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .halal-subnav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 4%;
  }

  .halal-subnav-links li a {
    padding: 10px 14px;
    font-size: 13px;
  }

  .halal-container {
    padding: 0 4% 60px;
  }

  .halal-section {
    padding: 36px 0 20px;
  }

  .reach-section {
    padding: 48px 4% 56px;
  }

  .reach-step {
    gap: 16px;
  }

  .reach-step-marker {
    width: 44px;
  }

  .reach-step-num {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
}
