/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  line-height: 1.6;
  background-color: #fafafa;
}

/* ==== HEADER ==== */
header {
  background: linear-gradient(135deg, #7b2ff7, #f107a3, #00c6ff);
  color: white;
  padding: 2rem;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo Section */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  gap: 12px;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  background: white;
  padding: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0e68c;
}

/* Hero Section */
.hero {
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.cta-button {
  background: white;
  color: #0072ff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  margin-top: 1.5rem;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #e0e0e0;
}

/* ==== MAIN SECTIONS ==== */
section {
  padding: 3rem 1rem;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  width: 260px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #0072ff;
  margin-bottom: 0.5rem;
}

.steps {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.step {
  text-align: center;
  max-width: 200px;
  background: #e0f7fa;
  padding: 1rem;
  border-radius: 5px;
  width: 160px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-weight: bold;
}

.step-number {
  font-size: 20px;
  font-weight: bold;
  color: #007bff; /* Change color as needed */
  margin-bottom: 8px;
}

.step-text {
  font-size: 16px;
  color: #333;
}

/* ==== CONTACT FORM ==== */
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  padding: 0.75rem;
  background-color: #0072ff;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #005fcc;
}

/* ==== FOOTER ==== */
footer {
  background: #222;
  color: white;
  padding: 1rem;
  text-align: center;
}

footer a {
  color: white;         /* make the link white */
  text-decoration: underline; /* remove underline (optional) */
}

footer a:hover {
  color: red;
  text-decoration: underline;
  text-decoration-color: red;
}

/* ==== TERMS MODAL ==== */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.close-btn:hover {
  color: #f107a3;
}

.terms-container h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #bbb;
}

.terms-container .subtitle {
  text-align: center;
  margin-bottom: 30px;
  color: #777;
}

.terms-container h2 {
  margin-top: 25px;
  font-size: 1.2rem;
  border-left: 4px solid #7b2ff7;
  padding-left: 8px;
}

.terms-container ul {
  margin: 15px 0 20px 25px;
}

.terms-container li {
  margin: 8px 0;
}

.terms-container p {
  margin-bottom: 15px;
}

.terms-container .note {
  text-align: center;
  margin-top: 40px;
  color: #888;
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
