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

:root {
  --primary:   #1a5276;
  --secondary: #148f77;
  --accent:    #f39c12;
  --dark:      #1e293b;
  --gray:      #64748b;
  --light:     #f1f5f9;
  --white:     #ffffff;
  --radius:    10px;
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad { padding: 4rem 0; }
.bg-light     { background: var(--light); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  padding-bottom: .5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.view-all {
  font-size: .875rem;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
}
.view-all:hover { color: var(--accent); }

.empty-msg {
  color: var(--gray);
  font-size: .95rem;
  padding: 2rem 0;
}
.text-center { text-align: center; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-menu a {
  padding: .5rem .875rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary);
  color: var(--white);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray);
  padding: .4rem;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-icon-btn:hover { color: var(--primary); background: var(--light); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
}
.lang-toggle a { color: var(--gray); transition: var(--transition); }
.lang-toggle a.active { color: var(--primary); }
.lang-toggle a:hover  { color: var(--primary); }
.lang-toggle span     { color: #cbd5e1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.nav-search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--light);
}
.nav-search-bar.open { max-height: 70px; }
.nav-search-bar form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  gap: .5rem;
}
.nav-search-bar input {
  flex: 1;
  padding: .6rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .9rem;
  outline: none;
}
.nav-search-bar input:focus { border-color: var(--primary); }
.nav-search-bar button {
  padding: .6rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 998;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: .75rem 1rem; border-radius: 8px; }
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-section { position: relative; overflow: hidden; }

.hero-slider { position: relative; height: 560px; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,82,118,.75) 0%, rgba(20,143,119,.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  color: var(--white);
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .9;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }
.slider-prev:hover,
.slider-next:hover { background: rgba(255,255,255,.35); }

.slider-dots {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: .5rem;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--white); transform: scale(1.3); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 3rem 0 2.5rem;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: .5rem;
}
.breadcrumb {
  font-size: .875rem;
  opacity: .85;
}
.breadcrumb a { color: var(--white); opacity: .8; }
.breadcrumb a:hover { opacity: 1; }

@media (max-width: 640px) {
  .hero-slider { height: 420px; }
  .hero-btns   { flex-direction: column; }
}

/* =============================================
   BUTTONS & BADGES
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover { background: #d68910; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(243,156,18,.35); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-sm:hover { background: var(--secondary); }

.badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-active { background: #dcfce7; color: #16a34a; }
.badge-open   { background: #dbeafe; color: #1d4ed8; }
.badge-closed { background: #fee2e2; color: #dc2626; }
.badge-expired{ background: #f1f5f9; color: var(--gray); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--primary);
  font-size: .875rem;
  font-weight: 600;
  margin-top: .75rem;
  transition: var(--transition);
}
.read-more:hover { color: var(--accent); gap: .6rem; }

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 3.5rem 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.15);
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }

.stat-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: .75rem;
  display: block;
}

.stat-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-label {
  font-size: .875rem;
  opacity: .85;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat-num   { font-size: 1.75rem; }
}

/* =============================================
   BLOG CARDS & POST
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }

.blog-card-img {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-placeholder {
  width: 100%; height: 100%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1; font-size: 2.5rem;
}

.blog-cat {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 20px;
}

.blog-card-body { padding: 1.25rem; }
.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.blog-card-body h3 a { color: var(--dark); transition: var(--transition); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: .875rem; color: var(--gray); line-height: 1.6; }

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--gray);
}
.blog-meta span { display: flex; align-items: center; gap: .3rem; }

/* Blog layout (listing page) */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

/* Category filter */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.cat-btn {
  padding: .4rem 1rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  border: 1.5px solid #e2e8f0;
  color: var(--gray);
  transition: var(--transition);
}
.cat-btn:hover,
.cat-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Single post */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.post-featured-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: .875rem;
  color: var(--gray);
}
.post-meta-bar span { display: flex; align-items: center; gap: .3rem; }

.post-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}
.post-content h2,.post-content h3 { margin: 1.5rem 0 .75rem; font-weight: 600; }
.post-content p  { margin-bottom: 1rem; }
.post-content ul,.post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content img { border-radius: 8px; margin: 1rem 0; }

.post-video {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.post-video iframe { width: 100%; height: 100%; border: none; }

.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0;
}
.gallery-item img {
  width: 100%; height: 130px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
}
.gallery-item:hover img { opacity: .85; transform: scale(1.03); }

.share-section {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  font-weight: 600;
  font-size: .9rem;
}
.share-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .9rem;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-3px); }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.telegram { background: #0088cc; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.sidebar-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-search {
  display: flex;
  gap: .4rem;
}
.sidebar-search input {
  flex: 1;
  padding: .55rem .875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .875rem;
  outline: none;
}
.sidebar-search input:focus { border-color: var(--primary); }
.sidebar-search button {
  padding: .55rem .875rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.sidebar-cats li a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 0;
  font-size: .875rem;
  color: var(--gray);
  border-bottom: 1px solid #f8fafc;
  transition: var(--transition);
}
.sidebar-cats li a::before { content: '›'; color: var(--accent); font-weight: 700; }
.sidebar-cats li a:hover { color: var(--primary); padding-left: .4rem; }

.recent-post {
  display: flex;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid #f8fafc;
}
.recent-post:last-child { border: none; }
.recent-post img {
  width: 60px; height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.recent-post div a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--dark);
  display: block;
  line-height: 1.4;
  transition: var(--transition);
}
.recent-post div a:hover { color: var(--primary); }
.recent-post div span { font-size: .75rem; color: var(--gray); margin-top: .2rem; display: block; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  transition: var(--transition);
}
.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .blog-grid   { grid-template-columns: repeat(2, 1fr); }
  .blog-layout,
  .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* =============================================
   ANNOUNCEMENTS & VACANCIES (homepage lists)
   ============================================= */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* Announcement list */
.announcement-list { display: flex; flex-direction: column; gap: .75rem; }

.announcement-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}
.announcement-item:hover { transform: translateX(4px); }

.ann-icon {
  width: 40px; height: 40px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.ann-body h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: .3rem;
}
.ann-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--gray);
}

/* Announcement full page cards */
.ann-full-list { display: flex; flex-direction: column; gap: 1rem; }

.ann-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--secondary);
  transition: var(--transition);
}
.ann-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,.1); }

.ann-card-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ann-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .5rem;
}
.ann-card-body p { font-size: .875rem; color: var(--gray); line-height: 1.6; margin-bottom: .75rem; }
.ann-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--gray);
}

/* Vacancy list (homepage) */
.vacancy-list { display: flex; flex-direction: column; gap: .75rem; }

.vacancy-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.vacancy-item:hover { transform: translateX(4px); }

.vac-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.vac-body { flex: 1; }
.vac-body h4 { font-size: .9rem; font-weight: 600; color: var(--dark); }
.vac-dept    { font-size: .8rem; color: var(--gray); display: block; }
.vac-deadline{ font-size: .78rem; color: #ef4444; display: block; margin-top: .2rem; }

/* Vacancy grid (vacancy page) */
.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.vacancy-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.vacancy-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }

.vac-card-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vac-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.vac-card-body { padding: 1.25rem; }
.vac-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.vac-dept { font-size: .85rem; color: var(--gray); display: flex; align-items: center; gap: .3rem; margin-bottom: .5rem; }
.vac-desc { font-size: .875rem; color: var(--gray); line-height: 1.6; }

.vac-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.vac-deadline { font-size: .8rem; color: #ef4444; display: flex; align-items: center; gap: .3rem; }

/* About page */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}
.mv-card:hover { transform: translateY(-5px); }

.mv-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.mv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; color: var(--dark); }
.mv-card p  { font-size: .9rem; color: var(--gray); line-height: 1.7; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details strong { display: block; font-size: .85rem; color: var(--gray); margin-bottom: .2rem; }
.contact-details a { color: var(--dark); font-weight: 500; transition: var(--transition); }
.contact-details a:hover { color: var(--primary); }

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,.08);
}
.form-group textarea { resize: vertical; }

.form-msg {
  margin-top: .75rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .875rem;
}
.form-msg.success { background: #dcfce7; color: #16a34a; }
.form-msg.error   { background: #fee2e2; color: #dc2626; }

/* Map */
.map-section { padding: 3rem 0; }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 900px) {
  .two-col-grid  { grid-template-columns: 1fr; }
  .mv-grid       { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vacancy-grid  { grid-template-columns: 1fr; }
}

/* =============================================
   SEARCH RESULTS
   ============================================= */
.search-form-bar {
  display: flex;
  gap: .75rem;
  max-width: 600px;
  margin-bottom: 2rem;
}
.search-form-bar input {
  flex: 1;
  padding: .75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .95rem;
  outline: none;
}
.search-form-bar input:focus { border-color: var(--primary); }
.search-form-bar button {
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
}

.search-results { display: flex; flex-direction: column; gap: 1rem; }

.search-result-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.search-result-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.search-result-item img {
  width: 90px; height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.search-result-body { flex: 1; }
.result-type {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .05em;
  display: block;
  margin-bottom: .3rem;
}
.search-result-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.search-result-body h3 a { color: var(--dark); transition: var(--transition); }
.search-result-body h3 a:hover { color: var(--primary); }
.search-result-body p { font-size: .875rem; color: var(--gray); line-height: 1.6; }
.result-date { font-size: .8rem; color: var(--gray); margin-top: .4rem; display: flex; align-items: center; gap: .3rem; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--light);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: #fee2e2; color: #dc2626; }

.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 2rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #0d1b2a; color: rgba(255,255,255,.8); }

.footer-top { padding: 3.5rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.4;
}
.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col p { font-size: .875rem; line-height: 1.7; }

.footer-logo { height: 50px; margin-bottom: .75rem; }

.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: .3rem; }
.footer-col ul li a i { font-size: .7rem; color: var(--accent); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .875rem;
}
.footer-contact li i { color: var(--accent); margin-top: .2rem; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-contact li a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

/* Visitor counter */
.visitor-counter { display: flex; flex-direction: column; gap: .75rem; }
.counter-item {
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: .75rem 1rem;
  text-align: center;
}
.counter-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}
.counter-label { font-size: .78rem; color: rgba(255,255,255,.6); }

.footer-bottom {
  background: rgba(0,0,0,.3);
  text-align: center;
  padding: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(26,82,118,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover   { background: var(--accent); transform: translateY(-3px); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   FOOTER RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
