@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* About Page Styles */
html {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: 'Cormorant Garamond', serif;
  color: #111;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* NAVBAR */
.navbar {
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  background-color: transparent;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #0d0d0d;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.navbar-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  transform: translateX(-25px);
}

@media screen and (max-width: 768px) {
  .logo img {
    height: 52px;
  }
}

.nav-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo img {
  height: 85px;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex: 1;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px;
  text-align: center;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.4);
  transform: scaleX(0);
  opacity: 0.75;
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:not(.active):hover {
  opacity: 0.75;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  background-color: white;
}

.nav-links a.active {
  font-weight: 700;
}

.nav-links a.active:hover {
  opacity: 0.75;
}

.nav-icons a {
  color: white;
  margin-left: 1.2rem;
  font-size: 1.3rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-icons a:hover {
  opacity: 0.75;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
}

.quote-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: white;
  padding: 0.5rem 1.5rem;
  border: 2px solid white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quote-btn:hover {
  background-color: white;
  color: #111;
  cursor: pointer;
}

/* Hero Section */
.video-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  padding-top: 30vh;
  font-family: 'Cormorant Garamond', serif;
}

.typewriter-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.typewriter-line1 {
  font-weight: 500;
  font-size: 5rem;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 auto;
  border-right: 2px solid white;
  animation: blink-caret 0.75s step-end infinite;
}

.typewriter-line2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease 0.3s, transform 1.5s ease 0.3s;
}

.typewriter-line2.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

.title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5991e7;
  margin-top: -0.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.bio-section {
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.bio-container {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.bio-container.reverse {
  flex-direction: row-reverse;
}

.bio-image {
  flex: 1 1 300px;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bio-text {
  flex: 1 1 500px;
  text-align: left;
}

.bio-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: 'Cormorant Garamond', serif;
  color: #0d1a26;
}

.bio-text .title {
  font-style: italic;
  color: #888;
  font-size: 1rem;
  margin-bottom: 20px;
}

.bio-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.bio-text strong {
  font-style: italic;
  color: #555;
  font-size: 1.2rem;
  display: inline-block;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .bio-section {
    padding: 60px 6vw;
  }

  .bio-container, .bio-container.reverse {
    flex-direction: column;
    gap: 28px;
  }

  .bio-text {
    text-align: left;
    margin-top: 0;
  }

  .bio-text h2 {
    font-size: 1.9rem;
  }

  .bio-text p {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .bio-text strong {
    font-size: 1.15rem;
  }

  .quote-btn {
    font-size: 0.88rem;
    padding: 0.5rem 1.2rem;
  }

  .title {
    font-size: 1rem;
  }

  .bio-image {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .bio-section {
    padding: 48px 5vw;
  }

  .bio-text h2 {
    font-size: 1.7rem;
  }

  .bio-text p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .bio-text strong {
    font-size: 1.1rem;
  }

  .footer-title {
    font-size: 1.3rem;
  }
}


.fade-in-on-scroll {
  opacity: 0;
  visibility: hidden;            /* hides it without collapsing space */
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  visibility: visible;           /* reveal when JS adds .visible */
  transform: translateY(0);
}


