/* Basic reset and variables */
:root {
  --bg: #0f172a;       /* slate-900 */
  --panel: #111827;    /* gray-900 */
  --text: #e5e7eb;     /* gray-200 */
  --muted: #9ca3af;    /* gray-400 */
  --accent: #38bdf8;   /* sky-400 */
  --accent-2: #22d3ee; /* cyan-400 */
  --card: #1f2937;     /* gray-800 */
  --ring: rgba(56,189,248,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #0b1226, transparent), var(--bg);
  line-height: 1.6;
}

.container { width: min(1100px, 92%); margin-inline: auto; }

/* Header & nav */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, .65);
  border-bottom: 1px solid rgba(148,163,184,.12);
}
.nav { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; }
.logo { font-weight: 800; letter-spacing: .5px; text-decoration: none; color: var(--text); }
#menuBtn {
  margin-left: auto; font-size: 1.4rem; background: transparent; border: none; color: var(--text);
  display: none;
}
.menu a { color: var(--muted); text-decoration: none; padding: .5rem .75rem; border-radius: 10px; }
.menu a:hover { color: var(--text); background: rgba(148,163,184,.12); }

/* Hero */
.hero { padding: 6rem 0 3rem; text-align: center; }
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1; margin: 0 0 .75rem;
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); margin: 0 auto 1.5rem; max-width: 48ch; }
.btn {
  display: inline-block; color: #081018; background: linear-gradient(90deg,var(--accent),var(--accent-2));
  padding: .7rem 1rem; border-radius: 14px; text-decoration: none; font-weight: 600;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(34,211,238,.2);
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* Cards & grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3 columns */
  gap: 1.5rem;                            /* space between cards */
  align-items: stretch;                   /* equal height */
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%), var(--card);
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 16px; padding: 1.2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

section h2 { margin-top: 0; }
section + section { margin-top: 1rem; }

/* Forms */
input, textarea {
  width: 100%; padding: .7rem .8rem; margin-top: .25rem;
  border-radius: 12px; border: 1px solid rgba(148,163,184,.18);
  background: #0b1220; color: var(--text);
  outline: none;
}
input:focus, textarea:focus { box-shadow: 0 0 0 4px var(--ring); }

/* Footer */
.site-footer { border-top: 1px solid rgba(148,163,184,.12); padding: 2rem 0; color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  #menuBtn { display: inline-block; }
  .menu { display: none; margin-left: auto; }
  .menu.open { display: grid; gap: .25rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-top: 4.5rem; }
}

.profile-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%; /* Makes it circular */
    border: 3px solid #ccc;
}
