 /* Modernized style.css - 2025 UI Trends */
:root {
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --secondary: #f9fafb;
  --secondary-foreground: #1f2937;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --accent: #e0f2fe;
  --accent-foreground: #0369a1;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e5e7eb;
  --input: #e5e7eb;
  --background: #ffffff;
  --foreground: #111827;
  --card: #ffffff;
  --card-foreground: #111827;
  --radius: 16px;
  --shadow: 0 4px 14px rgba(0,0,0,0.05);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  margin: 0;
  padding: 0;
  line-height: 1.75;
  font-size: 1rem;
  scroll-behavior: smooth;
}

header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1em 1em 1em 1em; /* was 2 rem */
  text-align: center;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: var(--shadow);
}

header h1 {
  font-size: 3em;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

header p {
  font-size: 1.2em;
  opacity: 0.9;
  margin-top: 0.5em;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2em;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 1em 0;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  padding: 0.5em 1.2em;
  border-radius: 10px;
  transition: all 0.3s ease;
}

nav a:hover, nav a:focus {
  background: var(--primary);
  color: var(--primary-foreground);
}

main {
  max-width: 960px;
  margin: 2.5em auto;
  padding: 2em;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

main:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

h1, h2, h3 {
  color: var(--primary);
  font-weight: 700;
  margin-top: 0;
}

h2 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  color: var(--foreground);
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.4em;
}

a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s;
}

a:hover {
  color: var(--destructive);
}

button, .button {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 10px;
  padding: 0.75em 2em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

button:hover, .button:hover {
  background: #1d4ed8;
  transform: translateY(-2px) scale(1.03);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

form {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 2em;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

form input, form textarea, form select {
  width: 100%;
  padding: 0.8em 1em;
  border-radius: 10px;
  border: 1px solid var(--input);
  font-size: 1em;
  background: #fff;
  color: var(--foreground);
  transition: border 0.2s;
}

form input:focus, form textarea:focus, form select:focus {
  border-color: var(--primary);
  outline: none;
}

footer {
  background: var(--secondary);
  color: var(--muted-foreground);
  text-align: center;
  padding: 2em 1em;
  font-size: 1em;
  margin-top: 4em;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  main {
    padding: 1.5em 1em;
  }
  nav {
    gap: 1em;
    font-size: 1em;
  }
  header {
    padding: 2em 1em;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }
  main {
    margin: 1em;
    padding: 1em;
  }
  nav {
    flex-wrap: wrap;
    gap: 0.5em;
    font-size: 0.95em;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f172a;
    --foreground: #f8fafc;
    --card: #1e293b;
    --card-foreground: #f8fafc;
    --muted: #1e293b;
    --muted-foreground: #94a3b8;
    --border: #334155;
    --input: #334155;
    --secondary: #1e293b;
    --secondary-foreground: #f8fafc;
  }
}
/* --- Mobile Responsive Enhancements --- */
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.container, .content, .wrapper, .main {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

/* Mobile Navigation (Optional - adjust to your layout) */
nav ul {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

nav ul li {
    padding: 10px;
    text-align: center;
}

@media (min-width: 768px) {
    nav ul {
        flex-direction: row;
        justify-content: space-around;
    }

    nav ul li {
        padding: 10px 20px;
    }
}
