/* ==========================
   GLOBAL THEME
   ========================== */
html, body {
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0a9396; /* Biotech teal */
  --primary-dark: #005f73;
  --accent: #94d2bd; /* Light aqua */
  --deep-blue: #003049;
  --background: #f7fbfc;
  --text-dark: #1b2b34;
  --white: #ffffff;
}

body {
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--background);
}

/* Page container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 25px;
}

/* ==========================
   HEADER + NAV
   ========================== */

header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 10px 0;
  position: relative; /* Makes it static on top */
  top: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}


main {
  padding-top: 100px; /* adjust depending on header height */
}



header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 52px;
  width: auto;
}

header .logo h1 {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 700;
}
.header-flex {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-title h1 {
  font-size: 1.4rem;
  margin: 0;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.main-nav a {
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 4px 2px;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================
   HERO BANNER
   ========================== */

.hero {
  width: 100%;
  aspect-ratio: 4 / 1;  /* 16:4 ratio, scales perfectly */
  background-image: url("hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

header + .hero {
  margin-top: 0;
}

/* ==========================
   CONTENT SECTIONS
   ========================== */

section {
  padding: 55px 0;
  background: var(--background);
}

section h2 {
  color: var(--primary-dark);
  font-size: 1.9rem;
  margin-bottom: 15px;
  font-weight: 700;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
}

ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ==========================
   FOOTER
   ========================== */

footer {
  background: var(--deep-blue);
  color: var(--white);
  text-align: center;
  padding: 25px;
  margin-top: 40px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* ==========================
   LANGUAGE SWITCH (FLAGS)
   ========================== */

.lang-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 6px 10px;
  display: flex;
  gap: 6px;
  z-index: 2000;
  border: 1px solid #e6e6e9;
}

.lang-toggle img {
  width: 26px;
  height: 19px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .2s ease;
}

.lang-toggle img:hover {
  transform: scale(1.15);
}

.lang-toggle .active img {
  box-shadow: 0 0 6px rgba(0,0,0,.4);
}

/* ==========================
   RESPONSIVE
   ========================== */

@media(max-width: 768px) {
  .hero {
    height: 45vh;
  }

  .hero h2 {
    font-size: 2.1rem;
  }

  nav a {
    margin-right: 10px;
    font-size: 0.95rem;
  }
}
html {
  scroll-behavior: smooth;
}
/* Georgian header layout fix */
.header-ge {
  display: flex;
  flex-direction: column;
  align-items: center; /* center everything */
  text-align: center;
  gap: 6px;
}

/* Menu wrap for Georgian */
.ka-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center menu */
  gap: 14px 22px;
  width: 100%;
}

/* Georgian title styling */
.header-ge .logo-title h1 {
  font-size: 1.28rem;
  line-height: 1.32;
  max-width: 90%;
  margin: 0 auto;
  white-space: normal;
}
/* Ensure anchor targets don't hide under header */
section {
  scroll-margin-top: 120px; /* adjust height as needed */
} 
html {
 scroll-behavior: smooth;
} 
/* Main page container spacing */
section {
  max-width: 1200px;
  margin: 0 auto;      /* centers content */
  padding: 40px 30px;  /* adds space on left & right */
}
.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 40px 30px;
}

.project-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding-bottom: 20px;
  text-align: center;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 22px;
  color: #005A70;
  margin: 15px 10px 10px;
}

.project-card p {
  padding: 0 15px;
  font-size: 15px;
}

.project-card .button {
  display: inline-block;
  margin-top: 10px;
  background: #006d80;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.project-card .button:hover {
  background: #004f5a;
}
.lang-toggle img {
  width: 26px;
  height: auto;
  display: inline-block;
  border-radius: 3px;
}
.lang-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
}
.partners-list {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.partner-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  border: 1px solid rgba(0,0,0,0.05);
}

.partner-item a {
  font-size: 18px;
  color: var(--primary-dark, #004d5c);
  font-weight: 600;
  text-decoration: none;
}

.partner-item a:hover {
  text-decoration: underline;
  color: var(--primary, #007c89);
}
/* Project page content */
.project-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.proj-img {
  width: 100%;
  max-width: 900px;
  margin: 12px 0;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
/* BLOG GRID */
.news-grid {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.news-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 18px;
  padding: 10px 16px 0 16px;
  font-weight: 600;
}

.news-card .btn {
  margin: 10px 16px 16px;
}

.news-article img {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  margin: 18px 0;
}
header a {
  color: white;
  text-decoration: none;
}

header a:visited {
  color: white !important;
  text-decoration: none !important;
}

header a:hover {
  color: white;
  text-decoration: none;
}

