/* ==========================================================================
   KALPITIYA KITESURF ACADEMY — ABOUT PAGE STYLES (`css/about.css`)
   Brand System: LIGHT • WHITE • OCEAN BLUE • GLASS • WATER • HUMAN & TRUST
   ========================================================================== */

/* Import Core Brand Tokens & System */
@import url('index.css');

/* --------------------------------------------------------------------------
   1. PERSONAL ABOUT HERO (UPPER HALF - UNTOUCHED)
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  min-height: 80vh;
  padding-top: calc(var(--nav-height) + 30px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-pearl);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.about-hero-photo-box {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(8, 44, 61, 0.1);
  border: 1px solid var(--glass-border);
}

.about-hero-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--glass-shadow);
}

/* --------------------------------------------------------------------------
   2. OUR STORY (UPPER HALF - UNTOUCHED)
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-img-box {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.story-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   3. OUR PHILOSOPHY (UPPER HALF - UNTOUCHED)
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}

.philosophy-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--glass-shadow);
  position: relative;
  transition: transform var(--transition-normal);
}

.philosophy-card:hover {
  transform: translateY(-6px);
}

.philosophy-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ocean-muted);
  margin-bottom: 12px;
}

.philosophy-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   4. MEET THE TEAM (UPPER HALF - UNTOUCHED)
   -------------------------------------------------------------------------- */
.team-members-wrapper {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 50px;
}

.team-member-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.team-member-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.team-portrait-box {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.team-portrait-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--ocean-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.team-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 24px;
  font-size: 0.9rem;
  color: var(--navy-deep);
}

/* --------------------------------------------------------------------------
   5. WHY TRAIN WITH US (UPPER HALF - UNTOUCHED)
   -------------------------------------------------------------------------- */
.why-train-container {
  position: relative;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  margin-top: 48px;
}

.why-train-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.why-train-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.why-train-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}

.why-train-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}


/* ==========================================================================
   REDESIGNED LOWER HALF (OUR HOME DOWNWARDS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   6. OUR HOME — KALPITIYA (Redesigned Lagoon & Floating Glass Strip)
   -------------------------------------------------------------------------- */
.our-home-section {
  position: relative;
  padding: 100px 0 140px;
  background: linear-gradient(180deg, var(--bg-pearl) 0%, var(--bg-water-light) 100%);
  overflow: hidden;
}

.lagoon-editorial-box {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 44, 61, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.lagoon-editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow);
}

.lagoon-editorial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 44, 61, 0.4) 0%, rgba(8, 44, 61, 0.15) 50%, rgba(8, 44, 61, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px;
}

.lagoon-editorial-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--white);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
}

.lagoon-editorial-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 580px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Integrated Floating 4-Fact Glass Strip Overlapping Lagoon Image */
.glass-fact-strip {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), 0 20px 50px rgba(8, 44, 61, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 20px;
}

.fact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(8, 44, 61, 0.12);
}

.fact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.fact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua-accent);
}

.fact-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--navy-deep);
  text-transform: uppercase;
}

.fact-sub {
  font-size: 0.88rem;
  color: rgba(8, 44, 61, 0.75);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   7. ACADEMY EXPERIENCE (Flowing 6-Stage Journey with SVG Water Line)
   -------------------------------------------------------------------------- */
.experience-journey-section {
  padding: 100px 0;
  background: var(--bg-water-light);
  position: relative;
}

.seq-flow-wrapper {
  position: relative;
  margin-top: 54px;
}

.seq-svg-line {
  position: absolute;
  top: 45px;
  left: 3%;
  width: 94%;
  height: 50px;
  z-index: 1;
  pointer-events: none;
}

.seq-grid-responsive {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.seq-stage-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.seq-stage-card:hover {
  transform: translateY(-6px);
  border-color: var(--aqua-accent);
}

.seq-circle-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(8, 44, 61, 0.15);
}

.seq-stage-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.seq-stage-desc {
  font-size: 0.78rem;
  color: rgba(8, 44, 61, 0.7);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. VALUES (Oversized Typography Section)
   -------------------------------------------------------------------------- */
.values-editorial-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-water-light) 0%, var(--bg-pearl) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.values-flex-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.value-word-styled {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
  transition: all 0.6s var(--ease-fluid);
}

.value-word-solid {
  color: var(--navy-deep);
  opacity: 0.88;
}

.value-word-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--navy-deep);
  opacity: 0.45;
}

.value-word-aqua {
  color: var(--ocean-muted);
  opacity: 0.9;
}

.value-word-styled:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   9. HUMAN QUOTE & APPROACH BLOCK
   -------------------------------------------------------------------------- */
.quote-editorial-section {
  padding: 100px 0;
  background: var(--bg-pearl);
}

.editorial-quote-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.editorial-quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--aqua-accent);
  opacity: 0.5;
  margin-bottom: -20px;
}

.editorial-quote-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--navy-deep);
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   10. LOCATION & CONTACT UNIFIED GLASS STRIP
   -------------------------------------------------------------------------- */
.location-contact-section {
  padding: 100px 0;
  background: var(--bg-pearl);
}

.location-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.map-frosted-frame {
  position: relative;
  height: 320px;
  background: rgba(231, 245, 247, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glass-shadow);
}

.contact-unified-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

/* --------------------------------------------------------------------------
   11. FINAL CTA (Ocean Backdrop & Approved Water/Glass Buttons)
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 100px 0;
}

.final-cta-box {
  position: relative;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 84px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(8, 44, 61, 0.15);
}

.final-cta-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   12. LIGHT / ICE-BLUE COASTAL GLASS FOOTER
   -------------------------------------------------------------------------- */
.footer-coastal {
  background: linear-gradient(180deg, var(--bg-water-light) 0%, rgba(231, 245, 247, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--navy-deep);
  padding: 80px 0 32px;
  position: relative;
}

.footer-coastal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-coastal-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: transparent;
  margin-bottom: 20px;
}

.footer-coastal-desc {
  font-size: 0.92rem;
  color: rgba(8, 44, 61, 0.78);
  max-width: 320px;
  line-height: 1.6;
}

.footer-coastal-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy-deep);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-coastal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-coastal-link {
  font-size: 0.92rem;
  color: rgba(8, 44, 61, 0.75);
  transition: color var(--transition-fast);
}

.footer-coastal-link:hover {
  color: var(--ocean-muted);
}

.footer-coastal-bottom {
  border-top: 1px solid rgba(8, 44, 61, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(8, 44, 61, 0.65);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS FOR ABOUT PAGE (DOWN TO 360PX)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .team-member-row, .team-member-row.reverse {
    grid-template-columns: 1fr;
  }
  .team-portrait-box {
    height: 360px;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .why-train-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .glass-fact-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }
  .fact-item:nth-child(2)::after {
    display: none;
  }
  .seq-grid-responsive {
    grid-template-columns: repeat(3, 1fr);
  }
  .seq-svg-line {
    display: none;
  }
  .location-contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-coastal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .why-train-grid {
    grid-template-columns: 1fr;
  }
  .glass-fact-strip {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    margin-top: 20px;
  }
  .fact-item::after {
    display: none !important;
  }
  .seq-grid-responsive {
    grid-template-columns: 1fr;
  }
  .footer-coastal-grid {
    grid-template-columns: 1fr;
  }
  .editorial-quote-card {
    padding: 36px 20px;
  }
  .about-hero-glass-panel {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .value-word-styled {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }
  .team-info-glass {
    padding: 28px 20px;
  }
  .lagoon-editorial-box {
    height: 380px;
  }
  .lagoon-editorial-overlay {
    padding: 24px 20px;
  }
}
