/* UNEMATR — Maritime design system */
:root {
  --primary: #0a4a7a;
  --primary-dark: #06304f;
  --primary-glow: #1f7fb8;
  --secondary: #2bb673;
  --accent: #f4a300;
  --danger: #d6432a;
  --danger-2: #e85a3a;
  --bg: #ffffff;
  --fg: #0e1b2c;
  --muted: #5b6b80;
  --muted-bg: #f1f5f9;
  --border: #e2e8f0;

  --gradient-hero: linear-gradient(120deg, rgba(6,48,79,.85), rgba(10,74,122,.55));
  --gradient-ocean: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-cta: linear-gradient(135deg, var(--danger), var(--danger-2));
  --shadow-soft: 0 4px 16px -6px rgba(10,74,122,.18);
  --shadow-elegant: 0 18px 48px -18px rgba(10,74,122,.45);
  --shadow-glow: 0 12px 30px -10px rgba(31,127,184,.55);
  --transition: all .35s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,.font-display { font-family: 'Playfair Display', serif; font-weight: 700; }
.text-primary-c { color: var(--primary) !important; }
.bg-primary-c { background: var(--primary) !important; }
.bg-ocean { background: var(--gradient-ocean); color: #fff; }
.bg-cta { background: var(--gradient-cta); color: #fff; }
.text-muted-c { color: var(--muted); }

/* Buttons */
.btn-ocean {
  background: var(--gradient-ocean); color: #fff; border: none;
  padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 600;
  box-shadow: var(--shadow-soft); transition: var(--transition);
}
.btn-ocean:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-cta {
  background: var(--gradient-cta); color: #fff; border: none;
  padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 600;
  box-shadow: var(--shadow-soft); transition: var(--transition);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-elegant); color: #fff; }
.btn-white-c {
  background: #fff; color: var(--primary); border: none;
  padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 600;
  box-shadow: var(--shadow-elegant); transition: var(--transition);
}
.btn-white-c:hover { transform: translateY(-2px); color: var(--primary-dark); }

/* Navbar */
.navbar-unematr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  transition: var(--transition);
  background: transparent;
  padding: .5rem 0;
}
.navbar-unematr.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.navbar-unematr .navbar-brand img {
  height: 80px; width: auto; transition: var(--transition);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}
.navbar-unematr.scrolled .navbar-brand img { height: 56px; filter: none; }
.navbar-unematr .nav-link {
  color: rgba(255,255,255,.92) !important;
  font-weight: 500; padding: .5rem 1rem !important; border-radius: .375rem;
  transition: var(--transition);
}
.navbar-unematr .nav-link:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.navbar-unematr .nav-link.active { background: rgba(255,255,255,.18); color: #fff !important; }
.navbar-unematr.scrolled .nav-link { color: var(--fg) !important; }
.navbar-unematr.scrolled .nav-link:hover { background: rgba(10,74,122,.08); color: var(--primary) !important; }
.navbar-unematr.scrolled .nav-link.active { background: rgba(10,74,122,.1); color: var(--primary) !important; }
.navbar-unematr .navbar-toggler { border: none; color: #fff; }
.navbar-unematr.scrolled .navbar-toggler { color: var(--primary); }

/* Lang switch */
.lang-switch {
  display: inline-flex; padding: 2px; border-radius: 999px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
}
.navbar-unematr.scrolled .lang-switch { background: var(--muted-bg); border-color: var(--border); }
.lang-switch button {
  border: none; background: transparent; padding: .25rem .75rem;
  font-size: .75rem; font-weight: 700; border-radius: 999px; color: rgba(255,255,255,.85);
  cursor: pointer; transition: var(--transition);
}
.navbar-unematr.scrolled .lang-switch button { color: var(--muted); }
.lang-switch button.active { background: var(--primary); color: #fff !important; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/hero-port.jpg') center/cover;
}
.hero::after {
  content: ''; position: absolute; inset: 0; background: var(--gradient-hero);
}
.hero > .container { position: relative; z-index: 2; padding: 8rem 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: .35rem 1rem; font-size: .75rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); animation: pulse 2s infinite; }
.hero-logo { height: 110px; margin-bottom: 1rem; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin: 0 0 1rem; line-height: 1.1; }
.hero .subtitle { font-size: 1.4rem; font-weight: 600; font-family: 'Playfair Display', serif; margin-bottom: .75rem; }
.hero .tagline { font-size: 1.05rem; opacity: .9; max-width: 640px; margin-bottom: 2rem; }

/* Page header */
.page-header {
  position: relative; min-height: 60vh; display: flex; align-items: center; color: #fff;
  padding: 8rem 0 4rem; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/hero-port.jpg') center/cover;
}
.page-header::after {
  content: ''; position: absolute; inset: 0; background: var(--gradient-hero);
}
.page-header > .container { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3.5rem); }

/* Sections */
.section { padding: 5rem 0; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .15em;
  font-size: .75rem; font-weight: 700; color: var(--primary);
  background: rgba(10,74,122,.08); padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 1rem; color: var(--fg); }
.section-muted { background: var(--muted-bg); }

/* Cards */
.feature-card {
  background: #fff; border-radius: 1rem; padding: 2rem;
  box-shadow: var(--shadow-soft); transition: var(--transition); height: 100%;
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.feature-card .icon-wrap {
  width: 56px; height: 56px; border-radius: .75rem; background: var(--gradient-ocean);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Stats */
.stat-block { text-align: center; padding: 1.5rem; }
.stat-block .stat-value { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; }
.stat-block .stat-label { color: var(--muted); font-size: .9rem; }

/* Mission image */
.mission-img { border-radius: 1.25rem; box-shadow: var(--shadow-elegant); width: 100%; height: 100%; object-fit: cover; }

/* Challenges */
.challenge-list li {
  padding: .75rem 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .75rem; color: var(--fg);
}
.challenge-list li:last-child { border-bottom: none; }
.challenge-list li i { color: var(--secondary); font-size: 1.25rem; }

/* Partners */
.partner-card {
  background: #fff; border-radius: 1rem; padding: 2rem 1rem; text-align: center;
  box-shadow: var(--shadow-soft); transition: var(--transition); height: 100%;
  border: 1px solid var(--border);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.partner-card .icon { font-size: 2.5rem; color: var(--primary); margin-bottom: .75rem; }
.partner-card h4 { font-size: 1rem; margin: 0 0 .25rem; }
.partner-card .role { font-size: .8rem; color: var(--muted); }

/* CTA banner */
.cta-banner {
  background: var(--gradient-cta); color: #fff; border-radius: 1.5rem;
  padding: 3.5rem; box-shadow: var(--shadow-elegant); position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.cta-banner .deco { position: absolute; right: -3rem; top: -3rem; font-size: 18rem; opacity: .08; }

/* Announcements */
.announcement-card {
  background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-soft); transition: var(--transition); height: 100%;
  border: 1px solid var(--border); display: flex; flex-direction: column;
}
.announcement-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.announcement-card .card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.announcement-card .date { color: var(--primary); font-size: .8rem; font-weight: 600; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.announcement-card h3 { font-size: 1.15rem; margin-bottom: .75rem; line-height: 1.35; }
.announcement-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.announcement-card .read-more { color: var(--primary); font-weight: 600; text-decoration: none; margin-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; }
.announcement-card .read-more:hover { color: var(--primary-dark); }

/* Pagination */
.unematr-pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 3rem; flex-wrap: wrap; }
.unematr-pagination button {
  border: 1px solid var(--border); background: #fff; color: var(--fg);
  width: 40px; height: 40px; border-radius: .5rem; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.unematr-pagination button:hover { border-color: var(--primary); color: var(--primary); }
.unematr-pagination button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.unematr-pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.gallery-filter {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: .5rem 1.25rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.gallery-filter:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.gallery-item {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: .75rem;
  cursor: pointer; box-shadow: var(--shadow-soft); transition: var(--transition);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(6,48,79,.85));
  display: flex; align-items: flex-end; padding: 1rem; color: #fff;
  opacity: 0; transition: var(--transition); font-weight: 600;
}
.gallery-item:hover .overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(6,28,48,.95); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 95%; max-height: 90vh; border-radius: .5rem; }
.lightbox .close-btn {
  position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
}

/* Contact */
.contact-info-card {
  background: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft);
  border: 1px solid var(--border); display: flex; gap: 1rem; align-items: flex-start;
}
.contact-info-card .icon { width: 44px; height: 44px; border-radius: .5rem; background: var(--gradient-ocean); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(10,74,122,.15); }

/* Partners slider */
.partners-slider { position: relative; padding: 0 3rem; }
.partners-track { overflow: hidden; }
.partners-inner { display: flex; transition: transform .5s ease; }
.partners-inner > div { flex: 0 0 auto; padding: 0 .75rem; }
.partners-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid var(--border); width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  transition: var(--transition);
}
.partners-arrow:hover { background: var(--primary); color: #fff; }
.partners-arrow.prev { left: 0; }
.partners-arrow.next { right: 0; }
.partners-dots { display: flex; justify-content: center; gap: .35rem; margin-top: 1.5rem; }
.partners-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; transition: var(--transition); }
.partners-dots button.active { background: var(--primary); width: 28px; border-radius: 999px; }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.85); padding: 4rem 0 1.5rem; }
.site-footer h5 { color: #fff; margin-bottom: 1rem; font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: var(--transition); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: .25rem 0; }
/*.site-footer .footer-logo { height: 64px; margin-bottom: 1rem; filter: brightness(0) invert(1); }*/
.site-footer .footer-logo { height: 64px; margin-bottom: 1rem; }
.site-footer .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  margin-right: .5rem; transition: var(--transition);
}
.site-footer .social a:hover { background: var(--secondary); transform: translateY(-2px); }
.site-footer .copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: .85rem; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-cta); color: #fff;
  border: none; box-shadow: var(--shadow-elegant); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); color: #fff; }

/* Animations */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.animate-fade-up { animation: fade-up .8s ease both; }
.animate-fade-in { animation: fade-in 1s ease both; }

/* Wave divider */
.wave-divider {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px; z-index: 1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,60 C300,120 600,0 900,60 C1050,90 1150,60 1200,30 L1200,120 L0,120 Z' fill='%23ffffff'/></svg>") no-repeat bottom/cover;
}

@media (max-width: 991px) {
  .navbar-unematr .navbar-collapse {
    background: rgba(255,255,255,.98); padding: 1rem; border-radius: .5rem; margin-top: .5rem;
  }
  .navbar-unematr .nav-link { color: var(--fg) !important; }
  .navbar-unematr .navbar-collapse .lang-switch { background: var(--muted-bg); border-color: var(--border); }
  .navbar-unematr .navbar-collapse .lang-switch button { color: var(--muted); }
  .hero { min-height: 90vh; }
  .hero > .container { padding: 6rem 0 4rem; }
  .cta-banner { padding: 2rem; }
}


.decoration{
  /*  display: inline-block;
    padding: 10px 20px;
    background: blue;
    color: white;*/
    text-decoration: none;
    /*border-radius: 5px;*/
}  