/* 
 * Main Stylesheet - Retro with Biomorphic Design Elements
 * Theme: Pastel Color Scheme with Parallax Effects
 */

/* Base Variables and Typography */
:root {
  /* Primary Colors */
  --primary-color: #ff7e67; /* Soft coral */
  --primary-dark: #e05e50; /* Darker coral for hover states */
  --secondary-color: #00adb5; /* Teal */
  --secondary-dark: #008c94; /* Darker teal */
  --accent-color: #7b68ee; /* Soft purple */
  --accent-dark: #6a57cd; /* Darker purple */
  
  /* Background Colors */
  --bg-color: #f8f9fa; /* Light background */
  --bg-alt-color: #e9ecef; /* Alternate background */
  --card-bg: #ffffff; /* Card background */
  
  /* Text Colors */
  --text-color: #333333; /* Main text */
  --text-light: #6c757d; /* Secondary text */
  --text-white: #ffffff; /* Light text */
  --text-dark: #222222; /* Dark text for emphasis */
  
  /* UI Elements */
  --border-radius: 15px; /* Rounded corners */
  --border-radius-lg: 30px; /* Larger rounded corners for biomorphic elements */
  --box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Subtle shadow */
  --box-shadow-hover: 0 10px 25px rgba(0,0,0,0.15); /* Enhanced shadow for hover */
  
  /* Transitions */
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --transition-slow: all 0.8s ease;
}

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

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

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

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

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

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

/* Biomorphic Design Elements */
.bioform-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.bioform-shape-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  top: -150px;
  left: -150px;
}

.bioform-shape-2 {
  width: 200px;
  height: 200px;
  background-color: var(--secondary-color);
  bottom: -100px;
  right: -100px;
}

.bioform-card {
  border-radius: var(--border-radius-lg);
  background-color: var(--card-bg);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
}

.bioform-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
}

.bioform-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 126, 103, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.bioform-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background-color: rgba(0, 173, 181, 0.1);
  border-radius: 50%;
  z-index: 0;
}

/* Buttons */
.button, 
button, 
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.button:hover, 
button:hover, 
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.button.is-primary {
  background-color: var(--primary-color);
}

.button.is-secondary {
  background-color: var(--secondary-color);
}

.button.is-accent {
  background-color: var(--accent-color);
}

.button.is-light {
  background-color: var(--text-white);
  color: var(--text-color);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

.button.is-rounded {
  border-radius: 50px;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-medium);
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-item {
  margin-left: 1.5rem;
  color: var(--text-white);
  font-weight: 600;
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text-white);
  transition: var(--transition-fast);
}

.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

.is-scrolled .navbar-item {
  color: var(--text-color);
}

.is-scrolled .navbar-burger span {
  background-color: var(--text-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0;
  min-height: 80vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-white);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.scroll-down-icon {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Innovation Section */
.innovation-section {
  background-color: var(--bg-color);
  overflow: hidden;
}

.innovation-content {
  position: relative;
  z-index: 1;
}

.progress-container {
  margin-top: 2rem;
}

.progress-container p {
  margin-bottom: 0.5rem;
}

.progress {
  height: 0.75rem;
  border-radius: 10px;
  background-color: var(--bg-alt-color);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress::-webkit-progress-bar {
  background-color: var(--bg-alt-color);
  border-radius: 10px;
}

.progress::-webkit-progress-value {
  background-color: var(--primary-color);
  border-radius: 10px;
}

.progress::-moz-progress-bar {
  background-color: var(--primary-color);
  border-radius: 10px;
}

/* Projects Section */
.projects-section {
  background-color: var(--bg-alt-color);
  position: relative;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

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

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  text-align: center;
  width: 100%;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition-fast);
  text-decoration: underline;
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* News Section */
.news-section {
  background-color: var(--bg-color);
}

.news-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Community Section */
.community-section {
  background-color: var(--bg-alt-color);
  position: relative;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  font-family: 'Playfair Display', serif;
  color: rgba(0,0,0,0.05);
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  margin-top: 1rem;
  text-align: right;
}

.testimonial-position {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.contact-form-container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.input, 
.textarea, 
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: var(--transition-fast);
  font-family: 'Source Sans Pro', sans-serif;
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

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

.contact-info-item {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.contact-info-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-title {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #ecf0f1;
  transition: var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links a {
  color: #ecf0f1;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--primary-color);
}

.newsletter {
  margin-top: 2rem;
}

.newsletter-title {
  color: var(--text-white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.newsletter-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-button:hover {
  background-color: var(--primary-dark);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Resources Section */
.resources-section {
  background-color: var(--bg-color);
}

.resources-list {
  list-style: none;
  padding: 0;
}

.resources-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.resources-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1;
}

.resources-list a {
  color: var(--accent-color);
  font-weight: 600;
  transition: var(--transition-fast);
  text-decoration: underline;
}

.resources-list a:hover {
  color: var(--accent-dark);
}

/* Columns Layout */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.column {
  padding: 1rem;
  flex: 1;
  min-width: 0;
}

.is-one-third {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.is-two-thirds {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.is-full {
  flex: 0 0 100%;
  max-width: 100%;
}

/* AOS Integration */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Utility Classes */
.has-text-centered {
  text-align: center;
}

.has-text-right {
  text-align: right;
}

.has-text-left {
  text-align: left;
}

.has-text-white {
  color: var(--text-white);
}

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

.has-text-secondary {
  color: var(--secondary-color);
}

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

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* Success Page */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.step-box {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  background-color: var(--card-bg);
  transition: var(--transition-medium);
}

.step-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* Terms and Privacy Pages */
.privacy-section, .terms-section {
  padding-top: 100px;
  background-color: var(--bg-color);
}

.privacy-box, .terms-box {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

/* Cookie Consent */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  color: var(--text-white);
  padding: 20px;
  text-align: center;
  z-index: 9999;
}

#cookie-consent p {
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#accept-cookies {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .is-one-third,
  .is-half,
  .is-two-thirds {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-item {
    margin: 0 0 1rem 0;
    display: block;
    color: var(--text-color);
  }
  
  .navbar-burger {
    display: block;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .columns {
    flex-direction: column;
  }
  
  .column {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
  }
  
  .newsletter-button {
    border-radius: var(--border-radius);
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
}