:root {
  --gold: #B8952A;
  --gold-light: #D4AF55;
  --dark: #111418;
  --dark2: #181D24;
  --dark3: #1f252d;
  --white: #F5F2EC;
  --muted: #8A8480;
}

/* -- GLOBAL BODY & TYPOGRAPHY -- */
body { 
  background: var(--dark); 
  color: var(--white); 
  font-family: 'DM Sans', sans-serif; 
  font-weight: 300; 
  overflow-x: hidden; 
  padding-top: 0px; /* Compact padding to prevent gaping whitespace below the fixed menu */
}

h1, h2, h3, h4, h5, h6 { 
  font-family: 'Playfair Display', serif; 
}

/* -- NAVIGATION (FIXED COMPACT LAYOUT) -- */
nav { 
  position: fixed; 
  top: 0; 
  width: 100%; 
  background: rgba(17, 20, 24, 0.98); 
  display: flex; 
  align-items: center; 
  z-index: 1000; 
  transition: all 0.3s ease; 
  padding: 10px 0; /* Balanced vertical padding */
  border-bottom: 1px solid rgba(184, 149, 42, 0.15);
}

nav.scrolled { 
  padding: 6px 0; /* Slightly tighter padding on scroll */
  border-bottom: 1px solid rgba(184, 149, 42, 0.3); 
}

.nav-logo-img { 
  height: 70px; /* Scaled down to prevent container stretching */
  width: auto;
  object-fit: contain;
}

.nav-links a { 
  text-decoration: none; 
  color: var(--white); 
  font-size: 11px; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 0.2em; 
  transition: 0.3s; 
  line-height: 45px; /* Aligns text vertically with the 45px tall logo */
}

.nav-links a:hover,
.nav-links a.active { 
  color: var(--gold); 
}

.navbar-toggler {
  border: 1px solid rgba(184, 149, 42, 0.4);
  padding: 8px 12px;
  border-radius: 0;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: var(--gold);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28184, 149, 42, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 767.98px) {
  nav { padding: 12px 0; }
  .navbar-collapse {
    background: var(--dark2);
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(184, 149, 42, 0.1);
  }
  .nav-links a {
    display: block;
    padding: 10px 0;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: inherit;
  }
  .nav-links a:last-child { border-bottom: none; }
}

/* -- FULL SCREEN SLIDER -- */
.hero-slider { 
  position: relative; 
  width: 100%; 
  height: calc(100vh - 65px); /* Calculated to align perfectly below the slim nav */
  overflow: hidden; 
  background: #000; 
}

.slide { 
  position: absolute; 
  width: 100%; 
  height: 100%; 
  opacity: 0; 
  transition: opacity 1.5s ease; 
  background-size: cover; 
  background-position: center; 
  display: flex; 
  align-items: center; 
  padding: 0 10%; 
}

.slide.active { opacity: 1; }

.slide::before { 
  content: ''; 
  position: absolute; 
  top: 0; left: 0; width: 100%; height: 100%; 
  background: rgba(17, 20, 24, 0.4); 
}

.hero-h1 { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(45px, 8vw, 65px); 
  line-height: 1.1; 
  color: var(--white); 
  z-index: 2; 
  position: relative; 
}

.hero-h1 span { 
  color: var(--gold-light); 
  font-style: italic; 
}

/* -- UTILITY CLASSES -- */
.text-primary { color: var(--gold) !important; }
.border-primary { border-color: var(--gold) !important; }
.bg-light { background-color: var(--dark2) !important; color: var(--white); }

.sec-tag { 
  font-size: 10px; 
  font-weight: 700; 
  color: var(--gold); 
  text-transform: uppercase; 
  letter-spacing: 3px; 
  margin-bottom: 15px; 
}

.sec-line { 
  width: 50px; 
  height: 3px; 
  background: var(--gold); 
  margin-bottom: 60px; 
}

/* -- PILLARS SECTION -- */
.pillars-section { padding: 100px 0; background: var(--dark); }

.pillar-card { 
  background: var(--dark2); 
  border: 1px solid rgba(255,255,255,0.05); 
  padding: 40px; 
  height: 100%; 
  position: relative; 
  transition: 0.4s; 
}

.pillar-card:hover { 
  transform: translateY(-10px); 
  border-color: var(--gold); 
}

.pillar-num { 
  position: absolute; 
  top: 20px; right: 30px; 
  font-size: 48px; 
  font-weight: 700; 
  color: rgba(255,255,255,0.03); 
}

.pillar-name { 
  font-size: 16px; 
  font-weight: 600; 
  color: var(--gold); 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  margin-bottom: 20px; 
}

.pillar-tag { 
  font-size: 11px; 
  padding: 4px 12px; 
  border: 1px solid rgba(255,255,255,0.15); 
  color: rgba(255,255,255,0.6); 
  margin-right: 5px; 
  display: inline-block; 
}

.pillar-img-wrapper { 
  width: 100%; 
  height: 200px; 
  overflow: hidden; 
  border-radius: 2px; 
  border-bottom: 2px solid var(--gold); 
}

.pillar-img-wrapper img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.8s ease; 
  filter: grayscale(40%) brightness(80%); 
}

.pillar-card:hover .pillar-img-wrapper img { 
  transform: scale(1.1); 
  filter: grayscale(0%) brightness(100%); 
}

/* -- GROUP COMPANIES CUSTOM STYLING -- */
.company-card { 
  background: var(--dark2); 
  border: 1px solid rgba(255, 255, 255, 0.05); 
  padding: 30px 40px; 
  transition: 0.3s; 
  position: relative; 
  gap: 30px; 
}

.company-card:hover { 
  background: var(--dark3); 
  border-color: var(--gold); 
}

.country-code { 
  font-size: 24px; 
  font-weight: 700; 
  color: var(--white); 
  min-width: 60px; 
}

.location-tag { 
  font-size: 10px; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  color: var(--gold); 
  margin-bottom: 5px; 
  font-weight: 600; 
}

.company-name { 
  font-size: 20px; 
  margin-bottom: 8px; 
  color: var(--white); 
}

.company-desc { 
  font-size: 14px; 
  color: rgba(245, 242, 236, 0.6); 
  margin: 0; 
  max-width: 80%; 
}

.industry-badge { 
  border: 1px solid var(--gold); 
  color: var(--gold); 
  padding: 5px 15px; 
  font-size: 10px; 
  font-weight: 700; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  white-space: nowrap; 
}

@media (max-width: 768px) {
  .company-card { 
    flex-direction: column; 
    align-items: flex-start !important; 
    text-align: left; 
    gap: 15px; 
    padding: 25px; 
  }
  .company-desc { max-width: 100%; }
  .industry-badge { align-self: flex-start; }
}

/* -- TALENT NETWORK STYLING -- */
.network-box { 
  background: var(--dark); 
  border: 1px solid rgba(255, 255, 255, 0.05); 
  padding: 40px; 
  border-radius: 4px; 
}

.network-title { 
  color: var(--gold); 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  font-size: 13px; 
  font-weight: 700; 
}

.country-pill { 
  background: transparent; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  color: rgba(255, 255, 255, 0.7); 
  padding: 8px 16px; 
  font-size: 13px; 
  display: inline-block; 
  transition: 0.3s; 
}

.country-pill b { 
  color: var(--gold); 
  margin-right: 8px; 
  font-weight: 700; 
  text-transform: uppercase; 
  font-size: 11px; 
}

.country-pill:hover { 
  border-color: var(--gold); 
  color: var(--white); 
  background: rgba(184, 149, 42, 0.05); 
}

@media (max-width: 991px) {
  .network-box { padding: 25px; }
}

/* -- CONTACT & ADDRESS STYLING -- */
.form-control { 
  background: var(--dark); 
  border: 1px solid rgba(255,255,255,0.08); 
  color: var(--white); 
  padding: 14px 20px; 
  border-radius: 0; 
  font-size: 14px; 
}

.form-control:focus { 
  background: var(--dark3); 
  border-color: var(--gold); 
  color: var(--white); 
  box-shadow: none; 
}

.btn-gold { 
  background: var(--gold); 
  color: var(--dark); 
  border: none; 
  border-radius: 0; 
  font-size: 12px; 
  font-weight: 600; 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  padding: 15px 35px; 
  transition: 0.3s; 
}

.btn-gold:hover { 
  background: var(--gold-light); 
  color: var(--dark); 
}

.office-location h5 { 
  font-size: 18px; 
  color: var(--white); 
  margin-bottom: 10px; 
}

.office-location p { 
  font-size: 14px; 
  color: rgba(245, 242, 236, 0.6); 
  line-height: 1.6; 
}

/* -- FULL WIDTH MAP -- */
.map-container { 
  width: 100%; 
  height: 500px; 
  background: var(--dark2); 
  border-top: 1px solid rgba(184,149,42,0.1); 
}

.map-container iframe { 
  width: 100%; 
  height: 100%; 
  border: 0; 
  filter: grayscale(100%) invert(90%) contrast(110%); 
}

footer { 
  background: var(--dark2); 
  padding: 80px 0; 
  border-top: 1px solid rgba(184,149,42,0.1); 
}

/* --- PREMIUM CORPORATE FOOTER --- */
.premium-footer {
  background: var(--dark2);
  border-top: 1px solid rgba(184, 149, 42, 0.2);
  padding: 70px 0 30px 0;
  color: var(--white);
  font-size: 14px;
}

.footer-brand-column p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 13.5px;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  position: relative;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

/* Subtle gold accent underline beneath titles */
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Smooth forward-slide on link hover */
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: var(--muted);
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 4px;
  width: 25px;
  font-size: 14px;
}

.footer-bottom {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 25px 0;
  margin-top: 50px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.5px;
}

color: var(--muted); /* Resolves to a soft corporate gray (#8A8480) */