/*============================
        PRELOADER
==============================*/
html.preloading,
body.preloading {
  overflow: hidden;
  height: 100%;
}

#preloader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(0);  
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.pl-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pl-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: plOrbFloat 6s ease-in-out infinite;
}
.pl-orb-1 {
  width: 400px; height: 400px;
  background: rgba(59, 130, 246, 0.15);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.pl-orb-2 {
  width: 350px; height: 350px;
  background: rgba(139, 92, 246, 0.12);
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
.pl-orb-3 {
  width: 200px; height: 200px;
  background: rgba(6, 182, 212, 0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1.5s;
}

@keyframes plOrbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Center content */
.pl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}


.pl-monogram {
  width: 90px;
  height: 90px;
  border: 2px dotted #3b82f6;
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #3b82f6;
  box-shadow: 0 0 40px #3b82f6;
  animation: plMonogramPulse 2s ease-in-out infinite;
  opacity: 0;
  animation: plMonogramIn 0.6s ease forwards, plMonogramPulse 2s ease-in-out 0.6s infinite;
}

.pl-monogram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

@keyframes plMonogramIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes plMonogramPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), inset 0 0 15px rgba(59, 130, 246, 0.05); }
  50%       { box-shadow: 0 0 55px rgba(59, 130, 246, 0.7), inset 0 0 25px rgba(59, 130, 246, 0.1); }
}


.pl-name {
  display: flex;
  gap: 2px;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.04em;
}

.pl-name .pl-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.pl-name .pl-letter.pl-space {
  width: 0.4em;
}
.pl-name .pl-letter.show {
  opacity: 1;
  transform: translateY(0);
}


.pl-role {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #3b82f6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: plRoleIn 0.5s ease 1.4s forwards;
}

@keyframes plRoleIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


.pl-track {
  width: clamp(220px, 40vw, 360px);
  height: 3px;
  background: rgb(255, 255, 255);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.pl-fill {
  height: 100%;
  width: 0%;
  background: #3b82f6;
  border-radius: 2px;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}


.pl-pct {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3b82f6;
  letter-spacing: 0.1em;
  min-width: 44px;
  text-align: center;
}

.pl-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: #3b82f6;
  border-style: solid;
  opacity: 0;
  animation: plCornerIn 0.4s ease forwards;
}
.pl-corner-tl { top: 32px; left: 32px; border-width: 1px 0 0 1px; animation-delay: 0.3s; }
.pl-corner-tr { top: 32px; right: 32px; border-width: 1px 1px 0 0; animation-delay: 0.4s; }
.pl-corner-bl { bottom: 32px; left: 32px; border-width: 0 0 1px 1px; animation-delay: 0.5s; }
.pl-corner-br { bottom: 32px; right: 32px; border-width: 0 1px 1px 0; animation-delay: 0.6s; }

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

/* ===== END PRELOADER ===== */

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

body {
  font-family: "Inter", sans-serif;
  background-color: #0a0a0a;
  color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Fixed Background Gradient */
.fixed-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(35, 66, 153, 0.2), rgba(26, 16, 9, 0.308), rgba(0, 0, 0, 0.958));
  pointer-events: none;
  z-index: -1;
}

/* Gradient Text */
/*
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
*/

/* Card Effects */
.card-glow {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card-glow:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

/*============================
          Header
=============================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  z-index: 1000;
  box-shadow: 0 2px 4px #3b82f6;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: transparent;
}

.nav-wrapper img {
  width: 120px;
  height: 40px;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  margin-right: 80px;
}

.nav-link {
  color: white;
  font-size: 18px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #3b82f6;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 25px;
  height: 4px;
  background: #f8fafc;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.mobile-nav-link {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #3b82f6;
}

/*=============================
          Hero Section
================================*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.floating-orbs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  align-items: start;
  position: relative;
  z-index: 10;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.profile-image {
  width: 350px;
  height: 350px;
  border-radius: 10%;
  border: 2px dotted #3b82f6;
  overflow: hidden;
  box-shadow: 0 0 50px #3b82f6;
  grid-column: 2;
  grid-row: 1 / 4;
  justify-self: end;
  margin-left: 70px;
  margin-top: 60px;
  max-width: 100%;
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
  justify-self: end;
  margin-right: 70px;
}

.hero-greeting {
  font-size: 1.3rem;
  color: #3b82f6;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
}

.hero-name {
  font-size: 55px;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.title-frontend {
  color: #3b82f6;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

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

.hero-description {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 48rem;
  margin: 0 0 2rem;
  line-height: 1.7;
  animation: slideInTop 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes slideInTop {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-divider {
  width: 100%;
  height: 4px;
  background: #3b82f6;
  margin: 20px auto;
  border-radius: 2px;
}

.hero-buttons {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  opacity: 0;
}


.btn:nth-child(1) { animation: slideInLeft 2.0s ease-out 0.3s forwards; }
.btn:nth-child(2) { animation: slideInRight 2.0s ease-out 0.3s forwards; }
.btn:nth-child(3) { animation: slideInLeft 2.0s ease-out 0.3s forwards; }
.btn:nth-child(4) { animation: slideInRight 2.0s ease-out 0.3s forwards; }

@keyframes slideInLeftFar {
  from {
    transform: translateX(-50vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRightFar {
  from {
    transform: translateX(50vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb);
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
  background: transparent;
  transform: translateY(-2px);
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: #f8fafc;
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.btn-outline:hover {
  background: #1c70f7;
  border-color: #1c70f7;
  box-shadow: 0 0 15px #1c70f7;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  margin-left: 20px;
  animation: slideInBottom 0.8s ease-out 0.4s forwards;
  opacity: 0;
  grid-column: 1;
  grid-row: 3;
}

.social-link {
  color: #94a3b8;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #3b82f6;
  transform: scale(1.1);
}

@keyframes slideInBottom {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #3b82f6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/*===========================
        Section Styles
===============================*/
section {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 32rem;
  margin: 0 auto;
}

/*============================
        About Section
==============================*/
.about-header {
  margin-top: 20px;
}

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

.about-text {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.about-text p {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.highlight {
  color: #3b82f6;
  font-weight: 600;
}

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

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
}

.about-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-icon {
  padding: 0.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue-gradient   { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2)); }
.purple-gradient { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(13, 148, 136, 0.2)); }
.teal-gradient   { background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(59, 130, 246, 0.2)); }

.card-icon svg       { color: #3b82f6; }
.purple-gradient svg { color: #a855f7; }
.teal-gradient svg   { color: #14b8a6; }

.card-content h3 { font-weight: 600; margin-bottom: 0.25rem; }
.card-content p  { font-size: 0.875rem; color: #94a3b8; }


@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/*============================
        Projects Section
==============================*/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blue-purple-gradient  { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2)); }
.purple-pink-gradient  { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2)); }
.teal-blue-gradient    { background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(59, 130, 246, 0.2)); }
.green-teal-gradient   { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(13, 148, 136, 0.2)); }
.blue-cyan-gradient    { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2)); }
.purple-blue-gradient  { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2)); }

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 1;
}

.project-content { padding: 1.5rem; }

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-content p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.tech-tag {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

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

/*==========================
        Skills Section
=============================*/
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.8s ease;
}

.skills-grid.show {
  opacity: 1;
  transform: translateY(0);
}

.skill-category {
  padding: 2rem;
}

.skill-category-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.tech-stack   { text-align: center; }

.tech-stack h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.tech-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgba(59, 130, 246, 0.2);
  width: 120px;
  height: 100px;
  box-shadow: #06b6d4 0px 0px 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.icon-box.show {
  opacity: 1;
  transform: translateY(0);
}

.icon-box:hover {
  box-shadow: #06b6d4 0px 0px 30px;
  background-color: #000000;
}

.icon-box i {
  font-size: 60px;
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.icon-box:hover i {
  transform: scale(1.2);
  color: #06b6d4;
}

.icon-box p {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.fa-html5    { color: #E44D26; }
.fa-css3-alt { color: #264DE4; }
.fa-js       { color: #F0DB4F; }
.fa-react    { color: #61DBFB; }
.fa-git-alt  { color: #F1502F; }

/*==============================
        Contact Section
=================================*/
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-description {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.blue-gradient-bg   { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1)); border-color: rgba(59, 130, 246, 0.2); }
.purple-gradient-bg { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(13, 148, 136, 0.1)); border-color: rgba(139, 92, 246, 0.2); }
.teal-gradient-bg   { background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(59, 130, 246, 0.1)); border-color: rgba(13, 148, 136, 0.2); }

.contact-method svg       { color: #3b82f6; }
.purple-gradient-bg svg   { color: #a855f7; }
.teal-gradient-bg svg     { color: #14b8a6; }

.contact-form-container {
  padding: 2rem;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #94a3b8;
  margin-bottom: 2rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label { font-weight: 500; color: #f8fafc; }

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.5);
  color: #f8fafc;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/*=============================
          Footer
===============================*/
.footer {
  border-top: 2px solid rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(139, 69, 19, 0.1));
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
}

.footer-section img {
  width: 120px;
  height: 40px;
}

.footer-links,
.footer-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: #3b82f6; }
.footer-services li   { color: #94a3b8; }

.footer-bottom {
  border-top: 1px solid #3b82f6;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

/*============================
      Responsive Design
==============================*/

@media (max-width: 1024px) {
  .hero-content {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .hero-name {
    font-size: 42px;
  }

  .profile-image {
    width: 280px;
    height: 280px;
    margin-left: 30px;
  }

  .hero-text {
    margin-right: 30px;
  }

  .desktop-nav {
    gap: 1.25rem;
    margin-right: 20px;
  }
}


@media (max-width: 768px) {

  .desktop-nav   { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav.active { display: block; }

  .hero {
    padding-top: 100px;
    padding-bottom: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 1.5rem;
    padding: 0 1.5rem;
    text-align: center;
    justify-items: center;
  }

  .profile-image {
    width: 260px;
    height: 260px;
    max-width: 100%;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    margin-left: 0;
    margin-top: 0;
    box-shadow: 0 0 30px #3b82f6;
  }

  .hero-text {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    justify-self: center;
    margin-right: 0;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

  .hero-name { font-size: 2.5rem; }

  .hero-title { font-size: 1.25rem; }

  .hero-buttons {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links {
    grid-column: 1;
    grid-row: 4;
    justify-content: center;
    margin-left: 0;
  }

  .hero-description br { display: none; }

  .section-title { font-size: 2rem; }

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

  .about p { text-align: center; }

  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 0;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
 
  .skills-grid { grid-template-columns: 1fr; }

  .contact-content { grid-template-columns: 1fr; gap: 2rem; }
  .form-row        { grid-template-columns: 1fr; }

  .footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content { padding: 0 1rem; }

  .profile-image {
    width: 85vw;
    height: 85vw;
    max-width: 300px;
    max-height: 300px;
    margin-top: 20px;
    box-shadow: 0 0 20px #3b82f6;
  }

  .hero-name { font-size: 2rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn { width: 100%; justify-content: center; }

  .tech-icons { gap: 20px; }

  .icon-box { width: 90px; height: 80px; }
  .icon-box i { font-size: 44px; }
}