@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Share+Tech+Mono&family=Syne:wght@600;700;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-darker: #070709;
  --bg-dark: #0a0a0d;
  --bg-card: #121217;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --accent-gold: #fbbf24;
  --accent-teal: #14b8a6;
  --accent-glow: rgba(20, 184, 166, 0.15);
  --border-color: #27272a;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: #070709;
  transition: background-color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ambient glow blobs */
.glow-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: background-image 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.1s ease-out;
}
#blob-1 { top: 15%; left: -10%; }
#blob-2 { top: 50%; right: -15%; }
#blob-3 { bottom: 10%; left: 10%; }

/* Scroll-animated Northern Lights (Aurora) Themes */
body.theme-hero {
  background-color: #070709;
}
body.theme-hero #blob-1 { background-image: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%); }
body.theme-hero #blob-2 { background-image: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%); }
body.theme-hero #blob-3 { background-image: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%); }

body.theme-about {
  background-color: #040807; /* Deep Emerald Green */
}
body.theme-about #blob-1 { background-image: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%); }
body.theme-about #blob-2 { background-image: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%); }
body.theme-about #blob-3 { background-image: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%); }

body.theme-experience {
  background-color: #040609; /* Deep Slate Blue */
}
body.theme-experience #blob-1 { background-image: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 70%); }
body.theme-experience #blob-2 { background-image: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%); }
body.theme-experience #blob-3 { background-image: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%); }

body.theme-projects {
  background-color: #07050a; /* Deep Indigo Violet */
}
body.theme-projects #blob-1 { background-image: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%); }
body.theme-projects #blob-2 { background-image: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%); }
body.theme-projects #blob-3 { background-image: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%); }

body.theme-achievements {
  background-color: #070604; /* Deep Gold Amber */
}
body.theme-achievements #blob-1 { background-image: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%); }
body.theme-achievements #blob-2 { background-image: radial-gradient(circle, rgba(251, 146, 60, 0.08) 0%, transparent 70%); }
body.theme-achievements #blob-3 { background-image: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%); }

body.theme-contact {
  background-color: #070709;
}
body.theme-contact #blob-1 { background-image: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%); }
body.theme-contact #blob-2 { background-image: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%); }
body.theme-contact #blob-3 { background-image: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%); }

/* Disable default cursor on hoverable devices and enable custom cursor styling */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }
  
  .custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20000;
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
  
  .custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 19999;
    transition: var(--transition-fast), transform 0.08s ease-out;
  }
  
  /* Cursor states on hover */
  .custom-cursor.hover {
    width: 24px;
    height: 24px;
    background-color: var(--accent-teal);
    mix-blend-mode: normal;
    opacity: 0.8;
  }
  
  .custom-cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-teal);
    background-color: rgba(20, 184, 166, 0.05);
  }
  
  .custom-cursor.link-hover {
    width: 12px;
    height: 12px;
    background-color: var(--accent-gold);
    mix-blend-mode: normal;
  }
  
  .custom-cursor-follower.link-hover {
    width: 50px;
    height: 50px;
    border-color: var(--accent-gold);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 4px;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-container {
  position: relative;
  width: min(480px, 85vw);
  height: min(480px, 85vw);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  z-index: 1;
}

.loader-bg-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.8px;
}

.loader-progress-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 0.8px;
  stroke-linecap: round;
  stroke-dasharray: 1508;
  stroke-dashoffset: 1508;
  transition: stroke-dashoffset 0.1s ease-out;
}

.loader-center-logo {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo-svg {
  width: 160px;
  height: auto;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px clamp(20px, 6%, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  mix-blend-mode: difference;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--text-primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: clamp(15px, 2.5vw, 30px);
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-teal);
  transition: var(--transition-smooth);
}

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

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--text-primary);
  font-weight: 600;
}

nav a.active::after {
  width: 100%;
}

/* Hero Section (Fv) */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-mono);
  color: var(--accent-teal);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-teal);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero-title span {
  display: block;
}

.hero-title .outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.hero-title:hover .outline-text {
  color: var(--text-primary);
  -webkit-text-stroke: 1.5px transparent;
}

/* Marquee Banner */
.marquee-container {
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 100vw;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  display: flex;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-right: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.marquee-text::after {
  content: '•';
  color: var(--accent-gold);
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.hero-foot {
  position: absolute;
  bottom: 4%;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-coord {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.scroll-down {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.scroll-down svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transform: rotate(90deg);
  transition: var(--transition-smooth);
}

.scroll-down:hover svg {
  transform: rotate(90deg) translate(5px, 0);
}

/* Sections Layout */
section.section-container {
  padding: 120px 8%;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.section-number {
  font-family: var(--font-mono);
  color: var(--accent-teal);
  font-size: 1.2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Reveal Animation Class */
.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* №01 About & Skills styling */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-text p {
  margin-bottom: 25px;
}

.about-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skills-category {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.skills-category:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.skills-category h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(20, 184, 166, 0.08);
  border-color: var(--accent-teal);
  color: var(--text-primary);
}

/* №02 Experience styling */
.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-row {
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  transition: var(--transition-smooth);
  position: relative;
}

.exp-row:first-child {
  border-top: 1px solid var(--border-color);
}

.exp-row-header {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 0.5fr;
  align-items: center;
  cursor: pointer;
}

.exp-company {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.exp-role {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 500;
}

.exp-date {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 1rem;
}

.exp-arrow-wrap {
  display: flex;
  justify-content: flex-end;
}

.exp-arrow {
  width: 24px;
  height: 24px;
  fill: var(--text-secondary);
  transition: var(--transition-smooth);
}

.exp-row:hover .exp-arrow {
  fill: var(--accent-teal);
  transform: rotate(45deg);
}

.exp-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding-right: 50px;
}

.exp-row.active .exp-details {
  max-height: 500px;
  margin-top: 30px;
}

.exp-row.active .exp-arrow {
  transform: rotate(90deg);
  fill: var(--accent-teal);
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 20px;
}

.exp-bullets li {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
}

.exp-bullets li::before {
  content: '→';
  position: absolute;
  left: -20px;
  color: var(--accent-teal);
}

/* №03 Projects styling */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: translateY(-5px);
}

.project-thumb {
  height: 260px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  background-color: #121217;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  z-index: 1;
}

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

.project-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(7, 7, 9, 0.8) 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.project-card:hover .project-thumb-bg {
  opacity: 0.85;
}

.project-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.project-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.project-tag {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.project-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.project-btn {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.project-btn-primary {
  color: var(--accent-teal);
}

.project-btn-primary:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

.project-btn-secondary {
  color: var(--text-secondary);
}

.project-btn-secondary:hover {
  color: var(--text-primary);
}

.project-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* №04 Achievements styling */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ach-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-smooth);
}

.ach-card:hover {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.ach-number-wrap {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 15px;
  display: inline-block;
}

.ach-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.ach-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* №05 Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-teal);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-val {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-val:hover {
  color: var(--accent-teal);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--accent-teal);
}

.form-input:focus {
  border-bottom-color: var(--accent-teal);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-teal);
  transition: var(--transition-smooth);
}

.form-input:focus ~ .form-line {
  width: 100%;
}

textarea.form-input {
  min-height: 120px;
  resize: none;
}

.submit-btn {
  background: transparent;
  border: 1px solid var(--accent-teal);
  color: var(--text-primary);
  padding: 16px 32px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 4px;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background: var(--accent-teal);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

/* Modal Popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  border-radius: 12px;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  transition: var(--transition-fast);
  cursor: pointer !important;
  z-index: 100 !important;
  padding: 10px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text-primary) !important;
}

.modal-body {
  color: var(--text-secondary) !important;
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-primary) !important;
  margin: 25px 0 10px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.modal-body ul li {
  margin-bottom: 10px;
}

/* Footer styling */
footer {
  padding: 80px 8% 40px 8%;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  z-index: 1;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-link:hover {
  color: var(--accent-teal);
}

.social-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-credit a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--accent-teal);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 5%;
  }
  
  nav {
    display: none; /* Can build a simplified responsive menu if needed, or keep it minimal */
  }
  
  .hero {
    padding: 0 5%;
  }
  
  section.section-container {
    padding: 80px 5%;
  }
  
  .exp-row-header {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .exp-date, .exp-arrow-wrap {
    grid-column: span 2;
  }
  
  .exp-arrow-wrap {
    justify-content: flex-start;
    margin-top: 10px;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}


