:root {
  --bg: #0f172a;
  --card: #111827;
  --accent: #38bdf8;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2933;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BASE */
body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #020617, #0f172a);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

#main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* TYPOGRAPHY */
h2,
h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* HERO */
.hero {
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.3rem;
}

.contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.btn:hover {
  background: rgba(56, 189, 248, 0.12);
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.18);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

.project-link {
  font-size: 0.8rem;
  border: 1px solid var(--border);
  padding: 0.3rem 0.65rem;
  border-radius: 7px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.tech-stack span {
  font-size: 0.75rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

/* SKILLS */
#skills {
  margin-top: 3rem;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 1rem;
  overflow: hidden;
}

.skill-header {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 1rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.skill-header i:first-child {
  color: var(--accent);
  margin-right: 0.6rem;
}

.skill-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.skill-content.open {
  max-height: 500px;
  padding-bottom: 1rem;
}

.skill-content ul {
  list-style: none;
  margin-top: 0.5rem;
}

.skill-content li {
  color: var(--muted);
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.skill-content li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}


#past_working_exp {
  margin-top: 3rem;
}

.exp-timeline {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.exp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.15);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.exp-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.exp-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.exp-card ul {
  list-style: none;
  margin-top: 0.4rem;
}

.exp-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.exp-card li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

#opportunities {
  margin-top: 3rem;
}

.opportunities-card {
  margin-top: 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
}

.opportunities-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-contacts {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-right {
  color: var(--muted);
  font-size: 0.85rem;
}

.last-modified {
  color: var(--muted);
}

