/*
Theme Name: EdOak Farms Theme
Theme URI: https://github.com/denacquah5/EdOak-Farms-website-new
Author: Dennis Acquah
Description: A modern, premium, sustainable agribusiness theme designed for EdOak Farms in Ghana.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edoak-farms-theme
*/

/* EdOak Farms - Modern Agrarian CSS Design System */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Work+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* CSS Variables for design tokens */
:root {
  /* Colors */
  --color-surface: #f9faf8;
  --color-surface-dim: #d9dad8;
  --color-surface-bright: #f9faf8;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f3f4f2;
  --color-surface-container: #edeeec;
  --color-surface-container-high: #e7e8e6;
  --color-surface-container-highest: #e1e3e1;
  --color-on-surface: #191c1b;
  --color-on-surface-variant: #434843;
  --color-inverse-surface: #2e3130;
  --color-inverse-on-surface: #f0f1ef;
  --color-outline: #737973;
  --color-outline-variant: #c3c8c1;
  --color-surface-tint: #4d6453;
  --color-primary: #061b0e;
  --color-on-primary: #ffffff;
  --color-primary-container: #1b3022;
  --color-on-primary-container: #819986;
  --color-inverse-primary: #b4cdb8;
  --color-secondary: #74584a;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #fed8c5;
  --color-on-secondary-container: #795d4e;
  --color-tertiary: #231300;
  --color-on-tertiary: #ffffff;
  --color-tertiary-container: #3f2600;
  --color-on-tertiary-container: #ca8400;
  --color-error: #ba1a1a;
  --color-on-error: #ffffff;
  --color-error-container: #ffdad6;
  --color-on-error-container: #93000a;
  --color-primary-fixed: #d0e9d4;
  --color-primary-fixed-dim: #b4cdb8;
  --color-on-primary-fixed: #0b2013;
  --color-on-primary-fixed-variant: #364c3c;
  --color-secondary-fixed: #ffdbca;
  --color-secondary-fixed-dim: #e3bfad;
  --color-on-secondary-fixed: #2a170c;
  --color-on-secondary-fixed-variant: #5a4134;
  --color-tertiary-fixed: #ffddb5;
  --color-tertiary-fixed-dim: #ffb957;
  --color-on-tertiary-fixed: #2a1800;
  --color-on-tertiary-fixed-variant: #643f00;
  --color-background: #f9faf8;
  --color-on-background: #191c1b;
  --color-surface-variant: #e1e3e1;

  /* Border Radii */
  --radius-sm: 0.125rem;
  --radius-default: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-xxl: 1rem;
  --radius-xxxl: 1.5rem;
  --radius-full: 9999px;

  /* Spacing & Layout */
  --space-unit: 8px;
  --space-gutter: 24px;
  --margin-mobile: 16px;
  --margin-desktop: 64px;
  --container-max: 1280px;

  /* Shadows (Tonal Layering & Soft Ambient Shadows) */
  --shadow-sm: 0 2px 8px -2px rgba(6, 27, 14, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(6, 27, 14, 0.08);
  --shadow-lg: 0 16px 40px -12px rgba(6, 27, 14, 0.1);
  --shadow-premium: 0 24px 64px -16px rgba(6, 27, 14, 0.12);
}

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

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

body {
  font-family: 'Work Sans', sans-serif;
  background-color: var(--color-background);
  color: var(--color-on-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  line-height: 1.2;
}

.text-display-lg {
  font-family: 'Newsreader', serif;
  font-size: 3rem; /* 48px */
  font-weight: 700;
  line-height: 3.5rem; /* 56px */
  letter-spacing: -0.02em;
}

.text-headline-lg {
  font-family: 'Newsreader', serif;
  font-size: 2rem; /* 32px */
  font-weight: 600;
  line-height: 2.5rem; /* 40px */
}

.text-headline-md {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  line-height: 2rem; /* 32px */
}

.text-body-lg {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
  line-height: 1.75rem; /* 28px */
}

.text-body-md {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.5rem; /* 24px */
}

.text-label-md {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  line-height: 1.25rem; /* 20px */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Responsive Display Size */
@media (max-width: 768px) {
  .text-display-lg {
    font-size: 2.25rem; /* 36px */
    line-height: 2.75rem; /* 44px */
  }
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
  }
}

.grid {
  display: grid;
  gap: var(--space-gutter);
}

.grid-cols-1  { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (max-width: 768px) {
  .md-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6  { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Col spans */
.col-span-1  { grid-column: span 1 / span 1; }
.col-span-2  { grid-column: span 2 / span 2; }
.col-span-3  { grid-column: span 3 / span 3; }
.col-span-4  { grid-column: span 4 / span 4; }
.col-span-8  { grid-column: span 8 / span 8; }
.col-span-12 { grid-column: span 12 / span 12; }

@media (min-width: 768px) {
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
}

@media (min-width: 1024px) {
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

.row-span-2 { grid-row: span 2 / span 2; }

/* Structural Margins & Sections */
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 1024px) {
  section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }

/* Texture & Details */
.grain-texture {
  background-image: url("https://www.transparenttextures.com/patterns/fine-linen.png");
  opacity: 0.03;
  pointer-events: none;
}

.organic-bg {
  background-image: radial-gradient(circle at 2px 2px, rgba(115, 121, 115, 0.04) 1px, transparent 0);
  background-size: 40px 40px;
}

/* Premium Top Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(249, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(195, 200, 193, 0.2);
  transition: all 0.4s ease;
}

nav.scrolled {
  background-color: var(--color-surface-container-lowest);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(195, 200, 193, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--color-on-surface-variant);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Mobile Menu Hamburger Drawer */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .nav-links, .nav-ctas button.hidden-mobile {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}

.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--color-surface-container-lowest);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(195, 200, 193, 0.4);
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 40;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer a {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-on-surface);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-surface-container);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-lg {
  padding: 16px 32px;
  border-radius: var(--radius-xl);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-container);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}

.btn-secondary:hover {
  background-color: rgba(116, 88, 74, 0.05);
  transform: translateY(-2px);
}

.btn-tertiary {
  background-color: var(--color-tertiary-fixed-dim);
  color: var(--color-secondary-fixed-variant);
}

.btn-tertiary:hover {
  background-color: var(--color-tertiary-fixed);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Bento Cards System */
.bento-card {
  background-color: var(--color-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(195, 200, 193, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(115, 121, 115, 0.3);
}

.bento-card.bg-primary {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border: none;
}

.bento-card.bg-secondary {
  background-color: var(--color-secondary) !important;
  color: #ffffff !important;
  border: none;
}

.bento-card.bg-tertiary-container {
  background-color: var(--color-tertiary-container) !important;
  color: var(--color-on-tertiary-fixed) !important;
  border: none;
}

.bento-card.bg-surface-container-low {
  background-color: var(--color-surface-container-low);
}

.bento-card.bg-surface-container-high {
  background-color: var(--color-surface-container-high);
}

/* Modern Harvest Bar */
.harvest-bar {
  margin-top: 16px;
}

.harvest-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.harvest-bar-track {
  height: 8px;
  width: 100%;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.harvest-bar-fill {
  height: 100%;
  background-color: var(--color-tertiary-fixed-dim);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tonal Elevation Shadows */
.tonal-elevation {
  box-shadow: var(--shadow-md);
  background-color: var(--color-surface-container-lowest);
  border: 1px solid rgba(195, 200, 193, 0.2);
  transition: all 0.3s ease;
}

.tonal-elevation:hover {
  box-shadow: var(--shadow-lg);
}

/* Premium Hero Layouts */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-about {
  min-height: 70vh;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 27, 14, 0.85) 0%, rgba(6, 27, 14, 0.4) 50%, rgba(6, 27, 14, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

/* Form Styles */
form {
  background-color: var(--color-surface-container-lowest);
  border: 1px solid rgba(195, 200, 193, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

label {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
  transition: color 0.3s ease;
}

input, select, textarea {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  background-color: var(--color-surface-container-low);
  border: 1px solid rgba(116, 88, 74, 0.2);
  border-radius: var(--radius-lg);
  color: var(--color-on-surface);
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-surface-container-lowest);
  box-shadow: 0 0 0 3px rgba(6, 27, 14, 0.05);
}

/* Tables & Lists */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-outline-variant);
}

th {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

tr:hover {
  background-color: rgba(6, 27, 14, 0.02);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--color-outline);
  border-radius: var(--radius-full);
}

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

/* General Layout helpers */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.rounded-full { border-radius: var(--radius-full); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-xxl); }
.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.border-l-4 { border-left-width: 4px; }
.border-primary { border-color: var(--color-primary); }
.border-secondary { border-color: var(--color-secondary); }
.pl-8 { padding-left: 2rem; }
.pl-6 { padding-left: 1.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.text-white { color: #ffffff; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-tertiary { color: var(--color-tertiary); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-primary-fixed { color: var(--color-primary-fixed); }
.text-secondary-fixed { color: var(--color-secondary-fixed); }
.text-tertiary-fixed { color: var(--color-tertiary-fixed); }
.opacity-10 { opacity: 0.1; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.h-3 { height: 0.75rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-1\/2 { width: 50%; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.border-outline-variant { border: 1px solid var(--color-outline-variant); }
.border-t { border-top: 1px solid rgba(195, 200, 193, 0.2); }
.border-y { border-top: 1px solid rgba(195, 200, 193, 0.2); border-bottom: 1px solid rgba(195, 200, 193, 0.2); }
.inline-block { display: inline-block; }
.mr-2 { margin-right: 0.5rem; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Animation utilities and reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-bounce-slow {
  animation: bounceSlow 3s ease-in-out infinite;
}

@keyframes bounceSlow {
  0%, 100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* Footer structure */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-outline-variant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.footer-column h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--color-on-surface-variant);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-newsletter input {
  margin-bottom: 12px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(195, 200, 193, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
