/* THEME VARIABLES */
body.light {
  --bg-color: #f8fafc;
  --text-color: #1f2937;
  --card-bg: rgba(255, 255, 255, 0.7);
  --link-color: #1d4ed8;
  --accent: #4f46e5;
}
 
body.dark {
  --bg-color: #111827;
  --text-color: #f3f4f6;
  --card-bg: rgba(31, 41, 55, 0.7);
  --link-color: #93c5fd;
  --accent: #6366f1;
}
 
/* GLOBAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
}
 
.fade-in {
  animation: fadeIn 0.8s ease-in;
}
 
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
 
/* NAVIGATION */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid #ccc;
  z-index: 1000;
}
 
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 10px 20px;
  margin: 0 auto;
}
 
.nav-logo {
  width: 100px;
}
 
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
 
.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}
 
.nav-links a:hover {
  color: var(--link-color);
}
 
/* HEADER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
 
header {
  text-align: center;
  margin-bottom: 60px;
}
 
header .icon {
  width: 500px;
  margin-bottom: 20px;
}
 
h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
}
 
.subheading {
  font-size: 1.2rem;
  color: #6b7280;
  margin-top: 5px;
}
 
.quote {
  font-style: italic;
  color: #9ca3af;
  margin-top: 15px;
}
 
/* SERVICES */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
 
.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 25px 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--accent);
  transition: transform 0.2s ease;
}
 
.card:hover {
  transform: translateY(-5px);
}
 
.card h2 {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
 
.card .icon {
  width: 28px;
  margin-right: 10px;
}
 
.card ul {
  list-style: none;
  padding-left: 0;
}
 
.card li {
  margin-bottom: 12px;
}
 
.card a {
  text-decoration: none;
  color: var(--link-color);
  font-weight: 500;
}
 
.card a:hover {
  color: var(--accent);
}
 
/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
  border-top: 1px solid #ccc;
  margin-top: 60px;
}
 
footer a {
  color: var(--link-color);
  text-decoration: none;
}