/* Base Styles */
:root {
  --primary-color: #2E8B57; /* Green */
  --secondary-color: #FF6347; /* Tomato - complementary color */
  --dark-color: #333333;
  --light-color: #F8F9FA;
  --accent-color: #FFC107; /* Yellow/Gold */
  --background-color: #FFFFFF;
  --text-color: #333333;
  --header-font: 'Space Grotesk', sans-serif;
  --body-font: 'DM Sans', sans-serif;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Brutalist Design Elements */
.title, .subtitle {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title.is-1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.title.is-2::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background-color: var(--primary-color);
  margin: 1rem auto;
}

.button {
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.button.is-rounded {
  border-radius: 2rem;
}

.button:hover {
  transform: translateY(-5px);
}

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

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

/* Header Styles */
.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);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-item {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

.navbar-burger {
  height: auto;
  width: 3.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  margin-top: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding-top: 80px; /* Account for fixed header */
}

/* Vision Section */
.vision-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.vision-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vision-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 15px 15px 0px var(--primary-color);
}

.vision-image {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.vision-text {
  padding: 1rem 0;
}

.vision-text p {
  margin-bottom: 1.5rem;
}

/* History Section */
.history-section {
  padding: 6rem 0;
  background-color: var(--background-color);
}

.timeline {
  position: relative;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 4px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transform: translateX(10px);
  z-index: 1;
}

.timeline-content {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-left: 5px solid var(--primary-color);
  box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

/* Press Section */
.press-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.press-card {
  height: 100%;
  border: none;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.press-card:hover {
  transform: translateY(-10px);
}

.press-card .card-content {
  padding: 2rem;
}

/* External Resources Section */
.external-resources-section {
  padding: 6rem 0;
  background-color: var(--background-color);
}

.resource-card {
  padding: 2rem;
  height: 100%;
  background-color: var(--light-color);
  border-radius: 5px;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.15);
}

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

.resource-card p {
  margin-bottom: 1.5rem;
}

/* Projects Section */
.projects-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.project-card {
  height: 100%;
  margin-bottom: 2rem;
  border: none;
  overflow: hidden;
  box-shadow: 12px 12px 0px rgba(0,0,0,0.1);
}

.project-card .card-image {
  overflow: hidden;
}

.project-card img {
  transition: transform 0.5s ease;
}

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

.project-card .card-content {
  padding: 2rem;
}

/* Media Section */
.media-section {
  padding: 6rem 0;
  background-color: var(--background-color);
}

.media-card {
  height: 100%;
  margin-bottom: 2rem;
  border: none;
  overflow: hidden;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
}

.media-card .card-image {
  overflow: hidden;
}

.media-card img {
  transition: transform 0.5s ease;
}

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

.media-card .card-content {
  padding: 1.5rem;
}

.card-video {
  position: relative;
  overflow: hidden;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(46, 139, 87, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-button span {
  font-size: 2rem;
  color: white;
}

.video-play-button:hover {
  background-color: rgba(46, 139, 87, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Case Studies Section */
.case-studies-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.case-study-card {
  height: 100%;
  margin-bottom: 2rem;
  border: none;
  overflow: hidden;
  box-shadow: 12px 12px 0px rgba(0,0,0,0.1);
}

.case-study-card .card-image {
  overflow: hidden;
}

.case-study-card img {
  transition: transform 0.5s ease;
}

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

.case-study-card .card-content {
  padding: 2rem;
}

/* Blog Section */
.blog-section {
  padding: 6rem 0;
  background-color: var(--background-color);
}

.blog-card {
  height: 100%;
  margin-bottom: 2rem;
  border: none;
  overflow: hidden;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .card-image {
  overflow: hidden;
}

.blog-card img {
  transition: transform 0.5s ease;
}

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

.blog-card .card-content {
  padding: 1.5rem;
}

.blog-card .subtitle {
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.contact-card {
  padding: 2rem;
  box-shadow: 15px 15px 0px rgba(0,0,0,0.1);
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .label {
  font-weight: 600;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select {
  border-width: 3px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.contact-info {
  margin-bottom: 1rem;
}

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

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer p {
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: white;
  transition: color 0.3s ease;
}

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

.social-links a {
  color: white;
  transition: color 0.3s ease;
}

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

.copyright {
  margin-top: 3rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* About Page */
.about-hero {
  height: 60vh;
}

.mission-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.mission-content {
  text-align: center;
}

.values-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.value-card {
  height: 100%;
  padding: 2rem;
  text-align: center;
  border: none;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.team-card {
  height: 100%;
  margin-bottom: 2rem;
  border: none;
  overflow: hidden;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card .card-image {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.team-card .card-content {
  padding: 1.5rem;
}

.partners-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.join-us-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
}

.join-us-section h2 {
  color: white;
}

/* Contact Page */
.contact-hero {
  height: 40vh;
}

.contact-form-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.contact-info-container {
  height: 100%;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 5px;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-map {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

.faq-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
}

/* Privacy & Terms Page */
.privacy-hero, .terms-hero {
  height: 40vh;
}

.privacy-content, .terms-content {
  padding: 5rem 0;
  background-color: var(--background-color);
}

/* Success Page */
.success-section {
  padding: 8rem 0;
  background-color: var(--background-color);
}

.success-image {
  margin-bottom: 2rem;
}

.success-card {
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  border: none;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.success-card:hover {
  transform: translateY(-5px);
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Media Queries */
@media screen and (min-width: 769px) {
  .vision-content {
    flex-direction: row;
  }
  
  .vision-image-container {
    flex: 1;
  }
  
  .vision-text {
    flex: 1;
    padding: 0 0 0 2rem;
  }
  
  .timeline::before {
    left: 50%;
    margin-left: -2px;
  }
  
  .timeline-item {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 50%;
  }
  
  .timeline-item:nth-child(odd) {
    float: left;
    clear: left;
    padding-right: 3rem;
  }
  
  .timeline-item:nth-child(even) {
    float: right;
    clear: right;
    padding-left: 3rem;
  }
  
  .timeline-marker {
    left: auto;
    right: -10px;
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
    right: auto;
  }
  
  .timeline-content {
    border-left: none;
    border-right: 5px solid var(--primary-color);
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    border-right: none;
    border-left: 5px solid var(--primary-color);
  }
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .vision-section,
  .history-section,
  .press-section,
  .external-resources-section,
  .projects-section,
  .media-section,
  .case-studies-section,
  .blog-section,
  .contact-section {
    padding: 4rem 0;
  }
  
  .vision-content {
    gap: 1rem;
  }
  
  .vision-image-container {
    margin-bottom: 1rem;
  }
  
  .button {
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
  }
  
  .project-card,
  .case-study-card,
  .blog-card,
  .media-card,
  .team-card,
  .value-card {
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
  }
  
  .contact-card {
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
  }
  
  .about-hero,
  .contact-hero,
  .privacy-hero,
  .terms-hero {
    height: 30vh;
  }
}

/* Biomorphic Design Elements */
.biomorphic-shape {
  position: absolute;
  z-index: -1;
  opacity: 0.1;
  animation: float 10s ease-in-out infinite;
}

.shape1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.shape2 {
  bottom: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  background-color: var(--secondary-color);
  border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
}

.shape3 {
  top: 40%;
  right: 15%;
  width: 200px;
  height: 200px;
  background-color: var(--accent-color);
  border-radius: 37% 63% 57% 43% / 63% 40% 60% 37%;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, 10px) rotate(5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Additional Custom Elements */
.card {
  background-color: white;
  border: 4px solid var(--dark-color);
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .title,
.hero-content .subtitle {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

input, textarea, select {
  font-family: var(--body-font) !important;
}

/* Add custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-color);
}

.navbar-item .title.is-4 {
  margin-bottom: 0;
}

.card-image img {
  width: 100%;
}

.card-video img {
  width: 100%;
}

.footer strong {
  color: #fff;
}