/* Main Layout - Always Centered */
.main-layout {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section 1: Our Story (fixed size container) */
.main-section {
    width: 1359px;
    height: 1210px;
    background: #ffffff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    overflow: hidden;
    padding: 80px 60px;
    margin: 80px 0;
}

.section-title {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 48px;
    text-align: center;
    margin-bottom: 80px;
}

.panels-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 100px;
}

.panel {
    width: 340px;
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.panel-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
}

.panel h3 {
    font-family: 'Livvic', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 20px 0 15px;
}

.panel p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

.icon-box {
    width: 76px;
    height: 76px;
    background: #ff6900;
    border-radius: 20px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 42px;
}

.mission-panel{
    margin-top: 100px;
}

.core-values {
    width: 1282px;
    height: 393px;
    background: linear-gradient(90deg, #0f3dde, #ff6900);
    border-radius: 30px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.core-values h2 {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 38px;
    margin-bottom: 15px;
}

.core-values p {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 50px;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.value-card {
    width: 200px;
    background: rgba(255,255,255,0.15);
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.value-icon {
    width: 76px;
    height: 76px;
    background: rgba(255,255,255,0.25);
    border-radius: 20px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 40px;
    filter: brightness(0) invert(1);
}

.value-card h4 {
    font-family: 'Livvic', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

/* Section 2: Why We Exist - Inside main-layout */
.why-section {
    width: 1359px;
    max-width: 100%;
    margin: 50px 0;
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.why-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.why-image img {
    min-width: 300px;
    /* width: 100%;
    max-width: 450px;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); */
}

.shape {
    position: absolute;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, #fb2c36, #9c27b0);
    border-radius: 50% 50% 50% 0;
    top: 50px;
    left: -50px;
    z-index: -1;
    transform: rotate(-20deg);
}

.why-content {
    flex: 1.5;
    min-width: 600px;
}

.why-title {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 42px;
    text-align: center;
    margin-bottom: 12px;
}

.why-subtitle {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

.columns {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.column {
    width: 50%;
    background: #fff;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.problem-column { border: 3px solid #ffe2e2; }
.solution-column { border: 3px solid #cef17a; }

.column-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.problem-icon { background: #fb2c36; }
.solution-icon { background: #cef17a; }

.column-icon img { width: 32px; }

.column h3 {
    font-family: 'Livvic', sans-serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
}

.check-list li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    padding-left: 32px;
    position: relative;
    color: #444;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-size: 22px;
    font-weight: bold;
}

.problem-list li::before { color: #fb2c36; }
.solution-list li::before { color: #cef17a; }

.commitment {
    width: 1226px;
    max-width: 100%;
    height: 210px;
    margin: 10px 0;
    background: linear-gradient(90deg, #0f3dde, #ff7b72);
    border-radius: 24px;
    padding: 32px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.commitment h2 {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 42px;
    margin-bottom: 10px;
    text-align: left;
}

.commitment p {
    font-size: 24px;
    line-height: 1.6;
    max-width: 920px;
    /* margin: 0 auto; */
    opacity: 0.95;
    text-align: left;;
}

/* Decorative background image (right side) */
.commitment-bg {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    opacity: 0.25;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.main-layout {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* What We Do Section */
.what-we-do {
    width: 1359px;
    max-width: 100%;
    margin: 140px 0;
    padding: 20px 20px;
    background: #f5f5f5;
    border-radius: 30px;
    display: flex;
    align-items: center;
    /* gap: 100px; */
    flex-wrap: wrap;
}

.what-image {
    flex: 1;
    min-width: 320px;
    position: relative;
}

/* .what-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
} */

.circle-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, #cea3ff, #9c7bff);
    border-radius: 50%;
    top: 50px;
    left: -60px;
    z-index: -1;
}

.what-content {
    flex: 1.5;
    min-width: 600px;
}

.what-header {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.what-title {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 42px;
}

.spark-icon {
    position: absolute;
    top: -30px;
    right: -70px;
    width: 50px;
}

.what-intro {
    font-size: 20px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #ffffff;            
    border-radius: 40px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-orange { background: #faa74a; }
.icon-blue   { background: #0f3dde; }

.feature-icon img { width: 28px; }

.feature-text h3 {
    font-family: 'Livvic', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* Our Journey Section */
.journey {
    width: 1359px;
    max-width: 100%;
    margin: 140px 0;
    text-align: center;
}

.journey-intro {
    margin-bottom: 100px;
    position: relative;
}

.journey-title {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    color: #1e293b;
}

.journey-title span {
    color: #ff7b72;
}

.journey-subtitle {
    font-size: 22px;
    color: #4a5568;
    margin-top: 20px;
    line-height: 1.6;
}

.star-deco {
    position: absolute;
    top: 32px;
    right: 24%;
    width: 100px;
}

/* Founders Layout */
.founders {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.founders-top {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.founders-bottom {
    display: flex;
    justify-content: center;
}

.founder {
    background: #fff;
    border-radius: 37px;
    padding: 80px 40px 40px;
    box-shadow: 2px 2px 20px rgba(0,0,0,0.25);
    width: 420px;
    position: relative;
    text-align: center;
}

.founder-icon {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-icon img {
    /* width: 60px; */
}

.founder-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
}

.founder h3 {
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #1e293b;
    margin-bottom: 20px;
}

.founder p {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
}

.sprout-img {
    width: 120px;
    margin-top: 30px;
}

/* ==================================
   MOBILE FRIENDLY OVERRIDES
   (NON-BREAKING PATCH)
================================== */

/* ---------- Tablets & below ---------- */
@media (max-width: 1024px) {

  /* Remove fixed heights */
  .main-section,
  .core-values,
  .commitment {
    height: auto;
  }

  /* Normalize large fixed widths */
  .main-section,
  .why-section,
  .what-we-do,
  .journey {
    width: 100%;
  }

  /* Stack horizontal layouts */
  .panels-row,
  .columns,
  .founders-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .panel,
  .column,
  .founder {
    width: 100%;
    max-width: 520px;
  }

  /* Images stay inside container */
  .why-image img,
  .what-image img {
    max-width: 100%;
    height: auto;
  }

  /* Banner/Story Section - Tablet Adjustments (like mobile) */
  .main-section {
    padding: 60px 40px;
    margin: 60px 0;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 60px;
  }

  .panels-row {
    gap: 40px;
    margin-bottom: 80px;
  }

  .panel {
    padding: 30px;
    max-width: 100%;
  }

  .panel-img {
    width: 180px;
    height: 180px;
  }

  .panel h3 {
    font-size: 24px;
  }

  .panel p {
    font-size: 16px;
  }

  .icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .icon-box img {
    width: 36px;
  }

  .mission-panel {
    margin-top: 80px;
  }

  .core-values {
    padding: 50px 30px;
  }

  .core-values h2 {
    font-size: 32px;
  }

  .core-values p {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .values-grid {
    gap: 40px;
  }

  .value-card {
    width: 180px;
    padding: 25px 16px;
  }

  .value-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .value-icon img {
    width: 36px;
  }

  .value-card h4 {
    font-size: 18px;
  }
}


/* =========================================
   FINAL MOBILE HARD OVERRIDES
   (DO NOT REMOVE – FIXES ALL ISSUES)
========================================= */

@media (max-width: 768px) {

  /* 1️⃣ Force everything fluid */
  *,
  *::before,
  *::after {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 2️⃣ Remove ALL fixed widths & heights */
  .main-section,
  .why-section,
  .core-values,
  .commitment,
  .what-we-do,
  .journey {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
  }

  /* 3️⃣ Stack all horizontal flex layouts */
  .panels-row,
  .columns,
  .values-grid,
  .features-grid,
  .founders-top,
  .founders-bottom {
    flex-direction: column !important;
    align-items: center;
    gap: 32px;
  }

  /* 4️⃣ Reset content blocks */
  .panel,
  .column,
  .value-card,
  .feature,
  .founder {
    width: 100% !important;
    max-width: 100%;
  }

  /* 5️⃣ Kill decorative absolute elements */
  .shape,
  .circle-bg,
  .commitment-bg,
  .star-deco {
    display: none !important;
  }

  /* 6️⃣ Typography scaling */
  .section-title,
  .why-title,
  .what-title,
  .journey-title {
    font-size: 28px !important;
    line-height: 1.3;
  }

  .why-subtitle,
  .what-intro,
  .journey-subtitle,
  .panel p,
  .feature-text p,
  .founder p,
  .commitment p {
    font-size: 16px !important;
  }

  /* 7️⃣ Normalize padding */
  .main-section,
  .core-values,
  .commitment,
  .what-we-do,
  .journey {
    padding: 40px 16px !important;
    margin: 60px 0 !important;
  }

  /* 8️⃣ Center commitment text */
  .commitment h2,
  .commitment p {
    text-align: center;
  }
}

/* Extra small phones */


/* Extra small phones */
@media (max-width: 480px) {

  .section-title,
  .journey-title {
    font-size: 26px;
  }

  .commitment h2 {
    font-size: 28px;
  }

  .main-section,
  .core-values,
  .commitment,
  .what-we-do,
  .journey {
    padding: 40px 16px;
    margin: 60px 0;
  }
}




/* ===============================
   WHY WE EXIST – BASE (DESKTOP)
================================ */

.why-section {
  width: 1359px;
  max-width: 100%;
  margin: 50px auto;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
}

.why-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

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

.why-content {
  flex: 1.5;
  min-width: 600px;
}

.why-title {
  font-family: 'Livvic', sans-serif;
  font-weight: 600;
  font-size: 42px;
  text-align: center;
  margin-bottom: 12px;
}

.why-subtitle {
  font-size: 20px;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
}

/* ===============================
   WHY WE EXIST – MOBILE FIX
   (NON-BREAKING)
================================ */

@media (max-width: 768px) {

  /* Allow section to flow naturally */
  .why-section {
    flex-wrap: wrap;
    gap: 48px;
    height: auto;
    overflow: visible;
  }

  /* Remove desktop min-width traps */
  .why-content {
    min-width: unset;
    width: 100%;
  }

  /* Keep image contained */
  .why-image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* Align text like desktop intent */
  .why-title,
  .why-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===============================
   WHY WE EXIST – SMALL PHONES
================================ */

@media (max-width: 480px) {

  .why-section {
    gap: 32px;
  }

  .why-title {
    font-size: 28px;
  }

  .why-subtitle {
    font-size: 16px;
  }
}


/* ===============================
   WHAT WE DO – BASE (DESKTOP)
================================ */

.what-we-do {
  width: 1359px;
  max-width: 100%;
  margin: 140px auto;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.what-image {
  flex: 1;
  min-width: 320px;
  position: relative;
}

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

.circle-bg {
  position: absolute;
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #cea3ff, #9c7bff);
  border-radius: 50%;
  top: 50px;
  left: -60px;
  z-index: -1;
}

.what-content {
  flex: 1.5;
  min-width: 600px;
}

.what-header {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.what-title {
  font-family: 'Livvic', sans-serif;
  font-weight: 600;
  font-size: 42px;
}

.what-intro {
  font-size: 20px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 40px;
}

/* ===============================
   WHAT WE DO – MOBILE FIX
   (NON-BREAKING)
================================ */

@media (max-width: 768px) {

  /* Allow natural stacking */
  .what-we-do {
    gap: 48px;
    height: auto;
  }

  /* Kill desktop min-width trap */
  .what-content {
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  /* Contain image */
  .what-image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* Collapse grid safely */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Hide decorative circle on mobile */
  .circle-bg {
    display: none;
  }

  /* Text alignment */
  .what-title,
  .what-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===============================
   WHAT WE DO – SMALL PHONES
================================ */

@media (max-width: 480px) {

  .what-we-do {
    padding: 40px 16px;
    margin: 80px 0;
  }

  .what-title {
    font-size: 28px;
  }

  .what-intro {
    font-size: 16px;
  }
}

/* =====================================
   FIX what-image IMAGE ALIGNMENT
===================================== */

@media (max-width: 768px) {

  .what-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .what-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

/* Small phones */
@media (max-width: 480px) {

  .what-image img {
    max-width: 90%;
  }
}




/* =====================================
   FOUNDER ICON – LOCK DESKTOP POSITION
===================================== */

/* Base (desktop reference) */
.founder {
  position: relative;
}

.founder-icon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  z-index: 10;
}

/* Tablet & Mobile — SAME AS DESKTOP */
@media (max-width: 1024px) {
  .founder {
    padding-top: 80px; /* reserve space like desktop */
  }

  .founder-icon {
    top: -50px;       /* DO NOT CHANGE */
    width: 100px;
    height: 100px;
  }
}

/* Small phones — proportional but SAME POSITION */
@media (max-width: 480px) {
  .founder {
    padding-top: 70px;
  }

  .founder-icon {
    top: -45px;      
    width: 90px;
    height: 90px;
  }
}


/* =========================================================
   TABLET ALIGNMENT FIX
   Fixes Banner + Our Core Values misalignment
   (768px – 1024px ONLY)
   DOES NOT AFFECT DESKTOP OR MOBILE
========================================================= */

@media (max-width: 1024px) {

  /* Match banner width with main layout rhythm */
  .banner-slider {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* Remove fixed-width trap from Core Values */
  .core-values {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Ensure title + subtitle alignment */
  .core-values h2,
  .core-values p {
    text-align: center;
  }
}



/* =====================================================
   MOBILE FIX – SCALE LIGHT / DECORATIVE PNGs
   (ONLY MOBILE, NON-BREAKING)
===================================================== */

@media (max-width: 768px) {

  /* Common light / decorative icons */
  .light,
  .light-icon,
  .light-img,
  .decorative-light,
  .panel-light,
  .card-light {
    width: 72px !important;
    height: 72px !important;
    opacity: 0.9;
  }

  /* If they are absolutely positioned */
  .light,
  .light-icon,
  .decorative-light {
    transform: scale(1.4);
    transform-origin: center;
  }
}

/* Extra small phones */
@media (max-width: 480px) {

  .light,
  .light-icon,
  .light-img,
  .decorative-light,
  .panel-light,
  .card-light {
    width: 88px !important;
    height: 88px !important;
  }

  .light,
  .light-icon,
  .decorative-light {
    transform: scale(1.6);
  }
}




