:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --accent: #f5576c;
  --success: #00d4ff;
  --warning: #ffd89b;
  --bg: #0f172a;
  --bg-light: #1a2744;
  --card-bg: #1e3a5f;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ============ CURSOR ============ */
.cursor {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
  transition: all 0.1s ease-out;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
  animation: gradient-shift 15s ease infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
}

.hero-title {
  font-size: clamp(40px, 8vw, 70px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.hero-animation {
  position: absolute;
  right: 5%;
  width: 400px;
  height: 400px;
  opacity: 0.3;
}

.floating-box {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  animation: float 6s ease-in-out infinite;
}

.floating-box:nth-child(1) {
  left: 0;
  top: 0;
  animation-delay: 0s;
}

.floating-box:nth-child(2) {
  right: 30px;
  top: 100px;
  animation-delay: 1s;
}

.floating-box:nth-child(3) {
  left: 50px;
  bottom: 50px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 20px;
  position: relative;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.about-text p {
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.stat-item {
  padding: 30px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(102, 126, 234, 0.2);
  border-color: var(--primary);
}

.stat-item h3 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* ============ GRID & CARDS ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 0;
}

.skill-card,
.project-card {
  background: rgba(30, 58, 95, 0.6);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 58, 95, 0.9);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.skill-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.skill-card h3,
.project-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.skill-card p,
.project-card p {
  color: var(--text-light);
  font-size: 14px;
}

.project-image {
  height: 200px;
  border-radius: 12px;
  margin-bottom: 20px;
  animation: gradient-move 6s ease infinite;
}

@keyframes gradient-move {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tag {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(102, 126, 234, 0.2);
  color: var(--primary);
  border-radius: 20px;
  border: 1px solid rgba(102, 126, 234, 0.5);
}

/* ============ CONTACT SECTION ============ */
.contact {
  background: linear-gradient(135deg, rgba(245, 87, 108, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.contact-subtitle {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-btn {
  padding: 16px 24px;
  background: rgba(102, 126, 234, 0.15);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.contact-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* ============ FOOTER ============ */
.footer {
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  color: var(--text-light);
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-animation {
    opacity: 0.1;
    width: 250px;
    height: 250px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

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

  .section {
    padding: 60px 20px;
  }
}


.footer{
margin-top:0;
padding:30px 20px;
text-align:center;
background:#ffffff;
color:#64748b;
font-size:14px;
}