/* --- FULLSCREEN BACKGROUND VIDEO --- */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* --- BASE SETUP & BACKGROUND --- */
html, body {
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-color: transparent !important;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* GLOBAL LINK COLOR OVERRIDES */
a, a:visited, a:hover, a:active {
  color: #ffffff;
  text-decoration: none;
}

/* --- FLOATING TOP SOCIAL ICONS --- */
.top-social-float {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-top: 14px;
  position: relative;
  z-index: 20;
}

.top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #43c6cb !important; /* Fixed: matches site cyan icon color */
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 0.9;
}

.top-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.top-social-icon:hover {
  color: #ffffff !important;
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(67, 198, 203, 0.9));
}

/* --- TOP HEADER & LOGO --- */
.top-header-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px 0 10px 0;
  position: relative;
  z-index: 10;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  position: relative;
}

@keyframes homeLogoPulse {
  0% { 
    transform: scale(0.97); 
    filter: drop-shadow(0 0 18px rgba(100, 220, 230, 0.5)); 
  }
  50% { 
    transform: scale(1.03); 
    filter: drop-shadow(0 0 30px rgba(100, 220, 230, 0.8)); 
  }
  100% { 
    transform: scale(0.97); 
    filter: drop-shadow(0 0 18px rgba(100, 220, 230, 0.5)); 
  }
}

.logo {
  width: 240px !important;
  height: auto !important;
  aspect-ratio: auto;
  display: block;
  opacity: 1 !important;
  transform-origin: center center;
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  animation: homeLogoPulse 3s infinite ease-in-out;
}

/* --- BACK NAVIGATION --- */
.back-nav {
  text-align: center;
  margin: 12px auto;
  max-width: 900px;
  padding: 0 15px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.back-btn {
  display: inline-block;
  background: rgba(20, 30, 60, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(30, 80, 110, 0.8);
  border-color: rgba(100, 220, 230, 0.8);
  transform: translateY(-2px);
}

/* --- ABOUT PAGE CONTAINER & WINDOW STYLES --- */
.about-container {
  max-width: 900px;
  margin: 12px auto 30px auto;
  padding: 0 15px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.about-card {
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(12px);         
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 35px 40px;
  color: #ffffff;
  text-align: left;
  box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.2), 
      0 8px 25px rgba(0, 0, 0, 0.5);         
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.about-card:hover {
  border-color: rgba(100, 220, 230, 0.6);
  transform: translateY(-2px);
  box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 20px rgba(80, 200, 220, 0.3);
}

.about-card h1 {
  margin: 0 0 10px 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.about-subtitle {
  font-size: 0.95rem;
  color: rgba(100, 220, 230, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.about-card h3 {
  margin: 25px 0 10px 0;
  font-size: 1.3rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.about-card p {
  margin: 0 0 15px 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li span {
  color: #64dce6;
  font-weight: bold;
}

/* --- FOOTER LOGOS --- */
.bottom-logos-container {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  gap: 4px;
}

.bottom-logos {
  margin-bottom: 0;
}

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

/* --- MOBILE RESPONSIVE MEDIA QUERY --- */
@media only screen and (max-width: 767px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
    .about-card {
        padding: 20px 20px;
    }
    .about-container, .back-nav {
        padding: 0 12px;
    }
}