@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

body {
    background-color: #0d1117;
    color: #e6edf3;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background 0.3s ease;
}

nav {
    background-color: #0d1117;
    padding: 15px 50px;
    border-bottom: 1px solid #21262d;
    position: fixed;
    top: 0; /* NEW - ensure top aligned */
    left: 0; /* NEW */
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* Smaller gap, not 40px */
    padding: 0;
    margin: 0;
    flex-wrap: wrap; /* ALLOW WRAPPING if needed */
}

nav li {
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #e6edf3;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    font-size: 1rem; /* SMALLER FONT to avoid overflow */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00ffe7;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

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

nav a:hover {
    color: #00ffe7;
}


/* Hero Section */
.intro {
    padding: 180px 60px 100px;
    max-width: 900px;
    margin: auto;
}

.intro h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f9f9f9;
}

.intro p {
    font-size: 1.4rem;
    color: #c9d1d9;
    margin-top: 20px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background-color: #00ffe7;
    color: #0d1117;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 231, 0.3);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    color: #6e7681;
    font-size: 0.9rem;
    border-top: 1px solid #21262d;
    margin-top: 100px;
}

/* Subtle fade-in */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 50px;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.about-photo img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 4px solid #00ffe7;
}

.about-content {
    max-width: 600px;
}

.about-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #f9f9f9;
}

.about-content p {
    font-size: 1.2rem;
    color: #c9d1d9;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-content h2 {
    margin-top: 30px;
    font-size: 2rem;
    color: #00ffe7;
}

.skills {
    list-style: none;
    padding-left: 0;
}

.skills li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #e6edf3;
}
.tagline {
    font-size: 1.5rem;
    color: #c9d1d9;
    margin-top: 20px;
}

.hero-actions {
    margin-top: 50px;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.hero-quote {
    margin-top: 60px;
    font-style: italic;
    color: #00ffe7;
    font-size: 1.2rem;
    text-align: center;
}

/* Hero headline */
.intro h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #f9f9f9;
}

/* Optional subtle typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid #00ffe7;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    50% { border-color: transparent }
}

.blog-section {
    padding: 160px 50px;
    max-width: 1000px;
    margin: auto;
    text-align: left;
}

.blog-section h1 {
    font-size: 2.8rem;
    color: #f9f9f9;
    margin-bottom: 50px;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-card {
    background-color: #161b22;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.blog-card h2 a {
    text-decoration: none;
    color: #00ffe7;
    font-size: 1.8rem;
}

.blog-date {
    color: #8b949e;
    font-size: 0.9rem;
    margin: 15px 0;
}

.blog-snippet {
    font-size: 1.1rem;
    color: #c9d1d9;
}

.read-more {
    margin-top: 20px;
    display: inline-block;
    color: #ffdd57;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Medium Like CSS */
.content {
    max-width: 800px;
    margin: 120px auto;
    font-size: 1.2rem;
    padding: 120px 20px 50px;
    line-height: 1.8;
    color: #c9d1d9;
    padding: 0 20px;
  }
  
  .cover-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
  }
  
  .content h1, .content h2, .content h3 {
    color: #f9f9f9;
  }
  
  .content p {
    margin-bottom: 24px;
    font-size: 1.2rem;
    color: #c9d1d9;
  }
  
  blockquote {
    border-left: 4px solid #00ffe7;
    padding-left: 20px;
    color: #8b949e;
    margin: 30px 0;
  }

  .content {
    max-width: 800px;
    margin: 120px auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #c9d1d9;
    padding: 0 20px;
  }
  
  .content h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #00ffe7; /* Nice highlight color */
  }
  
  .content h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #ffdd57;
  }
  
  .content p {
    margin-bottom: 24px;
    font-size: 1.2rem;
  }
  
  .content ul {
    padding-left: 20px;
    margin-bottom: 24px;
  }
  
  .content li {
    margin-bottom: 10px;
  }
  
  .content pre {
    background-color: #161b22;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    color: #e6edf3;
    margin-bottom: 24px;
    white-space: pre-wrap;
  }
  
  .content code {
    background-color: #21262d;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
    color: #ffdd57;
  }
  
  
