/* ==========================================================================
   RESET & GLOBALS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

body {
  background: #f3f3f3;
}

/* Simple container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Link styles */
a {
  text-decoration: none;
  color: #004080;
}

a:hover {
  color: #002e5c;
}

.more-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: bold;
}

/* ==========================================================================
     HEADER
     ========================================================================== */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 50px;
}

/* Main navigation */
.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: #004080;
  border-radius: 2px;
}

/* Language & home icon */
.lang-home ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.lang-home ul li a {
  font-size: 0.85rem;
}

.lang-home ul li a img {
  width: 18px;
  vertical-align: middle;
}

/* ==========================================================================
     HERO SECTION
     ========================================================================== */
.hero {
  background: #fff;
  margin-top: 1rem;
  padding-bottom: 2rem;
}

.hero-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
}

.hero-image {
  flex: 1;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* The purple/blue tinted textbox on the right side of the hero */
.hero-textbox {
  background: linear-gradient(135deg, #555394, #6b78b8);
  color: #fff;
  padding: 2rem;
  width: 40%;
  min-width: 280px;
  position: absolute;
  right: 0;
  bottom: 0;
  transform-origin: bottom right;
  transform: skewX(-5deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-textbox h2 {
  transform: skewX(5deg);
  margin-bottom: 1rem;
}

.hero-textbox p {
  transform: skewX(5deg);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-textbox .more-link {
  transform: skewX(5deg);
  color: #ffdd57;
}

/* ==========================================================================
     MAIN CONTENT AREA
     ========================================================================== */
.main-content {
  display: flex;
  gap: 1.5rem;
  margin-top: -1.5rem; /* pull up to overlap hero */
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.content-left {
  flex: 2;
}

.content-left h1 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 1rem;
}

.content-left p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.content-left p a.more-link {
  color: #004080;
  font-weight: bold;
}

/* Sidebar/News */
.sidebar-right {
  flex: 1;
}

.news-box {
  background: #fafafa;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.news-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #004080;
}

.news-item {
  margin-bottom: 1.5rem;
}

.news-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Quote style */
.news-item.quote blockquote {
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
  border-left: 4px solid #004080;
  padding-left: 0.75rem;
  margin-bottom: 0.5rem;
}

.news-item.quote a.more-link {
  font-weight: bold;
  color: #004080;
}

/* ==========================================================================
     FOOTER
     ========================================================================== */
.site-footer {
  margin-top: 2rem;
  background: #fff;
  padding: 1.5rem 0;
  border-top: 1px solid #ddd;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links li a {
  color: #004080;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-inner p {
  font-size: 0.8rem;
  color: #777;
}

.footer-inner .designer {
  margin-top: 0.25rem;
  font-style: italic;
}

/* ==========================================================================
     RESPONSIVE BREAKPOINTS
     ========================================================================== */
/* Large tablet / small desktop: collapse hero text skew slightly less */
@media (max-width: 1024px) {
  .hero-textbox {
    width: 50%;
  }
}

/* Tablet / small laptop */
@media (max-width: 768px) {
  /* Header: show hamburger instead of full nav */
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  }
  .nav-links li {
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links li a {
    padding: 0.75rem 1rem;
    display: block;
  }
  .hamburger {
    display: flex;
  }

  /* Hero: stack vertically */
  .hero-container {
    flex-direction: column;
  }
  .hero-textbox {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 1rem;
    border-radius: 4px;
  }
  .hero-textbox h2,
  .hero-textbox p,
  .hero-textbox .more-link {
    transform: none;
  }

  /* Main content: stack columns */
  .main-content {
    flex-direction: column;
  }
  .sidebar-right {
    margin-top: 2rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .lang-home {
    display: none; /* hide language links on tiny screens */
  }

  /* Shrink logo a bit */
  .logo img {
    height: 40px;
  }

  /* Hero image smaller height */
  .hero-image img {
    max-height: 200px;
    object-fit: cover;
  }

  /* Reduce font sizes */
  .hero-textbox p {
    font-size: 0.9rem;
  }
  .content-left h1 {
    font-size: 1.5rem;
  }
  .content-left p {
    font-size: 0.9rem;
  }
}

/* Toggle menu on mobile */
.nav-links.active {
  display: flex !important;
}

/* ================================
   MOBILE MENU: Ensure it sits on top
   ================================ */
@media (max-width: 768px) {
  /* Make sure the header/nav container establishes a stacking context */
  .site-header {
    position: relative;
    z-index: 1000;
  }

  /* Give the dropdown itself a high z-index so it floats above the hero/slider */
  .nav-links {
    z-index: 1001; /* anything > header’s z-index will do */
    background: #fff; /* ensure it has a solid background */
  }

  /* If you’re using the .active class to show/hide, it inherits this z-index too */
  .nav-links.active {
    z-index: 1001;
  }
}

/* Base dropdown styles */
.nav-links ul li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1002;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover (desktop) */
.nav-links ul li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive dropdowns (mobile toggle override) */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown-menu li a {
    padding-left: 30px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Default desktop layout — horizontal menu */
.nav-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links ul li {
  position: relative;
}

.nav-links ul li a {
  text-decoration: none;
  padding: 10px 15px;
  color: #000;
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links ul li a {
    width: 100%;
    padding: 12px 20px;
  }
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1002;
}
/* ========== Default Layout ========== */
.nav-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links ul li {
  position: relative;
}

.nav-links ul li a {
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  color: #000;
}

/* ========== Dropdown Menu Hidden by Default ========== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  list-style: none;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1002;
}

/* ========== Show Dropdown on Hover ========== */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ========== Mobile View ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* adjust for your header height */
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
  }

  .nav-links ul li a {
    width: 100%;
    padding: 15px 20px;
  }

  /* Dropdowns should appear on hover just like desktop */
  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Dropdown base */
.nav-links li {
  position: relative;
}

/* Hide dropdown by default */
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  min-width: 180px;
}

/* Style for dropdown items */
.nav-links .dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.nav-links .dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

/* Show dropdown on hover */
.nav-links li:hover .dropdown-menu {
  display: block;
}

/* Optional: adjust positioning */
.nav-links li .dropdown-menu {
  top: 100%;
  left: 0;
}
/* On big screens - show menu normally */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* On small screens - hide menu and stack items */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden by default */
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex; /* show when active */
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }
}

/* Base menu layout */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  position: relative;
}

/* Each dropdown should be positioned relative */
.nav-links li {
  position: relative;
}

/* Dropdown menu hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* below the parent */
  left: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  z-index: 1000;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown menu items */
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f2f2f2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f3f3f3;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.header {
  background: white;
  padding: 10px 20px;
  border-bottom: 2px solid #ddd;
  text-align: center;
  position: relative;
}

.logo {
  height: 60px;
  margin-bottom: 10px;
}

.languages {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 12px;
}

.languages a {
  color: #444;
  text-decoration: none;
  margin: 0 3px;
}

.nav {
  margin-top: 10px;
}

.nav a {
  margin: 0 10px;
  color: #0070c0;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.main-content {
  padding: 30px 20px;
}

.breadcrumb {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.content-box {
  background: white;
  display: flex;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.left-column {
  flex: 2;
  padding-right: 20px;
}

.left-column h2 {
  color: #2e2a85;
  margin-bottom: 15px;
}

.left-column p {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.right-column {
  flex: 1;
  border-left: 1px solid #eee;
  padding-left: 20px;
}

.facility-img {
  width: 100%;
  border: 2px solid #ff6633;
  margin-bottom: 15px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  margin-bottom: 10px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 5px;
}

.sidebar-links a {
  color: #f90;
  font-size: 13px;
  text-decoration: none;
}

.footer {
  text-align: center;
  font-size: 11px;
  color: #666;
  margin: 30px 0 10px;
}
