/* === style.css — Modern Professional Version === */

:root {
  --bg: #f8fafc;
  --dark: #0f172a;
  --muted: #6b7280;
  --accent: #2563eb;
  --light-accent: #60a5fa;
  --white: #ffffff;
  --card: #ffffff;
  --shadow: rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === Navbar === */
nav {
  background: var(--dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
  font-weight: 700;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 850px;
  margin: 0 auto 24px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.cta:hover {
  background: #1e40af;
}

/* === Container & Sections === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section {
  background: var(--card);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 8px 30px var(--shadow);
  text-align: center;
}

.section h2 {
  color: var(--dark);
  font-size: 1.8rem;
  margin-bottom: 16px;
  border-left: 6px solid var(--accent);
  padding-left: 12px;
  display: inline-block;
}

/* === Grid Cards === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 24px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--dark);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* === Buttons === */
.cta-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* === Footer === */
footer {
  background: var(--dark);
  color: var(--muted);
  text-align: center;
  padding: 22px;
  font-size: 0.9rem;
  margin-top: 40px;
}

footer a {
  color: var(--light-accent);
  text-decoration: none;
}

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

/* === Responsive Design === */
@media (max-width: 820px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section {
    padding: 24px;
  }
}
