:root {
  --color-primary: #3b82f6;
  --color-secondary: #10b981;
  --color-accent: #f59e0b;
  --color-danger: #ef4444;
  --color-bg: #0a0a0a;
  --color-surface: #111827;
  --color-surface-light: #1f2937;
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-border: #374151;

  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  --border-radius: 12px;
  --border-radius-lg: 20px;

  --font-heading: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(245, 158, 11, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* Better mobile support for full viewport height */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  width: 400px;
  height: 400px;
  border-radius: var(--border-radius-lg);
  background: var(--gradient-accent);
  padding: 0.25rem;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  background: var(--color-surface);
}

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

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  display: block;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--gradient-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: bounce 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  bottom: 20%;
  left: 10%;
  animation-delay: 1s;
}

.floating-icon:nth-child(3) {
  top: 30%;
  left: -5%;
  animation-delay: 2s;
}

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

/* About */
#about {
  padding: 4rem 0;
  position: relative;
  margin-top: -2rem;
}

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

.about-image-container {
  position: relative;
}

.about-img {
  width: 100%;
  max-width: 600px;
  height: 580px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

.about-stat h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 5px;
}

.about-stat span {
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 10px;
}

.about-text .section-subtitle {
  text-align: left;
  margin: 0 0 30px 0;
  color: #3b82f6;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text .intro-text {
  font-size: 1.15rem;
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.skill-description {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--color-surface-light);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  transition: width 1s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

.project-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.project-image {
  width: 100%;
  height: 200px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.project-card:hover .project-image::after {
  left: 100%;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-description {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

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

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--color-surface-light);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--color-secondary);
  transform: translateX(5px);
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background: var(--color-bg);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.client-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.client-info p {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.testimonial-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  padding-left: 1rem;
}

.rating {
  display: flex;
  gap: 0.25rem;
}

.rating i {
  color: var(--color-accent);
  font-size: 1rem;
}

/* Experience Timeline */
#experience {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin: 4rem 0;
  position: relative;
}

.timeline-content {
  flex: 1;
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  margin: 0 3rem;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.timeline-content .company {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content .duration {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-content .duration::before {
  content: "📅";
  font-size: 0.8rem;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.timeline-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.timeline-content li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.timeline-marker {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 4px solid var(--color-bg);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.skills-used {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.skill-tag {
  padding: 0.3rem 0.8rem;
  background: var(--color-surface-light);
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: var(--color-surface);
  transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: var(--color-surface);
  transform: translateY(-50%);
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.achievement-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  text-align: center;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-surface-light);
  color: var(--color-text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-form-section {
  order: 1;
}

.contact-info-section {
  order: 2;
}

.contact-form {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  height: fit-content;
}

.contact-info {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--color-surface-light);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.contact-list li:hover {
  background: var(--color-primary);
  color: white;
}

.contact-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* Footer */
footer {
  background: var(--color-surface);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-surface-light);
  color: var(--color-text);
}

.newsletter button {
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  border: none;
  border-radius: var(--border-radius);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background: var(--color-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Custom classes for inline styles */
.progress-fill.progress-85 {
  width: 85%;
}
.progress-fill.progress-80 {
  width: 80%;
}
.progress-fill.progress-75 {
  width: 75%;
}
.progress-fill.progress-70 {
  width: 70%;
}
.progress-fill.progress-65 {
  width: 65%;
}
.progress-fill.progress-60 {
  width: 60%;
}

.btn-full {
  width: 100%;
}

.timeline-date {
  color: var(--color-text-muted);
  margin: 0.5rem 0;
}
.timeline-list {
  list-style: none;
  padding: 0;
}

.map-iframe {
  border: 0;
  border-radius: var(--border-radius);
}

.icon-gold {
  color: #f59e0b;
}

.project-bg-eks {
  background: linear-gradient(135deg, #326ce5 0%, #764ba2 100%);
}
.hidden-icon {
  font-size: 0;
}

/* Custom classes for moved inline styles */
.achievement-desc {
  color: var(--color-text-muted);
}

.footer-desc {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.contact-map-container {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .profile-card {
    width: 300px;
    height: 300px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-section {
    order: 1;
  }

  .contact-info-section {
    order: 2;
  }

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

  .about-text .section-title,
  .about-text .section-subtitle {
    text-align: center;
  }
}

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

  nav ul {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .floating-elements {
    display: none;
  }

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

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

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 70px;
  }

  .timeline-content {
    margin: 0;
    padding: 1.5rem;
  }

  .timeline-marker {
    position: absolute;
    left: 18px;
  }

  .timeline-content::before {
    left: -20px !important;
    border-right-color: var(--color-surface) !important;
    border-left-color: transparent !important;
  }

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

  .testimonial-card {
    padding: 1.5rem;
  }

  .client-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

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

  .carousel-btn.prev {
    left: -15px;
  }

  .carousel-btn.next {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-text h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .hero-text .subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .stat-item .number {
    font-size: 1.25rem;
  }

  .stat-item .label {
    font-size: 0.8rem;
  }

  .profile-card {
    width: 250px;
    height: 250px;
  }

  .about-img {
    height: 300px;
    max-width: 100%;
  }

  .skills-grid {
    gap: 0.75rem;
  }

  .skill-card {
    padding: 1.25rem;
  }

  .skill-icon {
    font-size: 2.5rem;
  }

  .skill-title {
    font-size: 1.1rem;
  }

  .projects-grid {
    gap: 0.75rem;
  }

  .project-card {
    margin: 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-marker {
    left: 8px;
  }

  .timeline-content {
    padding: 1rem;
    margin: 0;
  }

  .timeline-content::before {
    left: -15px !important;
    border-right-color: var(--color-surface) !important;
    border-left-color: transparent !important;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .achievement-card {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-info {
    padding: 0.75rem;
  }

  .contact-map-container iframe {
    height: 200px;
  }

  .contact-list li {
    padding: 0.5rem;
  }

  .contact-icon {
    width: 16px;
    height: 16px;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-content {
    gap: 1.25rem;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .hero-content {
    gap: 6rem;
  }

  .profile-card {
    width: 450px;
    height: 450px;
  }

  .about-content {
    gap: 4rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .contact-layout {
    gap: 4rem;
  }
}

/* Chatbot Widget */
#chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1001;
}

#chatbot-button {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
}

#chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

#chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#chatbot-window.hidden {
  display: none;
}

#chatbot-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

#chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: var(--color-bg);
}

.chat-message {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  max-width: 80%;
}

.chat-message.bot {
  background: var(--color-surface-light);
  color: var(--color-text);
  align-self: flex-start;
}

.chat-message.user {
  background: var(--gradient-primary);
  color: white;
  align-self: flex-end;
  margin-left: auto;
}

#chatbot-input-container {
  display: flex;
  padding: 1rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

#chatbot-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-surface-light);
  color: var(--color-text);
  font-size: 1rem;
}

#chatbot-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

#chatbot-send {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

#chatbot-send:hover {
  background: var(--color-secondary);
}

/* Mobile adjustments for chatbot */
@media (max-width: 768px) {
  #chatbot-widget {
    bottom: 1rem;
    right: 1rem;
  }

  #chatbot-window {
    width: 300px;
    height: 400px;
    bottom: 70px;
  }
}
