/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #1a1a2e;
  background: #f5f7fa;
  line-height: 1.6;
}

/* ===== Nav ===== */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4f46e5;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul a:hover {
  color: #4f46e5;
}

/* ===== Hero ===== */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  background: #fff;
  color: #4f46e5;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.3);
}

/* ===== About ===== */
.about {
  padding: 5rem 2rem;
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.about > .container > p {
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

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

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact {
  padding: 5rem 2rem;
  background: #fff;
}

.contact > .container > p {
  color: #555;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 540px;
}

input, textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #4f46e5;
}

form .btn {
  background: #4f46e5;
  color: #fff;
  align-self: flex-start;
}

form .btn:hover {
  background: #4338ca;
  box-shadow: 0 6px 20px rgba(79,70,229,0.3);
}

#form-response {
  margin-top: 1rem;
  font-weight: 600;
  color: #16a34a;
}

.hidden {
  display: none;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  color: #888;
  font-size: 0.9rem;
  background: #f5f7fa;
}
