/* ==========================================
   🌐 CSS VARIABLES
   ========================================== */
:root {
  --primary-blue: #00BFFF;
  --dark-navy: #1A1A2E;
  --soft-cyan: #4DD0E1;
  --light-bg: #F8FAFC;
  --cta-dark: #005F73;
  --divider: #DCE3E8;
}

/* ==========================================
   ✨ GLOBAL RESET & UTILITIES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Inter', sans-serif;
  background-color: transparent;
  color: #ffffff;
  line-height: 1.6;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #013142;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==========================================
   🔝 TOP BAR
   ========================================== */
header {
  background-color: rgba(7, 109, 139, 0.644);
  border-bottom: 1px solid #ccc;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  flex-wrap: wrap;
}

.logo {
  height: auto;
  max-width: 320px;
  margin-left: 0;
  margin-right: auto;
  display: block;
}

.top-buttons a,
.top-buttons .btn-demo {
  padding: 14px 34px;
  border: 1px solid #000000;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  background-color: var(--primary-blue);
  color: #fff;
  margin-left: 10px;
}

.top-buttons .btn-demo {
  background-color: var(--cta-dark);
  border: none;
}

.top-buttons a:hover,
.cta-button:hover,
.hero-buttons .btn:hover,
.hero-buttons .btn-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background-color: var(--soft-cyan);
}

/* ==========================================
   🧘 HERO SECTION
   ========================================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  gap: 10px;
  background-color: transparent;
  border-bottom: 1px solid #ccc;
}

.hero-text {
  flex: 1;
  min-width: 40%;
  padding-right: 20px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons .btn,
.hero-buttons .btn-demo {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid #000;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-buttons .btn-demo {
  background-color: var(--cta-dark);
  color: white;
  border: none;
}

.hero-image {
  flex: 1;
  max-width: 400px;
  min-width: 250px;
}

/* ==========================================
   🔧 WHY + HOW IT WORKS
   ========================================== */
.why, .how-it-works {
  padding: 80px 40px;
  background-color: rgba(3, 67, 87, 0.548);
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.why h2, .how-it-works h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.features, .steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 60px;
  text-align: center;
}

.feature, .step {
  max-width: 250px;
  flex: 1;
  min-width: 200px;
}

.feature img, .step img {
  height: 100px;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.feature h3, .step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature p, .step p {
  font-size: 1.1rem;
  color: #c9c8c8;
}

.arrow {
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff;
  animation: pulse-arrow 1.2s infinite;
}

@keyframes pulse-arrow {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-5px); opacity: 0.7; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================
   ✨ CTA
   ========================================== */
.cta {
  padding: 80px 40px;
  text-align: center;
  background-color: rgb(1, 21, 31);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.cta-button {
  padding: 16px 34px;
  border: 1px solid #000000;
  background-color: #00BFFF;
  font-weight: 600;
  display: inline-block;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
}

/* ==========================================
   📄 FOOTER
   ========================================== */
footer {
  padding: 20px 40px;
  border-top: 1px solid #ccc;
  text-align: center;
  background-color: #e90707;
}

footer nav a {
  margin: 0 15px;
  font-size: 0.9rem;
  color: #444;
}


.contact-form-section {
  padding: 40px 20px 80px;
  background-color: rgba(173, 173, 173, 0.103);
  display: flex;
  justify-content: center;
}
.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  max-width: 600px;     /* limits the width */
  margin: 2rem auto;    /* centers horizontally */
  padding: 1rem 1.5rem; /* smaller padding */
}

.contact-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: white;
}

.contact-form label {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #023a4e;
  color: white;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 14px 20px;
  background-color: #023a4e;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 25px;
}

.contact-form button:hover {
  background-color: #204f5e;
  transform: translateY(-2px);
}

/* ==========================================
   📱 MEDIA QUERIES
   ========================================== */
@media (max-width: 768px) {
  .top-bar,
  .hero,
  .features,
  .steps {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 10px 20px;
  }

  .logo {
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }

  .top-buttons {
    margin-top: 10px;
  }

  .top-buttons a {
    font-size: 1rem;
    padding: 14px 24px;
    margin: 0 auto;
    display: inline-block;
  }

  .feature, .step {
    max-width: 100%;
  }

  .cta h2 {
    font-size: 1.4rem;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    padding: 16px;
  }
}
