/* ========================================
   Kaivalya Learning Frameworks
   Culture Memo Design System
   Watercolor Waves UI
   ======================================== */

/* CSS Variables */
@font-face {
  font-family: 'MohrAlt';
  src: url('../fonts/MohrRoundedAlt-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AGaramondPro';
  src: url('../fonts/AGaramondPro/AGaramondPro-Regular.otf') format('otf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Regular.otf') format('otf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cream/Linen Background Palette */
  --color-background: hsl(40, 30%, 96%);
  --color-foreground: hsl(200, 15%, 20%);
  
  /* Card Colors */
  --color-card: hsl(40, 25%, 98%);
  --color-card-foreground: hsl(200, 15%, 20%);
  
  /* Teal/Turquoise Primary */
  --color-primary: hsl(180, 35%, 45%);
  --color-primary-light: hsl(180, 35%, 55%);
  --color-primary-dark: hsl(180, 35%, 35%);
  --color-primary-foreground: hsl(40, 30%, 98%);
  
  /* Light Teal Secondary */
  --color-secondary: hsl(180, 25%, 90%);
  --color-secondary-foreground: hsl(180, 35%, 30%);
  
  /* Deep Red Accent (from logo) */
  --color-accent: hsl(0, 75%, 40%);
  --color-accent-light: hsl(0, 70%, 50%);
  --color-accent-foreground: hsl(40, 30%, 98%);
  
  /* Muted Tones */
  --color-muted: hsl(200, 10%, 45%);
  --color-border: hsl(40, 20%, 88%);
  --color-cream: hsl(40, 40%, 97%);
  
  /* Teal Wave Colors - Layered */
  --wave-teal-1: hsl(180, 45%, 78%);
  --wave-teal-2: hsl(182, 48%, 60%);
  --wave-teal-3: hsl(188, 50%, 48%);
  --wave-teal-4: hsl(195, 60%, 32%);
  
  /* Typography */
  --font-serif: 'AGaramondPro','Playfair Display', Georgia, serif;
  --font-body: 'Open Sans';/*,'Lora', Georgia, serif;*/
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 96px;
  --section-padding-mobile: 64px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-foreground);
  /*background-color: var(--color-background);*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('/wp-content/uploads/2026/02/KLF-web-bg.png');
  /* Handmade paper texture */
  /*background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.03'%3E%3Cpath fill='%23a08060' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/g%3E%3C/svg%3E");*/
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-logo-wrapper img {
    max-width: 310px;
}

/* Section Base */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
  .hero-tagline {
        width: 80% !important;
    }
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
  color: var(--color-foreground);
}

.section-title-lg {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  color: var(--color-foreground);
  line-height: 1.15;
}

.section-description {
  font-size: 1.125rem;
  /*color: var(--color-muted);*/
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-highlight {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: hsla(180, 35%, 45%, 0.3);
  text-underline-offset: 4px;
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.decorative-blob--top-right {
  top: 80px;
  right: 0;
  width: 256px;
  height: 256px;
  background: hsla(180, 35%, 45%, 0.05);
}

.decorative-blob--bottom-left {
  bottom: 80px;
  left: 0;
  width: 320px;
  height: 320px;
  background: hsla(180, 35%, 45%, 0.03);
}

.decorative-blob--team-right {
  top: 25%;
  right: 0;
  width: 288px;
  height: 288px;
  background: hsla(180, 35%, 45%, 0.05);
}

.decorative-blob--team-left {
  bottom: 25%;
  left: 0;
  width: 224px;
  height: 224px;
  background: hsla(0, 75%, 40%, 0.05);
}

.decorative-blob--contact-right {
  bottom: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: hsla(180, 35%, 45%, 0.05);
}

.decorative-blob--contact-left {
  top: 0;
  left: 0;
  width: 224px;
  height: 224px;
  background: hsla(0, 75%, 40%, 0.05);
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid hsla(180, 35%, 45%, 0.15);
  pointer-events: none;
}

.decorative-circle--1 {
  top: 80px;
  left: 80px;
  width: 160px;
  height: 160px;
  opacity: 0.3;
}

.decorative-circle--2 {
  bottom: 160px;
  right: 80px;
  width: 240px;
  height: 240px;
  opacity: 0.3;
}

.decorative-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(180, 35%, 45%, 0.3), transparent);
}

/* ========================================
   Navigation
   ======================================== */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition-normal);
}

.navigation.scrolled {
  background: hsla(40, 30%, 96%, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-foreground);
  letter-spacing: 0.02em;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-foreground);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--color-foreground);
  position: relative;
  display: block;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-foreground);
  left: 0;
  transition: transform var(--transition-fast);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background: hsla(40, 30%, 96%, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--color-foreground);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 180px 24px 60px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  position: relative;
  display: inline-block;
}

.hero-logo-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-foreground);
  letter-spacing: 0.02em;
}

.hero-logo-dot {
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  right: -16px;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.hero-logo-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-muted);
  margin-top: 4px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;    margin-top: 42px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-foreground);width: 45%;
}

.scroll-indicator {
  margin-top: 64px;
  color: var(--color-primary);
  animation: bounce 2s infinite;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--color-accent);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Watercolor Waves - Animated Layers */
.watercolor-waves {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.watercolor-waves--hero {
  height: 256px;
}

@media (min-width: 768px) {
  .watercolor-waves--hero {
    height: 320px;
  }
}

.watercolor-waves .wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
}

/* Wave Layer 1 - Lightest */
.watercolor-waves .wave-1 {
  background: linear-gradient(180deg, transparent 0%, hsla(180, 45%, 78%, 0.5) 30%, hsla(180, 50%, 70%, 0.7) 100%);
  clip-path: polygon(0% 45%, 15% 35%, 30% 50%, 45% 40%, 60% 55%, 75% 42%, 90% 52%, 100% 40%, 100% 100%, 0% 100%);
  animation: wave1 8s ease-in-out infinite alternate;
}

/* Wave Layer 2 - Medium */
.watercolor-waves .wave-2 {
  background: linear-gradient(180deg, transparent 0%, hsla(182, 48%, 60%, 0.6) 25%, hsla(185, 52%, 52%, 0.8) 100%);
  clip-path: polygon(0% 55%, 12% 48%, 28% 60%, 42% 50%, 58% 62%, 72% 52%, 88% 58%, 100% 50%, 100% 100%, 0% 100%);
  animation: wave2 6s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

/* Wave Layer 3 - Deeper */
.watercolor-waves .wave-3 {
  background: linear-gradient(180deg, transparent 0%, hsla(188, 50%, 48%, 0.7) 20%, hsla(190, 55%, 42%, 0.85) 100%);
  clip-path: polygon(0% 65%, 10% 58%, 25% 68%, 40% 60%, 55% 70%, 70% 62%, 85% 68%, 100% 60%, 100% 100%, 0% 100%);
  animation: wave3 7s ease-in-out infinite alternate;
  animation-delay: 1s;
}

/* Wave Layer 4 - Deepest */
.watercolor-waves .wave-4 {
  background: linear-gradient(180deg, transparent 0%, hsla(192, 55%, 38%, 0.85) 15%, hsl(195, 60%, 32%) 100%);
  clip-path: polygon(0% 75%, 8% 70%, 22% 78%, 38% 72%, 52% 80%, 68% 74%, 82% 78%, 100% 72%, 100% 100%, 0% 100%);
  animation: wave4 5s ease-in-out infinite alternate;
  animation-delay: 1.5s;
}

@keyframes wave1 {
  0% { transform: translateX(-5%); }
  100% { transform: translateX(5%); }
}

@keyframes wave2 {
  0% { transform: translateX(3%); }
  100% { transform: translateX(-3%); }
}

@keyframes wave3 {
  0% { transform: translateX(-2%); }
  100% { transform: translateX(2%); }
}

@keyframes wave4 {
  0% { transform: translateX(2%); }
  100% { transform: translateX(-2%); }
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  background: var(--color-background);
  position: relative;
}

.about-container {
  /*max-width: 900px;*/
  position: relative;
}

.about-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 48px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-foreground);
}

/* ========================================
   School Section
   ======================================== */
.school-section {
  background: hsla(180, 25%, 90%, 0.2);
  position: relative;
}

.school-content {
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .school-content {
    /*grid-template-columns: 1fr;*/
    gap: 48px;
  }
  
  .school-text-content {
    order: 2;
  }
  
  .school-image-content {
    order: 1;
  }
}

.school-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.school-description-secondary {
  /*color: var(--color-muted);*/
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Pillars Grid */
.pillars-grid {
    display: inline-block;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    /* justify-content: stretch; */
    text-align: center;
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--color-card);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: hsla(180, 35%, 45%, 0.2);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: hsla(180, 35%, 45%, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
  color: #b31919;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* School Images */
.school-image-content {
  position: relative;
}

.school-image-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.school-image-main img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.school-image-secondary {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 176px;
  height: 176px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-background);
}

.school-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-stats-card {
  position: absolute;
  top: -24px;
  right: -24px;
  background: #b31919;
  color: var(--color-primary-foreground);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.stats-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
}

.stats-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .school-image-secondary,
  .school-stats-card {
    display: none;
  }
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
  background: var(--color-background);
}

.team-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.team-grid {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.team-grid > div {
  flex: 0 0 25%;
  padding: 10px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .team-grid > div {
    flex: 0 0 50%;
  }
}

@media (max-width: 576px) {
  .team-grid > div {
    flex: 0 0 100%;
  }
}

.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #b31919;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.team-prev { left: 10px; }
.team-next { right: 10px; }
/*.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .team-grid,.swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid,.swiper-wrapper {
    grid-template-columns: 1fr;
  }
}*/

.team-card {
  background: var(--color-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(180, 35%, 45%, 0.2);
}

.team-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(200, 15%, 20%, 0.5), transparent, transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-overlay span {
  color: var(--color-primary-foreground);
  font-size: 0.875rem;
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 4px;
}

.team-role {
  color: #b31919;
  font-weight: 500;min-height: 56px;
}

/* ========================================
   Careers Section
   ======================================== */
.careers-section {
  background: hsla(180, 25%, 90%, 0.2);
  position: relative;
}

.careers-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.careers-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.careers-card {
  padding: 20px;
  background: var(--color-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .careers-card {
    grid-template-columns: 1fr;
  }
}

.careers-image {
  position: relative;
  min-height: 256px;
}

.careers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careers-image-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to right, hsl(0deg 75.49% 25%), transparent);*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

@media (max-width: 768px) {
  .careers-image-overlay {
    background: linear-gradient(to top, hsla(180, 35%, 45%, 0.7), transparent);
    justify-content: flex-end;
  }
}

.careers-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary-foreground);
  margin-bottom: 12px;
}

.careers-image-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-foreground);
}

.careers-info {
  padding: 32px 40px;
}

@media (max-width: 768px) {
  .careers-info {
    padding: 24px;
  }
}

.careers-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  /*color: var(--color-foreground);*/
  margin-bottom: 16px;
}

.careers-info > p {
  /*color: var(--color-muted);*/
  line-height: 1.7;
  margin-bottom: 32px;
}

.careers-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 16px;
}

.careers-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-foreground);
  transition: all var(--transition-normal);
}

.contact-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  background: hsla(180, 35%, 45%, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.contact-link:hover .contact-link-icon {
  background: hsla(180, 35%, 45%, 0.15);
}

.contact-link-icon svg {
  width: 20px;
  height: 20px;
  color: #b31919;
}

.contact-link-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.contact-link-value {
  font-weight: 500;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  background: var(--color-background);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--color-card);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: hsla(180, 35%, 45%, 0.2);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: hsla(180, 35%, 45%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: #b31919;
}

.contact-info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Contact Bottom - Map & Social */
.contact-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

@media (max-width: 1024px) {
  .contact-bottom {
    grid-template-columns: 1fr;
  }
}

.contact-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 288px;
  box-shadow: var(--shadow-lg);
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(200, 15%, 20%, 0.7), hsla(200, 15%, 20%, 0.2), transparent);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.map-location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-foreground);
}

.map-pin {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin svg {
  width: 20px;
  height: 20px;
}

.map-location strong {
  display: block;
  font-weight: 600;
}

.map-location span {
  font-size: 0.875rem;
  opacity: 0.8;
}

.contact-social {
  background: #b31919;
  color: var(--color-primary-foreground);
  padding: 32px;
  border-radius: 16px;
}

.contact-social h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-social > p {
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 32px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background: hsla(40, 30%, 98%, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: hsla(40, 30%, 98%, 0.2);
  transform: scale(1.08) rotate(3deg);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
}
.footer-contact a {color:#edbdb8 !important; }
.footer-contact a:hover {color:#fff !important; }
/* Footer Waves - Inverted at Top */
.footer-waves-top {
  transform: none;
  height: 96px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .footer-waves-top {
    height: 127px;
  }
}

.footer-waves-top .wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
}

.footer-waves-top .wave-1 {
  background: linear-gradient(180deg, transparent 0%, hsla(180, 45%, 78%, 0.5) 30%, hsla(180, 50%, 70%, 0.7) 100%);
  clip-path: polygon(0% 45%, 15% 35%, 30% 50%, 45% 40%, 60% 55%, 75% 42%, 90% 52%, 100% 40%, 100% 100%, 0% 100%);
}

.footer-waves-top .wave-2 {
  background: linear-gradient(180deg, transparent 0%, hsla(185, 50%, 55%, 0.65) 25%, hsla(188, 52%, 48%, 0.8) 100%);
  clip-path: polygon(0% 55%, 12% 48%, 28% 60%, 42% 50%, 58% 62%, 72% 52%, 88% 58%, 100% 50%, 100% 100%, 0% 100%);
}

.footer-waves-top .wave-3 {
  background: linear-gradient(180deg, transparent 0%, hsla(192, 55%, 40%, 0.85) 15%, hsl(195, 60%, 32%) 100%);
  clip-path: polygon(0% 65%, 10% 58%, 25% 68%, 40% 60%, 55% 70%, 70% 62%, 85% 68%, 100% 60%, 100% 100%, 0% 100%);
}

/* Footer Main */
.footer-main {
  background: #B31919;
  color: var(--color-primary-foreground);
  padding: 48px 0 32px;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  position: relative;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  color: var(--color-primary-foreground);
}

.footer-brand .logo-dot {
  position: relative;
  top: auto;
  right: auto;
  margin-left: 4px;
}

.footer-description {
  opacity: 0.75;
  max-width: 400px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b31919;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-links-section h4,
.footer-contact h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links-section ul,
.footer-contact ul {
  list-style: none;
}

.footer-links-section li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links-section a {
  color: hsla(40, 30%, 98%, 0.75);
  transition: color var(--transition-normal);
}

.footer-links-section a:hover {
  color: #fff;
}

.footer-contact li {
  color: hsla(40, 30%, 98%, 0.75);
}

.footer-contact-spacer {
  margin-top: 16px !important;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid hsla(40, 30%, 98%, 0.15);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsla(40, 30%, 98%, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}

.heart-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  margin: 0 4px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.875rem;
  color: hsla(40, 30%, 98%, 0.6);
  transition: color var(--transition-normal);
}

.footer-legal a:hover {
  color: #fff;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll-triggered animation preparation */
.value-card,
.team-card,
.contact-info-card,
.pillar-card {
  opacity: 0;
}

.value-card.animate-fade-in,
.team-card.animate-fade-in,
.contact-info-card.animate-fade-in,
.pillar-card.animate-fade-in {
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(40, 15%, 92%);
}

::-webkit-scrollbar-thumb {
  background: hsla(180, 35%, 45%, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsla(180, 35%, 45%, 0.7);
}

.privacy-policy p, .page-id-49 p {
    margin-bottom: 20px;
}
.privacy-policy ul.wp-block-list {
    margin-left: 20px !important;
}
/* ============================= */
/* TEAM PROFILE MODAL */
/* ============================= */

.team-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.team-modal.active {
  display: flex;
}

.team-modal-content {
  background: #fff;
  max-width: 900px;
  width: 90%;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  animation: fadeUp 0.3s ease;
}

.team-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.team-modal-image img {
  width: 100%;
  border-radius: 12px;
}

.team-modal-info h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.team-modal-role {
  font-weight: 600;
  color: #888;
  margin-bottom: 20px;
}

.team-modal-description {
  font-size: 16px;
  line-height: 1.7;
}

.team-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .team-modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .team-modal-body {
    grid-template-columns: 1fr;
  }
}

