/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f3f4f6, #e5e7eb);
  color: #1f2937;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  background-color: #2563eb;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #d1d5db;
}

/* Hero section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1695639223609-8dbfe59f54a3?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;

  color: rgb(0, 0, 0);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(214, 205, 205, 0.459);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 2rem;
  background-color: #f59e0b;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #d97706;
}



.btn:hover {
  background-color: #d97706;
}

/* Cards Section */
.states-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
}

.state-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.state-card:hover {
  transform: translateY(-10px);
}

.state-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.state-card h3 {
  padding: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

/* Footer */
footer {
  background-color: #1f2937;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}
