/* Reset + basic body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #f7f9fc;
  padding-top: 80px; /* space for fixed navbar */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 60px;
  border-radius: 15px 15px 15px 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin: 10px 20px;
}

.nav-left {
  font-weight: bold;
  font-size: 24px;
  color: #1e3a8a;
}
.nav-right {
  display: flex;
  justify-content: center; /* centers content horizontally */
  align-items: center; /* centers content vertically */
  overflow: hidden; /* prevents it from spilling out */
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-center a {
  text-decoration: none;
  color: #1e3a89;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

.nav-center a:hover {
  background-color: #1e3a8a;
  color: #ffffff;
}

.register-btn {
  background-color: #3b82f6;
  color: white;
}

.register-btn:hover {
  background-color: #2563eb;
}

.nav-right a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
  display: inline-block; /* ensures it behaves like a block for centering */
  text-align: center; /* centers multi-line text */
  white-space: normal; /* allows wrapping */
  line-height: 1.2;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  padding: 8px 12px; /* adjust for spacing */
  max-width: 100%; /* keeps it inside parent width */
  box-sizing: border-box; /* ensures padding counts inside width */
}

.nav-right a:hover {
  background-color: #1e3a8a;
  color: #ffffff;
}

/* Hero section */
.hero {
  position: relative;
  background-color: #2563eb; /* modern blue */
  color: white;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
}

/* Hero content */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-btn {
  background-color: white;
  color: #2563eb;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.hero-btn:hover {
  transform: scale(1.05);
  background-color: #e0e7ff;
}

/* Floating bubbles */
.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 20px 35px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: float 8s infinite ease-in-out;
  z-index: 1;
  user-select: none;
}

/* Individual bubble positions */
.easy {
  top: 30%;
  left: 10%;
  animation-delay: 0s;
}

.tracking {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.work-faster {
  top: 40%;
  left: 70%;
  animation-delay: 4s;
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-25px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* LOGO SECTION */
.logo-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #f7f9fc;
}

.logo-section h2 {
  color: #646464;
  font-size: 1.2 rem;
  margin-bottom: 40px;
  font-weight: 500;
}

/* Logo strip container */
.logo-strip {
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

.logo-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll 50s linear infinite;
  width: max-content; /* ✅ ensures full width of all logos combined */
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* ✅ moves exactly half the track width */
  }
}

.logo-track img {
  height: 50px;
  opacity: 0.9;
  transition: transform 0.3s, opacity 0.3s;
}

.logo-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Scrolling animation */
@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* FEATURES SECTION */
.features {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding: 80px 20px;
  background-color: #ffffff;
  flex-wrap: wrap; /* responsive for smaller screens */
}

.feature {
  flex: 1;
  max-width: 320px;
  background-color: #f8fafc;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 40px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.emoji {
  font-size: 50px;
  margin-bottom: 15px;
}

.feature h3 {
  color: #1e3a8a;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature p {
  color: #475569;
  font-size: 0.95rem;
  margin-top: 10px;
  line-height: 1.4;
}

.feature {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature.visible {
  opacity: 1;
  transform: translateY(0);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo image and text */
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
  text-decoration: none;
}

.logo-img {
  width: 40px; /* adjust size as needed */
  height: 40px;
  object-fit: contain;
}
.logo-img {
  position: relative;
  top: 1px;
}
.feature {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
/* === RESPONSIVE NAVIGATION BAR (keeps one line) === */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 15px;
  }

  .logo span {
    font-size: 1rem;
  }

  .logo-img {
    width: 24px;
    height: 24px;
  }

  .nav-center a,
  .register-btn,
  .nav-right a {
    font-size: 0.85rem;
    padding: 6px 10px;
    margin: 0 3px;
  }

  .register-btn {
    padding: 6px 12px;
  }

  .nav-center,
  .nav-right {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 6px 10px;
  }

  .logo span {
    font-size: 0.9rem;
  }

  .nav-center a,
  .register-btn,
  .nav-right a {
    font-size: 0.8rem;
    padding: 5px 8px;
  }

  .logo-img {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 768px) {
  .nav-center {
    position: static;
    transform: none;
    margin-left: auto;
    display: flex;
    gap: 10px;
  }

  .nav-right {
    margin-left: 10px;
  }
}

/* PRICING SECTION */
.pricing-section {
  background-color: #f9fafb;
  padding: 70px 20px; /* more padding from the top */
  text-align: center;
}

.pricing-title {
  font-size: 2.4rem;
  color: #1e3a8a;
  margin-bottom: 70px; /* extra spacing below title */
  font-weight: 700;
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  width: 380px; /* wider */
  min-height: 600px; /* taller */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.price {
  font-size: 1.6rem;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 25px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
  padding: 0;
  flex-grow: 1;
}

.pricing-card li {
  font-size: 0.95rem; /* smaller text */
  margin-bottom: 14px;
  line-height: 1.5;
  color: #1e293b; /* neutral dark gray */
  font-weight: 500;
}

/* Check/X style (black icons, neutral text) */
.available::before {
  content: "✔ ";
  color: #000;
  font-weight: bold;
}
.unavailable::before {
  content: "✖ ";
  color: #000;
  font-weight: bold;
  opacity: 0.6;
}
.unavailable {
  opacity: 0.7;
}

/* Buttons unified across site */
.plan-btn,
.register-btn,
.hero-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.plan-btn:hover,
.register-btn:hover,
.hero-btn:hover {
  background-color: #1e40af;
}

.advanced-btn {
  background-color: #1e3a8a;
}

.advanced-btn:hover {
  background-color: #172554;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1px;
}
/* === FOOTER === */
.footer {
  background-color: #0f2e67; /* dark blue */
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-socials img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-link {
  color: #cfd9ff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.8;
}
/* ===== Privacy & Policy Page Styling ===== */
body.privacy-page {
  background-color: #f7f9fc;
  font-family: "Arial", sans-serif;
  color: #1e293b;
  padding: 80px 20px; /* leave space for fixed navbar */
}

.privacy-page header {
  text-align: center;
  margin-bottom: 40px;
}

.privacy-page header h1 {
  color: #1e3a8a;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.privacy-page header p {
  font-size: 1rem;
  color: #475569;
}

.privacy-page main {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.privacy-page h2 {
  color: #2563eb;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.privacy-page p,
.privacy-page li {
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.privacy-page ul {
  list-style: disc inside;
  margin-left: 20px;
}

.privacy-page footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #0f2e67;
  color: white;
  margin-top: 60px;
}

.privacy-page footer a {
  color: #cfd9ff;
  text-decoration: none;
}

.privacy-page footer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .privacy-page main {
    padding: 30px 20px;
  }

  .privacy-page header h1 {
    font-size: 2rem;
  }

  .privacy-page h2 {
    font-size: 1.3rem;
  }

  .privacy-page p,
  .privacy-page li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .privacy-page main {
    padding: 20px 15px;
  }

  .privacy-page header h1 {
    font-size: 1.8rem;
  }

  .privacy-page h2 {
    font-size: 1.2rem;
  }

  .privacy-page p,
  .privacy-page li {
    font-size: 0.9rem;
  }
}
/* ===== Terms & Conditions Page Styling ===== */
body.terms-page {
  background-color: #f7f9fc;
  font-family: "Arial", sans-serif;
  color: #1e293b;
  padding: 80px 20px; /* leave space for fixed navbar */
}

.terms-page header {
  text-align: center;
  margin-bottom: 40px;
}

.terms-page header h1 {
  color: #1e3a8a;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.terms-page header p {
  font-size: 1rem;
  color: #475569;
}

.terms-page main {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.terms-page h2 {
  color: #2563eb;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.terms-page p,
.terms-page li {
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.terms-page ul {
  list-style: disc inside;
  margin-left: 20px;
}

.terms-page footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #0f2e67;
  color: white;
  margin-top: 60px;
}

.terms-page footer a {
  color: #cfd9ff;
  text-decoration: none;
}

.terms-page footer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .terms-page main {
    padding: 30px 20px;
  }

  .terms-page header h1 {
    font-size: 2rem;
  }

  .terms-page h2 {
    font-size: 1.3rem;
  }

  .terms-page p,
  .terms-page li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .terms-page main {
    padding: 20px 15px;
  }

  .terms-page header h1 {
    font-size: 1.8rem;
  }

  .terms-page h2 {
    font-size: 1.2rem;
  }

  .terms-page p,
  .terms-page li {
    font-size: 0.9rem;
  }
}
