/* ==========================================================================
   ABOUT PAGE — about.css
   ========================================================================== */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --primary: #1D4ED8;
  --primary-dark: #1E3A8A;
  --primary-light: #3B82F6;
  --bg: #F8F7F4;
  --bg-dark: #0F1117;
  --bg-accent: #F0EFEc;
  --text: #0F1117;
  --text-muted: #6B7280;
  --border: rgba(15, 17, 23, 0.1);
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 112px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --sb-track: #5194e0;
  --sb-thumb: #031c5f;
  --sb-hover: #000000;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

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

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
}

h1 { font-size: 88px; }
h2 {
  font-size: 56px;
  margin-bottom: 24px;
}
h3 { font-size: 22px; }
p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}
em { font-style: italic; }

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

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ============================================================
   CONTAINERS & SHARED
   ============================================================ */
.hero-content,
.about-container,
.methodology-container,
.data-container,
.vision-container,
.cta-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-header { margin-bottom: 16px; }
.section-header h2 { color: var(--text); }

.section-desc {
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,17,23,0.85) 0%, rgba(29,78,216,0.2) 50%, rgba(15,17,23,0.9) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(29,78,216,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.1) 0%, transparent 50%);
  z-index: 0;
  animation: heroShift 8s ease-in-out infinite alternate;
}

@keyframes heroShift {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 128px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero h1 {
  color: white;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero h1 em {
  display: block;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: var(--space-xl) 0;
  background: var(--white);
}

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

.about-text-col h2 { color: var(--text); }
.about-text-col p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-stat-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.about-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-stat-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   OCEAN METHODOLOGY CARDS
   ============================================================ */
.methodology-section {
  padding: var(--space-xl) 0;
  background: var(--bg);
}

.methodology-subtitle {
  text-align: center;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 32px auto 48px;
  max-width: 700px;
}

.ocean-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  gap: 24px;
}

.ocean-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}
.ocean-card:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1;
}
.ocean-card:nth-child(3) {
  grid-column: 5 / 7;
  grid-row: 1;
}
.ocean-card:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}
.ocean-card:nth-child(5) {
  grid-column: 4 / 6;
  grid-row: 2;
}

.ocean-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ocean-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(29,78,216,0.06), transparent);
  transition: left 0.6s ease;
}

.ocean-card:hover::before { left: 100%; }

.ocean-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 48px rgba(29,78,216,0.18);
  background: #FAFBFF;
}

.card-letter {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  transition: all 0.35s ease;
  display: block;
}

.ocean-card:hover .card-letter {
  transform: scale(1.15) rotate(4deg);
  color: var(--primary-dark);
}
.ocean-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.ocean-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   DATA SECTION
   ============================================================ */
.data-section {
  padding: var(--space-xl) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.data-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.data-section::after {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,78,216,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.data-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.data-inner .section-tag { color: var(--primary-light); }
.data-inner h2 { color: white; }
.data-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 17px;
}

/* ============================================================
   VISION / BLOCKQUOTE
   ============================================================ */
.vision-section {
  padding: var(--space-xl) 0;
  background: var(--white);
}
.vision-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.vision-inner h2 { color: var(--text); }

blockquote {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  padding: 48px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary);
  margin-top: 24px;
  position: relative;
}

blockquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 128px;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: -16px;
  left: 32px;
  line-height: 1;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--space-xl) 0;
  background: var(--bg);
}
.cta-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.cta-inner {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 80px var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 256px;
  font-weight: 700;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.cta-inner .section-tag { color: var(--primary-light); }

.cta-inner h2 {
  color: white;
  margin: 8px auto 24px;
  max-width: 500px;
  font-size: 64px;
}

.cta-inner h2 em { color: rgba(255,255,255,0.45); }
.cta-inner p {
  color: rgba(255,255,255,0.4);
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 15px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--primary);
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59,130,246,0.4);
}

.btn-cta svg { transition: transform 0.3s ease; }
.btn-cta:hover svg { transform: translateX(4px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
from {
  opacity: 0;
  transform: translateY(24px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
main { animation: fadeUp 0.6s ease forwards; }

/* ============================================================
   DARK MODE
   ============================================================ */
body.dark-mode {
  --bg: #020617;
  --sb-track: #020617;
  --sb-thumb: #1D4ED8;
  --sb-hover: #3B82F6;
  --bg-dark: #000000;
  --bg-accent: #0f172a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --white: #0f172a;
}

body.dark-mode .about-stat-block { background: #020617; }
body.dark-mode .ocean-card { background: #0f172a; }
body.dark-mode .ocean-card:hover { background: #1e293b; }
body.dark-mode .ocean-card h3 { color: #e2e8f0; }
body.dark-mode blockquote {
  background: #020617;
  color: #e2e8f0;
}
body.dark-mode .noise-overlay { opacity: 0.2; }
body.dark-mode .nav-item { color: var(--text); }

/* ============================================================
   CTA — ქართული ენა
   ============================================================ */
:lang(ka) .cta-inner h2 {
  font-size: 45px;
  line-height: 1.2;
}
:lang(ka) .cta-inner h2 em { font-size: 38px; }
:lang(ka) .btn-cta { font-size: 13px; }

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
.about-grid {
  grid-template-columns: 1fr;
  gap: 40px;
}
  .hero { min-height: 55vh; }
.hero-content {
  padding-top: 96px;
  padding-bottom: 48px;
}
  .ocean-cards { grid-template-columns: repeat(3, 1fr); }
.ocean-card:nth-child(n) {
  grid-column: auto !important;
  grid-row: auto !important;
}
  .cta-inner { padding: 56px 32px; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .about-section { padding: 64px 0; }
.about-stat-block {
  padding: 32px;
  gap: 24px;
}
  .about-stat-number { font-size: 45px; }
  .methodology-section { padding: 64px 0; }
.ocean-cards {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.methodology-subtitle {
  font-size: 14px;
  margin: 24px auto 32px;
}
  .data-section { padding: 64px 0; }
  .data-inner h2 { font-size: 42px; }
  .data-inner p { font-size: 15px; }
  .vision-section { padding: 64px 0; }
blockquote {
  font-size: 18px;
  padding: 32px;
}
blockquote::before {
  font-size: 80px;
  top: -8px;
}
  .cta-section { padding: 64px 0; }
  .cta-inner { padding: 48px 24px; }
  .cta-inner h2 { font-size: 42px; }
  .cta-inner p { font-size: 14px; }
  .cta-bg-text { display: none; }
.btn-cta {
  font-size: 13px;
  padding: 14px 26px;
}
  :lang(ka) .cta-inner h2 { font-size: 30px; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .ocean-cards { grid-template-columns: 1fr; }
  .ocean-card { padding: 29px 22px; }
  .card-letter { font-size: 56px; }
  .about-stat-block { padding: 24px; }
  .about-stat-number { font-size: 38px; }
blockquote {
  padding: 24px;
  font-size: 16px;
}
.cta-inner {
  padding: 40px 16px;
  border-radius: 20px;
}
.btn-cta {
  width: 100%;
  justify-content: center;
  font-size: 12px;
}
.section-desc {
  font-size: 14px;
  padding: 0 8px;
}
  :lang(ka) .cta-inner h2 { font-size: 26px; }
  :lang(ka) .btn-cta { font-size: 12px; }
}

/* ============================================================
   RESPONSIVE — 360px
   ============================================================ */
@media (max-width: 360px) {
  .card-letter { font-size: 48px; }
  .about-stat-number { font-size: 32px; }
blockquote {
  font-size: 15px;
  padding: 19px;
}
  .hero h1 { font-size: 38px; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border-radius: 0;
  border: 2px solid var(--sb-track);
  background-clip: padding-box;


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