:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --accent: #f59e0b;
  --border: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0b;
    --text: #f5f5f5;
    --muted: #a1a1aa;
    --border: #27272a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}


.container {
  max-width: 1100px;
  margin: auto;
  padding: 72px 24px;
}

.hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    to bottom,
    rgba(245, 158, 11, 0.08),
    transparent
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

/* Mobile-friendly text */
h1 {
  font-size: 2rem; /* default for desktop */
}

.subtitle {
  font-size: 1rem;
}

@media screen and (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  .subtitle { font-size: 0.9rem; }
}

/* Fade-in animation for hero text */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-text {
  opacity: 0; /* start invisible */
  animation: fadeIn 1s ease-out forwards;
}

/* Optional: delay each element */
.intro-text:nth-child(1) { animation-delay: 0s; }
.intro-text:nth-child(2) { animation-delay: 0.5s; }
.intro-text:nth-child(3) { animation-delay: 1s; }


.hero span {
  color: var(--accent);
}

.subtitle {
  max-width: 600px;
  color: var(--muted);
  margin-top: 16px;
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 22px;
  background: var(--accent);
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
}

.profile-wrap img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

section {
  margin-top: 96px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.reasons {
  padding-left: 20px;
}

.reasons li {
  margin-bottom: 10px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 12px;
  color: var(--muted);
}

footer {
  text-align: center;
  padding: 48px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.card {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(4) { animation-delay: 0.6s; }
.card:nth-child(5) { animation-delay: 0.8s; }


@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .profile-wrap {
    order: -1;
  }
}

/* Fade-in animation for hero text */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-text {
  opacity: 0; /* start invisible */
  animation: fadeIn 1s ease-out forwards;
}

/* Optional: delay each element */
.intro-text:nth-child(1) {
  animation-delay: 0s;   /* <h1> appears immediately */
}
.intro-text:nth-child(2) {
  animation-delay: 0.5s; /* <p> appears after 0.5s */
}
.intro-text:nth-child(3) {
  animation-delay: 1s;   /* <a> button appears after 1s */
}

/* Profile Image Hover Animation */
.profile-wrap img {
  transition: transform 0.5s ease;
}

.profile-wrap img:hover {
  transform: translateY(-5px) scale(1.02);
}

.profile-wrap img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  border: 1px solid var(--border);
}


.button {
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.button:hover {
  background-color: #f59e0b; /* warm accent color */
  color: #fff;
  transform: translateY(-2px);
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 22px;
  background: var(--accent);
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
}

