body {
  margin: 0;
  font-family: Arial", sans-serif;
}
.name {
  align-items: left;
}

.mainTitle{
  color: black; 
  font-size: 1.75rem; 
  margin: 0; 
  margin-right: 2rem;
}

.sideTitle{
  color: grey; 
  font-size: 1.25rem; 
  margin: 0; 
  margin-right: 2rem;
}

.header {
  height: 6rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #e7e7e7de;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  z-index: 100;
  white-space: nowrap;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.header.transparent {
  background: rgba(255, 255, 255, 0); /* fully transparent */
  box-shadow: none;
}

.header.transparent .name .mainTitle,
.header.transparent .name .sideTitle,
.header.transparent .nav-item,
.header.transparent .nav-divider {
  color: #ffffff;
}

/* prevents content overlap */
body {
  padding-top: 6rem;

/* Page background rectangle that starts after the intro tint */
.page-bg {
  position: absolute;
  top: 100vh; /* start right after the viewport-height intro */
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 10%); /* subtle background */
  z-index: 1; /* sit above the hero image (z-index:0) but below main content (z-index:2) */
}

/* Ensure main content layers above the page background */
header, .container, section, .founder-card, .mission-container, .values-grid {
  position: relative;
  z-index: 2;
}
}

.logo {
  width: 5rem;
  height: 5rem;
  margin-right: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 1.2rem;
  margin-left: auto;
  align-items: center;
}

.nav-item {
  font-weight: 900;
  color: #20B7E1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.translate-container {
  margin-left: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
}

/* Google Translate customization */
.goog-te-gadget {
  font-family: 'Montserrat', sans-serif !important;
}

.goog-te-gadget .goog-te-combo {
  padding: 0.3rem;
  border: 2px solid #20B7E1;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #20B7E1;
  background-color: white;
  cursor: pointer;
  outline: none;
}

.goog-te-banner-frame {
  display: none;
}

body {
  top: 0 !important;
}

.nav-divider {
  font-weight: 900;
  color: #007ea1;
}

.nav-item:hover {
  color: #225054;
}

.header.transparent:hover {
  background: #e7e7e7de;
}

.header.transparent:hover {
  background: #e7e7e7de;
  color: #20B7E1;
}

.header.transparent:hover .nav-item,
.header.transparent:hover .nav-divider{
  color: #20B7E1;
}

.header.transparent:hover .name .mainTitle{
  color: black;
}

.header.transparent:hover .name .sideTitle {
  color: grey;
}

.header.transparent .nav-item:hover {
  color: #225054;
}

.dropdown {
  position: fixed;
  z-index: 1000;
  top: 7rem;
  width: 100%;
  background: #e7e7e7de;
  /* box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.extraInfo {
  display: flex;
  align-items: horizontal;
  margin: 1rem 1rem 1rem 1rem;
}

.sampleImg {
  width: 9rem;
  height: auto;
  object-fit: cover;
}

.dropLinks {
  margin: 0.5rem 0 0 2rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.dropLinkItem {
  font-weight: 900;
  color: #20B7E1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dropLinkItem:hover {
  color: #225054;
}

.header-container:has(.nav-item:hover) .dropdown,
.dropdown:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%; 
  z-index: 0;
}

.intro-section {
  position: relative;
  text-align: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #20b7e166;
  z-index: 1;
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.initialText {
  font-size:  400%;
  font-weight: 900;
  margin: 0;
  color: #20B7E1;
}


.sect {
  width: 100%;
  height: 3rem;
  background-color: #e7e7e7de;
  position: relative;
  /* z-index: 2; */
}

.intro-dividers {
  display: flex;
  justify-content: space-between; 
  align-items: stretch;            
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}


.divider {
  flex: 1;                          
  display: flex;
  flex-direction: column;           
  align-items: stretch;              
  justify-content: center;          
  background: #a4a4a4;     
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);  
  overflow: hidden;       
}


.divider h1 {
  text-align: center;
  margin: 5 0 0 0;           
  font-size: 1.5em;
  height: 1.5rem;
  width: auto;
  color:#ffffff;
  transition: color 0.5s ease;
}

.pictureDividers {
  width: 100%;                  
  height: auto;
  flex: 1;
  object-fit: contain;
  filter: grayscale(100%);
  transform: scale(1);
  transition: filter 0.5s ease, transform 0.5s ease, z-index 0.2s ease;
}

.divider:hover {
  background: #e7e7e7de;
}

.divider:hover .pictureDividers {
  filter: grayscale(0%);
  transform: scale(1.02);
  z-index: 5;
}

.divider:hover h1 {
  color: #20B7E1;
}

.dropdown {
  position: fixed;
  z-index: 1000;
  top: 7rem;
  width: 100%;
  background: #e7e7e7de;
  /* box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.extraInfo {
  display: flex;
  align-items: horizontal;
  margin: 1rem 1rem 1rem 1rem;
}

.sampleImg {
  width: 9rem;
  height: auto;
  object-fit: cover;
}

.dropLinks {
  margin: 0.5rem 0 0 2rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.dropLinkItem {
  font-weight: 900;
  color: #20B7E1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dropLinkItem:hover {
  color: #225054;
}

.header-container:has(.nav-item:hover) .dropdown,
.dropdown:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%; 
  z-index: 0;
}

.intro-section {
  position: relative;
  text-align: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #20b7e166;
  z-index: 1;
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.initialText {
  font-size:  400%;
  font-weight: 900;
  margin: 0;
  color: #20B7E1;
}


.sect {
  width: 100%;
  height: 3rem;
  background-color: #e7e7e7de;
  position: relative;
  /* z-index: 2; */
}

.intro-dividers {
  display: flex;
  justify-content: space-between; 
  align-items: stretch;            
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}


.divider {
  flex: 1;                          
  display: flex;
  flex-direction: column;           
  align-items: stretch;              
  justify-content: center;          
  background: #a4a4a4;     
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);  
  overflow: hidden;       
}


.divider h1 {
  text-align: center;
  margin: 5 0 0 0;           
  font-size: 1.5em;
  height: 1.5rem;
  width: auto;
  color:#ffffff;
  transition: color 0.5s ease;
}

.pictureDividers {
  width: 100%;                  
  height: auto;
  flex: 1;
  object-fit: contain;
  filter: grayscale(100%);
  transform: scale(1);
  transition: filter 0.5s ease, transform 0.5s ease, z-index 0.2s ease;
}

.divider:hover {
  background: #e7e7e7de;
}

.divider:hover .pictureDividers {
  filter: grayscale(0%);
  transform: scale(1.02);
  z-index: 5;
}

.divider:hover h1 {
  color: #20B7E1;
}


/* Base Styles */
body { 
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #ffffffc4;
}

/* Layout */
.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 1.5rem; 
}

/* Typography */
a { text-decoration: none; color: inherit; }
.text-center { text-align: center; }
h2, h3, h4 { margin: 0 0 0.5rem 0; }
p { margin: 0 0 1rem 0; }

/* Hero Section */
.intro-section {
  position: relative;
  text-align: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background: rgba(32, 183, 225, 0.4);
  z-index: 2;
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.initialText {
  font-size: 400%;
  font-weight: 900;
  margin: 0;
  color: #20B7E1;
}

/* Mission Section */
.mission-section {
  padding: 6rem 0;
  background: rgb(248, 245, 245,0.9);
}

.mission-container {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mission-content {
  flex: 1;
}

.mission-content h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 1.5rem;
}

.mission-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: #20B7E1;
}

.mission-content .lead {
  font-size: 1.4rem;
  color: #20B7E1;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 500;
}

.mission-content p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mission-image {
  flex: 1;
}

.mission-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mission-image img:hover {
  transform: scale(1.02);
}

/* Impact Section */
.impact-section { 
  padding: 6rem 0;
  background: rgb(248, 245, 245,0.9);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 600;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #20B7E1;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}

.stat-item {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(32,183,225,0.1);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #20B7E1;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Values Section */
.values-section {
  padding: 6rem 0;
  background: rgb(248, 245, 245,0.9);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 8px;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2rem;
  color: #20B7E1;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 2rem auto 0 auto;
  padding: 0 1.5rem 0 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  padding-left: 90px;
  margin-bottom: 3rem;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: #20B7E1;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Journey section background rectangle using pseudo-element */
.journey-section {
  position: relative;
  z-index: 2;
}
.journey-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgb(248, 245, 245,0.9);
  z-index: 0; /* behind journey content */
}

/* Ensure journey children are above the pseudo background */
.journey-section > * {
  position: relative;
  z-index: 3;
}

/* Founder Section */
.founder-section {
  padding: 2rem 0 6rem 0;  /* Added bottom padding */
  background: rgb(248, 245, 245,0.9) 0%;
  min-height: 50vh;  /* Ensure section fills viewport height */
}

.founder-card {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  position: relative; /* Ensure card stays above background */
  z-index: 1;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e0f2fe;
}

@media (max-width: 768px) {
  .mission-container {
    flex-direction: column;
  }
  
  .founder-header {
    flex-direction: column;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}