/* ==================================================
   TIFFINWORLD — OUR STORY PAGE SPECIFIC STYLES
   File: assets/website/css/our-story.css
   ================================================== */

/* Page-scoped design tokens for Our Story */
:root {
  --os-green-main: #3B692A;
  --os-green-dark: #2F5421;
  --os-green-light: #E8F3E5;
  --os-orange-main: #FF7F00;
  --os-orange-dark: #E06F00;
  --os-orange-soft: #FFF3E6;
  --os-bg-light: #F8FAFC;
  --os-card-bg: #FFFFFF;
  --os-text-dark: #1E293B;
  --os-text-muted: #64748B;
  --os-border-color: #E2E8F0;
  --os-shadow-sm: 0 4px 12px rgba(59, 105, 42, 0.05);
  --os-shadow-md: 0 10px 30px rgba(59, 105, 42, 0.08);
  --os-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --os-radius-card: 20px;
  --os-radius-pill: 999px;
  --os-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & section spacing for Our Story */
.os-page-wrapper {
  color: var(--os-text-dark);
  background-color: var(--os-bg-light);
  overflow-x: hidden;
}

.os-section {
  padding: 90px 0;
  position: relative;
}

@media (max-width: 991.98px) {
  .os-section {
    padding: 60px 0;
  }
}

@media (max-width: 575.98px) {
  .os-section {
    padding: 45px 0;
  }
}

/* Badge Utilities */
.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--os-radius-pill);
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.os-badge-green {
  background-color: var(--os-green-light);
  color: var(--os-green-main);
  border: 1px solid rgba(59, 105, 42, 0.2);
}

.os-badge-orange {
  background-color: var(--os-orange-soft);
  color: var(--os-orange-main);
  border: 1px solid rgba(255, 127, 0, 0.2);
}

/* Section Header Typography */
.os-section-header {
  max-width: 760px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.os-section-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--os-green-main);
  line-height: 1.25;
  margin-bottom: 16px;
}

.os-section-subtitle {
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 1.1rem;
  color: var(--os-text-muted);
  line-height: 1.65;
}

@media (max-width: 767.98px) {
  .os-section-title {
    font-size: 2rem;
  }
  .os-section-subtitle {
    font-size: 0.98rem;
  }
}

/* ==================================================
   1. HERO SECTION
   ================================================== */
.os-hero-section {
  background: linear-gradient(135deg, #F9FBFA 0%, #EFF6EC 50%, #FFF8F0 100%);
  padding: 55px 0 50px 0;
  position: relative;
}

.os-hero-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--os-text-dark);
  margin-bottom: 16px;
}

.os-hero-title .highlight-green {
  color: var(--os-green-main);
  position: relative;
  display: inline-block;
}

.os-hero-title .highlight-orange {
  color: var(--os-orange-main);
}

.os-hero-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--os-text-muted);
  margin-bottom: 24px;
}

.os-hero-lead p {
  margin-bottom: 12px;
}

.os-hero-lead p:last-child {
  margin-bottom: 0;
}

.os-hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.os-btn-primary {
  background-color: var(--os-green-main);
  color: #FFFFFF !important;
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--os-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--os-green-main);
  box-shadow: 0 6px 16px rgba(59, 105, 42, 0.2);
  transition: var(--os-transition);
}

.os-btn-primary:hover {
  background-color: var(--os-green-dark);
  border-color: var(--os-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(59, 105, 42, 0.3);
}

.os-btn-secondary {
  background-color: transparent;
  color: var(--os-orange-main) !important;
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--os-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--os-orange-main);
  transition: var(--os-transition);
}

.os-btn-secondary:hover {
  background-color: var(--os-orange-main);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 127, 0, 0.2);
}

/* Hero Media Wrapper */
.os-hero-media {
  position: relative;
  padding: 10px;
}

.os-hero-img-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--os-shadow-lg);
  border: 5px solid #FFFFFF;
}

.os-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.os-hero-media:hover .os-hero-img {
  transform: scale(1.03);
}

/* Hero Floating Badges */
.os-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
  animation: osFloat 4s ease-in-out infinite alternate;
}

.os-floating-card-1 {
  top: 40px;
  left: -20px;
}

.os-floating-card-2 {
  bottom: 30px;
  right: -15px;
  animation-delay: 2s;
}

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

.os-float-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.os-float-icon-green {
  background-color: var(--os-green-light);
  color: var(--os-green-main);
}

.os-float-icon-orange {
  background-color: var(--os-orange-soft);
  color: var(--os-orange-main);
}

.os-float-text h5 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--os-text-dark);
}

.os-float-text p {
  font-size: 0.78rem;
  margin: 0;
  color: var(--os-text-muted);
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .os-hero-title { font-size: 2.4rem; }
  .os-hero-img { height: 380px; }
  .os-floating-card-1 { left: 0; top: 20px; }
  .os-floating-card-2 { right: 0; bottom: 20px; }
}

@media (max-width: 575.98px) {
  .os-hero-section { padding: 60px 0 40px 0; }
  .os-hero-title { font-size: 1.95rem; }
  .os-hero-lead { font-size: 0.98rem; }
  .os-hero-img { height: 280px; }
  .os-floating-card { padding: 10px 14px; gap: 10px; }
  .os-float-icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .os-float-text h5 { font-size: 0.9rem; }
  .os-float-text p { font-size: 0.72rem; }
}

/* ==================================================
   2. THE PROBLEM SECTION
   ================================================== */
.os-problem-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--os-border-color);
  border-bottom: 1px solid var(--os-border-color);
}

.os-problem-card {
  background: var(--os-bg-light);
  border: 1px solid var(--os-border-color);
  border-radius: var(--os-radius-card);
  padding: 32px 28px;
  height: 100%;
  transition: var(--os-transition);
  position: relative;
  overflow: hidden;
}

.os-problem-card:hover {
  transform: translateY(-6px);
  background: #FFFFFF;
  box-shadow: var(--os-shadow-md);
  border-color: rgba(255, 127, 0, 0.3);
}

.os-problem-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: var(--os-orange-soft);
  color: var(--os-orange-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.os-problem-card-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--os-text-dark);
  margin-bottom: 12px;
}

.os-problem-card-desc {
  font-size: 0.95rem;
  color: var(--os-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Insight Banner & Impact Box */
.os-insight-box {
  background: linear-gradient(135deg, #FFF6ED 0%, #FFEEE0 100%);
  border: 1px solid rgba(255, 127, 0, 0.3);
  border-radius: var(--os-radius-card);
  padding: 28px 36px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.os-insight-icon {
  font-size: 2.4rem;
  color: var(--os-orange-main);
  flex-shrink: 0;
}

.os-insight-content h4 {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--os-orange-dark);
  margin-bottom: 6px;
}

.os-insight-content p {
  font-size: 0.98rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

.os-impact-grid {
  margin-top: 35px;
}

.os-impact-card {
  background: #FFF5F5;
  border: 1px dashed #FCA5A5;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.os-impact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FEE2E2;
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.os-impact-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #991B1B;
  margin: 0 0 4px 0;
}

.os-impact-text p {
  font-size: 0.88rem;
  color: #7F1D1D;
  margin: 0;
}

@media (max-width: 767.98px) {
  .os-insight-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

/* ==================================================
   3. OUR MISSION & VISION SECTION
   ================================================== */
.os-mission-vision-section {
  background-color: var(--os-bg-light);
}

.os-mv-card {
  background-color: #FFFFFF;
  border-radius: var(--os-radius-card);
  padding: 44px 38px;
  height: 100%;
  box-shadow: var(--os-shadow-sm);
  border: 1px solid var(--os-border-color);
  transition: var(--os-transition);
  position: relative;
}

.os-mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--os-shadow-md);
}

.os-mv-card.mission-theme {
  border-top: 5px solid var(--os-green-main);
}

.os-mv-card.vision-theme {
  border-top: 5px solid var(--os-orange-main);
}

.os-mv-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.os-mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.mission-theme .os-mv-icon {
  background-color: var(--os-green-light);
  color: var(--os-green-main);
}

.vision-theme .os-mv-icon {
  background-color: var(--os-orange-soft);
  color: var(--os-orange-main);
}

.os-mv-tag {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.mission-theme .os-mv-tag { color: var(--os-green-main); }
.vision-theme .os-mv-tag { color: var(--os-orange-main); }

.os-mv-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--os-text-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.os-mv-description {
  font-size: 1rem;
  color: var(--os-text-muted);
  line-height: 1.68;
  margin-bottom: 28px;
}

.os-mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.os-mv-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--os-text-dark);
  line-height: 1.5;
}

.os-mv-list li i {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.mission-theme .os-mv-list li i { color: var(--os-green-main); }
.vision-theme .os-mv-list li i { color: var(--os-orange-main); }

@media (max-width: 767.98px) {
  .os-mv-card { padding: 28px 22px; }
  .os-mv-title { font-size: 1.35rem; }
}

/* ==================================================
   4. HOW WE'RE SOLVING THIS (HOW IT WORKS)
   ================================================== */
.os-how-section {
  background-color: #FFFFFF;
}

.os-step-card {
  background-color: var(--os-bg-light);
  border: 1px solid var(--os-border-color);
  border-radius: var(--os-radius-card);
  padding: 32px 26px;
  height: 100%;
  position: relative;
  transition: var(--os-transition);
}

.os-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--os-shadow-md);
  border-color: var(--os-green-main);
  background-color: #FFFFFF;
}

.os-step-number {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(59, 105, 42, 0.15);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
  transition: var(--os-transition);
}

.os-step-card:hover .os-step-number {
  color: var(--os-green-main);
}

.os-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--os-green-light);
  color: var(--os-green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.os-step-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--os-text-dark);
  margin-bottom: 10px;
}

.os-step-desc {
  font-size: 0.92rem;
  color: var(--os-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Solution Summary Banner */
.os-solution-summary {
  background: linear-gradient(135deg, var(--os-green-main) 0%, var(--os-green-dark) 100%);
  border-radius: var(--os-radius-card);
  padding: 36px 40px;
  color: #FFFFFF;
  margin-top: 50px;
  box-shadow: 0 15px 30px rgba(59, 105, 42, 0.2);
}

.os-solution-summary h4 {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.os-solution-summary p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 767.98px) {
  .os-solution-summary {
    padding: 24px;
    text-align: center;
  }
}

/* ==================================================
   5. WHAT MAKES TIFFINWORLD DIFFERENT
   ================================================== */
.os-diff-section {
  background-color: var(--os-bg-light);
}

.os-diff-card {
  background: #FFFFFF;
  border: 1px solid var(--os-border-color);
  border-radius: var(--os-radius-card);
  padding: 32px 28px;
  height: 100%;
  transition: var(--os-transition);
}

.os-diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--os-shadow-md);
  border-color: var(--os-orange-main);
}

.os-diff-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-color: var(--os-orange-soft);
  color: var(--os-orange-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.os-diff-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--os-text-dark);
  margin-bottom: 10px;
}

.os-diff-desc {
  font-size: 0.92rem;
  color: var(--os-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==================================================
   6. FOR VENDORS & FOR CUSTOMERS (DUAL AUDIENCE)
   ================================================== */
.os-audience-section {
  background-color: #FFFFFF;
}

.os-aud-card {
  border-radius: var(--os-radius-card);
  padding: 44px 38px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--os-transition);
}

.os-aud-card.vendor-card {
  background: linear-gradient(135deg, #FFF9F2 0%, #FFF2E0 100%);
  border: 2px solid rgba(255, 127, 0, 0.2);
}

.os-aud-card.customer-card {
  background: linear-gradient(135deg, #F4F9F2 0%, #E6F3E2 100%);
  border: 2px solid rgba(59, 105, 42, 0.2);
}

.os-aud-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--os-shadow-md);
}

.os-aud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--os-radius-pill);
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.vendor-card .os-aud-badge {
  background-color: #FFE0B2;
  color: #E65100;
}

.customer-card .os-aud-badge {
  background-color: #C8E6C9;
  color: #1B5E20;
}

.os-aud-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--os-text-dark);
  margin-bottom: 12px;
}

.os-aud-subtitle {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 28px;
}

.os-aud-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.os-aud-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.55;
}

.os-aud-list li i {
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.vendor-card .os-aud-list li i { color: var(--os-orange-main); }
.customer-card .os-aud-list li i { color: var(--os-green-main); }

@media (max-width: 767.98px) {
  .os-aud-card { padding: 28px 22px; }
  .os-aud-title { font-size: 1.45rem; }
}

/* ==================================================
   7. OUR PROMISE & FINAL CTA
   ================================================== */
.os-promise-section {
  background-color: var(--os-bg-light);
}

.os-promise-banner {
  background: linear-gradient(135deg, #1E3A1E 0%, #3B692A 60%, #2F5421 100%);
  border-radius: 30px;
  padding: 60px 48px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--os-shadow-lg);
}

.os-promise-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 127, 0, 0.25) 0%, rgba(255, 127, 0, 0) 70%);
  pointer-events: none;
}

.os-promise-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFB74D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.os-promise-icon i {
  color: #FFB74D;
  font-size: 2.2rem;
  line-height: 1;
  display: inline-block;
}

.os-promise-title {
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.os-promise-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  max-width: 840px;
  margin: 0 auto 36px auto;
  font-style: italic;
}

.os-promise-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.os-btn-white {
  background-color: #FFFFFF;
  color: var(--os-green-dark) !important;
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: var(--os-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--os-transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.os-btn-white:hover {
  background-color: var(--os-orange-soft);
  color: var(--os-orange-dark) !important;
  transform: translateY(-2px);
}

.os-btn-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  font-family: var(--font-heading, "Epilogue", sans-serif);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: var(--os-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: var(--os-transition);
}

.os-btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .os-promise-banner {
    padding: 36px 20px;
    border-radius: 20px;
  }
  .os-promise-title {
    font-size: 1.65rem;
  }
  .os-promise-text {
    font-size: 0.98rem;
  }
}
