/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo i {
  margin-right: 0.5rem;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0369a1;
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #0c4a6e;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  color: #0c4a6e;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.primary {
  background-color: #0c4a6e;
  color: white;
}

.secondary {
  background-color: white;
  color: #0c4a6e;
}

/* Feature Cards */
.feature-cards {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  flex: 1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 1rem;
  color: #0c4a6e;
}

.card p {
  color: #555;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 2rem;
  color: #0c4a6e;
  opacity: 0.8;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #0c4a6e;
}

/* Responsive Design */
@media (max-width: 900px) {
  .feature-cards {
    flex-direction: column;
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .action-buttons {
    flex-direction: column;
  }
}

/* Dark Mode */
body.dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f1f5f9;
}

body.dark .navbar,
body.dark footer {
  background-color: rgba(15, 23, 42, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .nav-links a {
  color: #f1f5f9;
}

body.dark .nav-links a:hover,
body.dark .nav-links a.active {
  color: #38bdf8;
}

body.dark h1,
body.dark .subtitle {
  color: #f1f5f9;
}

body.dark .primary {
  background-color: #38bdf8;
  color: #0f172a;
}

body.dark .secondary {
  background-color: #1e293b;
  color: #f1f5f9;
  border: 1px solid #38bdf8;
}

body.dark .card {
  background-color: rgba(30, 41, 59, 0.8);
}

body.dark .card h3 {
  color: #38bdf8;
}

body.dark .card p {
  color: #cbd5e1;
}

body.dark .feature-icon {
  color: #38bdf8;
}

body.dark footer {
  color: #cbd5e1;
}