:root {
  --bg: #11131a;
  --surface: #1f2230;
  --surface-strong: #272c3c;
  --text: #e3e7ff;
  --muted: #9a9fb8;
  --accent: #4ec9b0;
  --accent-strong: #5fd1c1;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(78, 201, 176, 0.14), transparent 25%), var(--bg);
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header/Navigation */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 24px;
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 16px;
  z-index: 10;
  margin-bottom: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-dots {
  display: flex;
  gap: 6px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.brand-dot.red {
  background: #ff5f56;
}

.brand-dot.yellow {
  background: #ffbd2f;
}

.brand-dot.green {
  background: #27c93f;
}

.brand-text p {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.95rem;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(78, 201, 176, 0.12);
  color: var(--text);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.lang-label,
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-label.active {
  background: var(--accent);
  color: #fff;
}

.lang-switch:hover {
  background: rgba(78, 201, 176, 0.12);
  color: var(--text);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Content Area */
.content-area {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 24px 40px;
  display: grid;
  gap: 28px;
}

/* Hero Section */
.hero {
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-avatar {
  width: 180px;
  height: 180px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(78, 201, 176, 0.15), rgba(255, 255, 255, 0.06));
  border: 2px solid var(--accent);
  background-image: url('../assets/avatar.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.hero-title {
  color: #c8d0ff;
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-description {
  max-width: 720px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(78, 201, 176, 0.12);
  color: var(--text);
  font-size: 0.92rem;
  border: 1px solid rgba(78, 201, 176, 0.3);
  transition: all 0.25s ease;
}

.tag:hover {
  background: rgba(78, 201, 176, 0.2);
  border-color: rgba(78, 201, 176, 0.6);
}

/* Section Grid */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.info-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: rgba(78, 201, 176, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.info-card.large {
  grid-column: 1 / -1;
}

.info-card h2,
.info-card h3 {
  color: var(--text);
  margin-bottom: 16px;
}

.info-card h3 {
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--accent);
}

.info-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-items {
  display: grid;
  gap: 18px;
}

.item-block {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.item-label {
  display: inline-flex;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-title {
  font-weight: 700;
  color: #d9e1ff;
  margin-bottom: 8px;
}

/* Buttons */
.btn {
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #0f1620;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 10px 25px rgba(78, 201, 176, 0.2);
}

.btn-primary.large {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

/* Admin Panel */
.admin-login,
.admin-dashboard {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.admin-nav a {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(78, 201, 176, 0.08);
  color: var(--text);
  border: 1px solid rgba(78, 201, 176, 0.2);
  font-size: 0.94rem;
  transition: all 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a:focus {
  background: rgba(78, 201, 176, 0.18);
  border-color: rgba(78, 201, 176, 0.35);
}

.admin-form {
  display: grid;
  gap: 24px;
}

.admin-section {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-section h3 {
  margin-bottom: 18px;
  color: var(--accent);
}

.seo-page-section {
  margin-bottom: 32px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.seo-page-section h4 {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: capitalize;
}

.form-group {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.form-group label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.skill-item input,
.skill-item textarea,
.project-item input,
.project-item textarea,
.education-item input,
.education-item textarea,
.experience-item input,
.experience-item textarea,
.certificate-item input,
.certificate-item textarea,
.footer-link-item input,
.contact-method-item input,
.contact-method-item textarea,
.contact-method-item select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group textarea,
.skill-item textarea,
.project-item textarea,
.education-item textarea,
.experience-item textarea,
.certificate-item textarea,
.contact-method-item textarea {
  min-height: 90px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.skill-item input:focus,
.skill-item textarea:focus,
.project-item input:focus,
.project-item textarea:focus,
.education-item input:focus,
.education-item textarea:focus,
.experience-item input:focus,
.experience-item textarea:focus,
.certificate-item input:focus,
.certificate-item textarea:focus,
.footer-link-item input:focus,
.contact-method-item input:focus,
.contact-method-item textarea:focus,
.contact-method-item select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.88rem;
}

.item-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.contact-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 201, 176, 0.12);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 201, 176, 0.3);
}

.contact-item h3 {
  margin: 18px 0 8px;
}

.contact-item p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-item .btn-primary {
  background: var(--accent);
  color: #0f1620;
}

.contact-item .btn-primary:hover {
  background: var(--accent-strong);
}

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-hero h1 {
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 10px;
}

/* About Page */
.about-section {
  padding: 40px 0;
}

.expertise-list {
  list-style: none;
  margin: 20px 0;
}

.expertise-list li {
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
  color: var(--muted);
  line-height: 1.8;
}

.expertise-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.education-item {
  padding: 20px;
  background: rgba(78, 201, 176, 0.05);
  border: 1px solid rgba(78, 201, 176, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.education-item:hover {
  background: rgba(78, 201, 176, 0.1);
  border-color: rgba(78, 201, 176, 0.4);
}

.education-year {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.education-item h4 {
  margin: 10px 0;
  color: var(--text);
}

.education-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.education-desc {
  font-size: 0.9rem !important;
  margin-top: 8px;
}

.skills-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.skill-category {
  padding: 20px;
  background: rgba(78, 201, 176, 0.05);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.skill-category h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

.skill-category p {
  color: var(--muted);
  font-size: 0.95rem;
}

.approach-list {
  list-style: none;
  margin: 20px 0;
}

.approach-list li {
  padding: 12px 0;
  color: var(--muted);
  line-height: 1.8;
}

.approach-list strong {
  color: var(--text);
}

.cta-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-section h3 {
  color: var(--text);
  margin-bottom: 15px;
}

.cta-section.large-spacing {
  padding: 60px 0;
  background: rgba(78, 201, 176, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(78, 201, 176, 0.1);
}

/* Projects Page */
.projects-section {
  padding: 40px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.project-card {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(78, 201, 176, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.project-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(78, 201, 176, 0.1), rgba(78, 201, 176, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-badge {
  display: inline-block;
  width: fit-content;
  background: rgba(78, 201, 176, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-content h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.project-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tags .tag {
  font-size: 0.8rem;
  padding: 6px 12px;
}

.project-link {
  color: var(--accent);
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(78, 201, 176, 0.1);
  margin-top: auto;
  text-decoration: none;
}

.project-link:hover {
  gap: 12px;
}

/* Skills Page */
.skills-section {
  padding: 40px 0;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin: 10px 0 30px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 35px 0;
}

.skill-item {
  background: rgba(31, 34, 48, 0.95);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.skill-item:hover {
  border-color: rgba(78, 201, 176, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.skill-percentage {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.skill-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.skill-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  width: 0%; /* Initial width, will be animated by JS */
}

.skill-description {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Certificates Section */
.certificates-section {
  padding: 60px 0;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin: 35px 0;
}

.certificate-card {
  background: rgba(31, 34, 48, 0.95);
  border: 2px dashed var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.certificate-card:hover {
  border-color: rgba(78, 201, 176, 0.5);
  box-shadow: 0 15px 40px rgba(76, 201, 176, 0.1);
  transform: translateY(-6px);
}

.certificate-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(78, 201, 176, 0.08), rgba(78, 201, 176, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.certificate-image svg {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.certificate-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certificate-content h3 {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 8px;
}

.certificate-content p {
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0.7;
}

.certificate-link {
  padding: 12px 20px;
  color: var(--text);
  background: rgba(78, 201, 176, 0.1);
  border: 1px solid rgba(78, 201, 176, 0.2);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 0 auto;
  border-radius: 8px;
}

.certificate-link:hover {
  background: rgba(78, 201, 176, 0.2);
  border-color: rgba(78, 201, 176, 0.4);
  color: var(--accent);
}

/* Footer */
.site-footer {
  margin-top: 60px;
  padding: 40px 24px;
  border-radius: 24px 24px 0 0;
  background: rgba(31, 34, 48, 0.95);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: var(--text);
}

.footer-section p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-link {
  color: var(--muted);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Contact Section */
.contact-section {
  padding: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.contact-item {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item:hover {
  border-color: rgba(78, 201, 176, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: rgba(78, 201, 176, 0.1);
  border: 2px solid rgba(78, 201, 176, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.contact-item h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.contact-item p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-item .btn {
  margin-top: auto;
}

/* Experience Section */
.experience-section {
  padding: 40px 0;
}

.experience-timeline {
  position: relative;
  margin: 40px 0;
  padding: 20px 0;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.experience-item {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  gap: 24px;
}

.experience-marker {
  position: relative;
  width: 24px;
  height: 24px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  margin-top: 12px;
  box-shadow: 0 0 0 4px var(--surface);
}

.experience-card {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  transition: all 0.3s ease;
}

.experience-card:hover {
  border-color: rgba(78, 201, 176, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.experience-header {
  margin-bottom: 12px;
}

.experience-period {
  display: inline-block;
  background: rgba(78, 201, 176, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.experience-card h3 {
  color: var(--text);
  margin: 8px 0;
  font-size: 1.3rem;
}

/* Admin Panel Styles */
.admin-area {
  padding: 60px 0;
  background: var(--bg);
}

.admin-login {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(78, 201, 176, 0.12), rgba(31, 34, 48, 0.95));
  padding: 48px 36px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.admin-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(78, 201, 176, 0.2), transparent 24%);
  pointer-events: none;
}

.admin-login h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.admin-login .admin-form {
  position: relative;
  z-index: 1;
}

.admin-login .login-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 6px 6px 16px rgba(0, 0, 0, 0.18), inset -6px -6px 16px rgba(255, 255, 255, 0.05);
}

.admin-login .login-field svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--muted);
  fill: currentColor;
}

.admin-login .login-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  padding: 0;
}

.admin-login .login-field input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

.admin-login .signin-button {
  width: 100%;
  padding: 16px 0;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #2da58f);
  color: #fff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-login .signin-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
}

.admin-login .signin-button:active {
  transform: translateY(0);
  background: linear-gradient(135deg, #3ec0a7, #28a27d);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-dashboard {
  background: var(--surface);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin-section {
  background: var(--surface-strong);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 24px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.admin-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(78, 201, 176, 0.12);
  color: var(--accent);
  font-size: 0.95rem;
  border: 1px solid rgba(78, 201, 176, 0.18);
  transition: all 0.2s ease;
}

.admin-nav a:hover {
  background: rgba(78, 201, 176, 0.18);
}

.admin-login h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text);
}

.admin-dashboard {
  background: var(--surface);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-header h2 {
  color: var(--text);
}

.admin-section h3 {
  color: var(--accent);
  margin: 30px 0 20px 0;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.admin-form {
  display: grid;
  gap: 24px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.skill-item,
.project-item,
.education-item,
.experience-item,
.certificate-item,
.footer-link-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
}

.skill-item input,
.project-item input,
.education-item input,
.experience-item input,
.certificate-item input,
.footer-link-item input {
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}

.skill-item textarea,
.project-item textarea,
.education-item textarea,
.experience-item textarea {
  min-height: 60px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(78, 201, 176, 0.14);
  color: var(--text);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.item-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-item .btn {
  width: 100%;
  margin-top: auto;
  background: var(--accent);
  color: var(--bg);
  border: none;
}

.contact-item .btn:hover {
  background: var(--accent-strong);
}

.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}

.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b7a;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #51cf66;
}

.experience-details {
  margin: 20px 0;
}

.experience-details h4 {
  color: var(--text);
  font-size: 1rem;
  margin: 12px 0 8px 0;
}

.experience-list {
  list-style: none;
  margin-bottom: 16px;
}

.experience-list li {
  color: var(--muted);
  padding-left: 20px;
  margin-bottom: 6px;
  position: relative;
}

.experience-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.experience-summary {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}

.experience-summary h3 {
  margin-bottom: 24px;
}

.experience-cta {
  margin-top: 28px;
}

.experience-cta .btn {
  min-width: 220px;
}

/* Education Section */
.education-section {
  padding: 40px 0;
}

.education-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.education-card {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.education-card:hover {
  border-color: rgba(78, 201, 176, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.education-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.education-year {
  display: inline-block;
  background: rgba(78, 201, 176, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.education-status {
  display: inline-block;
  background: rgba(78, 201, 176, 0.1);
  color: #9cffb5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.education-status.in-progress {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.education-card h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin: 8px 0;
}

.education-institution {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.education-content {
  margin: 20px 0;
}

.education-content h4 {
  color: var(--text);
  font-size: 1rem;
  margin: 12px 0 8px 0;
}

.education-list {
  list-style: none;
  margin-bottom: 16px;
}

.education-list li {
  color: var(--muted);
  padding-left: 20px;
  margin-bottom: 6px;
  position: relative;
}

.education-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.education-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 12px;
  font-style: italic;
}

.certifications-section {
  margin: 60px 0 40px 0;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.certification-item {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.certification-item:hover {
  border-color: rgba(78, 201, 176, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.certification-item h4 {
  color: var(--text);
  margin-bottom: 6px;
}

.cert-issuer {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.certification-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

.learning-path {
  background: rgba(31, 34, 48, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}

.learning-path h3 {
  margin-bottom: 16px;
}

.learning-path > p {
  color: var(--muted);
  margin-bottom: 16px;
}

.learning-list {
  list-style: none;
}

.learning-list li {
  color: var(--muted);
  padding-left: 20px;
  margin-bottom: 10px;
  position: relative;
}

.learning-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 20px;
  }

  .brand {
    justify-content: space-between;
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  .navigation {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .navigation.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: left;
  }

  .content-area {
    padding: 0 16px 30px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex-direction: row;
  }

  .project-image {
    width: 200px;
    height: auto;
    min-height: 200px;
  }

  .certificate-card {
    min-height: 300px;
  }

  .skill-item {
    padding: 18px;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .skills-overview {
    grid-template-columns: 1fr;
  }

  .tag-list {
    gap: 8px;
  }

  .page-hero {
    padding: 20px 0;
  }

  .footer-section {
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .topbar {
    padding: 12px 16px;
  }

  .brand-text p {
    display: none;
  }

  .content-area {
    padding: 0 12px 20px;
  }

  .hero {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .info-card {
    padding: 20px;
  }

  .projects-grid {
    gap: 16px;
  }

  .project-link {
    font-size: 0.9rem;
  }

  .footer-grid {
    gap: 20px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .expertise-list li {
    padding-left: 20px;
  }

  /* Responsive Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-item {
    padding: 20px;
  }

  /* Responsive Experience */
  .experience-timeline::before {
    left: -8px;
  }

  .experience-marker {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin-top: 16px;
  }

  .experience-item {
    gap: 16px;
  }

  .experience-card {
    padding: 16px;
  }

  /* Responsive Education */
  .education-full-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .education-card {
    padding: 20px;
  }

  .education-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .certification-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .learning-path {
    padding: 20px;
  }
}
