:root{
  /* turquoise/cyan tuned palette (updated) */
  --accent-dark: #0f6b7a;    /* deep teal */
  --accent: #118fb0;         /* main turquoise */
  --accent-light: #43c7d6;   /* light cyan */
  --muted: #45636a;
  --bg-top: #e9fbfd;         /* very light turquoise */
  --bg-bottom: #f6feff;      /* near-white with cyan tint */
  --card: #ffffff;
  --radius:12px;
  font-family: "Heebo", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#06292f;
}

/* base */
*{box-sizing:border-box}
body{
  margin:0;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 60%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}
.container{max-width:1140px;margin:0 auto;padding:1rem}

/* header */
.navbar{
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(10,110,120,0.06);
}
.navbar .navbar-brand h3{margin:0;color:var(--accent-dark)}
.btn-dark{background:var(--accent-dark);border-color:transparent}
.page-header{background: linear-gradient(90deg, rgba(17,143,176,0.12), rgba(67,199,214,0.03)); color:#fff}

/* global card style */
.card-clean{
  background: linear-gradient(180deg,#fff,#fbfefe);
  border-radius:var(--radius);
  padding:1rem;
  box-shadow: 0 10px 30px rgba(6,38,44,0.06);
  border:1px solid rgba(17,143,176,0.05);
}

/* NEWS page specific */
.news-item{margin-bottom:3.2rem}
.news-item h2{color:var(--accent-dark);margin-bottom:0.2rem}
.news-item p.text-muted{color:#57757a}

/* gallery layout: tidy grid with consistent thumbnails */
.news-gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
  margin-top:1rem;
  align-items:start;
}

/* thumbnail wrapper (keeps ratio) */
.news-thumb{
  display:block;
  overflow:hidden;
  border-radius:10px;
  background:linear-gradient(180deg, rgba(17,143,176,0.03), rgba(17,143,176,0.01));
  box-shadow: 0 10px 24px rgba(7,30,40,0.06);
  border:1px solid rgba(10,60,70,0.04);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* uniform image sizing */
.news-thumb img{
  width:100%;
  height:160px;            /* consistent thumbnail height */
  object-fit:cover;        /* crop to fill */
  display:block;
}

/* hover/focus */
.news-thumb:hover,
.news-thumb:focus{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6,38,44,0.12);
}

/* caption under thumbnail */
.thumb-caption{
  padding:0.6rem 0.75rem;
  font-size:0.92rem;
  color:var(--muted);
}

/* Lightbox caption styling */
.glightbox-container .gdesc{ color:#fff; font-size:0.95rem; }

/* Quick links image */
.quick-emblem{ max-width:180px; border-radius:8px; box-shadow: 0 8px 20px rgba(10,90,100,0.08); }

/* Buttons and links */
a{color:var(--accent)}
a:hover{color:var(--accent-dark);text-decoration:underline}
.btn-primary, .btn-primary:visited{
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border: none;
  color: #fff;
  box-shadow: 0 10px 28px rgba(17,143,176,0.12);
}

/* partners card tweaks */
.partner-card { display:flex; gap:1rem; align-items:flex-start; padding:1rem; border-radius:10px; border:1px solid rgba(0,0,0,0.04); background:#fff; }
.partner-logo { width:120px; height:auto; object-fit:contain; border-radius:6px; box-shadow:0 8px 18px rgba(0,0,0,0.06); }

/* forms */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  width:100%;
  padding:0.6rem 0.75rem;
  border-radius:10px;
  border:1px solid rgba(10,120,130,0.08);
  background: linear-gradient(180deg,#fff,#fbfdff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  font-size:0.95rem;
  color:#06292f;
  transition: border-color .12s, box-shadow .12s, transform .06s;
  resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:0;
  border-color:var(--accent);
  box-shadow: 0 8px 24px rgba(17,143,176,0.10);
  transform: translateY(-1px);
}

/* responsive gallery: smaller thumbs on very small screens */
@media (max-width:420px){
  .news-thumb img{height:120px}
  .quick-emblem{ max-width:140px; }
}

/* misc layout tweaks */
ul{padding-left:1.15rem}