/* Reset + Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  scroll-behavior: smooth;
  background-color: #fff;
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', sans-serif;
  background: #1E2A4A url('../img/background_tile.jpg') repeat;
  background-size: 900px;
  color: #fff;
  line-height: 1.6;
}

a {
  color: #1E2A4A;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  width: 100%;
  height: 60px;
  background-color: #B9E1FA;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar .nav-container {
  width: 100%;
  max-width: 1440px;
  padding: 0 75px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  color: #223669;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #223669;
  font-weight: 500;
}

/*.nav-icon {
  width: 20px;
  height: auto;
  display: inline-block;
}
*/
/* Layout */
.page-container {
  max-width: 1440px;
  margin: 0 auto;
}

.section {
  width: 100%;
  padding: 100px 50px 0;
}

.section.shorter {
  padding: 0 50px 50px 75px;
}

.section.longer {
  padding: 100px 50px 200px;
}

.indies {
  width: 75%;
  margin: 0 auto;
}

/* Logo */
.logo {
  width: 75%;
  margin: 0 auto;
  display: block;
  height: auto;
}

/* Lottie */
/*.lottie-json-player {
  position: relative;
  z-index: 1;
}
*/

/* Featured Text */
.featured-text {
  max-width: 75%;
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1.4; 
  text-align: center;
}

.featured-text strong {
  font-weight: 700;
  color: #FFC103;
}

/* Section Images */
.section-image {
  width: 100%;
  text-align: center;
}

.section-image img {
  width: 75%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: url('../img/lion-cat.png') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  z-index: 1;
  padding-top: 40px;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner-mobile {
  display: none;
  text-align: center;
  padding: 20px;
}

.subtitle {
  font-size: 2rem;
  font-weight: 300;
}

.headline {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-image {
  max-width: 75%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.headline .highlight {
  color: #C1E0F7;
}

/* Team Section */
.team-section {
  text-align: center;
  padding: 60px 40px;
}

.team-section h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 40px;
}


.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-member {
  flex: 1 1 170px;
  max-width: 170px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: scale(1.15);
}

.team-member img {
  width: 100%;
  border-radius: 4px;
}

.team-member h3 {
  min-height: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-member p {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 400;
}

/* Footer */
.footer {
  width: 100%;
  scroll-margin-top: 80px;
  color: #1e1e2f;
}

.footer-top-edge {
  width: 100%;
  height: 80px;
  background: url('../img/footer-edge-bg.png') no-repeat center top / cover;
}

.footer-body {
  background-color: #B9E2F9;
  width: 100%;
  color: #223669;
  padding-bottom: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 60px 40px;
  gap: 80px;
}

.footer-left {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-left a {
  color: #223669;
  font-size: 1.2rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.footer-left a:hover {
  font-weight: 700;
}

.footer-left p {
  font-weight: 600;
  font-size: 1rem;
  margin: 15px 0 25px;
}

.footer-left h2 {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 8px;
}

.footer-locations {
  flex: 4 1 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
}

.location {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
}

.location h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.location hr {
  border: none;
  border-top: 1px solid #1e1e2f;
  margin-bottom: 12px;
}

.location a {
  color: #1e1e2f;
  transition: all 0.3s ease;
}

.location a:hover {
  font-weight: 700;
  color: #2d3c6c;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

/* Animatables */
.section,
.logo,
.subtitle,
.headline,
.team-section h2,
.team-member,
.footer-locations {
  transition: all 0.3s ease;
}

/* Responsiveness */
.section-desktop { display: block; }
.section-mobile { display: none; }

@media (max-width: 1200px) {
  .navbar .nav-container { padding: 0 25px; }
  .featured-text { font-size: 2.2rem; max-width: 80%; }
  .hero-banner { background-size: contain; }
  .hero-content { padding-top: 20px; }
  .subtitle { font-size: 1.5rem; }
  .headline { font-size: 3.5rem; }
  .indies { width: 85%; }
}

@media (max-width: 1080px) {
  .featured-text { max-width: 90%; }
  .subtitle { font-size: 1.2rem; }
  .headline { font-size: 3rem; line-height: 1.2; }
}

@media (max-width: 768px) {
  .section-desktop { display: none; }
  .section-mobile { display: block; }
  .section { padding: 50px 25px 0; }
  .section.shorter { padding: 0 50px 50px; }
  .section.indies.longer { padding: 50px; }
  .section.longer { padding: 100px 40px; }  
  .featured-text { font-size: 1.7rem; padding: 0 20px; max-width: 100%; line-height: 1.5; }
  .hero-image { max-width: 100%; }
  .indies { width: 100%; }
  .logo { padding-top: 80px; width: 95%; }
  .headline { font-size: 2.4rem; }
  .subtitle { font-size: 1.5rem; }
  .team-section { padding: 60px 40px 80px; }
  .team-section h2 { font-size: 2.2rem; }
  .team-grid { justify-content: space-between; }
  .team-member { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); transition: none; }
  .team-member:hover { transform: none; }
  .team-member h3 { margin-top: 5px; min-height: 2.5rem; }
  .footer-content { gap: 20px; padding: 20px 25px; }
  .footer-left h2 { font-size: 2rem; }
  .footer-locations { gap: 20px; }
  .location p { font-size: 1.2rem; }
  .location h3 { font-size: 1.5rem; }
}

@media (max-width: 500px) {
  .featured-text { font-size: 1.7rem; padding: 0; max-width: 100%; }
}

@media (max-width: 399px) {
  .featured-text { font-size: 1.2rem; }
  /* .team-member { flex: 1 1 100%; max-width: 100%; } */
  .team-member { flex: 1 1 100%; max-width: 70%; }
  .team-grid { justify-content: center; }
}


/* Scroll Arrow */
.scroll-arrow {
  position: fixed;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: url('../img/arrow-down-white.png') no-repeat center center;
  background-size: contain;
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 999;
  pointer-events: none;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-arrow.hide {
  opacity: 0; pointer-events: none;
}


/* Hide on desktop */
@media (min-width: 768px) {
  .scroll-arrow {
    display: none;
  }
}
