@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
}

:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --accent: #f093fb;
  --danger: #ff6b9d;
  --success: #00d4ff;
  --dark: #0f0f1e;
  --darker: #1a1a2e;
  --light: #f0f0f0;
  --text-light: #e0e0e0;
  --text-dark: #333333;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #ff6b9d 100%);
  --gradient-3: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
  color: var(--text-light);
  min-height: 100vh;
}

section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ============ BACKGROUND ANIMATIONS ============ */
section::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
  animation: moveGradient 15s ease infinite;
  pointer-events: none;
}

@keyframes moveGradient {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 50px);
  }
}

/* ============ HEADER & NAVIGATION ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.sticky {
  background: rgba(15, 15, 30, 0.95);
  padding: 1rem 9%;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.logo {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: -1px;
}

.logo:hover {
  transform: scale(1.05);
}

.navbar {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}

.navbar a {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.navbar a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar a:hover::before,
.navbar a.active::before {
  width: 100%;
}

.navbar a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

#menu-bar {
  font-size: 3rem;
  color: var(--text-light);
  display: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

/* ============ HOME SECTION ============ */
.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4rem;
  padding-top: 12rem;
  position: relative;
  z-index: 1;
}

.home-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.home-img {
  position: relative;
  width: 28rem;
  height: 28rem;
  margin: 2rem auto;
}

.home-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 
    0 0 30px rgba(102, 126, 234, 0.4),
    0 0 60px rgba(102, 126, 234, 0.2),
    inset 0 0 30px rgba(102, 126, 234, 0.1);
  animation: float 4s ease-in-out infinite, pulse 4s ease-in-out infinite;
  filter: brightness(1.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2rem) scale(1.02); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.4), inset 0 0 30px rgba(102, 126, 234, 0.1); }
  50% { box-shadow: 0 0 50px rgba(102, 126, 234, 0.6), inset 0 0 30px rgba(102, 126, 234, 0.2); }
}

.home-img::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: var(--gradient-1);
  border-radius: 50%;
  opacity: 0;
  animation: glow 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes glow {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

.home-name {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: slideUp 0.8s ease;
}

.home-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--success);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  animation: slideUp 0.8s ease 0.2s both;
  letter-spacing: 1px;
}

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


.resume-btn {
  animation: slideUp 0.8s ease 0.4s both;
}

.resume-animated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--gradient-2);
  color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(240, 147, 251, 0.2);
  position: relative;
  overflow: hidden;
  padding: 1.2rem 2.8rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.resume-animated .resume-icon {
  font-size: 2.2rem;
  color: #fff;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.resume-animated:hover .resume-icon {
  transform: scale(1.2) rotate(-15deg);
}

.resume-animated .resume-text {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.resume-animated:hover {
  background: var(--gradient-1);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  transform: translateY(-3px) scale(1.05);
}

.resume-animated:active {
  transform: scale(0.98);
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
  padding: 1.2rem 2.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-btn .contact-icon {
  font-size: 2rem;
  color: #fff;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.contact-btn:hover .contact-icon {
  transform: scale(1.2) rotate(-10deg);
}

.contact-btn .contact-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-btn:hover {
  background: var(--gradient-2);
  box-shadow: 0 15px 40px rgba(240, 147, 251, 0.3);
  transform: translateY(-2px) scale(1.05);
}

.contact-btn:active {
  transform: scale(0.98);
}

.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
  animation: slideUp 0.8s ease 0.6s both;
}

.social-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.social-media a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.social-media a:hover {
  color: white;
  border-color: var(--primary);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 
    0 10px 30px rgba(102, 126, 234, 0.4),
    0 0 20px rgba(102, 126, 234, 0.2);
}

.social-media a:hover::before {
  opacity: 1;
}

.btn {
  padding: 1.2rem 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  border-radius: 50px;
  background: var(--gradient-1);
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  border: none;
  width: fit-content;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(102, 126, 234, 0.4),
    0 0 20px rgba(240, 147, 251, 0.2);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ============ ABOUT SECTION ============ */
.about-me {
  background: linear-gradient(180deg, rgba(15, 15, 30, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
  padding: 5rem 0;
}

.blank {
  padding-top: 40px;
}

.heading {
  margin-top: 15rem;
  text-align: center;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--light);
  position: relative;
  z-index: 1;
  animation: slideUp 0.8s ease;
  letter-spacing: -1px;
}

.heading span {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.heading span::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 2px;
  transform: scaleX(0);
  animation: scaleX 0.8s ease 0.3s forwards;
}

@keyframes scaleX {
  to {
    transform: scaleX(1);
  }
}

.about-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  width: 85%;
  margin: 3rem auto;
  padding: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  animation: slideUp 0.8s ease 0.2s both;
}

.about-heading::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
  pointer-events: none;
}

.about-img {
  flex-shrink: 0;
  position: relative;
}

.about-img img {
  width: 22vw;
  height: 50vh;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 
    0 20px 60px rgba(102, 126, 234, 0.3),
    inset 0 0 20px rgba(102, 126, 234, 0.1);
  transition: all 0.4s ease;
  filter: brightness(1.05) contrast(1.1);
}

.about-img img:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 
    0 30px 80px rgba(102, 126, 234, 0.4),
    inset 0 0 30px rgba(102, 126, 234, 0.15);
}

.about-items {
  flex: 1;
  text-align: center;
  z-index: 1;
}

.about-bio {
  font-size: 1.8rem;
  line-height: 2.8rem;
  color: var(--text-light);
  margin: 2rem 0;
  letter-spacing: 0.5px;
  font-weight: 300;
}

/* ============ SKILLS SECTION ============ */
.skills {
  background: linear-gradient(180deg, rgba(15, 15, 30, 0.3) 0%, rgba(22, 33, 62, 0.5) 100%);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.skill-category {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.skill-category:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 
    0 30px 80px rgba(102, 126, 234, 0.25),
    0 0 20px rgba(102, 126, 234, 0.1);
}

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

.category-title {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-bottom: 1rem;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.skill-set {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.progress-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.skill-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.2);
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.percentage-per {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 10px;
  position: relative;
  animation: fillBars 2.5s ease-out 1;
  box-shadow: 
    0 0 15px rgba(102, 126, 234, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.percentage-per::before {
  content: attr(per);
  position: absolute;
  padding: 4px 10px;
  background: var(--gradient-1);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  font-size: 12px;
  top: -28px;
  right: 0;
  transform: translateX(50%);
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.percentage-per::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 11px;
  background: var(--gradient-1);
  top: -15px;
  right: 0;
  transform: translateX(50%) rotate(45deg);
  border-radius: 2px;
}

@keyframes fillBars {
  from {
    width: 0;
    box-shadow: 0 0 0 rgba(102, 126, 234, 0);
  }
  to {
    width: 100%;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
  }
}

/* ============ PROJECTS SECTION ============ */
.projects {
  background: linear-gradient(180deg, rgba(15, 15, 30, 0.3) 0%, rgba(22, 33, 62, 0.5) 100%);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.projects h2 {
  color: var(--light);
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  width: 90%;
  margin: 3rem auto;
  padding-top: 2rem;
}

.project-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--glass-border);
  position: relative;
}

.project-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(240, 147, 251, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.project-box:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 
    0 30px 80px rgba(102, 126, 234, 0.3),
    0 0 20px rgba(102, 126, 234, 0.1);
}

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

.project-img {
  width: 100%;
  height: 250px;
  background: var(--gradient-1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5rem;
  color: white;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.project-box:hover .project-img::before {
  opacity: 1;
}

.project-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(102, 126, 234, 0.1);
}

.project-description {
  font-size: 1.4rem;
  color: var(--text-light);
  flex-grow: 1;
  line-height: 1.6;
  font-weight: 300;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.tech-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(240, 147, 251, 0.3));
  border: 1px solid rgba(102, 126, 234, 0.5);
  color: var(--primary);
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(240, 147, 251, 0.5));
  transform: scale(1.1);
}

.project-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 1rem;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.project-link:hover {
  transform: translateX(8px) translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* ============ CONTACT SECTION ============ */
.contact {
  background: linear-gradient(180deg, rgba(15, 15, 30, 0.3) 0%, rgba(22, 33, 62, 0.5) 100%);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.contact h2 {
  color: var(--light);
  margin-bottom: 4rem;
}

.contact form {
  max-width: 70%;
  margin: 1rem auto;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  animation: slideUp 0.8s ease 0.2s both;
  position: relative;
}

.contact form::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
  pointer-events: none;
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.contact form .input-box input,
.contact form textarea {
  padding: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(10px);
}

.contact form .input-box input {
  width: 48%;
}

.contact form .input-box input:focus,
.contact form textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 
    0 0 20px rgba(102, 126, 234, 0.3),
    inset 0 0 10px rgba(102, 126, 234, 0.1);
  color: white;
}

.contact form .input-box input::placeholder,
.contact form textarea::placeholder {
  color: rgba(224, 224, 224, 0.6);
}

.contact form textarea {
  width: 100%;
  resize: vertical;
  min-height: 150px;
  position: relative;
  z-index: 1;
}

.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  display: none;
  animation: slideUp 0.4s ease;
}

.form-message.success {
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid var(--success);
  color: var(--success);
  display: block;
}

.form-message.error {
  background: rgba(255, 107, 157, 0.2);
  border: 1px solid var(--danger);
  color: var(--danger);
  display: block;
}

.contact form .btn {
  margin-top: 2rem;
  width: 100%;
  max-width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* ============ FOOTER ============ */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: rgba(15, 15, 30, 0.95);
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.footer-text {
  font-size: 1.6rem;
  color: var(--text-light);
}

.footer-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--gradient-1);
  border-radius: 50px;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.footer-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 
    0 15px 40px rgba(102, 126, 234, 0.4),
    0 0 20px rgba(102, 126, 234, 0.2);
}

.footer-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-icon a i {
  font-size: 2.4rem;
  color: white;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-heading {
    flex-direction: column;
    gap: 2rem;
  }

  .about-img img {
    width: 80%;
    height: auto;
  }

  header {
    padding: 1.5rem 5%;
  }
}

@media (max-width: 991px) {
  header {
    padding: 1.5rem 3%;
  }

  section {
    padding: 5rem 3%;
  }

  .project-container {
    grid-template-columns: repeat(2, 1fr);
    width: 95%;
  }

  .skills-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .contact form {
    max-width: 90%;
    padding: 2rem;
  }

  footer {
    padding: 2rem 3%;
  }

  .heading {
    font-size: 3.5rem;
    margin-top: 8rem;
  }

  .home-name {
    font-size: 4rem;
  }

  .home-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  #menu-bar {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 2rem 3%;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    flex-direction: column;
    gap: 1.5rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    font-size: 1.8rem;
    padding: 1rem 0;
  }

  .home {
    padding-top: 8rem;
    gap: 2rem;
  }

  .home-img {
    width: 60vw;
    height: 60vw;
  }

  .home-name {
    font-size: 3rem;
  }

  .home-title {
    font-size: 1.8rem;
  }

  .social-media {
    gap: 1.5rem;
  }

  .social-media a {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
  }

  .project-container {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .about-heading {
    width: 90%;
    padding: 2rem;
  }

  .contact form {
    padding: 2rem;
    max-width: 95%;
  }

  .contact form .input-box input {
    width: 100%;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 45%;
  }

  .logo {
    font-size: 1.8rem;
  }

  .navbar {
    gap: 1rem;
  }

  .home-img {
    width: 70vw;
    height: 70vw;
  }

  .home-name {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
  }

  .home-title {
    font-size: 1.6rem;
  }

  .heading {
    font-size: 2.8rem;
  }

  .about-bio {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }

  .project-box {
    margin-bottom: 1rem;
  }

  .contact form {
    padding: 1.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 40%;
  }

  header {
    padding: 1rem 2%;
  }

  .logo {
    font-size: 1.5rem;
  }

  .navbar {
    padding: 1rem 2%;
  }

  .home-items h1 {
    font-size: 2.2rem;
  }

  .heading {
    font-size: 2.2rem;
    margin-top: 5rem;
  }

  .contact form {
    padding: 1rem;
  }

  footer {
    padding: 1rem 2%;
    flex-direction: column;
    text-align: center;
  }

  .about-heading {
    width: 95%;
  }
}


:root {
  --bg-color: #191f36;
  --snd-bf-color: #262B40;
  --text-colors: rgb(255, 254, 254);
  --main-color: #59B2F4;
  --text-color: rgb(0, 0, 0);
  --accent-color: #7c3aed;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

html {
  font-size: 62%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  color: var(--text-colors);
  background-position: top center;
}

section {
  min-height: 100vh;
}

/* ============ HEADER & NAVIGATION ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

header.sticky {
  background: rgba(25, 31, 54, 0.95);
  padding: 1rem 9%;
  box-shadow: 0 4px 20px rgba(89, 178, 244, 0.1);
}

.logo {
  font-size: 2.5rem;
  color: var(--text-colors);
  font-weight: 700;
  cursor: default;
  transition: all 0.3s ease;
}

.logo span {
  color: var(--main-color);
}

.navbar {
  display: flex;
  gap: 3rem;
}

.navbar a {
  font-size: 1.5rem;
  color: var(--text-colors);
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a:hover {
  color: var(--main-color);
}

.navbar a.active {
  color: var(--main-color);
}

#menu-bar {
  font-size: 3.5rem;
  color: var(--text-colors);
  display: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ============ HOME SECTION ============ */
.home {
  text-align: center;
  background: linear-gradient(135deg, #191f36 0%, #262B40 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding-top: 12rem;
}

.home-img img {
  border-radius: 50%;
  width: 28rem;
  height: 28rem;
  object-fit: cover;
  margin-top: 2rem;
  animation: float 4s ease-in-out infinite;
  border: 5px solid var(--main-color);
  box-shadow: 0 0 40px rgba(89, 178, 244, 0.3);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5rem);
  }
}

@keyframes shake {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.8rem);
  }
  100% {
    transform: translateY(0);
  }
}

.home-items h1 {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 0.4rem;
  background: linear-gradient(135deg, var(--main-color), #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 3rem;
  line-height: 1.2;
}

.home-items h3 {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.2rem;
  color: #b9c4ee;
  margin-top: 2rem;
  margin-bottom: 4rem;
  animation: slideUp 0.8s ease;
}

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

.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 3rem 0;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--main-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.social-media a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--main-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.social-media a:hover {
  color: var(--bg-color);
  box-shadow: 0 0 25px var(--main-color);
}

.social-media a:hover::before {
  width: 100%;
  height: 100%;
}

.btn {
  font-size: 15px;
  font-family: Arial;
  width: 22rem;
  height: 45px;
  border-width: 1px;
  color: #fff;
  border-color: #262a60;
  font-weight: bold;
  border-radius: 50px;
  text-shadow: 0px 1px 0px #251848;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.2rem;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

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

/* ============ ABOUT SECTION ============ */
.about-me {
  background: #f0f0f0;
  padding: 5rem 0;
}

.blank {
  padding-top: 40px;
}

.heading {
  margin-top: 15rem;
  text-align: center;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--text-color);
  position: relative;
}

.heading span {
  color: var(--main-color);
  position: relative;
}

.heading span::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--main-color);
  border-radius: 2px;
}

.about-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  background: white;
  color: var(--text-color);
  width: 85%;
  margin: 3rem auto;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 22vw;
  height: 50vh;
  border-radius: 20px;
  border: 4px solid var(--main-color);
  object-fit: cover;
  transition: transform 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.about-items {
  text-align: center;
  flex: 1;
}

.about-bio {
  font-size: 1.8rem;
  line-height: 2.5rem;
  color: #333;
  margin: 2rem 0;
  letter-spacing: 0.5px;
}

/* ============ SKILLS SECTION ============ */
.skills {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.skill-category {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(89, 178, 244, 0.2);
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--main-color);
  border-radius: 2px;
}

.skill-set {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.progress-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.skill-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-bar {
  height: 12px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.percentage-per {
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), #f093fb);
  border-radius: 10px;
  position: relative;
  animation: fillBars 2.5s ease-out 1;
  box-shadow: 0 0 10px rgba(89, 178, 244, 0.5);
}

.percentage-per::before {
  content: attr(per);
  position: absolute;
  padding: 4px 8px;
  background: linear-gradient(135deg, var(--main-color), #f093fb);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  font-size: 12px;
  top: -28px;
  right: 0;
  transform: translateX(50%);
  white-space: nowrap;
}

.percentage-per::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 11px;
  background: linear-gradient(135deg, var(--main-color), #f093fb);
  top: -15px;
  right: 0;
  transform: translateX(50%) rotate(45deg);
  border-radius: 2px;
}

@keyframes fillBars {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ============ PROJECTS SECTION ============ */
.projects {
  background: white;
  padding: 5rem 0;
}

.projects h2 {
  color: var(--text-color);
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  width: 90%;
  margin: 3rem auto;
  padding-top: 2rem;
}

.project-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.project-box:hover {
  border-color: var(--main-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(89, 178, 244, 0.3);
}

.project-img {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--main-color), #f093fb);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5rem;
  color: white;
  transition: all 0.4s ease;
}

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

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

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.project-description {
  font-size: 1.4rem;
  color: #666;
  flex-grow: 1;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.tech-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--main-color);
  color: white;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.project-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--main-color), #f093fb);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 1rem;
}

.project-link:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(89, 178, 244, 0.3);
}

/* ============ CONTACT SECTION ============ */
.contact {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 5rem 0;
}

.contact h2 {
  color: var(--text-color);
  margin-bottom: 4rem;
}

.contact form {
  max-width: 70%;
  margin: 1rem auto;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: #333;
  background: #f0f0f0;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-family: "Nunito Sans", sans-serif;
}

.contact form .input-box input {
  width: 48%;
}

.contact form .input-box input:focus,
.contact form textarea:focus {
  background: white;
  border-color: var(--main-color);
  box-shadow: 0 0 10px rgba(89, 178, 244, 0.2);
}

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

.contact form .btn {
  margin-top: 2rem;
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FOOTER ============ */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: #000;
  gap: 2rem;
}

.footer-text {
  font-size: 1.6rem;
  color: #999;
}

.footer-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, var(--main-color), #f093fb);
  border-radius: 50px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.footer-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(89, 178, 244, 0.4);
}

.footer-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-icon a i {
  font-size: 2.4rem;
  color: white;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-heading {
    flex-direction: column;
    gap: 2rem;
  }

  .about-img img {
    width: 80%;
    height: auto;
  }
}

@media (max-width: 991px) {
  header {
    padding: 1.5rem 3%;
  }

  section {
    padding: 5rem 3%;
  }

  .project-container {
    grid-template-columns: repeat(2, 1fr);
    width: 95%;
  }

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

  .contact form {
    max-width: 90%;
  }

  footer {
    padding: 2rem 3%;
  }

  .about-img img {
    width: 100%;
    height: auto;
  }

  .home-items h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  #menu-bar {
    display: block;
    color: white;
    z-index: 1001;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: var(--bg-color);
    border-top: 2px solid var(--main-color);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    font-size: 1.8rem;
    margin: 1.5rem 0;
  }

  .home {
    padding-top: 8rem;
  }

  .home-img img {
    width: 60vw;
    height: 60vw;
  }

  .home-items h1 {
    font-size: 3.5rem;
    letter-spacing: 0.2rem;
  }

  .home-items h3 {
    font-size: 2rem;
  }

  .project-container {
    grid-template-columns: 1fr;
  }

  .about-heading {
    width: 90%;
    padding: 2rem;
  }

  .contact form {
    padding: 2rem;
  }

  .contact form .input-box input {
    width: 100%;
  }

  .heading {
    font-size: 3.5rem;
    margin-top: 8rem;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 50%;
  }

  .home-img img {
    width: 70vw;
    height: 70vw;
    margin-top: 2rem;
  }

  .home-items h1 {
    font-size: 2.8rem;
  }

  .social-media a {
    width: 4rem;
    height: 4rem;
    font-size: 1.8rem;
  }

  .heading {
    font-size: 3rem;
  }

  .about-bio {
    font-size: 1.5rem;
  }

  .project-box {
    margin-bottom: 1rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 45%;
  }

  header {
    padding: 1rem 2%;
  }

  .logo {
    font-size: 2rem;
  }

  .home-items h1 {
    font-size: 2.5rem;
  }

  .heading {
    font-size: 2.5rem;
    margin-top: 5rem;
  }

  .contact form {
    padding: 1.5rem;
    max-width: 95%;
  }

  footer {
    padding: 1rem 2%;
    flex-direction: column;
    text-align: center;
  }
}



