/* ==========================================================================
   Socio Care International — About Us Page Styles
   ========================================================================== */

/* ==========================================================================
   0. Shared image-placeholder component
   ========================================================================== */

.img-placeholder {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--accent-light) 0%, #fff 55%, var(--tag-muted-bg) 100%);
  border: 1.5px dashed rgba(59,14,26,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  color: var(--text-muted);
  min-height: 260px;
}
.img-placeholder-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.img-placeholder-label { font-size: 12.5px; font-weight: 600; line-height: 1.6; max-width: 220px; }
.img-placeholder-tall { min-height: 460px; }
.img-placeholder-portrait { min-height: 380px; }

@media (max-width: 600px) {
  .img-placeholder-tall { min-height: 280px; }
  .img-placeholder-portrait { min-height: 260px; }
}

/* ==========================================================================
   1. Page Hero / Breadcrumb (split, organic blobs)
   ========================================================================== */

.about-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: #fff; }
.about-hero-blob { position: absolute; border-radius: 50%; z-index: 0; }
.about-hero-blob-a {
  width: 420px; height: 420px; top: -160px; left: -140px;
  background: radial-gradient(circle at 30% 30%, var(--accent-light), transparent 70%);
}
.about-hero-blob-b {
  width: 320px; height: 320px; bottom: -120px; right: -90px;
  background: radial-gradient(circle at 60% 40%, var(--tag-muted-bg), transparent 70%);
}

.about-hero-grid {
  position: relative; z-index: 1; min-width: 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.about-hero-content { min-width: 0; }

.about-hero-title { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--primary); }
.about-hero-tagline { font-size: 19px; font-weight: 700; color: var(--secondary); margin-bottom: 20px; }
.about-hero-intro { font-size: 17px; color: var(--text-muted); line-height: 1.75; max-width: 620px; margin-bottom: 18px; }
.about-hero-intro:last-of-type { margin-bottom: 0; }

.about-hero-visual { position: relative; min-width: 0; }

/* ---- 3D floating visual: layered depth cards + tilt card + orbiting ingredient chips ---- */
.hero3d-stage { position: relative; padding: 26px; perspective: 1400px; }

.hero3d-layer {
  position: absolute; inset: 26px;
  border-radius: var(--radius-lg);
  z-index: 0; pointer-events: none;
}
.hero3d-layer-a { background: var(--tag-muted-bg); transform: rotate(-6deg) translate(12px, 16px); opacity: 0.65; }
.hero3d-layer-b { background: var(--accent-light); transform: rotate(4deg) translate(-10px, -12px); opacity: 0.75; }

.hero3d-card {
  position: relative; z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transform: perspective(1400px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 34px 60px -22px rgba(59,14,26,0.28), 0 12px 26px -10px rgba(0,0,0,0.1);
  will-change: transform;
}
.hero3d-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero3d-shine {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 45%);
  pointer-events: none;
}

.hero3d-chip {
  position: absolute; z-index: 3;
  width: 62px; height: 62px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--accent-light);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  padding: 10px; box-sizing: border-box;
  animation: hero3dFloat 5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero3d-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero3d-chip:hover { transform: translateY(-8px) scale(1.1); box-shadow: var(--shadow-lg); }
.hero3d-chip-1 { top: 4px; left: 30px; animation-delay: 0s; }
.hero3d-chip-2 { top: 24%; right: 2px; animation-delay: 0.9s; }
.hero3d-chip-3 { bottom: 22%; left: 2px; animation-delay: 1.7s; }
.hero3d-chip-4 { bottom: 4px; right: 34px; animation-delay: 2.4s; }

@keyframes hero3dFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero3d-chip { animation: none; }
  .hero3d-card { transition: none; }
}

@media (max-width: 960px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .hero3d-stage { padding: 20px; }
}
@media (max-width: 600px) {
  .about-hero { padding: 48px 0 64px; }
  .about-hero-title { font-size: 32px; }
  .about-hero-tagline { font-size: 16px; }
  .about-hero-intro { font-size: 15px; }
  .hero3d-chip { width: 48px; height: 48px; padding: 8px; }
  .hero3d-chip-2, .hero3d-chip-3 { display: none; }
  .hero3d-chip-1 { left: 16px; top: 0; }
  .hero3d-chip-4 { right: 18px; bottom: 0; }
}

/* ==========================================================================
   3. What Does Socio Care Mean — central emblem + explanation list
   ========================================================================== */

.meaning-showcase {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}

/* ---- Left: soft central disc with 4 overlapping colour petals ---- */
.meaning-visual {
  position: relative;
  width: 100%; max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
  min-width: 0;
}

.meaning-disc {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76%; height: 76%; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  z-index: 1; text-align: center;
}
.meaning-disc span { font-size: 21px; font-weight: 800; letter-spacing: 0.06em; color: var(--primary); line-height: 1.3; }
.meaning-disc span:last-child { color: var(--secondary); }

.meaning-petal {
  position: absolute; transform: translate(-50%, -50%);
  width: 128px; height: 128px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}
.meaning-petal-1 { top: 15%; left: 15%; background: var(--secondary); border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%; }
.meaning-petal-2 { top: 15%; left: 85%; background: var(--primary); border-radius: 58% 42% 37% 63% / 55% 62% 38% 45%; }
.meaning-petal-3 { top: 85%; left: 15%; background: var(--secondary-light); border-radius: 63% 37% 42% 58% / 62% 45% 55% 38%; }
.meaning-petal-4 { top: 85%; left: 85%; background: var(--primary-light); border-radius: 37% 63% 58% 42% / 38% 55% 45% 62%; }
.meaning-petal:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: var(--shadow-lg); z-index: 3; }

@media (prefers-reduced-motion: no-preference) {
  .meaning-petal { animation: meaning-petal-float 7s ease-in-out infinite; }
  .meaning-petal-2 { animation-delay: 1.4s; }
  .meaning-petal-3 { animation-delay: 2.8s; }
  .meaning-petal-4 { animation-delay: 4.2s; }
}
@keyframes meaning-petal-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

/* ---- Right: stacked explanation list ---- */
.meaning-list { display: flex; flex-direction: column; min-width: 0; }
.meaning-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s ease;
}
.meaning-item:first-child { padding-top: 0; }
.meaning-item:last-child { border-bottom: none; padding-bottom: 0; }
.meaning-item:hover { padding-left: 10px; }
.meaning-item-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.meaning-item:nth-child(2) .meaning-item-icon { background: var(--primary); }
.meaning-item:nth-child(3) .meaning-item-icon { background: var(--secondary-light); }
.meaning-item:nth-child(4) .meaning-item-icon { background: var(--primary-light); }
.meaning-item:hover .meaning-item-icon { transform: scale(1.1); }
.meaning-item-body { min-width: 0; }
.meaning-item-number { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--secondary); margin-bottom: 4px; }
.meaning-item:nth-child(2) .meaning-item-number { color: var(--primary); }
.meaning-item:nth-child(3) .meaning-item-number { color: var(--secondary-light); }
.meaning-item:nth-child(4) .meaning-item-number { color: var(--primary-light); }
.meaning-item-body h3 { font-size: 19px; margin-bottom: 6px; }
.meaning-item-body p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

@media (max-width: 960px) {
  .meaning-showcase { grid-template-columns: 42fr 58fr; gap: 36px; }
  .meaning-visual { max-width: 320px; }
  .meaning-disc span { font-size: 16px; }
  .meaning-petal { width: 96px; height: 96px; }
}
@media (max-width: 700px) {
  .meaning-showcase { grid-template-columns: 1fr; gap: 52px; }
  .meaning-visual { order: -1; max-width: 280px; }
  .meaning-disc span { font-size: 14px; }
  .meaning-petal { width: 82px; height: 82px; }
  .meaning-item-body h3 { font-size: 16px; }
  .meaning-item-body p { font-size: 13px; }
}

/* ==========================================================================
   4. Our Purpose & Natural Nutrition — ingredient orbit around a central image
   ========================================================================== */

.about-purpose { position: relative; overflow: hidden; background: var(--surface); }
.about-purpose.section-pad { padding: 36px 0 44px; }
.about-purpose-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(98,169,54,0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, black 15%, transparent 72%);
}

.purpose-head.section-head { position: relative; z-index: 1; margin-bottom: clamp(24px, 3vw, 40px); }
.purpose-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.purpose-divider-line { width: 64px; height: 1px; background: var(--secondary-light); }
.purpose-divider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--secondary-light); flex-shrink: 0; }
.purpose-divider-leaf {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
}
.purpose-title { color: var(--heading-green, #1E4A2E); }
.purpose-head .section-desc { max-width: 640px; }

/* ---- Radial grid: fixed-width side columns, large center image, icons close to the rings ---- */
.purpose-composition {
  position: relative; z-index: 1; min-width: 0;
  max-width: 1180px; width: 100%; margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 6px;
  align-items: center;
}
.purpose-point-1 { grid-column: 1; grid-row: 1; }
.purpose-point-2 { grid-column: 1; grid-row: 2; }
.purpose-point-5 { grid-column: 1; grid-row: 3; }
.purpose-centerpiece { grid-column: 2; grid-row: 1 / span 3; }
.purpose-point-3 { grid-column: 3; grid-row: 1; }
.purpose-point-4 { grid-column: 3; grid-row: 2; }
.purpose-point-6 { grid-column: 3; grid-row: 3; }

.purpose-orbit-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 0;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px dashed var(--border);
  pointer-events: none;
}

/* ---- Ingredient points ---- */
.purpose-point {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: flex-start; gap: 16px;
  min-width: 0;
}
.purpose-point-1, .purpose-point-2, .purpose-point-5 { flex-direction: row-reverse; text-align: left; }
.purpose-point-body { min-width: 0; flex: 1 1 auto; }

.purpose-point-icon {
  position: relative;
  width: 92px; height: 92px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.purpose-point-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.purpose-point:hover .purpose-point-icon { transform: scale(1.06); }

/* connector stub + dot pointing from each icon toward the centerpiece */
.purpose-point-icon::before, .purpose-point-icon::after { content: ''; position: absolute; z-index: -1; }
.purpose-point-icon::before { width: 56px; height: 0; border-top: 1.5px solid var(--secondary); top: 50%; }
.purpose-point-icon::after { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); top: 50%; transform: translateY(-50%); }
.purpose-point-1 .purpose-point-icon::before, .purpose-point-2 .purpose-point-icon::before, .purpose-point-5 .purpose-point-icon::before { left: 100%; }
.purpose-point-1 .purpose-point-icon::after, .purpose-point-2 .purpose-point-icon::after, .purpose-point-5 .purpose-point-icon::after { left: calc(100% + 56px); }
.purpose-point-3 .purpose-point-icon::before, .purpose-point-4 .purpose-point-icon::before, .purpose-point-6 .purpose-point-icon::before { right: 100%; }
.purpose-point-3 .purpose-point-icon::after, .purpose-point-4 .purpose-point-icon::after, .purpose-point-6 .purpose-point-icon::after { right: calc(100% + 56px); }

.purpose-point-number { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--secondary); margin-bottom: 4px; }
.purpose-point-body h3 { font-size: 18px; font-weight: 700; margin: 0; color: var(--heading-green, #1E4A2E); text-transform: uppercase; letter-spacing: 0.02em; }
.purpose-point-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 6px 0 0; }

/* ---- Centerpiece: large, fixed, always horizontally centered ---- */
.purpose-centerpiece {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.purpose-rings { position: absolute; inset: 0; pointer-events: none; }
.purpose-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--border);
}
.purpose-ring-1 { width: 460px; height: 460px; border-color: var(--accent-light); }

.purpose-centerpiece-media {
  position: relative; z-index: 2; flex-shrink: 0;
  width: 420px; height: 420px; border-radius: 50%;
  overflow: hidden; background: #fff;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  box-sizing: border-box;
}
.purpose-centerpiece-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }

/* ---- Decorative corner leaves ---- */
.purpose-leaf-blob {
  position: absolute; z-index: 0; width: 220px; height: 220px;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(155deg, var(--accent-light), transparent 75%);
  opacity: 0.7; pointer-events: none;
}
.purpose-leaf-blob-left { bottom: -60px; left: -60px; }
.purpose-leaf-blob-right { bottom: -60px; right: -60px; transform: scaleX(-1); }

/* ---- Laptop tier: same radial structure, scaled down (image kept flex-shrink:0 safe down to ~1121px) ---- */
@media (max-width: 1330px) {
  .purpose-composition { grid-template-columns: 270px minmax(0, 1fr) 270px; column-gap: 14px; row-gap: 20px; }
  .purpose-orbit-ring { width: 720px; height: 720px; }
  .purpose-point-icon { width: 76px; height: 76px; }
  .purpose-point-icon::before { width: 20px; }
  .purpose-point-1 .purpose-point-icon::after, .purpose-point-2 .purpose-point-icon::after, .purpose-point-5 .purpose-point-icon::after { left: calc(100% + 20px); }
  .purpose-point-3 .purpose-point-icon::after, .purpose-point-4 .purpose-point-icon::after, .purpose-point-6 .purpose-point-icon::after { right: calc(100% + 20px); }
  .purpose-ring-1 { width: 560px; height: 560px; }
  .purpose-centerpiece-media { width: 350px; height: 350px; padding: 20px; }
}

/* ---- Tablet tier: same radial structure, further scaled down (image kept flex-shrink:0 safe down to ~901px) ---- */
@media (max-width: 1120px) {
  .purpose-composition { grid-template-columns: 230px minmax(0, 1fr) 230px; column-gap: 12px; row-gap: 16px; }
  .purpose-point-body h3 { font-size: 15px; }
  .purpose-point-body p { font-size: 12.5px; }
  .purpose-ring-1 { width: 440px; height: 440px; }
  .purpose-centerpiece-media { width: 230px; height: 230px; padding: 16px; }
  .purpose-orbit-ring { width: 540px; height: 540px; }
  .purpose-point-icon { width: 58px; height: 58px; }
  .purpose-point-icon::before { width: 16px; }
  .purpose-point-1 .purpose-point-icon::after, .purpose-point-2 .purpose-point-icon::after, .purpose-point-5 .purpose-point-icon::after { left: calc(100% + 16px); }
  .purpose-point-3 .purpose-point-icon::after, .purpose-point-4 .purpose-point-icon::after, .purpose-point-6 .purpose-point-icon::after { right: calc(100% + 16px); }
}

/* ---- Mobile: stacked, full-width, large center image ---- */
@media (max-width: 900px) {
  .purpose-composition {
    display: flex; flex-direction: column; align-items: center;
    gap: 36px; max-width: 420px;
  }
  .purpose-orbit-ring { display: none; }
  .purpose-centerpiece-media { width: 260px; height: 260px; padding: 14px; }
  .purpose-ring-1 { width: 220px; height: 220px; }
  .purpose-point-icon { width: 84px; height: 84px; }
  .purpose-point-icon::before, .purpose-point-icon::after { display: none; }
  .purpose-centerpiece { order: 1; }
  .purpose-point-1 { order: 2; }
  .purpose-point-2 { order: 3; }
  .purpose-point-5 { order: 4; }
  .purpose-point-3 { order: 5; }
  .purpose-point-4 { order: 6; }
  .purpose-point-6 { order: 7; }
  .purpose-point-1, .purpose-point-2, .purpose-point-5 { flex-direction: row; text-align: left; }
  .purpose-point { width: 100%; }
  .purpose-point-body h3 { font-size: 16px; }
  .purpose-point-body p { font-size: 13px; }
}

/* ==========================================================================
   5. Gallery — category-filterable photo/video grid
   ========================================================================== */

.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.gallery-filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.gallery-filter:hover { border-color: var(--secondary); color: var(--secondary); }
.gallery-filter.is-active { background: var(--secondary); border-color: var(--secondary); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative; margin: 0; min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.gallery-item.is-hidden { display: none; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

/* ==========================================================================
   6. Closing CTA — full-bleed banner (distinct from Contact page CTA)
   ========================================================================== */

.about-cta { position: relative; overflow: hidden; padding: 110px 0; }
.about-cta-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(155deg, rgba(59,14,26,0.88) 0%, rgba(44,10,22,0.93) 100%),
    radial-gradient(circle at 20% 20%, rgba(98,169,54,0.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(98,169,54,0.25), transparent 45%),
    url('/assets/img/natural-nutrition-lifestyle.jpg') center / cover no-repeat,
    var(--primary);
}
.about-cta-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.about-cta-content { position: relative; z-index: 1; text-align: center; max-width: 620px; margin: 0 auto; }
.about-cta-title { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 16px; }
.about-cta-desc { font-size: 17px; color: #CBD5E1; line-height: 1.7; margin-bottom: 32px; }
.about-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .about-cta { padding: 72px 0; }
  .about-cta-title { font-size: 30px; }
  .about-cta-desc { font-size: 15px; }
}
