/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --accent: #4a148c;
  --accent-hover: #6a1b9a;
  --accent-dark: #2c1361;
  --bg-main: #f9f9fb;
  --bg-gradient-start: #faf5ff;
  --bg-gradient-end: #e8eafc;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #666;
  --border-light: #e9e9f5;
  --border-medium: #d9cef2;
  --shadow-sm: 0 3px 10px rgba(0,0,0,.08);
  --shadow-md: 0 10px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* ===== BASE STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* ===== HEADER ===== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--accent-dark);
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 12px;
  border-radius: 4px;
}

.site-nav a:hover {
  color: var(--accent);
  background: var(--bg-gradient-start);
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  border-radius: 16px;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  flex-shrink: 0;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-text h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-text p {
  max-width: 500px;
  margin-bottom: 20px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.social-links {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 20, 140, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.link-inline {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.link-inline:hover {
  border-bottom-color: var(--accent);
}

/* ===== SECTIONS ===== */
.section {
  margin: 60px 0;
}

.section-title {
  margin: 0 0 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  border-bottom: 3px solid var(--bg-gradient-end);
  padding-bottom: 10px;
  display: inline-block;
}

/* ===== CARDS GRID ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 20px 0 40px;
}

.card {
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  transition: all .2s ease;
  display: block;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-title {
  display: block;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card-sub {
  display: block;
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* ===== PROJECT CARDS ===== */
.project-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.project-card h2,
.project-card h3 {
  margin-top: 0;
  color: var(--accent-dark);
}

.project-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.project-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  margin-top: 16px;
}

.project-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  background: #f3f0fb;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin: 8px 0 12px;
  font-weight: 500;
}

.project-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== LISTS ===== */
.meta-list {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.meta-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.meta-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.project-card ul {
  margin: 12px 0;
  padding-left: 24px;
}

.project-card ul li {
  margin: 8px 0;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer,
.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  border-top: 1px solid #eee;
  margin-top: 60px;
  background: #f3f0fb;
}

/* ===== UTILITIES ===== */
.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.1rem;
  }

  .hero-text p {
    max-width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .profile-photo {
    width: 140px;
    height: 140px;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .project-card {
    padding: 20px;
  }
}
.project-icon {
  max-width: 250px; 
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}