/*
  Global styles for the revamped Eliora Tech Solutions website.
  Inspired by award‑winning AI companies, this design uses a dark theme,
  vibrant accents, and card‑based sections to create an immersive journey.
*/

/* Colour palette */
:root {
  --background: #0a0a0a;       /* Deep dark backdrop */
  --foreground: #ffffff;       /* Pure white for primary text */
  --muted: #cccccc;            /* Soft grey for secondary text */
  --primary: #4db6e8;          /* Vibrant cyan accent colour */
  --primary-dark: #399ac5;     /* Slightly darker accent for hover states */
}

/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Navigation bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.navbar .brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.navbar-logo {
  height: 40px;
  width: auto;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.navbar a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.navbar a:hover {
  color: var(--primary);
}

/* Full‑page animated background container */
#vanta-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Reduce the opacity of the Vanta canvas to ensure content remains readable */
#vanta-bg > canvas {
  opacity: 0.4;
}

/* Main wrapper */
main {
  padding-top: 80px; /* space for fixed navbar */
}

/* Generic section styles */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.section p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Hero section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}
.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  /* Add a subtle shadow for better contrast against the animated background */
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
}
.hero-section p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 2rem;
  color: var(--muted);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.cta-button {
  display: inline-block;
  padding: 0.9em 2em;
  background: var(--primary);
  color: #000000;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Benefits section (Home) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.benefit-card {
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
.benefit-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.benefit-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.benefit-card p {
  color: var(--muted);
  font-size: 1rem;
}

/* Trusted section */
.trusted-section {
  text-align: center;
  margin-top: 4rem;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 2rem;
}
.trusted-logos .logo {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 1rem;
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* How it works / Steps section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.step-card {
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
.step-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.step-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.step-card p {
  font-size: 1rem;
  color: var(--muted);
}

/* Call‑to‑action section */
.cta-section {
  text-align: center;
  padding: 60px 20px;
  background: rgba(20, 20, 20, 0.85);
  margin-top: 4rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

/* About page logo */
.about-logo-container {
  text-align: center;
  margin-bottom: 2rem;
}
.about-logo {
  height: 200px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

/* About page cards (reuse benefit styles) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.about-card {
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
.about-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}
.about-card p {
  font-size: 1rem;
  color: var(--muted);
}

/* Services grid (reuse cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.service-card p {
  font-size: 1rem;
  color: var(--muted);
}

/* Contact form card */
.contact-card {
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin: 0 auto;
}
.contact-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
#contact-form input,
#contact-form textarea {
  padding: 0.8em 1em;
  border: none;
  border-radius: 6px;
  background: #1a1a1a;
  color: var(--foreground);
  font-family: inherit;
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: 2px solid var(--primary);
  background: #222;
}
#contact-form button {
  align-self: flex-start;
  padding: 0.8em 2em;
  background: var(--primary);
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
#contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 2.4rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .benefit-card,
  .step-card,
  .service-card,
  .about-card,
  .contact-card {
    padding: 1.5rem;
  }
}

/* Styling for small hero taglines used on the home page */
.hero-tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
    opacity: 0.8;
  }
  to {
    text-shadow: 0 0 15px var(--primary), 0 0 25px var(--primary), 0 0 35px var(--primary), 0 0 45px var(--primary);
    opacity: 1;
  }
}

/* ===========================
   Contact Form Status Message
   =========================== */
   .form-status {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: var(--muted);
  }
  
  .form-status.success {
    color: #9be37a;
  }
  
  .form-status.error {
    color: #ff6b6b;
  }
  