/* Root Variables */
:root {
  /* Main Colors */
  --primary: #5a42f5;
  --primary-dark: #4331c3;
  --secondary: #ff6b6b;
  --secondary-dark: #e25555;
  --accent: #ffc145;
  
  /* Neutral Colors */
  --dark: #333333;
  --medium-dark: #555555;
  --medium: #777777;
  --light-medium: #aaaaaa;
  --light: #dddddd;
  --ultra-light: #f8f8f8;
  --white: #ffffff;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #ffffff;
  
  /* Typography */
  --heading-font: 'Manrope', sans-serif;
  --body-font: 'Rubik', sans-serif;
  
  /* Shadows */
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

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

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

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

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

/* Buttons & Form Elements */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-medium);
  transition: all var(--transition-medium);
  cursor: pointer;
  border: none;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(90, 66, 245, 0.3);
}

.button.is-light {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--light);
}

.button.is-light:hover {
  background-color: var(--ultra-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.button.is-outlined:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.button.is-medium {
  font-size: 1.1rem;
  padding: 0.85rem 1.75rem;
}

.button.is-fullwidth {
  width: 100%;
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--body-font);
  font-size: 1rem;
  border: 1px solid var(--light);
  border-radius: var(--radius-medium);
  transition: all var(--transition-fast);
  background-color: var(--white);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(90, 66, 245, 0.2);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.field {
  margin-bottom: 1.5rem;
}

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

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

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.section {
  padding: var(--space-lg) 0;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
}

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

.is-one-third {
  width: 33.333%;
  flex: none;
}

.is-two-thirds {
  width: 66.666%;
  flex: none;
}

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

.is-one-quarter {
  width: 25%;
  flex: none;
}

.is-three-quarters {
  width: 75%;
  flex: none;
}

.is-one-fifth {
  width: 20%;
  flex: none;
}

.is-four-fifths {
  width: 80%;
  flex: none;
}

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

.is-multiline {
  flex-wrap: wrap;
}

.is-centered {
  justify-content: center;
}

.is-vcentered {
  align-items: center;
}

/* Header & Navigation */
.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);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  width: 100%;
}

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

.navbar-item {
  display: inline-flex;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary);
}

.navbar-menu {
  display: flex;
}

.navbar-end {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.navbar-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
  flex-shrink: 0;
}

.navbar-burger span {
  background-color: var(--text-dark);
  display: block;
  height: 2px;
  width: 26px;
  position: absolute;
  left: calc(50% - 13px);
  transition: all var(--transition-fast);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

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

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

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

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-xl) 0;
  margin-top: 70px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  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));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: var(--space-lg) 0;
}

.hero .title,
.hero .subtitle {
  color: var(--white);
  text-shadow: var(--text-shadow);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--white);
}

.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: var(--white);
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.progress {
  width: 100%;
  height: 8px;
  background-color: var(--light);
  border-radius: var(--radius-small);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress::-webkit-progress-bar {
  background-color: var(--light);
  border-radius: var(--radius-small);
}

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

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

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

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./image/texture-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: var(--white);
}

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

.project-card .card-image {
  height: 300px;
}

.project-card .title {
  font-size: 1.5rem;
  margin-top: 0;
}

.project-card .subtitle {
  color: var(--medium);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-small);
  font-size: 0.85rem;
  font-weight: 500;
  background-color: var(--primary);
  color: var(--white);
}

/* Success Stories Section */
.success-stories-section {
  background-color: var(--white);
}

.success-story-card {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background-color: var(--white);
}

.success-story-card .card-image {
  height: 100%;
  min-height: 300px;
}

.success-metrics {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-md);
}

.metric {
  text-align: center;
}

.metric .number {
  display: block;
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  height: max-content !important;
}

.metric .label {
  font-size: 0.9rem;
  color: var(--medium);
  margin-top: 0.25rem;
}

/* Partners Section */
.partners-section {
  background-color: var(--ultra-light);
}

.partner-logo {
  text-align: center;
  transition: transform var(--transition-medium);
}

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

.partner-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partner-testimonial {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.partner-testimonial blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.partner-testimonial cite {
  font-style: normal;
  font-weight: 500;
  color: var(--medium);
}

/* Media Section */
.media-section {
  background-color: var(--white);
}

.media-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: var(--white);
}

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

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

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

.resource-card {
  height: 100%;
  padding: var(--space-md);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: var(--white);
}

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

/* Sustainability Section */
.sustainability-section {
  background-color: var(--white);
  position: relative;
}

.sustainability-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./image/eco-texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
}

.image-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

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

.sustainability-point {
  margin-bottom: var(--space-md);
}

.sustainability-point h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Press Section */
.press-section {
  background-color: var(--ultra-light);
}

.press-release {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
  background-color: var(--white);
}

.press-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-medium);
  text-align: center;
  height: 120px;
}

.press-date .month {
  font-size: 1.2rem;
  font-weight: 500;
}

.press-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.25rem 0;
}

.press-date .year {
  font-size: 1.2rem;
}

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

.contact-info {
  padding: var(--space-md);
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-medium);
  height: 100%;
}

.contact-item {
  margin-bottom: var(--space-md);
}

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

.contact-item h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-form-container {
  padding: var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
}

.contact-form {
  width: 100%;
}

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

.footer .title {
  color: var(--white);
}

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

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

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

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

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

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(33, 33, 33, 0.9);
  color: var(--white);
  padding: 15px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

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

.success-container {
  max-width: 600px;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
}

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

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 120px;
  padding-bottom: var(--space-lg);
}

.terms-content, .privacy-content {
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
}

/* Retro Elements */
.retro-texture {
  position: relative;
}

.retro-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./image/grain-texture.jpg');
  background-size: cover;
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Particle Animation */
@keyframes floating {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-15px) translateX(10px);
  }
  100% {
    transform: translateY(0px) translateX(0px);
  }
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floating 7s infinite ease-in-out;
}

/* Read More Links */
a.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition-fast);
}

a.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

a.read-more:hover {
  color: var(--primary-dark);
}

a.read-more:hover::after {
  transform: translateX(3px);
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-item {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
  
  .is-one-third,
  .is-half,
  .is-one-quarter,
  .is-one-fifth {
    width: 100%;
  }
  
  .columns.is-multiline .column {
    flex-basis: 100%;
    
  }
  
  .success-story-card .columns {
    flex-direction: column-reverse;
  }
  
  .success-story-card.reverse .columns {
    flex-direction: column;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .is-one-third {
    width: 50%;
  }
  
  .is-one-quarter {
    width: 50%;
  }
  
  .is-one-fifth {
    width: 33.333%;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    padding: var(--space-lg) 0;
  }
  .columns.is-multiline .column,
  .is-two-thirds {
    width: 100% !important;
  }

  .about-section {
    padding: 50px 0;
  }

  .columns {
    flex-direction: column !important;
  }
  .checkbox {
    flex-direction: column !important;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: var(--space-md) 0;
  }
  
  .metric .number {
    font-size: 1.75rem;
  }
  
  .press-date {
    height: auto;
    margin-bottom: 1rem;
  }
  
  .contact-info {
    margin-bottom: var(--space-md);
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-links {
    margin-bottom: var(--space-md);
  }
}


.mission-icon img {
  margin-left: auto;
  margin-right: auto;
}

.navbar h1 {
  margin-bottom: 0 !important;
}