/* ================================
   ECLIPSE PRELOADER
   ================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0f1a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.eclipse-loader {
  position: relative;
  width: 150px;
  height: 150px;
}

/* Rotating ring with gradient */
.eclipse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #2CC4C4;
  border-right-color: rgba(44, 204, 196, 0.3);
  animation: ringRotate 1.2s linear infinite;
  box-shadow: 
    0 0 20px rgba(44, 204, 196, 0.3),
    inset 0 0 20px rgba(44, 204, 196, 0.1);
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dark core (the moon) */
.eclipse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #0a0f1a 0%, #0d1220 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 40px rgba(44, 204, 196, 0.4),
    0 0 80px rgba(44, 204, 196, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(44, 204, 196, 0.3),
      0 0 80px rgba(44, 204, 196, 0.15),
      inset 0 0 30px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(44, 204, 196, 0.6),
      0 0 100px rgba(44, 204, 196, 0.3),
      inset 0 0 30px rgba(0, 0, 0, 0.5);
  }
}

/* Lens flare effect */
.eclipse-flare {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(44, 204, 196, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: flarePulse 2s ease-in-out infinite;
}

@keyframes flarePulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ================================
   BASE STYLES
   ================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #0a0f1a;
  font-family: Poppins, sans-serif;
  color: white;
}

.highlight {
  color: #2CC4C4;
}

/* ================================
   NAVIGATION WITH ECLIPSE ANIMATION
   ================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  padding: 25px 40px;
}

.nav-btn {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 25px;
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid rgba(44, 204, 196, 0.2);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

/* Eclipse corona glow behind button - fades in and out */
.nav-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: radial-gradient(
    ellipse at center,
    rgba(44, 204, 196, 0.6) 0%,
    rgba(44, 204, 196, 0.3) 40%,
    rgba(44, 204, 196, 0.1) 60%,
    transparent 70%
  );
  filter: blur(8px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.nav-btn:hover {
  color: #2CC4C4;
  border-color: rgba(44, 204, 196, 0.4);
  text-shadow: 0 0 10px rgba(44, 204, 196, 0.5);
}

.nav-btn:hover::before {
  opacity: 1;
  animation: eclerneFade 2s ease-in-out infinite;
}

/* Active state - constant breathing glow */
.nav-btn.active {
  color: #2CC4C4;
  background: rgba(10, 15, 26, 0.95);
  border-color: rgba(44, 204, 196, 0.5);
  text-shadow: 0 0 15px rgba(44, 204, 196, 0.6);
}

.nav-btn.active::before {
  opacity: 1;
  animation: eclipseFade 3s ease-in-out infinite;
}

/* Eclipse fade animation - light emerging and hiding like sun behind moon */
@keyframes eclipseFade {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(8px);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
    filter: blur(12px);
  }
}

/* ================================
   HOME PAGE
   ================================ */
.home-main {
  min-height: 100vh;
  background-image: url("images/b7804190-23ce-9975-427a-b4551eb1da62.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
}

.main-logo {
  width: 140px;
  height: 140px;
  margin-bottom: 35px;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(44, 204, 196, 0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(44, 204, 196, 0.9)); }
}

.brand-text {
  max-width: 700px;
  width: 90%;
  margin-bottom: 20px;
}

.tagline {
  font-size: 1.6rem;
  font-weight: 400;
  color: #2CC4C4;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 50px;
  text-shadow: 0 0 20px rgba(44, 204, 196, 0.5);
}

/* Signup */
.signup-container {
  margin-bottom: 25px;
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.signup-form input[type="email"] {
  padding: 16px 28px;
  font-size: 0.95rem;
  border: 1px solid rgba(44, 204, 196, 0.4);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  width: 300px;
  outline: none;
  font-family: Poppins, sans-serif;
  transition: all 0.3s ease;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.signup-form input[type="email"]:focus {
  border-color: #2CC4C4;
  box-shadow: 0 0 20px rgba(44, 204, 196, 0.25);
}

.signup-form button {
  padding: 16px 35px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #2CC4C4, #20a8a8);
  color: #0a0f1a;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44, 204, 196, 0.4);
}

.thank-you-message {
  display: none;
}

.thank-you-message p {
  color: #2CC4C4;
  font-size: 1.1rem;
}

.contact-email {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
}

.contact-email a {
  color: #2CC4C4;
  text-decoration: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  margin-bottom: 60px;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #2CC4C4;
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(44, 204, 196, 0.6));
}

.social-icons svg {
  width: 28px;
  height: 28px;
}

.tm-icon {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -1px;
}

/* Footer */
.home-footer {
  margin-top: auto;
}

.footer-locations {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-locations .separator {
  margin: 0 12px;
  color: #2CC4C4;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ================================
   ABOUT PAGE - NEW BACKGROUND
   ================================ */
.about-page {
  min-height: 100vh;
  background-image: url("images/about-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.about-hero {
  padding: 140px 20px 60px;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

/* Content */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 30px 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text .intro {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.mission h2 {
  font-size: 1rem;
  color: #2CC4C4;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.mission p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}

.vision-box {
  background: rgba(44, 204, 196, 0.08);
  border-left: 3px solid #2CC4C4;
  padding: 20px 25px;
  border-radius: 0 8px 8px 0;
}

.vision-box p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Verticals */
.verticals-box {
  background: rgba(44, 204, 196, 0.05);
  border: 1px solid rgba(44, 204, 196, 0.2);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(5px);
}

.verticals-box h2 {
  font-size: 0.9rem;
  color: #2CC4C4;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-align: center;
}

.verticals-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.verticals-box li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.verticals-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #2CC4C4;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(44, 204, 196, 0.5);
}

.verticals-box li:hover {
  color: white;
  transform: translateX(5px);
}

/* About Footer */
.about-footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(10, 15, 26, 0.5);
}

.about-footer .footer-email {
  margin-bottom: 20px;
}

.about-footer .footer-email a {
  color: #2CC4C4;
  text-decoration: none;
  font-size: 0.9rem;
}

.about-footer .social-icons {
  margin-bottom: 25px;
}

.about-footer .footer-locations {
  margin-bottom: 10px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 850px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    padding: 20px;
  }
  
  .nav-btn {
    font-size: 0.7rem;
    padding: 10px 18px;
  }
  
  .nav-btn::after {
    width: 6px;
    height: 6px;
  }
  
  .home-main {
    padding: 90px 20px 30px;
  }
  
  .main-logo {
    width: 100px;
    height: 100px;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .signup-form {
    flex-direction: column;
    align-items: center;
  }
  
  .signup-form input[type="email"] {
    width: 100%;
    max-width: 280px;
  }
  
  .about-hero {
    padding: 120px 20px 50px;
  }
  
  .about-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .main-nav {
    padding: 15px;
  }
  
  .nav-btn {
    font-size: 0.6rem;
    padding: 8px 14px;
  }
  
  .main-logo {
    width: 80px;
    height: 80px;
  }
  
  .tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
  
  .social-icons {
    gap: 25px;
  }
  
  .social-icons svg {
    width: 24px;
    height: 24px;
  }
  
  .tm-icon {
    font-size: 16px;
    line-height: 24px;
  }
}
