:root {
  /* User-provided color palette */
  --yellow: #F7F1C9;       /* Švelni sviestinė / Pastelinė geltona */
  --bg-gray: #E5E5E5;      /* Šviesi neutrali pilka (Canva fonas) */
  --graphite: #4A4D4E;     /* Tamsi grafito pilka (Tekstas) */
  --warm-white: #FAF9F6;   /* Pieno balta / Šilta balta (Popierius) */
  
  /* Derived design system colors */
  --yellow-hover: #F2E9A9;
  --graphite-light: #6E7274;
  --graphite-ultra-light: rgba(74, 77, 78, 0.08);
  --green-accent: #7C8B72;  /* Soft organic green for sprout/botanical accent */
  --green-accent-light: #F0F3EE;
  
  /* Font Families */
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--warm-white);
  color: var(--graphite);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, blockquote {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.3;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Utility */
.glass {
  background: rgba(250, 249, 246, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 77, 78, 0.07);
  box-shadow: 0 10px 40px -10px rgba(74, 77, 78, 0.05);
  border-radius: 24px;
}

/* Section Common Styling */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--graphite-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--yellow);
  color: var(--graphite);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(74, 77, 78, 0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px -5px rgba(247, 241, 201, 0.8);
}

.btn:hover {
  transform: translateY(-3px);
  background-color: var(--yellow-hover);
  box-shadow: 0 8px 25px -5px rgba(247, 241, 201, 1);
  border-color: rgba(74, 77, 78, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--graphite);
  border: 2px solid var(--graphite);
  box-shadow: none;
  margin-left: 12px;
}

.btn-outline:hover {
  background-color: var(--graphite);
  color: var(--warm-white);
  box-shadow: 0 8px 25px -8px rgba(74, 77, 78, 0.3);
  transform: translateY(-3px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-radius: 0 0 24px 24px;
  border-top: none;
  border-left: none;
  border-right: none;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(250, 249, 246, 0.85);
  box-shadow: 0 10px 30px -10px rgba(74, 77, 78, 0.1);
}

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

.nav-logo {
  color: var(--graphite);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(74, 77, 78, 0.08);
  background-color: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.4);
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
}

.nav-logo .logo-dot {
  color: var(--green-accent);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 0;
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--graphite);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: var(--transition-fast);
}

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

.btn-nav {
  padding: 10px 24px;
  font-size: 0.95rem;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--graphite);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(247, 241, 201, 0.45) 0%, rgba(250, 249, 246, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(229, 229, 229, 0.4) 0%, rgba(250, 249, 246, 0) 50%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--green-accent-light);
  color: var(--green-accent);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  position: relative;
  z-index: 1;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: -2px;
  width: 106%;
  height: 16px;
  background-color: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--graphite-light);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  width: 100%;
  max-width: 480px;
  background: var(--bg-gray);
  padding: 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(74, 77, 78, 0.08);
  border: 1px solid rgba(74, 77, 78, 0.03);
  position: relative;
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--yellow);
  z-index: -1;
  opacity: 0.6;
}

.hero-image {
  border-radius: 24px;
  width: 100%;
  height: auto;
}

/* Philosophy Section */
.philosophy-section {
  background-color: var(--bg-gray);
  padding: 120px 0;
  position: relative;
}

.philosophy-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
  text-align: center;
  position: relative;
  background: rgba(250, 249, 246, 0.85);
  box-shadow: 0 30px 70px -20px rgba(74, 77, 78, 0.1);
}

.philosophy-card .quote-icon {
  color: var(--green-accent);
  opacity: 0.15;
  margin-bottom: 20px;
}

.philosophy-card .quote-icon i,
.philosophy-card .quote-icon svg {
  width: 48px;
  height: 48px;
}

.philosophy-quote {
  font-size: 2.2rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--graphite);
  font-weight: 500;
}

.quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pencil-line {
  width: 60px;
  height: 3px;
  background-color: var(--green-accent);
  border-radius: 5px;
  display: block;
}

.quote-author p {
  font-size: 1.15rem;
  color: var(--graphite-light);
  max-width: 600px;
}

/* Discover Section */
.discover-section {
  background-color: var(--warm-white);
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.discover-card {
  padding: 40px 30px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.discover-card:hover {
  transform: translateY(-8px);
  background-color: white;
  border-color: rgba(74, 77, 78, 0.12);
  box-shadow: 0 20px 40px -15px rgba(74, 77, 78, 0.08);
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon-box.yellow-bg {
  background-color: var(--yellow);
  border: 1px solid rgba(74, 77, 78, 0.05);
}

.card-icon {
  width: 28px;
  height: 28px;
  color: var(--graphite);
}

.discover-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.discover-card p {
  color: var(--graphite-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.card-link i,
.card-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

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

/* Practice Section (Interactive Tabs) */
.practice-section {
  background-color: var(--bg-gray);
}

.tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  max-width: 850px;
  margin: 0 auto 40px;
  border-radius: 40px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--graphite-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn i,
.tab-btn svg {
  width: 18px;
  height: 18px;
}

.tab-btn:hover {
  color: var(--graphite);
  background-color: rgba(250, 249, 246, 0.4);
}

.tab-btn.active {
  color: var(--graphite);
  background-color: var(--yellow);
  box-shadow: 0 4px 15px -4px rgba(247, 241, 201, 0.8);
}

.tab-content-wrapper {
  max-width: 950px;
  margin: 0 auto;
  padding: 50px;
  background: white;
  min-height: 400px;
}

.tab-content {
  display: none;
  animation: fadeInTab 0.5s ease;
}

.tab-content.active {
  display: block;
}

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

.practice-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.topic-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--green-accent-light);
  color: var(--green-accent);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.practice-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.practice-info .description {
  color: var(--graphite-light);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--yellow);
  color: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.step-item p {
  color: var(--graphite);
  font-size: 0.95rem;
}

.practice-card-preview {
  display: flex;
  justify-content: center;
}

.tip-card {
  padding: 30px;
  background-color: var(--warm-white);
  border: 1px dashed var(--graphite-light);
  border-radius: 20px;
  max-width: 320px;
}

.tip-card .tip-icon {
  color: var(--green-accent);
  margin-bottom: 16px;
  width: 28px;
  height: 28px;
}

.tip-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}

.tip-card p {
  font-size: 0.9rem;
  color: var(--graphite-light);
}

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.book-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: var(--warm-white);
  border-radius: 16px;
  border: 1px solid rgba(74, 77, 78, 0.04);
}

.book-cover-placeholder {
  flex-shrink: 0;
  width: 80px;
  height: 110px;
  background-color: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  opacity: 0.7;
}

.book-info {
  display: flex;
  flex-direction: column;
}

.book-audience {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.book-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.book-author {
  font-size: 0.85rem;
  color: var(--graphite-light);
  margin-bottom: 8px;
}

.book-desc {
  font-size: 0.8rem;
  color: var(--graphite-light);
  line-height: 1.4;
}

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

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  background: white;
  box-shadow: 0 30px 60px -15px rgba(74, 77, 78, 0.08);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--yellow);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-badge i,
.contact-badge svg {
  width: 14px;
  height: 14px;
}

.contact-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-header p {
  color: var(--graphite-light);
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--graphite);
}

.form-group input,
.form-group select {
  padding: 14px 18px;
  border: 1px solid rgba(74, 77, 78, 0.15);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--graphite);
  background-color: var(--warm-white);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-accent);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(124, 139, 114, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: var(--bg-gray);
  padding: 80px 0 40px;
  border-radius: 24px 24px 0 0;
}

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

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-container {
  width: 130px;
  height: 130px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(74, 77, 78, 0.06);
  background-color: var(--bg-gray);
  transition: var(--transition-smooth);
}

.footer-logo-container:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px -10px rgba(74, 77, 78, 0.15);
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand p {
  color: var(--graphite-light);
  font-size: 0.95rem;
  max-width: 250px;
}

.footer-contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  max-width: none;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  color: var(--green-accent);
  flex-shrink: 0;
}

.footer-contact-info a {
  color: var(--graphite-light);
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition-fast);
}

.footer-contact-info a:hover {
  color: var(--graphite);
}

.contact-email-link {
  color: var(--green-accent);
  font-weight: 600;
  border-bottom: 2px solid rgba(124, 139, 114, 0.2);
  transition: var(--transition-fast);
}

.contact-email-link:hover {
  border-bottom-color: var(--green-accent);
}

.footer-links h4,
.footer-contact h4,
.footer-socials h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social-section {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--graphite-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--graphite-light);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--graphite);
  transform: translateX(3px);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--warm-white);
  border: 1px solid rgba(74, 77, 78, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--graphite-light);
}

.social-icon-btn i,
.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.social-icon-btn:hover {
  background-color: var(--yellow);
  color: var(--graphite);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 77, 78, 0.05);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(74, 77, 78, 0.08);
  font-size: 0.85rem;
  color: var(--graphite-light);
}

/* Animations Scroll Triggers */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: simpleFadeIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-fade-in-delayed {
  opacity: 0;
  transform: translateY(20px);
  animation: simpleFadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards;
}

@keyframes simpleFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    order: -1;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .practice-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tip-card {
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--warm-white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(74, 77, 78, 0.08);
    box-shadow: 0 15px 30px rgba(74, 77, 78, 0.05);
    border-radius: 0 0 24px 24px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .btn-nav {
    width: 100%;
  }
  
  .philosophy-card {
    padding: 30px 20px;
  }
  
  .philosophy-quote {
    font-size: 1.6rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
