
:root {
  --primary: #1f2b95;
  --secondary: #7b1fa2;
  --gradient: linear-gradient(to right, var(--primary), var(--secondary));
}

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

body {
  font-family: 'Arial', sans-serif;
  background: white;
  color: #333;
}

header {
  background: var(--gradient);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  background: var(--gradient);
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
}

.hero .text {
  flex: 1 1 400px;
  max-width: 500px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  font-weight: bold;
}

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

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #2979ff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.hero .image {
  flex: 1 1 300px;
  text-align: center;
}

.hero .image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}

.services {
  background: var(--secondary);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: white;
  color: #111;
  border-radius: 10px;
  padding: 1.5rem;
  width: 250px;
  text-align: center;
  transition: transform 0.3s;
}

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

.card img {
  width: 50px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
}

footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 1rem 2rem;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero .text,
  .hero .image {
    flex: 1 1 100%;
  }

  nav {
    display: none;
  }

  header {
    justify-content: center;
  }
}
