@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg-dark: #0a0a0a;
  --bg-darker: #000000;
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --accent: #a855f7;
  --border: #1a1a1a;
}

/* Scroll Triggered Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in from left */
.scroll-animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Fade in from right */
.scroll-animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up animation */
.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for child elements */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  position: relative;
}

/* Decorative Background Circles */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -200px;
  background: rgba(255, 255, 255, 0.1);
}

body::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -150px;
  background: rgba(255, 255, 255, 0.08);
}

/* Small white dots background pattern */
.dots-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 70% 90%, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 60% 10%, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 
    300px 300px,
    400px 400px,
    250px 250px,
    350px 350px,
    450px 450px,
    320px 320px,
    280px 280px,
    380px 380px;
  background-position:
    0 0,
    100px 100px,
    200px 50px,
    50px 200px,
    150px 300px,
    300px 150px,
    250px 250px,
    400px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 0;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

::-webkit-scrollbar-corner {
  background: var(--bg-darker);
}

/* Firefox scrollbar */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-darker);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}
html{
  scroll-behavior: smooth;
  scrollbar-color: red;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 2rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

header nav {
  display: flex;
  gap: 3rem;
}

header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

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

/* Main */
main {
  padding-top: 120px;
  min-height: 100vh;
}

/* Hero Section */
.hero {
  padding: 10rem 0 8rem;
  max-width: 900px;
}

.hero h1 {
  font-size: 9rem;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 3rem;
  letter-spacing: -5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
  max-width: 700px;
}

.hero-subtitle {
  font-size: 1.5rem !important;
  color: var(--text-primary) !important;
  font-weight: 400 !important;
  margin-top: 3rem !important;
  margin-bottom: 2rem !important;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--text-primary);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: var(--bg-dark);
}

.btn-primary:hover::before {
  width: 100%;
}

/* Projects Section */
.projects {
  padding: 8rem 0;
}

.projects h2 {
  font-size: 6rem;
  font-weight: 900;
  margin-bottom: 5rem;
  letter-spacing: -2px;
  text-transform: uppercase;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 2px var(--text-primary);
  display: inline-block;
  overflow: hidden;
}

.projects h2::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--text-primary);
  width: 0%;
  overflow: hidden;
  white-space: nowrap;
  -webkit-text-stroke: 0;
  /* text-stroke: 0; */
  transition: width 0.6s ease;
  z-index: 1;
}

.projects-grid {
  display: grid;
  gap: 6rem;
}

.project {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.project:last-child {
  border-bottom: none;
}

.project:hover {
  padding-left: 2rem;
}

.project-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

.project-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-content h3 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.project-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

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

.tech-tag {
  padding: 0.4rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0px;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.project-features {
  margin-top: 1rem;
}

.project-features h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-features li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.project-features li::before {
  content: '•';
  color: var(--text-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.project-links a {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.project-links a:hover {
  background: var(--text-primary);
  color: var(--bg-dark);
  border-color: var(--text-primary);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 4rem;
  margin: 3rem 0;
}

.stat-item {
  display: flex;
  flex:1;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Page Sections */
.about-approach {
  padding: 8rem 0 4rem;
}

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

.approach-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.approach-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.approach-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.approach-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-item {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--accent);
}

.timeline-items {
  margin-top: 4rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-interests {
  padding: 4rem 0 8rem;
}

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

.interest-item {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.interest-item:hover {
  background: rgba(168, 85, 247, 0.05);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.interest-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.interest-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  background: var(--bg-darker);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-year {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-cv-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.footer-cv-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.footer-socials h3 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a:hover {
  color: var(--text-primary);
}

.social-links svg {
  width: 20px;
  height: 20px;
  transition: color 0.3s ease;
}

/* About Page Styles */
.about-hero {
  padding: 8rem 0 6rem;
}

.about-hero h1 {
  font-size: 7rem;
}

.about-skills {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.about-skills h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-item {
  padding: 2rem;
  border: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-item:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.about-timeline {
  padding: 6rem 0 8rem;
  border-top: 1px solid var(--border);
}

.about-timeline h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.timeline-item p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
}

/* Contact Page Styles */
.contact-hero {
  padding: 8rem 0 4rem;
}

.contact-hero h1 {
  font-size: 6rem;
}

.contact-section {
  padding: 4rem 0 8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  padding-top: 3rem;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.contact-form-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-inputs input,
.contact-form-inputs textarea {
  width: 100%;
  padding: 1.2rem;
  padding-left: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  transition: all 0.3s ease;
  outline: none;
  border-radius: 0;
}

.contact-form-inputs input::placeholder,
.contact-form-inputs textarea::placeholder {
  color: var(--text-secondary);
}

.contact-form-inputs input:focus,
.contact-form-inputs textarea:focus {
  border-bottom-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.contact-form-inputs textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form-inputs button {
  padding: 1.2rem 2.5rem;
  background: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.contact-form-inputs button:hover {
  background: var(--text-primary);
  color: var(--bg-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info-item h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.contact-info-item p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 300;
  line-height: 1.8;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-socials a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 300;
  transition: color 0.3s ease;
}

.contact-socials a:hover {
  color: var(--text-secondary);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

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

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 3rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .project {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
  }

  .project-img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  header nav {
    gap: 2rem;
  }

  /* Mobile: Smaller decorative circles */
  body::before {
    width: 250px;
    height: 250px;
    top: -125px;
    right: -125px;
  }

  body::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
  }

  .circle-1 {
    width: 120px;
    height: 120px;
    left: -60px;
  }

  .circle-2 {
    width: 100px;
    height: 100px;
    right: -50px;
  }

  .circle-3 {
    width: 150px;
    height: 150px;
    left: -75px;
  }

  .circle-4 {
    width: 110px;
    height: 110px;
    right: -55px;
  }

  main {
    padding-top: 0;
  }

  .hero {
    margin-top: 140px;
    padding: 2rem 0 4rem;
  }

  .hero h1 {
    font-size: 4rem;
    letter-spacing: -3px;
    white-space: normal;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 1.25rem !important;
  }

  .projects h2 {
    font-family: 'Bebas Neue', 'Arial Black', sans-serif;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    -webkit-text-stroke: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
  }

  .projects h2::before {
    display: none;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .project:hover {
    padding-left: 0;
  }

  .project-img {
    height: auto;
    max-width: 350px;
    margin: 0 auto;
  }

  .project-content h3 {
    font-size: 1.75rem;
  }

  .project-content p {
    font-size: 1rem;
  }

  .project-tech {
    gap: 0.5rem;
  }

  .tech-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  .project-features h4 {
    font-size: 0.9rem;
  }

  .project-features li {
    font-size: 0.9rem;
  }

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

  .project-links a {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-cv {
    order: -1;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* About Page Responsive */
  .about-hero h1 {
    font-size: 4rem;
  }

  .hero-stats {
    gap: 2rem;
    margin: 2rem 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .approach-item {
    padding: 1.5rem;
  }

  .skills-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .interests-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .interest-item {
    padding: 2rem 1.5rem;
  }

  .about-skills h2,
  .about-timeline h2 {
    font-size: 2rem;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contact Page Responsive */
  .contact-hero h1 {
    font-size: 3.5rem;
  }

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

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

  main {
    padding-top: 0;
  }

  /* Reduce dots density on small mobile screens */
  .dots-pattern {
    opacity: 0.6;
    background-size: 
      200px 200px,
      300px 300px,
      180px 180px,
      250px 250px,
      320px 320px,
      230px 230px,
      200px 200px,
      280px 280px;
  }

  .hero {
    margin-top: 150px;
    padding: 1rem 0 3rem;
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 1rem;
  }

  .projects h2 {
    font-family: 'Bebas Neue', 'Arial Black', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    -webkit-text-stroke: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
  }

  .project-content h3 {
    font-size: 1.5rem;
  }

  header nav {
    gap: 1rem;
  }

  header nav a {
    font-size: 0.8rem;
  }

  /* About Page Mobile */
  .about-hero h1 {
    font-size: 3rem;
  }

  /* Contact Page Mobile */
  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-form-wrapper h2 {
    font-size: 1.5rem;
  }
}
