@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Light Mode */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F0EDE6;
  --bg-tertiary: #E6E2D8;
  --text-primary: #1C2B22;
  --text-secondary: #4A5B51;
  --text-muted: #708277;
  
  --primary: #0F3D25;
  --primary-light: #2A5E40;
  --primary-dark: #072212;
  --accent: #C5A86E;
  --accent-light: #E2CC9C;
  --accent-dark: #9F834A;
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(15, 61, 37, 0.08);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 15px 35px rgba(15, 61, 37, 0.12);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

[data-theme="dark"] {
  /* Color Palette - Dark Mode */
  --bg-primary: #0B110D;
  --bg-secondary: #131B16;
  --bg-tertiary: #1B2620;
  --text-primary: #F0F4F1;
  --text-secondary: #B2C4B9;
  --text-muted: #84968C;
  
  --primary: #226F43;
  --primary-light: #329961;
  --primary-dark: #0F3D25;
  --accent: #E2CC9C;
  --accent-light: #F2E3C6;
  --accent-dark: #C5A86E;
  
  --glass-bg: rgba(19, 27, 22, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  --hover-shadow: 0 15px 35px rgba(34, 111, 67, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

h2.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-primary);
}

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

a:hover {
  color: var(--accent);
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Theme Switcher Button */
.theme-toggle {
  background: none;
  border: 1px solid var(--glass-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  background-color: var(--glass-bg);
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

/* Burger Menu */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(15, 61, 37, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 61, 37, 0.3);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: #1C2B22;
  box-shadow: 0 4px 15px rgba(197, 168, 110, 0.2);
}

.btn-accent:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 110, 0.35);
  color: #1C2B22;
}

/* Cards (Glassmorphism) */
.card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(197, 168, 110, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: rgba(197, 168, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-dark);
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.card h3 {
  margin-bottom: 1rem;
}

.card .card-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card .card-link svg {
  transition: var(--transition-fast);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 110, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 61, 37, 0.06) 0%, transparent 50%);
  padding-top: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-subtitle::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero h1 span {
  background: linear-gradient(135deg, var(--accent-light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  position: absolute;
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, rgba(15, 61, 37, 0.15), rgba(197, 168, 110, 0.1));
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  animation: float-slow 12s infinite alternate ease-in-out;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 61, 37, 0.15);
  border: 4px solid var(--glass-bg);
  animation: morphing-blob 15s infinite ease-in-out;
}

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

/* Philosophy Statement */
.philosophy {
  text-align: center;
  position: relative;
  background-color: var(--primary);
  color: #FFFFFF;
  overflow: hidden;
  padding: 10rem 0;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(197, 168, 110, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.philosophy h2 {
  font-size: 2.75rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.3;
}

.philosophy h2 span {
  color: var(--accent);
}

.philosophy-pillars {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.pillar {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

/* Image & Text Columns */
.feature-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
}

.feature-block.reverse .feature-visual {
  order: 2;
}

.feature-block.reverse .feature-content {
  order: 1;
}

.feature-visual {
  position: relative;
}

.feature-image-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--glass-border);
}

.feature-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-image-card:hover img {
  transform: scale(1.04);
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 1.5rem;
}

/* Founders */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

.founder-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.founder-image-wrapper {
  flex-shrink: 0;
  width: 160px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

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

.founder-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.founder-title {
  font-family: var(--font-heading);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Section */
.contact-section {
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(197, 168, 110, 0.05) 0%, transparent 40%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(15, 61, 37, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-form {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3.5rem;
  border-radius: 28px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 61, 37, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #B2C4B9;
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about .logo {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: #84968C;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #84968C;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #84968C;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B2C4B9;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--accent);
  color: #1C2B22;
  transform: translateY(-2px);
}

/* Animations */
@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes morphing-blob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  33% { border-radius: 70% 30% 50% 50% / 50% 30% 70% 50%; }
  66% { border-radius: 50% 50% 30% 70% / 70% 50% 50% 30%; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero {
    height: auto;
    padding: 120px 0 6rem;
  }
  
  .hero-subtitle {
    justify-content: center;
  }
  
  .hero-subtitle::before {
    display: none;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .feature-block.reverse .feature-visual {
    order: 2;
  }
  
  .feature-block.reverse .feature-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .burger {
    display: flex;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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