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

:root {
  --primary-color: #00d4ff;
  --secondary-color: #0066ff;
  --accent-color: #00ffcc;
  --bg-dark: #0a0e1a;
  --bg-darker: #060811;
  --bg-card: #151b2e;
  --text-primary: #ffffff;
  --text-secondary: #b0b8d4;
  --gradient-1: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --gradient-2: linear-gradient(135deg, #00d4ff 0%, #00ffcc 100%);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

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

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

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

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.linkedin-btn {
  background: var(--gradient-1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.linkedin-btn:hover {
  transform: scale(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

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

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

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.hero-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.1;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.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 1.5s infinite;
}

/* Quick Info Section */
.quick-info {
  padding: 4rem 2rem;
  background: var(--bg-darker);
}

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

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

.info-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

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

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-card span {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Skills Preview */
.skills-preview {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skill-tag {
  background: var(--bg-card);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 1px solid var(--primary-color);
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s;
}

.skill-tag:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Page Header */
.page-header {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.page-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* About Content */
.about-content {
  padding: 4rem 2rem;
}

.about-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  gap: 2rem;
  animation: fadeInUp 0.6s ease;
}

.about-card.highlight {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  border: 2px solid var(--primary-color);
}

.card-icon {
  flex-shrink: 0;
}

.card-icon i {
  font-size: 3rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-content {
  flex: 1;
}

.card-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 25px;
}

.info-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.info-item a:hover {
  color: var(--primary-color);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--primary-color);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--bg-card);
}

.timeline-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

/* Stage Info */
.stage-info {
  background: rgba(0, 212, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.stage-info p {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* Skills Section */
.skills-section {
  display: grid;
  gap: 1.5rem;
}

.skill-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tags span {
  background: rgba(0, 212, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--primary-color);
  font-size: 0.9rem;
}

/* Soft Skills */
.soft-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.soft-skill {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s;
}

.soft-skill:hover {
  transform: translateY(-5px);
  background: rgba(0, 212, 255, 0.1);
}

.soft-skill i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.soft-skill span {
  display: block;
  font-weight: 600;
}

/* Experience */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-item {
  background: rgba(0, 212, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.experience-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.experience-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.experience-item ul {
  list-style: none;
  padding-left: 0;
}

.experience-item li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

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

/* Interests */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.interest-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s;
}

.interest-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 212, 255, 0.1);
}

.interest-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.interest-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.interest-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Articles Section */
.articles-section {
  padding: 4rem 2rem;
}

.articles-grid {
  display: grid;
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.article-card.featured {
  grid-column: 1 / -1;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.article-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.article-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-tags span {
  background: rgba(0, 212, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.article-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Article Detail */
.article-detail {
  min-height: 100vh;
}

.article-header-full {
  padding: 10rem 2rem 3rem;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.back-btn:hover {
  gap: 1rem;
}

.article-header-full h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body {
  padding: 4rem 2rem;
}

.container-article {
  max-width: 900px;
  margin: 0 auto;
}

.article-image-full {
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
}

.article-image-full img {
  width: 100%;
  height: auto;
  display: block;
}

.article-text h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.article-text h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--text-primary);
}

.article-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.article-text li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tech-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.tech-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: block;
}

.tech-item span {
  font-weight: 600;
}

.code-structure {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
}

.file-tree {
  margin-top: 1rem;
}

.file-tree code {
  display: block;
  font-family: "Courier New", monospace;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-footer-action {
  margin-top: 3rem;
  text-align: center;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.availability-box {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--primary-color);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.availability-box i {
  font-size: 3rem;
  color: var(--primary-color);
}

.availability-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.availability-box p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background: var(--bg-dark);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.form-message.success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid #00ff88;
  color: #00ff88;
  display: block;
}

.form-message.error {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid #ff4444;
  color: #ff4444;
  display: block;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  color: var(--text-secondary);
}

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

.footer-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--primary-color);
}

.footer-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scroll {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-card {
    flex-direction: column;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-darker);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

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

  .article-content h2 {
    font-size: 1.3rem;
  }
}
