/* ====Remove any old style and set the color scheme==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #8A9A5B;
  --black: #000000;
  --white: #ffffff;
  --gray-light: #cccccc;
  --gray-dark: #1a1a1a;
}

/* ===overall==== */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  text-align:left;
}
small {
  color: var(--gray-light);
  font-size: 0.6rem;
  display: block;
  margin-top: 15px;
  font-style: italic
}
h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--white); 
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--gray-light);
  margin: 0 2rem 1.5rem 2rem;
}
a {
  color: var(--green);         
  text-decoration: none;
  transition: color 0.3s;
}

ul, ol {
  margin: 0 2rem 1.5rem 2rem;
  padding-left: 1.2rem;
}

a:hover {
  color: var(--white);         
  text-decoration: underline;  
}
.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
/* ===Containers=== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===Header=== */
header {
  background-color: var(--gray-dark);
  border-bottom: 1px solid var(--green);
  padding: 2px 20px;
}

header h1 {
  color: var(--white);
  font-size: 2rem;
  letter-spacing: 1px;
  margin: 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo {
  height: 200px;
  width: auto;
  display:block;
}

/* ====Navigation==== */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 0;
  padding: 0;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--green);
}

/* button1 */
.button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--green);
  color: var(--black);
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  transition: background 0.3s;
  max-width: 300px;
  width: 100%
}

.button:hover {
  background-color: #3ebf6a;
}

/* button2 */
.hero-button {
  display: inline-block;
  background-color: var(--green);
  color: var(--gray-light);
  padding: 12px 25px;
  text-decoration: none;
  border: 2px solid var(--gray-light);
  border-radius: 5px;
  font-weight: bold;
  margin: 5px;
}

.hero-button:hover {
  background-color: var(--black);
  color: var(--green);
  border: 2px solid var(--green);
}

/* button3 */
.button-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 20px;
  max-width: 800px;
  justify-content: center;
}

.button-group a {
  flex: 1 1 200px;
  max-width: 300px;
  background-color: var(--green);
  color: var(--black);
  padding: 12px 25px;
  text-decoration: none;
  border: 2px solid var(--green);
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.button-group a:hover {
  background-color: var(--black);
  color: var(--green);
}

examples-nav {
  color: var(--white);
  font-size: 2rem;
  letter-spacing: 1px;
  margin: 0;
  align-items: left
}

.examples-nav-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
  

/* ===Hero=== */
.hero {
  background-color: var(--black);
  padding: 100px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-light);
  margin-bottom: 30px;
}


/* Fixed Hero Image Section */
.hero-fixed {
  background-color: var(--black);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 40vh;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
.home-hero {
  background-image: url('/assets/images/nasa_windtunnel.jpg');
}

.hero-fixed h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto
}
.hero-overlay h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: floatIn 2s ease-out forwards;
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-hero {
  background-image: url('/assets/images/map.png');
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===Section Basics=== */
section {
  padding: 80px 20px;
  text-align: center;
}

section h3 {
  color: var(--green);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

section p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-light);
}

/* ===Cards=== */
.card {
  background-color: #111111;
  border: 1px solid var(--green);
  color: var(--white);
  padding: 30px;
  margin: 20px;
  border-radius: 5px;
}

.card h4 {
  color: var(--green);
  margin-bottom: 10px;
}

.card p {
  color: var(--gray-light);
}

/* ===Footer=== */
footer {
  background-color: var(--black);
  color: var(--green);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 10px;
}

.footer-text {
  text-align: center;
}

.footer-links a {
  color: var(--green);
  text-decoration: none;
  margin: 0 8px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===Global Insights=== */
.global-insights {
  background-color: var(--black);
  color: var(--white);
  padding: 100px 20px;
  text-align: left;
}

.global-insights h3,
.global-insights p,
.global-insights a {
  margin-left: 0;
  text-align: left;
  max-width: 800px;
}
.global-insights .container {
  text-align: left;
}

.global-insights .tagline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.global-insights .description {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: var(--gray-light);
}

/* ===Team=== */
.team-intro {
  background-color: var(--black);
  color: var(--gray-light);
  padding: 80px 20px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.team-intro h2,
.team-intro h3 {
  color: var(--green);
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 20px;
}

.team-intro p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  text-indent: 20px;
}

/* Team Grid */
.team-grid .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 60px 20px;
  background-color: #0d0d0d;
}

.team-member {
  background: #111;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 30px 20px;
  width: 260px;
  text-align: center;
  transition: transform 0.3s ease;
  color: white;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid var(--green);
}

.team-member h4 {
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.4;
}
.team-member p strong {
  display: block;
  margin-bottom: 10px;
}

/* Map Image */
.map-image {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.linkedin-link img {
  width: 20px;    /* much smaller */
  height: 20px;
  margin-left: 8px; /* small gap from text */
  vertical-align: middle; /* aligns nicely with name text */
  border: none;
  border-radius: 0; /* no circle */
  box-shadow: none; /* no line or shadow */
}

.linkedin-link img:hover {
  opacity: 1;
}

.profile-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  border: 2px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.profile-link:hover {
  background-color: var(--green);
  color: var(--black);
}

.profile-photo {
  width: 400px; 
  height: auto;
  border-radius: 0; 
  object-fit: cover; 
  margin-bottom: 20px;
}

.profile-layout {
  text-align: left;
  padding: 40px 20px;
}

.profile-layout .container {
  max-width: 900px;
  margin: 0 auto;
}

.profile-content p {
  margin-bottom: 20px; 
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
  color: var(--gray-light);
}

/* ===Services=== */
.services-hero {
  background-image: url('/assets/images/fynn-zentner-ballingrass.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  width: 100vw;
  margin-left: calc(-50vw +50%) !important;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

/* Services Intro Section */
.services-intro {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 20px;
  text-align: left;
}

.services-intro h3 {
  color: var(--green);
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.services-intro .tagline {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.services-intro .description {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: var(--gray-light);
}

/* mobile Services Grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Center the row of cards */
  gap: 40px; /* Adjust spacing between cards */
  padding: 40px 20px;
  max-width: 1200px; /* Optional: keeps the grid from stretching too wide on big monitors */
  margin: 0 auto; /* Center the whole grid */
}

.service-card {
  background-color: #111;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 30px 20px;
  width: 280px; /* Fixed width per card */
  text-align: center;
  color: white;
  transition: transform 0.3s ease;
  flex: 1 1 280px; /* Let cards shrink a little on smaller screens */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.4);
}

/* Service Icons inside Cards */
.service-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Deliverables List inside Service Cards */
.service-deliverables {
  list-style-type: disc;
  text-align: left;
  padding-left: 20px;
  margin-top: 10px;
  color: var(--gray-light);
  font-size: 0.9rem;
}


/* ===Contact=== */
.contact-hero {
  background-image: url('/assets/images/lets_talk.png'); 
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
/* Contact Intro Section */
.contact-intro {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 20px;
  text-align: left;
}
.contact-us .description {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  color: var(--gray-light);
  text-align: left;
}

.contact-link {
  color: var(--green);
  font-weight: bold;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* ===Briefs====*/
.briefs-hero {
  background-image: url('/assets/images/nasa_weather.jpg');
}
/* ===research===*/
.research-hero {
  background-image: url('/assets/images/nasa_nova.jpg');
}
/* ===dashboard===*/
.dashboard-hero {
  background-image: url('/assets/images/luke-chesser-dashboard.jpg');
}


/* ===Responsive Settings=== */
@media (max-width: 1024px) {
  .hero-fixed,
  .team-hero,
  .service-hero,
  .contact-hero,
  .briefs-hero,
  .dashboard-hero,
  .research-hero {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
    min-height: 500px;
    background-repeat: no-repeat !important;
  }
  .hero-overlay {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .hero h1 {
    margin-top: 40px;
    text-align: center;
  }
  .service-hero h1, 
  .research-hero h1,
  .team-hero h1,
  .dashboard-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: center;
    padding: 1rem;
  }
  .service-hero .hero-overlay {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  /* Stack service cards vertically */
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  /* Fix nav */
  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .logo-title {
    flex-direction: column;
    align-items: center;
  }
  .hero-fixed.home-hero {
    min-height: 500px;
  }

  .hero-fixed.home-hero h1 {
    font-size: 2rem; 
    line-height: 1.3;
  }

  .hero-fixed.home-hero .hero-tagline {
    font-size: 1.4rem; 
    line-height: 1.5;
  }
}
@media screen and (orientation: landscape) {
  .team-hero {
    background-image: url('/assets/images/map.png'); /* ensure it's not dropped */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    min-height: 400px !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }

  .services-hero {
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    min-height: 500px !important;
  }

  .hero-fixed {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 500px !important;
  }
}

/* ===dash=== */

.Select-option {
    background-color: var(--gray-dark) !important;
    color: var(--white) !important;
}

.Select-option:hover {
    background-color: var(--green) !important;
    color: var(--black) !important;
}
/*closed dropdown box*/
.Select-control,
.Select--single > .Select-control {
  background-color: var(--gray-dark) !important;
  color: var(--white) !important;
  border: 1px solid var(--gray-light) !important;
}

/* Force white text inside placeholder/selected value */
.Select-placeholder,
.Select-value-label {
  color: var(--white) !important;
}

/* Customize the dropdown arrow */
.Select-arrow-zone, .Select-arrow {
  color: var(--white) !important;
}

/* Dropdown menu (open state) */
.VirtualizedSelectOption {
  background-color: var(--gray-dark) !important;
  color: var(--white) !important;
}

.VirtualizedSelectOption:hover {
  background-color: var(--green) !important;
  color: var(--black) !important;
}

/* Tag styling */
.tag-links {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ccc;
  text-align: right;
}

.tag-links h3 {
  display: none;
}

.tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5em;
}

.tag-list li {
  margin: 0;
}

.tag-list a.tag {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  padding: 0.3em 0.8em;
  font-size: 0.85rem;
  border-radius: 2em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tag-list a.tag:hover {
  text-decoration: underline;
}
