/*
Theme Name: Tutator Fondation
Theme URI: https://tutator.org
Author: Tutator Fondation
Author URI: https://tutator.org
Description: Official theme for Fondation Tutator — Grants That Go Beyond Funding. Multi-language support (EN/ES/FR) with custom i18n system.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tutator-fondation
Tags: one-column, custom-menu, translation-ready
*/

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

:root {
  --teal: #008799;
  --teal-light: #009DB1;
  --navy: #0F172B;
  --navy-card: #121E39;
  --navy-mid: #1E3362;
  --text: #45556C;
  --text-light: #CAD5E2;
  --border: #E2E8F0;
  --bg-light: #F8FAFC;
  --bg-teal-light: #EAFBFA;
  --bg-teal-card: #ECFCFD;
  --bg-blue-light: #D0E6FA;
  --bg-teal-deco: #D0FAF8;
  --white: #FFFFFF;
  --footer-bg: #164173;
  --font: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.teal-text {
  color: var(--teal);
}

.underlined {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 8px;
  text-decoration-thickness: 4px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--teal);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 120px;
  position: relative;
}

.nav-logo img {
  height: 107px;
  width: 176px;
  object-fit: contain;
  margin-top: -8px;
  margin-bottom: -56px;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.45px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.85;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--white);
  border-radius: 56px;
  padding: 8px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.39px;
  text-transform: uppercase;
  cursor: pointer;
  height: 36px;
}

.lang-btn svg {
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-flag {
  width: 20px;
  height: 13px;
  object-fit: cover;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-width: 160px;
  z-index: 100;
}

.lang-menu.open {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--navy);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-option:hover {
  background: var(--bg-teal-light);
}

.lang-option.active {
  background: var(--bg-teal-light);
  color: var(--teal);
  font-weight: 600;
}

.lang-option-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

/* Mobile language selector */
.mobile-lang-group {
  display: none;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 4px;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.mobile-lang-btn img {
  width: 20px;
  height: 13px;
  object-fit: cover;
}

.mobile-lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--white);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  font-size: 75px;
  font-weight: 700;
  line-height: 90px;
  color: var(--navy);
  letter-spacing: 0.12px;
  margin-bottom: 58px;
}

.hero-content h1 .teal-text {
  display: block;
}

html[data-lang="en"] .hero-content h1 .teal-text {
  white-space: nowrap;
}

html[data-lang="es"] .hero-content h1,
html[data-lang="fr"] .hero-content h1 {
  font-size: 48px;
  line-height: 58px;
}

.hero-description {
  font-size: 25px;
  font-weight: 400;
  line-height: 35px;
  color: var(--text);
  letter-spacing: -0.45px;
  margin-bottom: 48px;
  max-width: 494px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  font-size: 20px;
  padding: 16px 32px;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.31px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-deco-teal {
  position: absolute;
  right: -24px;
  top: -10px;
  width: 96px;
  height: 96px;
  background: var(--bg-teal-deco);
  border-radius: 16px;
  z-index: 0;
}

.hero-deco-blue {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: 128px;
  height: 128px;
  background: var(--bg-blue-light);
  border-radius: 16px;
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 520px;
  height: 576px;
}

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

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  background: var(--teal);
}

/* ===== ABOUT CARDS ===== */
.about-section {
  padding: 64px 0;
}

.about-card-who {
  position: relative;
  background: linear-gradient(167deg, #008799 0%, #009DB1 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 32px;
}

.about-card-who-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 256px;
  height: 256px;
  opacity: 0.1;
}

.about-card-who-bg img {
  width: 100%;
  height: 100%;
}

.about-card-who-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 64px;
}

.about-icon-box {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-box img {
  width: 32px;
  height: 32px;
}

.about-icon-box--white {
  background: rgba(255, 255, 255, 0.2);
}

.about-icon-box--teal-light {
  background: var(--bg-teal-card);
}

.about-icon-box--teal-dark {
  background: rgba(0, 188, 172, 0.2);
}

.about-card-who-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 40px;
  margin-bottom: 16px;
  letter-spacing: 0.37px;
}

.about-card-who-content p {
  font-size: 18px;
  font-weight: 400;
  color: #ECFDF5;
  line-height: 29.25px;
  letter-spacing: -0.44px;
}

.about-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-card {
  border-radius: 24px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card--light {
  background: var(--white);
  border: 2px solid var(--border);
}

.about-card--dark {
  background: var(--navy-card);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.1);
}

.about-card--light h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 36px;
  letter-spacing: 0.40px;
}

.about-card--light p {
  font-size: 18px;
  color: var(--text);
  line-height: 29.25px;
  letter-spacing: -0.44px;
}

.about-card--dark h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 36px;
  letter-spacing: 0.40px;
}

.about-card--dark p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 29.25px;
  letter-spacing: -0.44px;
}

/* ===== STATS ===== */
.stats-section {
  padding: 200px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -120px;
  width: 541px;
  height: 208px;
  border: 60px solid #cbf4f2;
  border-radius: 9999px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: -60px;
  width: 380px;
  height: 175px;
  border: 50px solid #c5d9ec;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-title {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  line-height: 60px;
  letter-spacing: 0.26px;
  margin-bottom: 65px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-card {
  text-align: center;
  padding: 40px;
  position: relative;
}

.stat-card--bracket-tl::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 48px;
  height: 48px;
  border-top: 4px solid var(--teal);
  border-left: 4px solid var(--teal);
}

.stat-card--bracket-br::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 48px;
  height: 48px;
  border-bottom: 4px solid var(--teal);
  border-right: 4px solid var(--teal);
}

.stat-number {
  font-size: 60px;
  font-weight: 700;
  color: var(--navy);
  line-height: 60px;
  letter-spacing: 0.26px;
  margin-bottom: 24px;
}

.stat-bar {
  width: 64px;
  height: 4px;
  background: var(--teal);
  margin: 0 auto 24px;
}

.stat-desc {
  font-size: 18px;
  color: var(--text);
  line-height: 29.25px;
  letter-spacing: -0.44px;
  max-width: 230px;
  margin: 0 auto;
}

/* Decorative dividers */
.stats-divider-top,
.stats-divider-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.stats-divider-bottom {
  margin-bottom: 0;
  margin-top: 48px;
}

.divider-line {
  width: 48px;
  height: 1px;
  background: var(--teal);
}

.divider-line-gray {
  width: 128px;
  height: 1px;
  background: var(--text-light);
}

.divider-diamond {
  width: 12px;
  height: 12px;
  background: var(--teal);
  transform: rotate(45deg);
}

.divider-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* ===== PARTNERS ===== */
.partners-section {
  padding: 106px 0 80px;
  background: linear-gradient(180deg, var(--navy-card) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.partners-header h2 {
  font-size: 60px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 0.26px;
}

.partners-underline {
  width: 96px;
  height: 6px;
  background: var(--teal);
  border-radius: 9999px;
  margin-top: 32px;
}

.partners-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  margin-top: 48px;
  margin-bottom: 80px;
}

.partners-subtitle {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.37px;
  margin-bottom: 32px;
}

.partners-sub-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  margin-bottom: 32px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.criteria-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 33px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.criteria-icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.criteria-icon-box img {
  width: 38px;
  height: 38px;
}

.criteria-card p {
  font-size: 18px;
  font-weight: 400;
  color: #E2E8F0;
  line-height: 29.25px;
  letter-spacing: -0.44px;
}

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

.ready-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 33px;
}

.ready-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #E2E8F0;
  line-height: 29.25px;
  margin-bottom: 8px;
}

.ready-card p {
  font-size: 18px;
  font-weight: 400;
  color: #E2E8F0;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  margin-bottom: 16px;
}

.btn-small {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 3px 16px;
  border-radius: 10px;
  letter-spacing: -0.31px;
  transition: transform 0.2s;
}

.btn-small:hover {
  transform: translateY(-1px);
}

/* ===== DONORS ===== */
.donors-section {
  padding: 100px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.donors-section::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -250px;
  width: 600px;
  height: 600px;
  border: 60px solid rgba(234, 251, 250, 0.15);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}

.donors-section::after {
  content: '';
  position: absolute;
  top: -190px;
  right: -190px;
  width: 480px;
  height: 480px;
  border: 60px solid rgba(234, 251, 250, 0.45);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}

.donors-geo-bottom-left {
  position: absolute;
  bottom: -100px;
  left: -120px;
  width: 506px;
  height: 295px;
  border: 50px solid rgba(197, 217, 236, 0.3);
  pointer-events: none;
  z-index: 0;
}

.donors-section .container {
  position: relative;
  z-index: 1;
}

.donors-header h2 {
  font-size: 60px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 0.26px;
  color: var(--navy);
  margin-bottom: 32px;
}

.donors-intro {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  color: #000;
  margin-bottom: 48px;
}

.donors-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.donors-text-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.donor-quote {
  border-left: 4px solid var(--teal);
  padding-left: 36px;
}

.donor-quote p {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  color: #000;
}

.donors-infra {
  margin-bottom: 48px;
}

.donors-infra-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 74px;
}

.diamond-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 4px solid #4C929A;
  transform: rotate(45deg);
  margin-top: 4px;
}

.donors-infra-header h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.40px;
  color: var(--navy);
}

.donors-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
}

.benefit-corner {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 48px;
  height: 48px;
  border-top: 4px solid var(--teal);
  border-left: 4px solid var(--teal);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-icon img {
  width: 27px;
  height: 27px;
}

.benefit-card p {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  color: #314158;
}

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 0 0 80px;
  background: var(--white);
}

.cta-banner {
  background: var(--bg-teal-light);
  border: 4px solid var(--teal);
  padding: 64px;
  position: relative;
  overflow: visible;
}

.cta-deco-diamond {
  position: absolute;
  top: -48px;
  right: 64px;
  width: 96px;
  height: 96px;
  background: var(--navy-card);
  transform: rotate(45deg);
  z-index: 2;
}

.cta-deco-square {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 64px;
  height: 64px;
  background: var(--teal);
  z-index: 2;
}

.cta-content h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 48.75px;
  letter-spacing: 0.40px;
  color: var(--navy);
  margin-bottom: 32px;
  max-width: 851px;
}

.cta-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: -0.44px;
  color: #314158;
  max-width: 843px;
}

.cta-button-wrapper {
  text-align: center;
  margin-top: 32px;
}

.btn-cta {
  background: linear-gradient(104deg, #008799 1.5%, #019BB0 99.8%);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  padding: 24px 32px;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.31px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 180px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 396px;
  left: -187px;
  width: 384px;
  height: 384px;
  border: 50px solid rgba(195, 215, 233, 0.5);
  border-radius: 9999px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  width: 320px;
  height: 320px;
  border: 40px solid rgba(208, 250, 248, 0.4);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h1 {
  font-size: 75px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: 0.35px;
}

.contact-underline {
  width: 80px;
  height: 4px;
  background: var(--teal);
  margin: 28px auto 0;
}

.contact-form-card {
  max-width: 768px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 49px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-size: 18px;
  font-weight: 500;
  color: #314158;
  line-height: 20px;
  letter-spacing: -0.15px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  height: 50px;
  background: var(--bg-light);
  border: 1px solid #CAD5E2;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.31px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #90A1B9;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--teal);
}

.contact-field textarea {
  height: 170px;
  resize: vertical;
  line-height: 24px;
}

.contact-submit {
  width: 100%;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.31px;
  cursor: pointer;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-submit:hover {
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 32px;
}

.footer-logo {
  height: 106px;
  width: 211px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.31px;
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: -0.44px;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: var(--white);
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-newsletter p {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.31px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #314158;
  border-radius: 10px;
  background: var(--navy-card);
  color: var(--white);
  font-size: 16px;
  font-family: var(--font);
  letter-spacing: -0.31px;
  outline: none;
  height: 50px;
}

.newsletter-form input::placeholder {
  color: var(--white);
  opacity: 0.7;
}

.newsletter-form input:focus {
  border-color: var(--teal);
}

.btn-subscribe {
  background: var(--teal);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 10px;
  height: 50px;
  letter-spacing: -0.31px;
}

.footer-bottom {
  border-top: 1px solid var(--white);
  padding: 33px 0 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .navbar-inner {
    padding: 20px 48px;
  }

  .hero-container {
    gap: 64px;
  }

  .hero-content h1 {
    font-size: 56px;
    line-height: 68px;
  }

  .hero-description {
    font-size: 20px;
    line-height: 30px;
  }

  .hero-image {
    width: 420px;
    height: 480px;
  }

  .partners-header h2,
  .donors-header h2 {
    font-size: 48px;
    line-height: 48px;
  }

  .stats-title {
    font-size: 48px;
    line-height: 48px;
  }

  .stat-number {
    font-size: 48px;
    line-height: 48px;
  }
}

@media (max-width: 1024px) {
  .navbar-inner {
    padding: 16px 24px;
  }

  .nav-logo img {
    height: 70px;
  }

  .container {
    padding: 0 24px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .hero-image-wrapper {
    display: flex;
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    max-width: 520px;
    height: 400px;
  }

  .about-cards-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stat-card--bracket-tl::before,
  .stat-card--bracket-br::after {
    display: none;
  }

  .partners-header h2 {
    font-size: 40px;
    line-height: 44px;
  }

  .partners-subtitle {
    font-size: 26px;
    line-height: 32px;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .ready-grid {
    grid-template-columns: 1fr;
  }

  .donors-header h2 {
    font-size: 40px;
    line-height: 44px;
  }

  .donors-text-grid {
    grid-template-columns: 1fr;
  }

  .donors-benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .lang-dropdown {
    display: none;
  }

  .mobile-lang-group {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .hero-description {
    font-size: 18px;
    line-height: 28px;
  }

  .about-card-who-inner {
    flex-direction: column;
    padding: 32px;
  }

  .about-card {
    padding: 28px;
  }

  .partners-subtitle {
    font-size: 24px;
  }

  .donors-infra-header h3 {
    font-size: 24px;
    line-height: 30px;
  }

  .cta-banner {
    padding: 32px;
  }

  .cta-content h3 {
    font-size: 24px;
    line-height: 36px;
  }

  .cta-content p {
    font-size: 17px;
    line-height: 28px;
  }

  .btn-cta {
    font-size: 18px;
    padding: 16px 24px;
  }

  .hero-carousel-dots {
    bottom: 12px;
    gap: 6px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .contact-section {
    padding: 120px 0 60px;
  }

  .contact-header h1 {
    font-size: 48px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-field label {
    font-size: 16px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 16px;
    height: 48px;
  }

  .contact-field textarea {
    height: 150px;
  }

  .contact-submit {
    font-size: 16px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 14px 24px;
  }

  .stats-title {
    font-size: 32px;
    line-height: 36px;
  }

  .stat-number {
    font-size: 36px;
    line-height: 36px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-ready.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FORM MESSAGES ===== */
.form-message {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.form-message.success {
  background: rgba(45, 183, 175, 0.15);
  color: #1a9e94;
}
.form-message.error {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}
