:root {
  --bg: rgba(6, 8, 20, 1);
  --bg-alt: rgba(15, 18, 38, 0.9);
  --fg: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.65);
  --accent: #6b8bff;
  --accent-strong: #a874ff;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background: radial-gradient(circle at top, rgba(107, 139, 255, 0.35), transparent),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 20% auto auto 60%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(168, 116, 255, 0.4), transparent);
  filter: blur(20px);
  z-index: 0;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--fg);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 4rem 0 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin: 0.75rem 0 1.5rem;
}

.hero-content h1 span {
  color: var(--accent);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.primary-btn,
.ghost-btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.primary-btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #0c0e1c;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(107, 139, 255, 0.4);
}

.ghost-btn {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats strong {
  font-size: 1.75rem;
  display: block;
}

.hero-card {
  position: relative;
  padding: 2rem;
}

.hero-card img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  text-align: left;
}

.service-icon {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.panel-eyebrow {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  max-width: 640px;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.resume-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resume-columns > div {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-card header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

/* Projects Section - Redesigned */
.project-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.filter-btn span {
  position: relative;
  z-index: 1;
}

.filter-count {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  min-width: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
}

.filter-btn:hover {
  color: var(--fg);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 139, 255, 0.15);
}

.filter-btn:hover::before {
  opacity: 0.08;
}

.filter-btn.active {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #0c0e1c;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(107, 139, 255, 0.4);
}

.filter-btn.active::before {
  opacity: 1;
}

.filter-btn.active .filter-count {
  background: rgba(12, 14, 28, 0.25);
  color: #0c0e1c;
}

.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2rem;
}

/* Featured Project */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(107, 139, 255, 0.2);
  border-color: rgba(107, 139, 255, 0.3);
}

.project-featured:hover::before {
  opacity: 1;
}

.project-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 2;
}

.badge-text {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #0c0e1c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(107, 139, 255, 0.4);
}

.project-featured-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-number {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.project-category {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: rgba(107, 139, 255, 0.1);
  border: 1px solid rgba(107, 139, 255, 0.2);
  border-radius: 999px;
}

.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(135deg, var(--fg) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.project-details {
  display: flex;
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.detail-value {
  font-size: 1rem;
  color: var(--fg);
  font-weight: 600;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-item {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all 0.3s ease;
}

.project-featured:hover .tech-item {
  border-color: rgba(107, 139, 255, 0.3);
  background: rgba(107, 139, 255, 0.08);
  color: var(--fg);
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #0c0e1c;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(107, 139, 255, 0.3);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.project-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 139, 255, 0.4);
}

.project-cta svg {
  transition: transform 0.3s ease;
}

.project-cta:hover svg {
  transform: translate(4px, -4px);
}

.project-featured-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
}

.image-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-featured:hover .project-featured-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

/* Projects Grid */
.projects-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.project-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.project-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(107, 139, 255, 0.2);
  border-color: rgba(107, 139, 255, 0.3);
}

.project-item-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
  margin: -1.75rem -1.75rem 0 -1.75rem;
}

.project-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-item-link {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.project-item-link:hover {
  transform: scale(1) translateY(0);
  background: var(--accent);
  color: #0c0e1c;
}

.project-item:hover .project-item-overlay {
  opacity: 1;
}

.project-item:hover .project-item-image img {
  transform: scale(1.08);
}

.project-item-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 0 0;
  flex: 1;
}

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

.project-item-category {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  background: rgba(107, 139, 255, 0.1);
  border: 1px solid rgba(107, 139, 255, 0.2);
  border-radius: 999px;
}

.project-item-year {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.project-item-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--fg);
}

.project-item-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.project-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.project-item-tags span {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.project-item:hover .project-item-tags span {
  border-color: rgba(107, 139, 255, 0.3);
  background: rgba(107, 139, 255, 0.05);
  color: var(--fg);
}

@media (max-width: 968px) {
  .project-featured {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .project-featured-image {
    order: -1;
  }
  
  .image-container {
    min-height: 300px;
  }
  
  .project-title {
    font-size: 2rem;
  }
  
  .projects-grid-modern {
    grid-template-columns: 1fr;
  }
}

[data-animate],
.panel,
.project-card,
.glass {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-pill {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.skill-pill[data-animate] {
  opacity: 0;
}

.panel.show,
.project-card.show,
.glass.show,
[data-animate].show {
  opacity: 1;
  transform: translateY(0);
}

.project-tag {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  background: rgba(107, 139, 255, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(107, 139, 255, 0.2);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cert-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.cert-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.cert-card > div:not(.cert-image-wrapper) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cert-issuer {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.testimonials-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.testimonials-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar {
  height: 6px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.content-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 1.5rem;
  min-height: 360px;
  background: linear-gradient(160deg, rgba(15, 18, 38, 0.9), rgba(29, 35, 66, 0.85));
}

.testimonials-item:nth-child(3n) .content-card {
  background: radial-gradient(circle at top, rgba(168, 116, 255, 0.25), rgba(15, 18, 38, 0.9));
}

.testimonials-item:nth-child(2n) .content-card {
  background: linear-gradient(160deg, rgba(18, 22, 44, 0.95), rgba(12, 14, 32, 0.9));
}

.content-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.testimonials-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.testimonials-avatar-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.testimonials-avatar-box img,
.modal-avatar-box img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.modal-container.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 20, 0.75);
}

.testimonials-modal {
  position: relative;
  max-width: 520px;
  width: 100%;
  z-index: 11;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--fg);
  cursor: pointer;
}

.modal-img-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal-content p {
  color: var(--muted);
}

.modal-title {
  margin: 0 0 0.5rem;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-details a {
  color: var(--fg);
  text-decoration: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.25);
  color: var(--fg);
  font-family: inherit;
}

.form-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.form-success {
  margin-top: -0.5rem;
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 1.5rem 4rem;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 1.25rem;
}

.socials a {
  color: var(--fg);
  text-decoration: none;
}

/* Social List Styles */
.social-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.social-link ion-icon {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(107, 139, 255, 0.3);
  color: var(--fg);
}

.social-link:hover::before {
  opacity: 0.15;
}

.social-link:hover ion-icon {
  transform: scale(1.1);
  color: var(--accent);
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .hero {
    padding-top: 2rem;
  }

  .services-grid,
  .resume-columns {
    grid-template-columns: 1fr;
  }

  .testimonials-list {
    flex-direction: column;
    overflow: visible;
  }

  .site-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

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

[data-theme="light"] {
  --bg: #f8f9ff;
  --bg-alt: #ffffff;
  --fg: #0f172a;
  --muted: rgba(15, 23, 42, 0.65);
  --accent: #5f6afc;
  --accent-strong: #a155ff;
  --glass: rgba(255, 255, 255, 0.65);
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] body {
  background: radial-gradient(circle at top, rgba(95, 106, 252, 0.2), transparent),
    var(--bg);
}

