/* ==========================================
   HAZIQ HALIFI PORTFOLIO - MAIN STYLES
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --text-primary: #ffffff;
  --text-secondary: #b8b8d1;
  --text-muted: #6b6b8a;
  --accent: #4d9fff;
  --accent-dim: #3d7fd8;
  --accent-purple: #a78bfa;
  --accent-cyan: #22d3ee;
  --border: #2a2a3e;
  --border-bright: #3a3a4e;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Work Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

code,
.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

section {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  opacity: 0;
  animation: fadeIn 0.8s var(--transition) forwards;
}

section:nth-child(2) {
  animation-delay: 0.2s;
}

section:nth-child(3) {
  animation-delay: 0.3s;
}

section:nth-child(4) {
  animation-delay: 0.4s;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  animation: slideDown 0.6s var(--transition);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

nav .logo {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s var(--transition);
  position: relative;
}

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

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--transition);
}

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

/* ==========================================
   HAMBURGER MENU
   ========================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--accent-purple) 0%,
    var(--accent-cyan) 100%
  );
  transition: left 0.4s var(--transition);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(77, 159, 255, 0.3);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-bright);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
#hero {
  min-height: 100vh;
  padding-top: 10rem;
}

.hero-content {
  max-width: 1000px;
}

.hero-greeting {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.typing-text {
  background: linear-gradient(135deg, #ffffff 0%, #4d9fff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.cursor {
  color: var(--accent);
  animation: blink 1s infinite;
  font-weight: 300;
  transition: opacity 0.3s ease;
}

.hero-role {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.role-highlight {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}

.role-highlight:first-child {
  color: var(--accent);
}

.role-highlight:last-child {
  color: var(--accent-purple);
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 800px;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.highlight-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s var(--transition);
}

.highlight-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: var(--bg-tertiary);
}

.highlight-icon {
  font-size: 2rem;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.highlight-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.scroll-indicator {
  animation: slideUp 0.8s var(--transition) 0.8s backwards;
}

.scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s var(--transition);
}

.scroll-link:hover {
  transform: translateY(5px);
}

.scroll-link svg {
  animation: bounce 2s infinite;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
#about,
#projects,
#resume {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-text p {
  margin-bottom: 1.5rem;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(77, 159, 255, 0.1) 0%,
    rgba(167, 139, 250, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(77, 159, 255, 0.2);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.experience-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.experience-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 2.5rem;
  border-radius: 8px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-cyan) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.experience-card:hover {
  background: var(--bg-tertiary);
  border-left-width: 3px;
  transform: translateX(12px);
  box-shadow: -5px 10px 30px rgba(77, 159, 255, 0.1);
}

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

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-role {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.experience-company {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

.experience-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.experience-highlights {
  list-style: none;
  margin-top: 1rem;
}

.experience-highlights li {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.experience-highlights li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-cyan) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(77, 159, 255, 0.15);
}

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

.project-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.project-type {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  color: var(--text-secondary);
}

.project-outcome {
  background: linear-gradient(
    135deg,
    rgba(77, 159, 255, 0.1) 0%,
    rgba(167, 139, 250, 0.1) 100%
  );
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.project-outcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
}

.project-outcome-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.project-outcome-text {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s var(--transition);
}

.project-link:hover {
  color: var(--accent-dim);
  transform: translateX(4px);
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(77, 159, 255, 0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.skill-category:hover {
  border-color: var(--accent);
  background: var(--bg-tertiary);
  transform: translateY(-5px);
}

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

.skill-category-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.skill-category-icon {
  font-size: 1.5rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-item {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  color: var(--text-secondary);
  transition: all 0.3s var(--transition);
}

.skill-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==========================================
   MEDIA SECTION
   ========================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.media-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  position: relative;
}

.media-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-cyan) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.media-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(77, 159, 255, 0.15);
}

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

.media-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background: var(--bg-tertiary);
}

.media-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-content {
  padding: 1.5rem;
}

.media-channel {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.media-channel-icon {
  font-size: 1rem;
}

.media-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.media-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.media-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   RESUME SECTION
   ========================================== */
.resume-content {
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: center;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-content {
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: center;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-bright);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s var(--transition);
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(77, 159, 255, 0.25);
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-content {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-accent {
  color: var(--accent);
}

/* ==========================================
   SCROLL PROGRESS INDICATOR
   ========================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-cyan) 100%
  );
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(77, 159, 255, 0.5);
}

/* ==========================================
   PARTICLES & BACKGROUND EFFECTS
   ========================================== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  left: 70%;
  top: 40%;
  animation-delay: 3s;
  animation-duration: 18s;
  background: var(--accent-purple);
}

.particle:nth-child(3) {
  left: 30%;
  top: 60%;
  animation-delay: 6s;
  animation-duration: 22s;
  background: var(--accent-cyan);
}

.particle:nth-child(4) {
  left: 85%;
  top: 80%;
  animation-delay: 9s;
  animation-duration: 19s;
}

.particle:nth-child(5) {
  left: 50%;
  top: 30%;
  animation-delay: 12s;
  animation-duration: 25s;
  background: var(--accent-purple);
}

/* Subtle grid background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(77, 159, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(167, 139, 250, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(34, 211, 238, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

/* Floating orbs background */
body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 25% 25%,
      rgba(77, 159, 255, 0.1) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(167, 139, 250, 0.08) 0%,
      transparent 30%
    );
  animation: floatOrbs 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  25% {
    transform: translate(20px, -30px) scale(1.5);
    opacity: 0.5;
  }

  50% {
    transform: translate(-20px, 20px) scale(1);
    opacity: 0.2;
  }

  75% {
    transform: translate(30px, 10px) scale(1.2);
    opacity: 0.4;
  }
}

@keyframes floatOrbs {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(5%, 5%) rotate(120deg);
  }

  66% {
    transform: translate(-3%, 3%) rotate(240deg);
  }
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    border-left: 1px solid var(--border);
    transition: right 0.4s var(--transition);
    z-index: 1000;
  }

  nav ul.active {
    right: 0;
  }

  nav a {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .resume-box {
    flex-direction: column;
    text-align: center;
  }

  .resume-info {
    flex-direction: column;
    text-align: center;
  }

  section {
    min-height: auto;
    padding: 4rem 0;
  }

  #hero {
    padding-top: 8rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  nav .container {
    padding: 1rem 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .experience-header {
    flex-direction: column;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
}
