/* ===============================
   VARIABLES
   =============================== */
:root {
  /* Brand Colors - Analogous Color Scheme */
  --color-primary: #2E7D32;
  --color-primary-light: #4CAF50;
  --color-primary-dark: #1B5E20;
  --color-secondary: #388E3C;
  --color-secondary-light: #66BB6A;
  --color-secondary-dark: #2E7D32;
  --color-tertiary: #1976D2;
  --color-tertiary-light: #42A5F5;
  --color-tertiary-dark: #0D47A1;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-light: #F5F7FA;
  --color-light-gray: #E1E8ED;
  --color-gray: #AAB8C2;
  --color-dark-gray: #657786;
  --color-dark: #14171A;
  --color-black: #000000;
  
  /* Shadows for Neumorphism */
  --shadow-light: 8px 8px 16px rgba(174, 174, 192, 0.4), -8px -8px 16px rgba(255, 255, 255, 0.7);
  --shadow-inset: inset 2px 2px 5px rgba(174, 174, 192, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.5);
  --shadow-small: 3px 3px 6px rgba(174, 174, 192, 0.2), -3px -3px 6px rgba(255, 255, 255, 0.5);
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
  --radius-round: 50%;
  
  /* Typography */
  --font-primary: 'Oswald', sans-serif;
  --font-secondary: 'Nunito', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===============================
   RESET & BASE
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

p {
  margin-bottom: var(--spacing-md);
}

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

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

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

/* ===============================
   TYPOGRAPHY
   =============================== */
.title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
}

.title.is-1 {
  font-size: calc(2rem + 1vw);
  margin-bottom: var(--spacing-xl);
}

.title.is-2 {
  font-size: calc(1.75rem + 0.5vw);
  margin-bottom: var(--spacing-lg);
}

.title.is-3 {
  font-size: calc(1.5rem + 0.3vw);
  margin-bottom: var(--spacing-md);
}

.title.is-4 {
  font-size: calc(1.25rem + 0.2vw);
  margin-bottom: var(--spacing-sm);
}

.subtitle {
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-medium);
  color: var(--color-dark-gray);
}

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

.has-text-centered {
  text-align: center;
}

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

.has-background-light {
  background-color: var(--color-light) !important;
}

/* ===============================
   LAYOUT
   =============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -var(--spacing-md);
}

.column {
  padding: var(--spacing-md);
}

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

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

.is-half {
  width: 50%;
}

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

.is-full {
  width: 100%;
}

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

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: calc(var(--spacing-md) * 1.5);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

.mt-6 {
  margin-top: var(--spacing-xxl);
}

.mb-4 {
  margin-bottom: calc(var(--spacing-md) * 1.5);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

.mb-6 {
  margin-bottom: var(--spacing-xxl);
}

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

.is-variable.is-8 {
  --columnGap: 2rem;
}

/* ===============================
   BUTTONS
   =============================== */
.button, 
button, 
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-small);
  letter-spacing: 0.5px;
  background-color: var(--color-light);
  color: var(--color-dark);
}

.button:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-inset);
}

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

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

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

.button.is-light:hover {
  background-color: var(--color-light-gray);
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
}

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

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

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

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

/* ===============================
   FORMS
   =============================== */
.field {
  margin-bottom: var(--spacing-lg);
}

.label {
  display: block;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
}

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

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

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

.control {
  position: relative;
  width: 100%;
}

.control.has-icons-left .input,
.control.has-icons-left .select select {
  padding-left: 2.5rem;
}

.control.has-icons-right .input,
.control.has-icons-right .select select {
  padding-right: 2.5rem;
}

.icon {
  position: absolute;
  top: 0;
  height: 100%;
  width: 2.5rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon.is-left {
  left: 0;
}

.icon.is-right {
  right: 0;
}

.checkbox, .radio {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.checkbox input, .radio input {
  margin-right: var(--spacing-sm);
}

.field.has-addons {
  display: flex;
}

.field.has-addons .control:not(:last-child) {
  margin-right: -1px;
}

.field.has-addons .control:not(:first-child):not(:last-child) .button,
.field.has-addons .control:not(:first-child):not(:last-child) .input,
.field.has-addons .control:not(:first-child):not(:last-child) .select select {
  border-radius: 0;
}

.field.has-addons .control:first-child .button,
.field.has-addons .control:first-child .input,
.field.has-addons .control:first-child .select select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.field.has-addons .control:last-child .button,
.field.has-addons .control:last-child .input,
.field.has-addons .control:last-child .select select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.field.has-addons .control.is-expanded {
  flex-grow: 1;
  flex-shrink: 1;
}

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

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

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

.navbar-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--color-dark);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

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

.navbar-menu {
  display: flex;
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

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

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

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

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

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

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

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

@media screen and (max-width: 1024px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-burger {
    display: block;
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
}

.hero.is-fullheight {
  min-height: 100vh;
}

.hero-body {
  flex-grow: 1;
  padding: 3rem 0;
  z-index: 2;
  width: 100%;
}

.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.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;
}

/* ===============================
   CARDS
   =============================== */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

/* ===============================
   TIMELINE
   =============================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  background: linear-gradient(to bottom, var(--color-primary-light), var(--color-tertiary));
  border-radius: var(--radius-round);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: var(--radius-round);
  background-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-white);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 10px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--color-white) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--color-white);
}

.timeline-content .heading {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.timeline-content .content h3 {
  margin-bottom: var(--spacing-sm);
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
    transform: none;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    margin-right: 0;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .timeline-content::after {
    display: none;
  }
}

/* ===============================
   METHODOLOGY SECTION
   =============================== */
.research-item,
.initiative-item {
  margin-bottom: var(--spacing-xl);
}

.research-item:last-child,
.initiative-item:last-child {
  margin-bottom: 0;
}

.research-item h4,
.initiative-item h4 {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.research-stats {
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.2;
  font-family: var(--font-primary);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-dark-gray);
}

.research-publications ul {
  list-style: none;
  padding: 0;
}

.research-publications li {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
  position: relative;
}

.research-publications li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.2em;
}

/* ===============================
   PORTFOLIO SECTION
   =============================== */
.portfolio,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  transform: translateY(20px);
  transition: transform var(--transition-medium);
}

.portfolio-item:hover .portfolio-title {
  transform: translateY(0);
}

.portfolio-category {
  color: var(--color-light-gray);
  font-size: 0.875rem;
  transform: translateY(20px);
  transition: transform var(--transition-medium);
  transition-delay: 0.05s;
}

.portfolio-item:hover .portfolio-category {
  transform: translateY(0);
}

/* ===============================
   SUSTAINABILITY SECTION
   =============================== */
.sustainability-metrics {
  margin-top: var(--spacing-xxl);
}

.metric-box {
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.2;
  font-family: var(--font-primary);
}

.metric-unit {
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-sm);
}

.metric-description {
  color: var(--color-dark-gray);
}

.progress-container {
  margin-bottom: var(--spacing-lg);
}

.progress-container label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-weight-medium);
}

.progress {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  height: 12px;
  width: 100%;
  border-radius: var(--radius-small);
  margin-bottom: var(--spacing-md);
  background-color: var(--color-light-gray);
  overflow: hidden;
}

.progress::-webkit-progress-bar {
  background-color: var(--color-light-gray);
}

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

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

.progress.is-primary::-webkit-progress-value {
  background-color: var(--color-primary);
}

.progress.is-primary::-moz-progress-bar {
  background-color: var(--color-primary);
}

.progress.is-info::-webkit-progress-value {
  background-color: var(--color-tertiary);
}

.progress.is-info::-moz-progress-bar {
  background-color: var(--color-tertiary);
}

.progress.is-success::-webkit-progress-value {
  background-color: var(--color-secondary);
}

.progress.is-success::-moz-progress-bar {
  background-color: var(--color-secondary);
}

/* ===============================
   GALLERY SECTION
   =============================== */
.gallery-container {
  margin: 0 -var(--spacing-sm);
}

.gallery-item {
  position: relative;
  margin: var(--spacing-sm);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===============================
   CONTACT SECTION
   =============================== */
.contact-form-container {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

.contact-info {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

.contact-item {
  margin-bottom: var(--spacing-lg);
}

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

.contact-item strong {
  display: block;
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-xs);
}

.map-container {
  height: 250px;
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

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

/* ===============================
   FOOTER
   =============================== */
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--spacing-xxl) 0;
}

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

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

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

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-links a {
  font-family: var(--font-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-small);
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  text-align: center;
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.newsletter-form .input::placeholder {
  color: var(--color-gray);
}

.newsletter-form .input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
}

/* ===============================
   SUCCESS PAGE
   =============================== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
}

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

.success-title {
  margin-bottom: var(--spacing-md);
}

.success-message {
  max-width: 600px;
  margin-bottom: var(--spacing-xl);
}

/* ===============================
   PRIVACY & TERMS PAGES
   =============================== */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background-color: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

/* ===============================
   UTILITIES & ANIMATIONS
   =============================== */
.image-container {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

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

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

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

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

/* ===============================
   RESPONSIVE STYLES
   =============================== */
@media screen and (max-width: 1023px) {
  .is-one-quarter {
    width: 50%;
  }
  
  .is-one-third {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .is-one-quarter,
  .is-one-third,
  .is-half,
  .is-two-thirds {
    width: 100%;
  }
  
  .columns {
    margin: 0;
  }
  
  .column {
    padding: var(--spacing-md) 0;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-body {
    padding: 2rem 0;
  }
  
  .title.is-1 {
    font-size: calc(1.75rem + 1vw);
  }
  
  .title.is-2 {
    font-size: calc(1.5rem + 0.5vw);
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button.is-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .stat-number {
    font-size: 2rem;
  }
  
  .title.is-1 {
    font-size: calc(1.5rem + 1vw);
  }
  
  .title.is-2 {
    font-size: calc(1.25rem + 0.5vw);
  }
}

/* ===============================
   DARK MODE SUPPORT
   =============================== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-light: #1E2127;
    --color-light-gray: #303440;
    --color-gray: #6C7486;
    --color-dark-gray: #9AA2B1;
    --color-dark: #F5F7FA;
    
    --shadow-light: 8px 8px 16px rgba(0, 0, 0, 0.5), -8px -8px 16px rgba(38, 40, 47, 0.7);
    --shadow-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -5px -5px 10px rgba(38, 40, 47, 0.5);
    --shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.3), -3px -3px 6px rgba(38, 40, 47, 0.5);
  }
  
  body {
    background-color: var(--color-light);
    color: var(--color-dark);
  }
  
  .header {
    background-color: rgba(30, 33, 39, 0.95);
  }
  
  .card, 
  .contact-form-container, 
  .contact-info, 
  .research-stats, 
  .metric-box, 
  .privacy-content, 
  .terms-content {
    background-color: #26282F;
    box-shadow: var(--shadow-light);
  }
  
  .navbar-burger span {
    background-color: var(--color-white);
  }
  
  .navbar-item {
    color: var(--color-white);
  }
  
  .input, 
  .textarea, 
  .select select {
    background-color: var(--color-light-gray);
    color: var(--color-white);
    border-color: #3F4454;
  }
  
  .button.is-light {
    background-color: var(--color-light-gray);
    color: var(--color-white);
  }
  
  .has-background-light {
    background-color: #1A1C22 !important;
  }
  
  .timeline-content, 
  .timeline-marker {
    background-color: #26282F;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after {
    border-color: transparent #26282F transparent transparent;
  }
  
  .timeline-item:nth-child(even) .timeline-content::after {
    border-color: transparent transparent transparent #26282F;
  }
}

.title:not(.is-spaced)+.subtitle {
  margin-top: 0;
}

.testimonial-content {
  padding: 16px;
}

@media (max-width:768px){
    .navbar-brand {
      width: 90vw;
    }
}

@media (max-width:500px){
    .columns {
      flex-direction: column !important;
    }
}