/* ============================================
   GLOBAL STYLES
   ============================================ */

:root {
  --primary-color: #4f46e5; /* indigo */
  --secondary-color: #7c3aed; /* violet */
  --accent-color: #ec4899; /* pink */
  --accent-light: #f472b6; /* light pink */
  --text-dark: #1f2937; /* dark gray for body text */
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --bg-gradient-1: #fdf2f8; /* light pink */
  --bg-gradient-2: #f0f9ff; /* light blue */
  --bg-gradient-3: #fefce8; /* light yellow */
  --card-bg: rgba(255, 255, 255, 0.85);
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(135deg, 
    var(--bg-gradient-1) 0%, 
    var(--bg-gradient-2) 50%, 
    var(--bg-gradient-3) 100%);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-size: 400% 400%;
  animation: gradient-shift 20s ease infinite;
}

/* Animated Gradient Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(79, 70, 229, 0.06) 0%, transparent 50%);
  z-index: -1;
  animation: float-background 30s ease-in-out infinite alternate;
  pointer-events: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 24px;
  position: relative;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

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

.nav-link {
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  padding: 80px 24px;
  background: linear-gradient(135deg, 
    rgba(236, 72, 153, 0.05) 0%, 
    rgba(124, 58, 237, 0.05) 50%, 
    rgba(79, 70, 229, 0.05) 100%);
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.profile-image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile Image Styles */
.profile-image-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 
    var(--shadow-lg),
    0 0 80px rgba(236, 72, 153, 0.2),
    0 0 120px rgba(124, 58, 237, 0.15);
  animation: float 6s ease-in-out infinite;
  background: linear-gradient(135deg, 
    rgba(236, 72, 153, 0.1) 0%, 
    rgba(124, 58, 237, 0.15) 50%,
    rgba(79, 70, 229, 0.1) 100%);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.profile-image-wrapper:hover .profile-image {
  transform: scale(1.05);
}

.profile-image-border {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 4px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    var(--accent-color), 
    var(--secondary-color),
    var(--primary-color)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, 
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.profile-badge {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: pulse 3s ease-in-out infinite;
  font-size: 1.1rem;
}

.hero-text-content {
  max-width: 700px;
}

.hero-accent-line {
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  margin-bottom: 2.5rem;
  border-radius: 5px;
  animation: slideInLeft 0.8s ease-out;
}

.hero-title-line {
  display: block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 3rem;
  max-width: 600px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.stat-item {
  text-align: center;
  padding: 1.8rem;
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(236, 72, 153, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.4rem 3rem;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.8px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn i {
  transition: var(--transition);
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.primary-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.primary-btn:hover i {
  transform: translateX(8px);
}

.secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  box-shadow: none;
  font-weight: 800;
}

.secondary-btn:hover {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  transform: translateY(-6px) scale(1.05);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.secondary-btn:hover i {
  transform: translateY(-3px);
}

.hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: float-orb 20s ease-in-out infinite;
}

.element-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent);
  animation-delay: 0s;
}

.element-2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  left: 5%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent);
  animation-delay: 7s;
  animation-duration: 25s;
}

.element-3 {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 70%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent);
  animation-delay: 14s;
  animation-duration: 30s;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
  z-index: -1;
  animation: background-shift 40s ease-in-out infinite alternate;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  padding-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
  animation: slideInLeft 1.2s ease-out;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  background: linear-gradient(135deg, 
    rgba(253, 242, 248, 0.9) 0%, 
    rgba(240, 249, 255, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent);
  border-radius: 50%;
  top: -400px;
  right: -300px;
  pointer-events: none;
  animation: float-orb 35s ease-in-out infinite reverse;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.about-signature {
  margin-top: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  padding-right: 3rem;
}

.about-signature::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  animation: slideInLeft 1.5s ease-out;
}

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

.stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-play-state: paused;
}

.stat-card.animate-in {
  animation-play-state: running;
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}

.stat-card p {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
  background: linear-gradient(135deg, 
    rgba(254, 252, 232, 0.9) 0%, 
    rgba(253, 242, 248, 0.9) 100%);
  position: relative;
}

.skills::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
  border-radius: 50%;
  bottom: -300px;
  left: -200px;
  pointer-events: none;
  animation: float-orb 40s ease-in-out infinite;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.skill-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-play-state: paused;
}

.skill-card.animate-in {
  animation-play-state: running;
}

.skill-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-12px) scale(1.03);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.skill-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(124, 58, 237, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.skill-card:hover .skill-icon {
  transform: scale(1.15) rotate(15deg);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(124, 58, 237, 0.3));
  box-shadow: var(--shadow-md);
}

.skill-icon i {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  font-weight: 800;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.skill-progress {
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.3);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
  background: linear-gradient(135deg, 
    rgba(240, 249, 255, 0.95) 0%, 
    rgba(254, 252, 232, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25), transparent);
  border-radius: 50%;
  top: -350px;
  right: -250px;
  pointer-events: none;
  animation: float-orb 45s ease-in-out infinite reverse;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-play-state: paused;
}

.project-card.animate-in {
  animation-play-state: running;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(79, 70, 229, 0.4);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.project-image {
  width: 100%;
  height: 260px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(79, 70, 229, 0.85) 0%, 
    rgba(236, 72, 153, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-link {
  color: white;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  font-size: 1.1rem;
}

.project-link:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  border-color: white;
}

.project-info {
  padding: 2.5rem;
}

.project-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  font-weight: 800;
}

.project-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.project-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(236, 72, 153, 0.15));
  border: 2px solid rgba(79, 70, 229, 0.3);
  color: var(--primary-color);
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.tag:hover {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(236, 72, 153, 0.25));
  border-color: var(--accent-color);
  transform: translateY(-3px);
  color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
  background: linear-gradient(135deg, 
    rgba(253, 242, 248, 0.95) 0%, 
    rgba(240, 249, 255, 0.95) 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
  border-radius: 50%;
  top: -300px;
  left: -200px;
  pointer-events: none;
  animation: float-orb 50s ease-in-out infinite;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form {
  margin-bottom: 4rem;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  padding: 3.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.4rem;
  border: 2px solid rgba(79, 70, 229, 0.2);
  border-radius: 15px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
  background: white;
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107, 114, 128, 0.6);
}

.cta-button {
  width: 100%;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--text-light);
  border: none;
  border-radius: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
}

.cta-button:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  letter-spacing: 2px;
}

.cta-button:hover i {
  transform: translateX(8px) rotate(20deg);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.social-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(79, 70, 229, 0.2);
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.15) rotate(15deg);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text-dark);
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid rgba(236, 72, 153, 0.2);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color), 
    var(--accent-color), 
    transparent);
}

.footer p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-subtext {
  font-size: 1rem;
  color: var(--text-muted) !important;
  opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

@keyframes float-orb {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  25% {
    transform: translate(40px, -40px) scale(1.1);
  }
  50% {
    transform: translate(0px, 80px) scale(0.9);
  }
  75% {
    transform: translate(-40px, 0px) scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-md);
  }
  50% {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes float-background {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(100px, 100px) rotate(180deg);
  }
}

@keyframes background-shift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .hero-content {
    gap: 3rem;
  }
  
  .profile-image-wrapper {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .profile-image-wrapper {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }
  
  .hero-accent-line {
    margin: 0 auto 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
    display: none !important;
    z-index: 1000;
    border-bottom: 2px solid rgba(236, 72, 153, 0.2);
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-link {
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    padding: 60px 20px;
    margin-top: 80px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 350px;
  }

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

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

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

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

  section {
    padding: 6rem 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 50px 20px;
  }

  .profile-image-wrapper {
    width: 240px;
    height: 240px;
  }

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

  .stat-item {
    padding: 1.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 2rem;
  }

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

  .social-links {
    gap: 1.5rem;
  }

  .social-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }
}

/* Mobile Navigation Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu.active {
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active .nav-link {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }