/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary-color: #0066ff;
  --secondary-color: #00d4ff;
  --accent-color: #ff006e;
  --dark-bg: #0a0e27;
  --darker-bg: #050816;
  --light-bg: #1a1f3a;
  --text-primary: #ffffff;
  --text-secondary: #b4b4c5;
  --gradient-1: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 20px;

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 102, 255, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 102, 255, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.3);
}

/* ==========================================
   DARK THEME (Default)
   ========================================== */
html[data-theme="dark"],
html {
  --primary-color: #0066ff;
  --secondary-color: #00d4ff;
  --accent-color: #ff006e;
  --dark-bg: #0a0e27;
  --darker-bg: #050816;
  --light-bg: #1a1f3a;
  --text-primary: #ffffff;
  --text-secondary: #b4b4c5;
  --gradient-1: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 102, 255, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 102, 255, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.3);
}

/* ==========================================
   LIGHT THEME
   ========================================== */
html[data-theme="light"] {
  --primary-color: #0066ff;
  --secondary-color: #0099ff;
  --accent-color: #ff006e;
  --dark-bg: #f5f5f5;
  --darker-bg: #ffffff;
  --light-bg: #e8e8f0;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --gradient-1: linear-gradient(135deg, #0066ff 0%, #0099ff 100%);
  --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.2);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

body {
  font-family: var(--font-primary);
  background-color: var(--darker-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.cursor,
.cursor-follower {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  display: none;
}

.cursor {
  background: var(--primary-color);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  background: transparent;
  transition: transform 0.4s ease;
  opacity: 0.5;
}

@media (min-width: 1024px) {
  .cursor,
  .cursor-follower {
    display: block;
  }
}

/* ==========================================
   LOADER
   ========================================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  border-right-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader-text {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
}

.dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  z-index: 1000;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 15px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  color: var(--primary-color);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(180deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particles::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 20s infinite;
}

.hero-particles::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 25s infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-greeting {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 500;
}

.hero-name {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 32px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 45px;
}

.typing-text {
  color: var(--text-primary);
}

.cursor-blink {
  animation: blink 0.7s infinite;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.hero-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  transition: var(--transition-base);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.2),
    rgba(0, 212, 255, 0.2)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: var(--primary-color);
  border: 3px solid rgba(0, 102, 255, 0.3);
  backdrop-filter: blur(10px);
}

.floating-card {
  position: absolute;
  padding: 15px 20px;
  background: rgba(26, 31, 58, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: float-card 3s infinite;
}

.floating-card i {
  color: var(--primary-color);
  font-size: 20px;
}

.floating-card span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}

.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 10%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 24px;
    opacity: 0;
  }
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  padding: var(--section-padding);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.about-intro {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.highlight-item i {
  color: var(--primary-color);
  font-size: 18px;
}

.mt-2 {
  margin-top: 20px;
}

.timeline-title {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -46px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--darker-bg);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
}

.timeline-content {
  background: rgba(26, 31, 58, 0.5);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.timeline-content:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.timeline-date {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-content h4 {
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 5px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills {
  padding: var(--section-padding);
  background: rgba(26, 31, 58, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.skill-category {
  background: rgba(26, 31, 58, 0.5);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.skill-category:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 20px;
}

.skill-category h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.skill-item {
  margin-bottom: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}

.skill-percent {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

.skill-bar {
  height: 8px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 10px;
  width: var(--progress);
  animation: progressBar 1.5s ease-out;
}

@keyframes progressBar {
  from {
    width: 0;
  }
}

.tech-stack {
  text-align: center;
}

.tech-stack-title {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tech-icon {
  width: 70px;
  height: 70px;
  background: rgba(26, 31, 58, 0.5);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  transition: var(--transition-base);
  cursor: pointer;
}

.tech-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-10px) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.05),
    rgba(0, 212, 255, 0.05)
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(26, 31, 58, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 20px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.stat-number::after {
  content: "+";
  color: var(--primary-color);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects {
  padding: var(--section-padding);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  background: rgba(26, 31, 58, 0.5);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.1),
    rgba(0, 212, 255, 0.1)
  );
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--primary-color);
  background: rgba(10, 14, 39, 0.5);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  text-decoration: none;
  transition: var(--transition-base);
}

.project-link:hover {
  transform: scale(1.1) rotate(10deg);
}

.project-content {
  padding: 25px;
}

.project-title {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.project-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 500;
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 30px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
  padding: var(--section-padding);
  background: rgba(26, 31, 58, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(26, 31, 58, 0.5);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
}

.service-title {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.service-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features i {
  color: var(--primary-color);
  font-size: 16px;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
  padding: var(--section-padding);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(26, 31, 58, 0.5);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ffd700;
  font-size: 18px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.author-info h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 3px;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 13px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
  padding: var(--section-padding);
  background: rgba(26, 31, 58, 0.3);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(26, 31, 58, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: var(--transition-base);
}

.contact-item:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.contact-text h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 5px;
}

.contact-text a,
.contact-text p {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-social h4 {
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.contact-form {
  background: rgba(26, 31, 58, 0.5);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: rgba(10, 14, 39, 0.8);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 15px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 16px;
  transition: var(--transition-base);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h3 {
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 102, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-quote {
  color: var(--primary-color);
  font-style: italic;
  font-weight: 500;
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
  }

  .image-container {
    max-width: 350px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 20px;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-link {
    font-size: 18px;
  }

  .hero-name {
    font-size: 36px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 32px;
  }

  .projects-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 28px;
  }

  .hero-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 36px;
  }

  .contact-form {
    padding: 25px;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
[data-aos] {
  pointer-events: auto;
}

.aos-animate {
  pointer-events: auto;
}
