:root {
  --black: #000000;
  --gray: #e6e6e6;
  --blue: #0C4981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


/* Header */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 30px;
  border-bottom: 1px solid var(--gray);
  background: #ffffff;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.logo img {
  height: 60px;
  width: auto;
  position: relative;
  top: 3px;
}

/* Desktop Navigation */
nav {
  display: flex;
  align-items: stretch;
  height: 80px;
  gap: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
  padding-right: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  position: relative;
  top: 30px;
  height: 50px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--black);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Language Dropdown */
.language-select {
  display: flex;
  align-items: center;
  padding-left: 18px;
  border-left: 1px solid #DCDCDE;
}

.language-select select {
  border: none;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--black);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  transform: translateY(-9px) rotate(-45deg);
  position: relative;
  top: 10px;
}
.hamburger.active span:nth-child(3) {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 2000;
}

.mobile-menu a {
  font-size: 24px;
  text-decoration: none;
  color: var(--black);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu.active .active {
  border-bottom: 2px solid var(--black);
}


/* Content */

.hero {
  height: 450px;
  background-color: #333;
  background-position: center;
  background-repeat: repeat-x;
  background-size: cover;
  position: relative;
  margin-top: 70px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.5);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch; /* default, but be explicit */
  min-height: auto;     /* remove fixed height */
}

.dots, .reverse-dots {
  background: url(../images/dots-bg.png) repeat-y 0 0;
  background-size: 420px;
}

.content-row.reverse {
  direction: rtl;
}

.content-row.reverse > * {
  direction: ltr;
}

.reverse-dots {
  background-position: 100% 0;
}

.image {
  display: flex;
  min-height: 300px;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dots .image, .reverse-dots .image {
  padding: 40px 0;
}

.text {
  padding: 60px;
  background: #ffffff;
  max-width: 760px;
  justify-self: center; /* horizontal centering only */
}

.text h2 {
  color: var(--blue);
  font-size: 36px;
  margin-bottom: 28px;
  line-height: 1.6em;
  font-weight: 600;
}

.text p {
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.75em;
  color: rgba(0,0,0,0.9);
}

.text .sub {
  font-weight: 700;
  color: var(--blue);
}

.text a {
  color: var(--blue);
}

.text a:hover {
  text-decoration: none;
}

.button {
  display: inline-block;
  background-color: #fff!important;
  margin-top: 20px;
  padding: 12px 20px;
  border: 2px solid #0b3a75;
  color: #0b3a75;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 4px;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  
  transition: 
    background-color 100ms ease-in-out,
    color 100ms ease-in-out,
    border-color 100ms ease-in-out;
}

.button:hover {
  color: #fff;
  background-color: var(--blue)!important;
}


/* Footer */

.site-footer {
  background: #111;
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 30px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px); 
  gap: 40px;
  justify-content: center;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7em;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #fff;
  text-decoration: underline;
}

.footer-col:nth-child(3) a {
  font-size: 16px;
  line-height: 1.7em;
}

.footer-col a:hover {
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin: 80px auto 0 auto;
  padding-top: 30px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  max-width: 1200px;
  border-top: 1px solid rgba(255,255,255,0.2);
}


/* Mobile Styles */

@media (max-width: 900px) { 
  .hero {
    height: 50vw;
    background-size: cover;
  }
  
  .hero h1 {
    font-size: 55px;
  }
  
  .content-row {
    grid-template-columns: 1fr;
  }

  .content-row.reverse {
    direction: ltr;
  }

  h2 {
    padding-top: 0.3em;
  }
  
  .image {
    order: 1;
  }
  
  .dots, .reverse-dots {
    background-image: none;
  }
  
  .dots .image, .reverse-dots .image {
    padding: 0;
  }

  .text {
    order: 2;
    padding: 30px 20px;
  }
  
  .button {
    margin-top: 40px;
    position: relative;
    top: -20px;
  }
}
@media (max-width: 850px) { 
  .footer-grid {
    grid-template-columns: 1fr;
    max-width: auto;
    margin: 0 auto;
  }
  
  .footer-col li {
    line-height: 2.5em;
  }
  
  .footer-bottom {
    margin-top: 60px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  header {
    padding-left: 16px;
    padding-right: 0;
  }

  .hero h1 {
    font-size: 50px;
  }
  
  .language-select {
    border: 0;
    border-right: 1px solid #DCDCDE;
    position: relative;
    padding-right: 26px;
  }
  
  .language-select select {
    font-size: 14px;
  }
  
  .hamburger {
    display: flex;
    position: relative;
    padding: 32px 27px 25px 27px;
  }

}