/* ===========================================
   GLOBAL BASE STYLES
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 0.2rem 1.5rem;
  background: #0077b6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #005f87;
}

/* ===========================================
   HEADER & NAVIGATION
=========================================== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #005f73;
}

.main-nav {
  display: flex;
  gap: 1rem;
  position: relative;
}
.nav-item {
  position: relative;
}
.nav-item button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
}

/* DROPDOWN MENUS */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 100;
}
.dropdown a {
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;
  color: #333;
}
.dropdown a:hover {
  background: #f0f0f0;
}
.nav-item.open .dropdown {
  display: flex;
}

/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ===========================================
   HERO SECTION
=========================================== */

.hero {
  background: #e0f2fe;
  padding: 4rem 2rem;
  display:flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering */
  height:200px;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  color: #023047;
  margin-bottom: 1rem;
}
.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.2rem;
  color: #333;
}

/* ===========================================
   NEWS SLIDER (Image left, text right)
=========================================== */
.news-hero {
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  background: white;
}
.news-slide {
  display: flex;
  align-items: center;
  position: relative;
  padding: 1rem;
}
.news-image {
  width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.news-text {
  margin-left: 1.5rem;
  max-width: calc(100% - 380px);
}
.news-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #023047;
  line-height: 1.1;     /* tightened headline */
}
.news-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

/* ARROWS */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  border: none;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.arrow-icon {
  width: 18px;
  height: 18px;
  stroke: #333;
  stroke-width: 2;
  fill: none;
}
.nav-arrow.left { left: 8px; }
.nav-arrow.right { right: 8px; }
.nav-arrow:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-50%) scale(1.1);
}

/* ===========================================
   FOOTER
=========================================== */
.site-footer {
  text-align: center;
  padding: 1rem;
  background: #333;
  color: white;
  margin-top: 2rem;
}

/* ===========================================
   RESPONSIVE DESIGN
=========================================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .main-nav.show { display: flex; }

  .nav-item { width: 100%; }
  .nav-item button {
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }
  .nav-item.open .dropdown { display: flex; }

  /* slider stack for mobile */
  .news-slide {
    flex-direction: column;
    text-align: center;
  }
  .news-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }
  .news-text {
    margin-left: 0;
    max-width: 100%;
  }
}
