/* Modern redesign overrides */
body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}

.topbar {
  background: #f0f0f0;
  color: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
  /* Remove left offset so items can truly center */
  margin-left: 0;
  position: sticky;
  top: 0;
  z-index: 1100;
}

.topbar ul {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 1.2rem;
  /* Remove extra padding to allow centering */
  padding-left: 0;
}

.topbar ul li a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.main-header {
  background-color: #f0f0f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ccc;
}
.header-container {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-left: 4rem;
  padding-top: 1rem;
}

.header-logo img {
  height: 40px;
  width: auto;
}
/* RIGHT SIDE WRAPPER */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ROW 1: Careers, Downloads, Global SeAH & Languages */
.top-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-links a {
  margin-right: 1.2rem;
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
}
/* Hover effect */
.top-links a:hover {
  color: #C8102E; /* SeAH red color on hover */
  text-decoration: underline;
}
.lang-switcher a {
  color: #003366;
  text-decoration: none;
  margin-left: 0.5rem;
  font-weight: bold;
}
/* Hover effect */
.lang-switcher a:hover {
  color: #C8102E; /* SeAH red color on hover */
  text-decoration: underline;
}
.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.search-bar input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  font-size: 0.9rem;
}

.search-bar button {
  padding: 6px 10px;
  border: 1px solid #ccc;
  background: #003366;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.quote-btn {
  background: #003366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}
header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.row-top {
  border-bottom: 1px solid #ccc;
}

.logo img {
  /* Slightly smaller logo for consistency */
   height: 40px;
  width: auto;
}
.top-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}
top-links li a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
}

.topbar-right .lang-switcher {
  font-weight: bold;
}

.topbar-right .lang-switcher a {
  color: #003366;
  text-decoration: none;
  margin-left: 1rem;
}

.topbar-right .lang-switcher a:hover {
  text-decoration: underline;
  color: #C8102E;
}

/* ROW 2 */
.row-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.nav-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  flex: 1;
}

.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.navbar a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
}

.navbar a:hover {
  color: #c8102e;
}

.quote-btn {
  background: #c8102e;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;     /* Override limiting styles from main stylesheet */
  margin: 0;           /* Ensure the video spans the entire section */
  object-fit: cover;   /* Maintain aspect ratio while covering */
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-section .hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 30vh;
  color: #fff;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-section p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
