:root {
  --c1: #7cc91f;
  --c2: #39b74b;
  --c3: #1dad65;
  --c4: #0870e8;
  --white: #ffffff;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--white);
  color: var(--c4);
}

/* ----------------- NAVBAR ----------------- */
/* ----------------- PILL NAVBAR ----------------- */
.navbar-container {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 20px;
}

.navbar {
  width: auto; /* Shrink to fit content */
  min-width: 650px; /* Ensures enough space for links */
  height: 50px;
  display: flex; /* Changed from grid to flex for better pill alignment */
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  background: rgba(255, 255, 255, 0.95); /* Slight transparency */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  backdrop-filter: blur(10px); /* Glass effect */
  border-radius: 50px; /* The Pill Shape */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 45px; /* Scaled down for the smaller pill bar */
  width: auto;
  scale: calc(150%);
}

/* KEEPING YOUR EXACT LINK HOVER LOGIC */
.nav-center {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 20px;
}

.nav-center a {
  text-decoration: none;
  color: var(--c4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: var(--c2); /* Your original hover color */
}

/* Adjust Dropdown position for the Pill Bar */
.dropdown {
  position: absolute;
  top: 50px; /* Adjusted slightly higher for the pill bar */
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 500px;
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* MOBILE FIX FOR PILL */
@media (max-width: 992px) {
  .navbar {
    width: 100%;
    min-width: unset;
    border-radius: 15px; /* Square off slightly on mobile */
  }

  .navbar-container {
    top: 10px;
  }
}

/* NAV LINKS CENTER */
.nav-center {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.nav-center li {
  position: relative;
}

.nav-center a {
  text-decoration: none;
  color: var(--c4);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: var(--c2);
}

/* DESKTOP DROPDOWN */
.dropdown {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 550px;
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 25px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown ul {
  list-style-type: none;
}
.dropdown ul li {
  padding-top: 15px;
}

.dropdown img.desktop-img {
  width: 180px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
}

/* NAV ITEM FLEX */
.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-arrow {
  display: none;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--c4);
}

/* ----------------- MOBILE ----------------- */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-center {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
    display: none;
    z-index: 99;
  }

  .nav-center.active {
    display: flex;
  }

  .mobile-arrow {
    display: block;
  }

  /* MOBILE DROPDOWN: text-only */
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown {
    position: relative;
    width: 100%;
    padding: 0;
    box-shadow: none;
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .dropdown.active {
    display: flex;
  }

  .dropdown img.desktop-img {
    display: none; /* hide images on mobile */
  }

  .dropdown ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
  }

  .dropdown ul li a {
    color: var(--c4);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
  }

  .dropdown ul li a:hover {
    color: var(--c2);
  }

  .menu-toggle {
    display: block;
  }
}

.hero {
  height: 100vh; /* full screen height */
  background: url("/assets/images/ev8.jpg") no-repeat center/cover;

  display: flex;
  align-items: center; /* vertical center */
  justify-content: flex-start; /* left side */

  padding: 0 80px;
  color: var(--white);
}

/* Text box */
.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero button {
  padding: 12px 25px;
  border: none;
  background: var(--c1);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: var(--c2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 0 30px;
    text-align: center;
    justify-content: center;
  }
}
.hero-text1 {
  padding: 50px;
  color: var(--c1);
}
.about-section {
  padding: 60px 20px;
  background: var(--c1);
  color: var(--white);
}

.container {
  max-width: 1200px;
  margin: auto;

  display: flex;
  align-items: center;
  gap: 40px;
}

/* Image side */
.image-box {
  flex: 1;
}

.image-box img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Text side */
.text-box {
  flex: 1;
}

.text-box h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.text-box p {
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 20px;
}

.text-box button {
  padding: 10px 20px;
  border: none;
  background: black;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.text-box button:hover {
  background: var(--c2);
}

/* ✅ Responsive (mobile) */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}
/* section 3*/
/* Section */
.features {
  padding: 80px 20px;
  background: #f3f6f4;
  text-align: center;
}

/* Header text */
.features-header {
  max-width: 700px;
  margin: auto;
  margin-bottom: 50px;
}

.features-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.features-header p {
  color: #666;
  line-height: 1.6;
}

/* Cards layout */
.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

/* Card style */
.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border: 2px solid var(--c1);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-container {
    grid-template-columns: 1fr;
  }
}

/* section 4 */
.zeon-section {
  padding: 100px 40px;
  color: white;

  /* dark red gradient background like screenshot */
  background: radial-gradient(circle at left top, var(--c2), #000 60%);
}

.zeon-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

/* Left text */
.subtitle {
  font-size: 22px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.zeon-left h2 {
  font-size: 48px;
  font-weight: 800;
}

/* Accordion */
.accordion {
  border-bottom: 1px solid var(--c1);
}

.acc-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;

  padding: 20px 0;
  font-size: 18px;
  cursor: pointer;
  position: relative;
}

/* arrow */
.acc-btn::after {
  content: "⌄";
  position: absolute;
  right: 0;
  font-size: 18px;
  transition: 0.3s;
}

.acc-btn.active::after {
  transform: rotate(180deg);
}

/* hidden content */
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  color: #bbb;
  font-size: 14px;
  padding-right: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .zeon-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zeon-left {
    text-align: center;
  }
}

/* section 5 */
/* Section */
.sec5 {
  padding: 80px 20px;
  background: #f8f9fb;
  text-align: center;
}

/* Header */
.sec5-header {
  max-width: 700px;
  margin: auto;
  margin-bottom: 60px;
}

.sec5-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.sec5-header p {
  color: #666;
  line-height: 1.6;
}

/* Grid */
.sec5-grid {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

/* Items */
.sec5-item img {
  width: 60px;
  margin-bottom: 15px;
}

.sec5-item p {
  font-size: 15px;
  font-weight: 500;
}

/* Hover effect */
.sec5-item {
  transition: 0.3s;
}

.sec5-item:hover {
  transform: translateY(-6px);
  color: var(--c1);
}

/* Responsive */
@media (max-width: 1000px) {
  .sec5-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .sec5-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Section 6 */
.sec6 {
  padding: 120px 20px;
  background: #f5f7fa;
  text-align: center;
}

/* Wrapper */
.sec6-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  margin: auto;
}

/* Center heading */
.sec6-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sec6-center h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Steps common style */
.step {
  position: absolute;
  width: 110px;
  height: 110px;
  background: white;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);

  cursor: pointer;
  transition: 0.3s ease;
}

/* Hover effect */
.step:hover {
  background: var(--c4);
  color: var(--white);
  transform: scale(1.15);
}

/* Position each step around circle */
.step1 {
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.step2 {
  top: 25%;
  right: 0;
}
.step3 {
  bottom: 0;
  right: 25%;
}
.step4 {
  bottom: 0;
  left: 25%;
}
.step5 {
  top: 25%;
  left: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .sec6-wrapper {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .step {
    position: static;
    margin: auto;
  }

  .sec6-center {
    position: static;
    transform: none;
    margin-bottom: 20px;
  }
}

/* Section 7 */
/* Section */
.sec7 {
  padding: 100px 20px;
  background: var(--c1);
  text-align: center;
  color: white;
}

/* Heading */
.sec7-header h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

/* Logos */
.sec7-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.sec7-logos img {
  max-width: 180px;
  opacity: 0.7;
  transition: 0.3s;
}

.sec7-logos img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Banner (Let's Talk card) */
.sec7-banner {
  max-width: 1200px;
  margin: auto;

  border-radius: 20px;
  overflow: hidden;

  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* image + dark red overlay */
  background:
    linear-gradient(to right, var(--c2), var(--c3)),
    url("./images/evimg.jpg") center/cover no-repeat;
}

/* Banner text */
.banner-content {
  text-align: left;
  max-width: 600px;
}

.banner-content .small {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.banner-content h3 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: bold;
}

.banner-content .desc {
  color: #ddd;
  line-height: 1.6;
}

/* Button */
.banner-btn {
  padding: 14px 30px;
  border-radius: 40px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.banner-btn:hover {
  background: white;
  color: black;
}

/* Responsive */
@media (max-width: 900px) {
  .sec7-banner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .banner-content {
    text-align: center;
  }
}

/* ---------------- FOOTER ---------------- */

.footer {
  background: var(--white);
  color: var(--c4);
  padding-top: 60px;
}
#footer-img {
  height: 100px;
  scale: calc(250%);
}

/* TOP CONTAINER */
.footer-top {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 30px;
  margin: 0 8%;
  padding: 60px 5%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LOGO */
.footer-logo h2 {
  font-size: 2rem;
  font-weight: 700;
}

.footer-logo p {
  font-size: 1rem;
  opacity: 0.9;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--c4);
  transform: translateX(5px);
}

/* ---------------- BOTTOM AREA ---------------- */

.footer-bottom {
  padding: 40px 8% 20px 8%;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--c2);
  padding-top: 25px;
  gap: 20px;
}

/* SOCIAL ICONS */
.social-icons a {
  color: var(--c3);
  margin-right: 18px;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: var(--c4);
}

/* LEGAL LINKS */
.legal-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--c3);
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.legal-links a:hover {
  color: var(--c4);
}

/* COPYRIGHT */
.copyright {
  margin-top: 20px;
  font-size: 0.85rem;
}

/* ---------------- TABLET ---------------- */

@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    align-items: center; /* CENTER EVERYTHING */
    text-align: center; /* CENTER TEXT */
  }

  /* FIX LOGO ALIGNMENT */
  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #footer-img {
    height: 85px;
    width: auto;
    transform: scale(1); /* REMOVE LARGE SCALE */
  }

  .footer-links {
    gap: 40px;
    justify-content: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-links a {
    margin-left: 0;
    margin-right: 20px;
  }
}

/* ---------------- MOBILE FIX ---------------- */

@media (max-width: 600px) {
  .footer-top {
    margin: 0 4%;
    padding: 35px 6%;
    border-radius: 18px;
  }

  #footer-img {
    height: 70px !important;
    width: auto !important;
    transform: scale(1) !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .footer-tagline {
    font-size: 0.9rem;
    padding: 20px 6%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-links ul {
    text-align: center;
  }

  .footer-bottom {
    padding: 30px 6%;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .legal-links a {
    margin: 0;
    font-size: 0.8rem;
  }

  .copyright {
    text-align: center;
    font-size: 0.8rem;
  }
}
/* FOOTER TAGLINE */

.footer-tagline {
  text-align: center;
  padding: 25px 10%;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c3);
}
/* =========================
   SAFA PAGE LOADER
========================= */

#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 180px;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px #00ff99) drop-shadow(0 0 10px #00ff99);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px #00ffcc) drop-shadow(0 0 45px #00ffcc);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px #00ff99) drop-shadow(0 0 10px #00ff99);
  }
}
