/* =======================
   Header Layout & Styling
   ======================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #202b3e;
  /* Optionally add a box-shadow for depth */
  box-shadow: 0 2px 8px rgba(10,16,32,0.07);
}

.header-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #202b3e;
  padding: 0 2.2rem;
  height: 110px;
  box-sizing: border-box;
}

.header-center-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex: 0 1 auto;
}

.header-spacer {
  width: 175px; /* Adjust to visually match width of .lang-switch; try 160-200px */
  height: 1px;
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;   /* instead of center */
  justify-content: center;
}
.main-logo {
  max-height: 110px; /* Adjust GRG logo size */
  width: auto;
  margin: -0.7rem 1.0rem 0 0;   /* Adjust location or spacing between the logo and the menu */
  display: block;
}

/* =======================
   Navigation Menu (Bullets)
   ======================= */
.menu-bullets {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0.1rem; 
  margin-left: 1.6rem;
  margin-bottom: 3.0rem; 
  gap: 0.00rem;              /* Adjust hight of the menu bullets */
  list-style: disc;
  margin: 0 0 0 1.6rem;    /* Adjust location or spacing between the logo and the menu */
  padding: 0 0 0 1.2rem;   /* Adjust location or spacing between the logo and the menu */
  font-size: 0.85rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

.menu-bullets > li {
  position: relative;
}
.menu-bullets > li > a {
  color: #b6e4ef;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 1.01rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 0;
  line-height: 1.18;
}
.menu-bullets > li > a:hover,
.menu-bullets > li > a:focus {
  color: #fff;
  text-decoration: none;
}

/* Dropdown (rollover) styling */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-content {
  display: none;
  position: absolute;
  left: 130%;
  top: 0;
  background: #223A66;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(20,36,66,0.16);
  min-width: 175px;
  padding: 0.2rem 0;
  z-index: 100;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.nav-dropdown.show-dropdown .dropdown-content {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: fadeIn 0.22s;
}
.nav-dropdown .dropdown-content li {
  list-style: none;
}
.nav-dropdown .dropdown-content li a {
  color: #b6e4ef;
  padding: 10px 22px 10px 14px;
  display: block;
  border-radius: 9px;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
}
.nav-dropdown .dropdown-content li a:hover,
.nav-dropdown .dropdown-content li a:focus {
  background: #305496;
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px);}
  to { opacity: 1; transform: translateY(0);}
}

/* =========================
   Language Switch (E / D)
   ========================= */
.lang-switch {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.18em;
  min-width: 85px; /* Ensures it's visible even on resize */
  justify-content: flex-end;
}
.lang-link {
  color: #b6e4ef;
  font-family: 'Open Sans', Arial, sans-serif;
  text-decoration: none;
  font-weight: 600;
  padding: 0 0.09em;
  transition: color 0.15s;
}
.lang-link.active,
.lang-link:hover {
  color: #fff;
}

/* =======================
   General Typography & Layout
   ======================= */
body, html {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #151c2b !important;
  color: #f8fafb !important;
  font-size: 1.15rem;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #e9f0fa !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 0.6em;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1.1rem;
  font-family: 'Playfair Display', serif;
  color: #e9f0fa !important;
  font-weight: 700;
}
.slogan {
  font-size: 1.1rem;
  font-family: 'Open Sans', sans-serif;
  color: #e9f0fa !important;
  font-weight: 400;
}

/* =======================
   Hero Section & Animation
   ======================= */

/* Animate hero headline and subtitle with "presenting" effect */
.hero-title, .hero-subtitle {
  opacity: 0;
  transform: scale(1.12) translateY(10px);
  filter: blur(5px);
  transition:
    opacity 1.18s cubic-bezier(.39,.56,.53,1.07),
    transform 1.18s cubic-bezier(.39,.56,.53,1.07),
    filter 1.08s cubic-bezier(.46,.34,.6,1);
}

/* When JS adds the .animated class, text animates to final state */
.hero-title.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
  transition-delay: 0.13s;
}
.hero-subtitle.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
  transition-delay: 0.49s;
}

/* === Hero Emblem and Section Styles (unchanged) === */
.hero-watermark {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  opacity: 0.10;
  filter: opacity(0.55) brightness(1.4);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  mix-blend-mode: lighten;
}
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(11,26,56,0.20) 0%, rgba(34,58,102,0.12) 100%);
  color: #0B1A38;
  overflow: hidden;
  padding: 0;
}
.hero .section-content {
  position: relative;
  z-index: 2;
}

/* =======================
   Section Content
   ======================= */

.section-content {
  max-width: 800px;
  margin: 0 auto 1.3rem auto;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  word-break: normal;
  hyphens: none;
  font-size: 1.16rem;
}

.aboutus-body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.16rem;
  color: #f8fafb;
  margin-top: 1.1rem;
  margin-bottom: 0.7rem;
  line-height: 1.55;
  text-align: center;
}

/* =======================
   Service Section Link Style
   ======================= */
.service-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-block;
  margin-bottom: 0.1em;
  line-height: 1.2;
  background: none;
  border: none;
  outline: none;
}

.tight-gap {
  margin-bottom: 0.4rem !important;  /* or try 0.2rem, tweak as you like */
  padding-bottom: 0.6rem !important; /* reduce if needed */
}
.services-links {
  margin-top: 4.2rem;                  /* Spacing between Our Services and Services Sections */
}

.service-item {
  margin-bottom: 1.6rem;  /* adjust as needed */
  text-align: center;
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #b6e4ef;
  display: block;
  margin-bottom: 0.3rem;
}

/* =======================
   Standard Links
   ======================= */
a, a:visited, .service-link, .footer-link {
  color: #b6e4ef !important;
  text-decoration: none !important;
  transition: color 0.2s;
  font-weight: 400;
}
a:hover, .service-link:hover, .footer-link:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Email link stays blue, never changes color on hover */
.email-link {
  color: #b6e4ef !important;
  font-size: 1rem;
  font-weight: 400;
  pointer-events: auto;
}
.email-link:hover {
  color: #b6e4ef !important;
  text-decoration: none !important;
  cursor: pointer;
}

/* Remove boldness for Let's Talk CTA */
.lets-talk-cta {
  font-weight: 400 !important;
}

/* =======================
   Footer Styles
   ======================= */
footer, footer .footer-note {
  background-color: #202b3e !important;
  color: #e9f0fa !important;
  font-size: 0.78rem;
  text-align: center;
  border-top: 1px solid #26334b;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}
footer .footer-link {
  color: #b6e4ef !important;
  font-size: 0.74rem;
  display: inline-block;
  margin-top: 0.16rem;
  transition: color 0.2s;
}
footer .footer-link:hover {
  color: #fff !important;
}
footer .footer-emblem,
footer img[alt="GRG Emblem"] {
  max-width: 90px;
  height: 56px !important;
  opacity: 0.9;
  display: block;
  margin: 0 auto 0.6rem auto;
}

/* =======================
   Vision Section: for dark mode
   ======================= */
.vision-slogan, .vision-slogan .section-title, .vision-slogan .slogan {
  color: #e9f0fa !important;
}

/* =======================
   Responsive/mobile layout
   ======================= */
@media (max-width: 700px) {
  body, html {
    font-size: 1rem;
  }
  .section-content {
    max-width: 99vw;
    font-size: 1rem;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .section-title {
    font-size: 1.15rem;
  }
  h1, h2 {
    font-size: 1.25rem;
  }
  .header-flex-row,
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
    height: auto;
  }
  .main-logo {
    max-height: 56px;
    margin-bottom: 1rem;
  }
  .menu-bullets {
    flex-direction: row;
    gap: 0.78rem;
    font-size: 1rem;
    margin: 0 0 0 0.2rem;
    padding: 0;
  }
  .lang-switch {
    margin-left: 0;
    margin-top: 1rem;
  }
}
