/* --- Global Styles & Variables --- */
:root {
  --primary-color: #3498db; /* A vibrant, trustworthy blue */
  --secondary-color: #2c3e50; /* Dark blue/charcoal for text */
  --accent-color: #2ecc71; /* Bright green for calls to action */
  --light-gray: #ecf0f1;
  --white-color: #ffffff;
  --font-family: "Poppins", sans-serif;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.7;
  color: var(--secondary-color);
  background-color: var(--white-color);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #2980b9;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* --- Header & Navigation --- */
header {
  background: var(--white-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  height: 30px;
}

header nav ul {
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
  background: url("hero-background.jpeg") no-repeat center center/cover;
  background-color: var(--primary-color); /* Fallback color */
  color: var(--white-color);
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background: var(--accent-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #27ae60;
  color: var(--white-color);
}

/* --- Features Section --- */
.features {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.features .container {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.feature-card {
  background: var(--white-color);
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex: 1;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-top: 1rem;
}

/* --- About Section --- */
.about {
  padding: 4rem 0;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image,
.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* --- Legal Content Pages (Terms & Privacy) --- */
.legal-content {
  padding: 4rem 0;
}

.legal-content .container {
  max-width: 800px;
}

/* --- Footer --- */
footer {
  background-color: var(--secondary-color);
  color: var(--light-gray);
  padding-top: 3rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white-color);
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-col a {
  color: var(--light-gray);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid #34495e;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .features .container {
    flex-direction: column;
    align-items: center;
  }

  .about .container {
    flex-direction: column;
    text-align: center;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}
