:root {
  /* Tetrad color scheme */
  --primary-color: #3d5a80;
  --primary-light: #4e6e9a;
  --primary-dark: #2a4060;
  
  --secondary-color: #ee6c4d;
  --secondary-light: #ff8366;
  --secondary-dark: #d25032;
  
  --tertiary-color: #98c1d9;
  --tertiary-light: #b3d7ea;
  --tertiary-dark: #7ba7c0;
  
  --quaternary-color: #e0fbfc;
  --quaternary-light: #ffffff;
  --quaternary-dark: #c2e8e9;
  
  /* Neutral colors */
  --dark: #293241;
  --gray-dark: #3d4a5c;
  --gray: #5f6d7e;
  --gray-light: #8f9baa;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Shadows for neumorphism */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Merriweather', serif;
  color: var(--dark);
  background-color: var(--quaternary-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-sm);
}

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

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Section styles */
section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Neumorphic elements */
.neumorphic {
  background: var(--quaternary-light);
  box-shadow: 
    12px 12px 24px var(--shadow-dark), 
    -12px -12px 24px var(--shadow-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.neumorphic:hover {
  transform: translateY(-5px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark), 
    -15px -15px 30px var(--shadow-light);
}

.neumorphic-inset {
  background: var(--quaternary-light);
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark), 
    inset -6px -6px 12px var(--shadow-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 
    5px 5px 10px var(--shadow-dark), 
    -5px -5px 10px var(--shadow-light);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 
    7px 7px 14px var(--shadow-dark), 
    -7px -7px 14px var(--shadow-light);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 
    5px 5px 10px var(--shadow-dark), 
    -5px -5px 10px var(--shadow-light);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 
    7px 7px 14px var(--shadow-dark), 
    -7px -7px 14px var(--shadow-light);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 
    3px 3px 6px var(--shadow-dark), 
    -3px -3px 6px var(--shadow-light);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 
    5px 5px 10px var(--shadow-dark), 
    -5px -5px 10px var(--shadow-light);
}

.btn-text {
  background-color: transparent;
  color: var(--secondary-color);
  padding: 0.5rem 0;
  position: relative;
  font-weight: 700;
  box-shadow: none;
}

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

.btn-text:hover {
  color: var(--secondary-light);
  transform: translateY(0);
  box-shadow: none;
}

.btn-text:hover::after {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.logo a:hover {
  color: var(--secondary-color);
}

.nav-desktop ul {
  display: flex;
  gap: var(--space-sm);
}

.nav-desktop a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--dark);
  padding: 0.5rem 0.75rem;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-desktop a:hover {
  color: var(--secondary-color);
}

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-sm) 0;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
}

.nav-mobile li {
  border-bottom: 1px solid var(--quaternary-dark);
}

.nav-mobile li:last-child {
  border-bottom: none;
}

.nav-mobile a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--dark);
  transition: all var(--transition-fast);
}

.nav-mobile a:hover {
  background-color: var(--quaternary-dark);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: 0;
  transform: translateY(0);
  animation: fadeIn 1s ease-out;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
  background-color: var(--quaternary-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  height: 100%;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: 
    10px 10px 20px var(--shadow-dark), 
    -10px -10px 20px var(--shadow-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark), 
    -15px -15px 30px var(--shadow-light);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.image-container {
  width: 100%;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-dark);
}

.card-content p {
  color: var(--gray);
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

/* Success Stories Section */
.success-stories {
  background-color: var(--tertiary-light);
  position: relative;
  overflow: hidden;
}

.success-stories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(152, 193, 217, 0.7) 0%, rgba(224, 251, 252, 0.7) 100%);
  z-index: 0;
}

.stories-container {
  position: relative;
  z-index: 1;
}

.story-timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: var(--space-lg);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + var(--space-lg) - 20px);
  background-color: var(--secondary-color);
  z-index: 1;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-content {
  padding-left: var(--space-sm);
}

.timeline-content .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-content .card-image {
  height: 250px;
  width: 100%;
}

.year {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
}

/* External Resources Section */
.external-resources {
  background-color: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.resource-card .card {
  text-align: center;
}

.resource-card .card-image {
  height: 200px;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.team-member .card {
  text-align: center;
}

.team-member .card-image {
  height: 350px;
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.team-member .card-content {
  text-align: center;
}

.position {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-family: 'Montserrat', sans-serif;
}

.bio {
  color: var(--gray);
}

/* Blog Section */
.blog {
  background-color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.blog-post .card {
  height: 100%;
}

.blog-post .card-image {
  height: 250px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* Contact Section */
.contact {
  background-color: var(--tertiary-light);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(152, 193, 217, 0.7) 0%, rgba(224, 251, 252, 0.7) 100%);
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
}

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

.info-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 
    10px 10px 20px var(--shadow-dark), 
    -10px -10px 20px var(--shadow-light);
  height: 100%;
}

.info-card h3 {
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item .icon {
  margin-right: var(--space-sm);
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 
    10px 10px 20px var(--shadow-dark), 
    -10px -10px 20px var(--shadow-light);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--tertiary-color);
  border-radius: var(--radius-sm);
  background-color: var(--quaternary-light);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  font-family: 'Merriweather', serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.2);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-sm);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  flex: 1 1 100%;
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.footer-logo p {
  color: var(--gray-light);
}

.footer-links {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
}

.footer-column h4 {
  color: var(--tertiary-light);
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--secondary-color);
}

.social-links li {
  margin-bottom: 0.5rem;
}

.social-links a {
  display: inline-block;
  padding: 0.25rem 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.social-links a:hover {
  transform: translateX(5px);
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(41, 50, 65, 0.95);
  z-index: 9999;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  color: var(--white);
  margin: 0 1rem 0 0;
}

.cookie-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  transition: background-color var(--transition-fast);
}

.cookie-btn:hover {
  background-color: var(--secondary-light);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--quaternary-light);
  padding: var(--space-xl) var(--space-sm);
}

.success-container {
  max-width: 600px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 
    10px 10px 20px var(--shadow-dark), 
    -10px -10px 20px var(--shadow-light);
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-md);
}

.success-message h1 {
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}

.success-message p {
  color: var(--gray);
  margin-bottom: var(--space-md);
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 100px;
  min-height: 80vh;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 
    10px 10px 20px var(--shadow-dark), 
    -10px -10px 20px var(--shadow-light);
}

.page-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.page-header h1 {
  color: var(--primary-dark);
}

.page-section {
  margin-bottom: var(--space-lg);
}

.page-section:last-child {
  margin-bottom: 0;
}

.page-section h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.page-section p {
  margin-bottom: var(--space-sm);
  color: var(--gray-dark);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-bottom: var(--space-md);
  }
  
  .hero-content {
    margin: 0 auto;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .features-grid,
  .team-grid,
  .blog-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .page-container {
    padding: var(--space-md);
  }
}
.burger-menu{
  display: none;
}