:root {
  --primary-colour: #0d1117;
  --secondary-colour: #121212;
  --text-colour: #e6edf3;
  --secondary-text-colour: #a0a0a0;
  --button-color: #3b82f6;
  --hover-colour: #2563eb;
}
/* Navbar Styles */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-colour);
  color: var(--text-colour);
  padding: 0.7rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  margin: -8px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  /* Charcuterie is a commercial font. To use it, you must purchase a web license and host the font files. */
  font-family: "Charcuterie", "Boucherie Sans", "Merlod", cursive, sans-serif;
  padding-left: 20px;
}

/* Card Gradients */
.skill-icon.git {
  background: linear-gradient(145deg, #f05033, #c63b21);
}

.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  color: var(--text-colour);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  position: relative;
  /* Averta is a commercial font. To use it, you must purchase a web license and host the font files. */
  font-family: "Averta", Arial, Helvetica, sans-serif;
}

.menu a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--hover-colour);
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  color: var(--hover-colour);
}

/* Hamburger Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  background: white;
  height: 3px;
  width: 28px;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger span::before {
  top: -9px;
}

.hamburger span::after {
  top: 9px;
}

/* Body Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--secondary-colour);
  color: var(--text-colour);
}

/* Skills Section */
.skills {
  position: relative;
  padding: 5rem 2.5rem 6rem;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

/* Animated grid background */
.skills::before,
.skills::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 120px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 120px
    );
  mask: radial-gradient(circle at 50% 50%, #000 55%, transparent 80%);
  animation: grid-move 22s linear infinite;
  /* Hero Section Styles */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
    background: linear-gradient(145deg, #0d1117, #121212);
  }

  z-index: -2;
  opacity: 0.35;
}

.skills::after {
  filter: blur(18px) brightness(1.3);
  opacity: 0.25;
  animation-direction: reverse;
}

@keyframes grid-move {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-40px) translateX(-30px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

.skills-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.skills-header h2 {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.skills-tagline {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  color: var(--secondary-text-colour);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.skill-card {
  --card-bg: linear-gradient(145deg, #161b22, #121212 60%);
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.05rem 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--text-colour);
  letter-spacing: 0.4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: default;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, background 0.35s,
    box-shadow 0.35s;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 15%,
    rgba(59, 130, 246, 0.35),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.skill-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 8px 28px -6px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(59, 130, 246, 0.15);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(145deg, #1f2937, #111827);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 4px 10px -2px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.skill-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.skill-label {
  font-size: 0.9rem;
}

/* Icon theme colours */
.skill-icon.html {
  background: linear-gradient(145deg, #e34f26, #b73d18);
}
.skill-icon.css {
  background: linear-gradient(145deg, #1572b6, #0d5d90);
}
.skill-icon.js {
  background: linear-gradient(145deg, #f7df1e, #e3c900);
  color: #222;
}
.skill-icon.react {
  background: linear-gradient(145deg, #0b1117, #182530);
}
.skill-icon.python {
  background: linear-gradient(145deg, #3776ab, #1f4e77);
}
.skill-icon.java {
  background: linear-gradient(145deg, #5382a1, #274559);
}
.skill-icon.shell {
  background: linear-gradient(145deg, #111827, #000);
  font-size: 1.1rem;
}
.skill-icon.devops {
  background: linear-gradient(145deg, #6366f1, #4338ca);
}
.skill-icon.api {
  background: linear-gradient(145deg, #6366f1, #2563eb);
  font-size: 0.8rem;
}
.skill-icon.wordpress {
  background: linear-gradient(145deg, #21759b, #11445c);
}
.skill-icon.photoshop {
  background: linear-gradient(145deg, #001e36, #0a4e8a);
  font-size: 1rem;
}
.skill-icon.seo {
  background: linear-gradient(145deg, #059669, #065f46);
  font-size: 0.75rem;
}
.skill-icon.spring {
  background: linear-gradient(145deg, #6db33f, #3d6f1f);
}
.skill-icon.git {
  background: linear-gradient(145deg, #f05033, #c63b21);
}

/* Responsive tweaks */
@media (max-width: 820px) {
  .skills {
    padding: 4rem 1.5rem 5rem;
  }
  /* Fixed 3 columns on all phone widths up to 820px */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .skill-card {
    padding: 0.9rem 0.7rem 0.85rem;
  }
  .skill-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .skill-card {
    padding: 0.75rem 0.55rem 0.7rem;
    gap: 0.55rem;
  }
  .skill-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .skill-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 400px) {
  /* Tighten further on very small devices */
  .skills-grid {
    gap: 0.75rem;
  }
  .skill-card {
    padding: 0.65rem 0.5rem 0.6rem;
  }
  .skill-icon {
    width: 34px;
    height: 34px;
  }
  .skill-label {
    font-size: 0.65rem;
  }
}

/* Hero Section Styles */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  min-height: calc(100vh - 70px);
  box-sizing: border-box;
  background: linear-gradient(145deg, #0d1117, #121212);
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
  line-height: 1.1;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
}

.highlight {
  color: var(--button-color);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.6;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
}

/* Hero Section CTA Buttons */
.hero .cta {
  display: inline-block;
  padding: 0.75em 2em;
  margin: 0.5em 0.5em 0 0;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--button-color);
  border: none;
  border-radius: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.hero .cta:hover {
  background: var(--hover-colour);
  transform: translateY(-2px) scale(1.04);
}

/* Responsive Hero Buttons */
@media (max-width: 600px) {
  .hero .cta {
    display: block;
    width: 100%;
    margin: 0.5em 0;
    font-size: 1rem;
    padding: 0.75em 0;
  }
  .hero-text {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-text {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta {
    width: 100%;
    padding: 1rem 0;
    font-size: 0.5rem;
    margin-right: 0;
    margin-bottom: 12px;
    text-align: center;
  }
}

.hero-animation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

#lottie-hero {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
}

.type-line {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  color: var(--secondary-text-colour);
}

#typewriter-word {
  color: var(--button-color);
  font-weight: 600;
  font-size: large;
}

@media (max-width: 900px) {
  .menu {
    gap: 1rem;
  }
  .hero {
    gap: 2rem;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 750px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  #lottie-hero {
    max-width: 420px;
  }
}

@media (max-width: 700px) {
  nav {
    padding: 0.7rem 1rem;
  }
  .menu {
    position: fixed;
    top: 50px;
    right: 0;
    background: var(--primary-colour);
    flex-direction: column;
    width: 200px;
    height: calc(100vh - 50px);
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    z-index: 200;
  }
  .menu.active {
    transform: translateX(0);
  }
  .hamburger {
    display: flex;
  }
}

/* About Section Styles */

.about {
  position: relative;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

/* Offset for sticky nav when using anchor links */
.about,
.skills {
  scroll-margin-top: 78px;
}

.about::before,
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(59, 130, 246, 0.15),
      transparent 60%
    ),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.12), transparent 65%);
  animation: float-bg 14s linear infinite;
  z-index: -2;
}

.about::after {
  filter: blur(40px);
  opacity: 0.6;
  animation-direction: reverse;
}

@keyframes float-bg {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -20px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.about-left,
.about-right {
  flex: 1;
  min-width: 0;
}

#lottie-about {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.about-right h2 {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.about-text {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0 0 1.8rem;
  color: var(--secondary-text-colour);
  max-width: 560px;
}

.about-metric {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 2rem;
}

#live-counter {
  color: var(--button-color);
  font-size: 2.2rem;
  font-weight: 700;
  display: inline-block;
  min-width: 2ch;
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 5px;
  transition: background 0.25s, transform 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}

.primary-btn {
  background: var(--button-color);
  color: #fff;
}

.primary-btn:hover {
  background: var(--hover-colour);
  transform: translateY(-2px);
}

.secondary-btn {
  background: transparent;
  color: var(--text-colour);
  border: 1px solid var(--button-color);
}

.secondary-btn:hover {
  background: var(--button-color);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 950px) {
  .about {
    gap: 2.5rem;
    padding: 4rem 2rem;
  }
}

@media (max-width: 780px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about-actions {
    justify-content: center;
  }
  .about-right {
    order: 1;
  }
  .about-left {
    order: 2;
  }
  #lottie-about {
    max-width: 400px;
  }
}

/* Ensure Lottie containers are visible */
#lottie-hero,
#lottie-about {
  width: 100%;
  max-width: 420px;
  height: 320px; /* adjust as needed */
  margin: 0 auto;
}

.hero-animation,
.about-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*# sourceMappingURL=style.css.map */

/* Projects Preview Section */
.projects-preview {
  padding: 5rem 2.5rem 6rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}
.projects-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.projects-header h2 {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 0 0 0.85rem;
}
.projects-sub {
  color: var(--secondary-text-colour);
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  margin: 0;
}

/* Generic project grid */
.project-cards {
  display: grid;
  gap: 1.6rem;
}
/* Home preview: fixed 3 columns (wrap if fewer cards) */
.projects-preview .project-cards {
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: stretch;
  justify-content: center;
}
@media (max-width: 880px) {
  .projects-preview .project-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    justify-items: center;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .projects-preview .project-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    justify-items: center;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .projects-preview .project-cards {
    gap: 1rem;
    justify-items: center;
    justify-content: center;
  }
}
.project-card {
  position: relative;
  background: linear-gradient(145deg, #161b22, #0f141a);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.25rem 1.1rem 1.35rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  transition: 0.45s;
  isolation: isolate;
  width: 100%; /* Fix overlap issue */
  max-width: 360px;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 20%,
    rgba(59, 130, 246, 0.28),
    transparent 70%
  );
  opacity: 0;
  transition: 0.6s;
  pointer-events: none;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 32px -8px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.18);
}
.project-card:hover::before {
  opacity: 1;
}
.project-media {
  height: 140px;
  border-radius: 14px;
  background: #1f2937;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.project-title {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}
.project-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--secondary-text-colour);
}
.project-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.35rem 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--button-color);
  border-radius: 40px;
  font-weight: 600;
}
.projects-actions {
  text-align: center;
  margin-top: 3.2rem;
}

/* Gradients for project thumbnails */
.gradient-a {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.gradient-b {
  background: linear-gradient(135deg, #ec4899, #9333ea);
}
.gradient-c {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.gradient-d {
  background: linear-gradient(135deg, #10b981, #059669);
}
.gradient-e {
  background: linear-gradient(135deg, #6366f1, #2563eb);
}
.gradient-f {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
.gradient-g {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}
.gradient-h {
  background: linear-gradient(135deg, #f43f5e, #d946ef);
}
.gradient-i {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
}
.gradient-j {
  background: linear-gradient(135deg, #fb7185, #f59e0b);
}

/* Full Projects Page */
.projects-page .projects-hero {
  padding: 4.5rem 2rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.projects-page .projects-hero h1 {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: clamp(2.1rem, 5vw, 3rem);
  margin: 0 0 1rem;
}
.projects-intro {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  color: var(--secondary-text-colour);
  max-width: 780px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.filter-btn {
  background: #1c232b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-colour);
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  border-radius: 40px;
  cursor: pointer;
  letter-spacing: 0.6px;
  font-weight: 600;
  position: relative;
  transition: 0.35s;
}
.filter-btn:hover {
  border-color: var(--button-color);
  color: var(--button-color);
}
.filter-btn.active {
  background: var(--button-color);
  border-color: var(--button-color);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5),
    0 6px 16px -4px rgba(59, 130, 246, 0.45);
}
.projects-collection {
  max-width: 1300px;
  margin: 0 auto 4rem;
  padding: 1rem 2.5rem 4rem;
}
.projects-collection .project-cards.full {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  justify-content: center;
  align-items: stretch;
  justify-items: center;
}
@media (max-width: 980px) {
  .projects-page .project-cards.full {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .projects-page .project-cards.full {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  text-align: center;
  padding: 2.5rem 1rem 4rem;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  color: var(--secondary-text-colour);
}

@media (max-width: 980px) {
  .project-cards {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}
@media (max-width: 640px) {
  /* Full project page: force 2 columns when space allows */
  .projects-page .project-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-preview .project-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .project-media {
    height: 120px;
  }
}
@media (max-width: 480px) {
  .projects-preview .project-cards {
    gap: 1rem;
  }
  .project-card {
    padding: 1rem 0.85rem 1.1rem;
  }
  .project-media {
    height: 110px;
  }
}

/* Experience Section Styles */
.experience-section {
  padding: 5rem 2.5rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.experience-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.experience-header h2 {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 0 0 0.85rem;
}
.experience-sub {
  color: var(--secondary-text-colour);
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  margin: 0;
}
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin: 0 auto;
  max-width: 700px;
}
.exp-card {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(145deg, #161b22, #0f141a);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  box-shadow: 0 2px 12px -6px rgba(59,130,246,0.08);
  padding: 1.2rem 1.1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.exp-card:hover {
  box-shadow: 0 8px 32px -8px rgba(59,130,246,0.18);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--button-color);
}
.exp-date {
  min-width: 100px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--button-color);
  text-align: right;
  padding-right: 1rem;
}
.exp-details {
  flex: 1;
}
.exp-title {
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: var(--text-colour);
}
.exp-company {
  font-size: 0.98rem;
  color: var(--secondary-text-colour);
  margin: 0 0 0.3rem;
}
.exp-desc {
  font-size: 0.95rem;
  color: var(--secondary-text-colour);
  margin: 0;
}
@media (max-width: 900px) {
  .experience-edu-wrapper {
    gap: 1.5rem;
  }
  .experience-left, .experience-right {
    padding: 1.2rem 0.7rem 1.2rem;
  }
}
@media (max-width: 780px) {
  .experience-edu-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  .experience-left {
    order: 1;
  }
  .experience-right {
    order: 2;
  }
}
@media (max-width: 600px) {
  .experience-left, .experience-right {
    padding: 1rem 0.3rem 1rem;
    border-radius: 10px;
  }
  .exp-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0.7rem 1rem;
    gap: 0.7rem;
  }
  .exp-date {
    min-width: unset;
    text-align: left;
    padding-right: 0;
    font-size: 0.98rem;
  }
}

/* Experience and Education Layout */
.experience-edu-wrapper {
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2.5rem;
}
.experience-left, .experience-right {
  flex: 1;
  min-width: 0;
  background: linear-gradient(135deg, #161b22 80%, #121212 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px -8px rgba(59,130,246,0.08);
  padding: 2rem 1.5rem 2rem;
  margin-bottom: 0;
}
.experience-left h3, .experience-right h3 {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  color: var(--button-color);
  letter-spacing: 0.5px;
  text-align: left;
}
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.exp-card {
  background: linear-gradient(145deg, #181e25, #121212 80%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  box-shadow: 0 2px 12px -6px rgba(59,130,246,0.08);
  padding: 1.2rem 1.1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.exp-card:hover {
  box-shadow: 0 8px 32px -8px rgba(59,130,246,0.18);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--button-color);
}
.exp-date {
  min-width: 100px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--button-color);
  text-align: right;
  padding-right: 1rem;
}
.exp-details {
  flex: 1;
}
.exp-title {
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: var(--text-colour);
}
.exp-company {
  font-size: 0.98rem;
  color: var(--secondary-text-colour);
  margin: 0 0 0.3rem;
}
.exp-desc {
  font-size: 0.95rem;
  color: var(--secondary-text-colour);
  margin: 0;
}
@media (max-width: 700px) {
  .experience-section {
    padding: 3rem 1rem 4rem;
  }
  .experience-timeline {
    max-width: 100%;
    gap: 1.2rem;
  }
  .exp-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0.7rem 1rem;
    gap: 0.7rem;
  }
  .exp-date {
    min-width: unset;
    text-align: left;
    padding-right: 0;
    font-size: 0.98rem;
  }
}
@media (max-width: 480px) {
  .experience-section {
    padding: 2rem 0.3rem 2rem;
    margin: 10px 10px;
  }
  .exp-title {
    font-size: 1rem;
  }
  .exp-company, .exp-desc {
    font-size: 0.9rem;
  }
}

/* Contact Section Styles */
.contact-section {
  padding: 4rem 2rem 4rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact-header h2 {
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin: 0 0 0.7rem;
}
.contact-sub {
  color: var(--secondary-text-colour);
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  margin: 0 0 2.2rem;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-family: "Aileron", Arial, Helvetica, sans-serif;
  color: var(--button-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-link:hover {
  color: var(--hover-colour);
}
.contact-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}
@media (max-width: 600px) {
  .contact-links {
    flex-direction: column;
    gap: 1.2rem;
  }
}
