/* 
  Theme: Dark Mode Neon "Bento" Style
  Colors: 
    - Background: #0a0a0a
    - Surface: #171717
    - Primary (Neon): #ccff00
    - Text Main: #ffffff
    - Text Muted: #a1a1aa
*/

:root {
  --bg-color: #050505;
  --surface-color: #121212;
  --surface-hover: #1e1e1e;
  --primary-color: #ccff00;
  --primary-glow: rgba(204, 255, 0, 0.4);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --border-color: #27272a;

  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -2px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 3rem 0;
}

.text-gradient {
  background: linear-gradient(90deg, #fff, #999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.neon-text {
  color: var(--primary-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000;
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.bento-grid {
  display: grid;
  gap: 1.5rem;
}

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

.col-span-2 {
  grid-column: span 2;
}

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

.education-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card Style */
.card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

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

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  transition: var(--transition);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.cta-btn {
  background: var(--text-main);
  color: #000;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Nav */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 2000;
  /* Increased z-index */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: 0.4s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
  z-index: 2001;
  /* Above menu items */
}





/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* Header offset */
  position: relative;
}

/* Background Gradients */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 85%;
  margin-left: auto;
  margin-right: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  display: block;
}

.badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: rgba(23, 23, 23, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

/* Services / Grid */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Projects */
.project-card {
  padding: 0;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-content {
  padding: 2rem;
}

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

.locked-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

/* Blog Overview */
.blog-preview-card {
  border: none;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.read-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: auto;
}

.read-more:hover {
  color: var(--primary-color);
  gap: 0.75rem;
  /* Slight slide effect */
}


/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background: #000;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

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

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}


.marquee-card {
  flex-shrink: 0;
  width: 250px;
  height: 125px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.marquee-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marquee-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-links a {
  color: #fff;
  transition: color 0.3s ease;
}

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

/* Marquee Animation */
.marquee-container {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 1rem 0;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.marquee-card:hover {
  border-color: var(--primary-color);
  background-color: #222;
  color: #fff;
}

/* Compact Resume Style */
.compact-card {
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--border-color);
  padding-left: 1rem;
  transition: var(--transition);
}

.compact-card:hover {
  border-left-color: var(--primary-color);
}

.compact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.compact-card .role-company {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.experience-desc {
  list-style: disc inside;
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.experience-desc li {
  margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

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

  .badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1rem;
    width: max-content;
  }
}

@media (max-width: 900px) {

  .nav-links,
  .cta-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
    /* Ensure above header background */
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .col-span-2 {
    grid-column: auto;
  }

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

  .education-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .bento-grid-auto {
    grid-template-columns: 1fr;
  }
}


/* Utility Classes for Cleanup */
.p-top-150 {
  padding-top: 150px;
}

.p-bottom-2 {
  padding-bottom: 2rem;
}

.p-top-2 {
  padding-top: 2rem;
}

.p-bottom-4 {
  padding-bottom: 4rem;
}

.m-bottom-1 {
  margin-bottom: 1rem;
}

.m-bottom-1-5 {
  margin-bottom: 1.5rem;
}

.m-bottom-2 {
  margin-bottom: 2rem;
}

.m-top-2 {
  margin-top: 2rem;
}

.m-top-3 {
  margin-top: 3rem;
}

.m-top-4 {
  margin-top: 4rem;
}

.gap-1 {
  gap: 1rem;
}

.gap-1-5 {
  gap: 1.5rem;
}

.gap-2 {
  gap: 2rem;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-900 {
  max-width: 900px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Hero & About Components */
.availability-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.stat-value {
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #aaa;
}

.profile-img-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.about-lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.stat-number {
  color: #fff;
  display: block;
  font-size: 1.5rem;
}

.about-card-bg {
  background: linear-gradient(145deg, var(--surface-color), #222);
  flex: 1;
}

.card-icon-lg {
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
}

.lock-icon {
  width: 64px;
  height: 64px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Article Page Styles */
.article-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  position: relative;
  background: none;
}

.article-category {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #ddd;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.article-content strong {
  color: #fff;
}

.article-list {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--primary-color);
}

.article-list li {
  margin-bottom: 0.75rem;
}

/* FAQ Box */
.faq-box {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-top: 4rem;
  border: 1px solid var(--border-color);
}

.faq-title {
  color: #fff;
  margin-bottom: 1.5rem;
  border: none;
  font-size: 1.8rem;
}

.faq-question {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-muted);
  padding-left: 1rem;
  border-left: 2px solid #333;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border: 1px solid rgba(110, 231, 183, 0.3);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 4rem;
  color: #fff;
}

.cta-box-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
  border: none;
}

.cta-box-text {
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

.cta-btn-large {
  background: rgba(110, 231, 183, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.3);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
}

.cta-btn-large:hover {
  background: rgba(110, 231, 183, 0.25);
  border-color: rgba(110, 231, 183, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(110, 231, 183, 0.2);
}

.card-footer {
  margin-top: 1.5rem;
}

.tag-sm {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

/* Contact Section Styles */
.contact-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 800px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-subtitle {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

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

.contact-icon {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  min-width: 50px;
  height: 50px;
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

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

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

.contact-item p {
  color: var(--text-muted);
  margin: 0;
}

.whatsapp-card {
  background: linear-gradient(145deg, #0d2419, #081510);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.whatsapp-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.whatsapp-icon-wrapper {
  background: rgba(37, 211, 102, 0.2);
  border: 2px solid rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.whatsapp-icon-wrapper i {
  width: 30px;
  height: 30px;
  color: #25d366;
}

.whatsapp-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.whatsapp-card p {
  color: #9ca3af;
  margin-bottom: 1.25rem;
  max-width: 400px;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
}

.whatsapp-number {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-card {
    padding: 2rem 1.5rem;
  }

  .contact-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}