:root {
  --bg-dark: #050c1f;
  --bg-darker: #030712;
  --accent: #02d2ff;
  --accent-soft: rgba(2, 210, 255, 0.15);
  --contrast: #f5d06f;
  --text: #f5faff;
  --muted: #9fb4d9;
}

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

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #10244c, var(--bg-darker)),
    radial-gradient(circle at 80% 0%, #081b38, var(--bg-dark));
  min-height: 100vh;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.blur-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.orb-blue {
  width: 360px;
  height: 360px;
  background: #063b8f;
  top: 5%;
  left: -5%;
}

.orb-teal {
  width: 300px;
  height: 300px;
  background: #13839c;
  bottom: 10%;
  right: 5%;
}

header,
section,
nav {
  position: relative;
  z-index: 1;
}

.navbar {
  background: rgba(3, 11, 31, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1fd7ff, #3f8dfb, #5c5cf6);
  color: #040a18;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text small {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
}

.intro-section {
  padding: 7rem 0 3rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.hero-card,
.experience-card {
  background: rgba(5, 15, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(3, 7, 18, 0.75);
  position: relative;
  overflow: hidden;
}

.hero-card::after,
.experience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(2, 210, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.7;
}

.hero-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-contrast {
  background: linear-gradient(120deg, var(--contrast), #f88f1d);
  border: none;
  color: #1c1303;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(248, 143, 29, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contrast:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(248, 143, 29, 0.35);
}

section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(6, 12, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 25px 45px rgba(3, 7, 18, 0.65);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.project-showcase.reverse .project-visual {
  order: 2;
}

.project-showcase.reverse .project-content {
  order: 1;
}

.project-visual {
  border-radius: 20px;
  padding: 1.75rem;
  min-height: 280px;
  background: var(--visual-gradient, linear-gradient(135deg, #0a1e3c, #123660));
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.4;
}

.chart-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 1;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  z-index: 1;
}

.module-column {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 0.9rem;
}

.module-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.6rem;
}

.module-card {
  background: rgba(4, 2, 23, 0.75);
  border-radius: 14px;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
}

.module-card span {
  display: block;
  font-weight: 600;
}

.module-card small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.chart-bar {
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.chart-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(2, 210, 255, 0.9), rgba(245, 208, 111, 0.8));
  opacity: 0.7;
}

.chart-bar.short {
  width: 45%;
}

.chart-bar.medium {
  width: 65%;
}

.chart-bar.long {
  width: 85%;
}

.chart-bar.alt::after {
  background: linear-gradient(120deg, rgba(102, 126, 234, 0.9), rgba(58, 96, 253, 0.9));
}

.kanban-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  z-index: 1;
}

.kanban-column {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kanban-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.6rem;
}

.kanban-card {
  background: rgba(5, 15, 45, 0.8);
  border-radius: 12px;
  padding: 0.6rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kanban-card span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.kanban-card small {
  font-size: 0.7rem;
  color: var(--muted);
}

.project-content {
  position: relative;
  z-index: 1;
}

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

.project-heading {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-summary {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

/* Compact badges for the Car Rental project only */
.project-meta.project-meta-car-rental li {
  font-size: 0.82rem;
}

.experience-card p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.contact-card {
  background: rgba(10, 20, 45, 0.85);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(3, 7, 18, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 210, 255, 0.35);
}

.contact-card .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--contrast);
}

.cta-footer {
  padding: 4rem 0 3rem;
  background: #040814;
}

.cta-wrapper {
  background: linear-gradient(120deg, rgba(33, 99, 116, 0.92), rgba(152, 171, 229, 0.9));
  border-radius: 28px;
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(3, 7, 18, 0.7);
}

.cta-overline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.7rem;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.cta-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.cta-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.cta-card a {
  font-weight: 600;
  text-decoration: none;
}

.cta-message {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
}

.cta-body {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-meta {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 576px) {
  .hero-card,
  .experience-card {
    padding: 2rem;
  }

  .contact-card .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
