/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  padding: 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  color: #22c55e;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #22c55e;
  border-bottom-color: #22c55e;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0B1120 0%, #020617 100%);
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin: 0 0 20px 0;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #cbd5f5;
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
  transform: translateY(-3px);
}

/* Code Snippet Visual */
.hero-visual {
  flex: 1;
  min-width: 0;
}

.code-snippet {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.code-snippet:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 30px 80px rgba(34, 197, 94, 0.2);
}

.code-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  display: flex;
  gap: 8px;
  align-items: center;
}

.code-lang {
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
  text-transform: uppercase;
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.code-content {
  padding: 20px 16px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #cbd5f5;
  line-height: 1.8;
}

.code-line {
  color: #cbd5f5;
}

.code-keyword {
  color: #22c55e;
  font-weight: 600;
}

.code-name {
  color: #60a5fa;
}

.code-method {
  color: #f97316;
}

.code-line.indent {
  margin-left: 20px;
}

/* Learning Section */
.learning-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0f172a 0%, #0B1120 100%);
}

.section-subtitle {
  font-size: 16px;
  color: #cbd5f5;
  margin-bottom: 50px;
}

h2 {
  font-size: 42px;
  margin-bottom: 12px;
  font-weight: 800;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 250px;
  max-width: 280px;
}

.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  padding: 32px 24px;
  border-radius: 14px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, rgba(30, 41, 59, 1) 0%, rgba(20, 30, 50, 1) 100%);
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.2), inset 0 0 40px rgba(34, 197, 94, 0.05);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.card h3 {
  font-size: 24px;
  margin: 0 0 12px 0;
  font-weight: 700;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: #22c55e;
}

.card p {
  font-size: 14px;
  color: #cbd5f5;
  margin: 0 0 20px 0;
  line-height: 1.6;
  flex-grow: 1;
}

.card-cta {
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-5px);
}

.card:hover .card-cta {
  opacity: 1;
  transform: translateX(0);
}

/* Projects Section */
.projects-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0B1120 0%, #051419 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.project-card {
  background: rgba(20, 40, 60, 0.4);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.15);
  background: rgba(20, 40, 60, 0.6);
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.project-card h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.project-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-beginner {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.difficulty-intermediate {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
}

.difficulty-advanced {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.project-card p {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.project-meta {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.project-time {
  font-size: 13px;
  color: #94a3b8;
}

/* Social Proof Section */
.social-proof-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #051419 0%, #0B1120 100%);
  text-align: center;
}

.trust-indicators {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trust-item {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.trust-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.trust-label {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.5;
}

.trust-subtitle {
  font-size: 16px;
  color: #94a3b8;
  font-style: italic;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #020617 0%, #010305 100%);
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #22c55e;
}

.footer-section p {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.6;
  margin: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #22c55e;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  color: #94a3b8;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

/* About Page Styles */
.about-me-page {
  max-width: 900px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 40px 20px;
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 3px solid #0ea5e9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.about-header h1 {
  margin: 0;
  font-size: 36px;
}

.about-header .role {
  margin: 0;
  font-size: 18px;
  color: #0ea5e9;
  font-weight: 600;
}

.about-body h2 {
  font-size: 28px;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #0ea5e9;
  border-bottom: 2px solid #0ea5e9;
  padding-bottom: 10px;
}

.about-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #e2e8f0;
}

.about-body ul {
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.about-body li {
  margin-bottom: 12px;
}

.certifications-box {
  background: rgba(14, 165, 233, 0.1);
  border-left: 4px solid #0ea5e9;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.certifications-box p {
  margin: 0;
  font-size: 16px;
}

.certifications-box p:first-child {
  font-weight: 700;
  color: #0ea5e9;
  margin-bottom: 8px;
}

.certifications-box p:last-child {
  color: #cbd5e1;
}

.social-links-page {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.linkedin-btn {
  background: #0ea5e9;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 16px;
}

.linkedin-btn:hover {
  background: #0284c7;
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .code-snippet {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }

  .nav-content {
    padding: 12px 0;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }

  .hero-section {
    padding: 60px 20px 40px;
  }

  .hero-section::before {
    width: 400px;
    height: 400px;
    top: -30%;
    right: -30%;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-ctas {
    gap: 12px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .learning-section,
  .projects-section,
  .social-proof-section {
    padding: 60px 20px;
  }

  h2 {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .cards {
    gap: 16px;
  }

  .card-link {
    min-width: 100%;
    max-width: 100%;
  }

  .card {
    min-height: auto;
    padding: 24px 16px;
  }

  .card-icon {
    font-size: 36px;
  }

  .card h3 {
    font-size: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 24px;
  }

  .trust-number {
    font-size: 36px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .code-snippet {
    margin-top: 20px;
  }

  .code-content {
    font-size: 11px;
  }

  .about-header {
    padding: 30px 15px;
    margin-bottom: 30px;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .about-header h1 {
    font-size: 28px;
  }

  .about-header .role {
    font-size: 16px;
  }

  .about-body h2 {
    font-size: 22px;
    margin-top: 28px;
  }

  .about-body p,
  .about-body ul {
    font-size: 15px;
  }

  .social-links-page {
    justify-content: center;
    flex-wrap: wrap;
  }

  .linkedin-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 24px;
  }

  .card h3 {
    font-size: 18px;
  }

  .project-card h3 {
    font-size: 16px;
  }

  .trust-number {
    font-size: 28px;
  }
}
