* { margin:0; padding:0; box-sizing:border-box; font-family:Arial, Helvetica, sans-serif }

body { background:#0f172a; color:#fff; }

/* NAVBAR */
.navbar {
  background:#0f172a;
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.nav-container { max-width:1100px; margin:auto; display:flex; align-items:center; justify-content:space-between; padding:1rem 1.5rem; }
.logo { font-weight:700; font-size:1.5rem; background: linear-gradient(90deg,#0ea5e9,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.nav-links { list-style:none; display:flex; gap:2rem; }
.nav-links li a { text-decoration:none; color:#fff; transition:0.3s; }
.nav-links li a:hover { background: linear-gradient(90deg,#0ea5e9,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger span { width:25px; height:3px; background:#fff; border-radius:2px; }

/* HERO */
.hero { min-height:100vh; display:flex; align-items:center; position:relative; overflow:hidden; }
.hero-grid { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; max-width:1100px; margin:auto; padding:4rem 1.5rem; }
.hero-text { flex:1 1 500px; }
.hero-text h1 { font-size:5rem; font-weight:800; line-height:1.1; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; }
.hero-text h1 span { background:linear-gradient(90deg,#0ea5e9,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}
.hero-text .title { font-size:1.5rem; color:#cbd5e1; margin:0.5rem 0; }
.hero-text .desc { font-size:1rem; color:#a1a1aa; margin-bottom:1.5rem; line-height:1.6; }
.hero-buttons { 
    display:flex; 
    /* gap:1rem; REMOVED */ 
    flex-wrap:wrap; 
}
.hero-buttons button { 
    padding:0.75rem 1.5rem; 
    border:none; 
    border-radius:0.5rem; 
    font-weight:600; 
    cursor:pointer; 
    background:linear-gradient(90deg,#0ea5e9,#8b5cf6); 
    color:#fff; 
    transition:0.3s; 
}
.hero-buttons button:hover { 
    transform:translateY(-3px); 
    box-shadow:0 10px 25px rgba(14,165,233,0.4); 
}

/* IMAGE */
.hero-image { flex:0 1 300px; display:flex; justify-content:center; }
.image-wrapper { position:relative; }
.image-glow { position:absolute; inset:0; border-radius:50%; background:linear-gradient(90deg,#0ea5e9,#8b5cf6); filter:blur(50px); opacity:0.3; animation: pulse 2s infinite alternate; }
.image-wrapper img { width:250px; height:250px; border-radius:50%; border:4px solid rgba(255,255,255,0.1); object-fit:cover; }

/* SCROLL INDICATOR */
.scroll-indicator { position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); }
.mouse { width:24px; height:40px; border:2px solid rgba(255,255,255,0.3); border-radius:12px; display:flex; align-items:flex-start; padding:4px; }
.dot { width:6px; height:6px; background:#fff; border-radius:50%; animation: scroll 1.5s infinite; margin:auto; }

/* ANIMATIONS */
@keyframes scroll { 0%,100% { transform: translateY(0);} 50% { transform: translateY(12px); } }
@keyframes pulse { 0% {opacity:0.3; } 100% {opacity:0.5;} }

/* RESPONSIVE */
@media(max-width:768px){ 
  .hero-grid { flex-direction:column; text-align:center; }
  .hero-buttons { justify-content:center; }
  .hero-image img { margin:auto; width:200px; height:200px; }
  .nav-links { display:none; flex-direction:column; gap:1rem; background:#0f172a; position:absolute; top:100%; right:0; width:200px; padding:1rem; }
  .hamburger { display:flex; }
  .nav-links.active { display:flex; }
}
/* TECH STACK */
/* --- BASE STYLES (Retained from your original) --- */
.tech { 
    background:#0f172a; 
    color:#fff; 
    padding:5rem 1.5rem;
}
.tech-header { text-align:center; margin-bottom:3rem; }
.tech-header h2 { font-size:3rem; font-weight:700; }
.tech-header p { color:#cbd5e1; margin-top:0.5rem; font-size:1.1rem; }


/* --- NEW / MODIFIED CSS FOR DETAILED SKILL CARDS --- */

/* Replaces .tech-grid for the new detailed items */
.skills-grid { 
    display: grid; 
    /* 3 columns on desktop, adapts down to 1 on small screens */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.5rem; 
    max-width: 1200px; 
    margin: auto; 
}

.skill-item { 
    background:#1e293b; 
    padding:1.5rem; 
    border-radius:0.75rem; 
    border:1px solid rgba(255,255,255,0.05); 
    transition:transform 0.3s, box-shadow 0.3s, background 0.3s; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
}

.skill-item:hover { 
    transform:translateY(-5px); 
    box-shadow:0 10px 25px rgba(14,165,233,0.4); 
    background: #27374a; /* Subtle background change on hover */
}

/* Icon Styling */
.skill-item .icon { 
    font-size: 2.5rem; /* Larger emoji/icon */
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Title Styling */
.skill-item h3 { 
    font-size:1.5rem; 
    font-weight:600; 
    margin-top: 0;
    margin-bottom: 0.5rem; 
    color: #0ea5e9; /* Using your original primary blue accent */
}

/* Description Styling */
.skill-item p { 
    color: #94a3b8; /* Lighter text for the detailed description */
    font-size: 1rem; 
    line-height: 1.5;
    margin: 0;
}

/* Optional: Highlight the Learning Next card */
.skill-item.learning {
    /* Subtle accent line on the left */
    border-left: 5px solid #8b5cf6; 
}
.projects {
  background:#0f172a;
  color:#fff;
  padding:5rem 1.5rem;
}
.projects-header { text-align:center; margin-bottom:3rem; }
.projects-header h2 { font-size:3rem; font-weight:700; }
.projects-header p { color:#cbd5e1; margin-top:0.5rem; font-size:1.1rem; max-width:700px; margin-left:auto; margin-right:auto; }

/* Featured project card */
.project-card { 
  background:#1e293b; 
  border-radius:1rem; 
  border:1px solid rgba(255,255,255,0.05); 
  overflow:hidden; 
  transition:transform 0.3s, box-shadow 0.3s; 
  margin-bottom:2rem;
}
.project-card:hover { transform:translateY(-5px); box-shadow:0 15px 30px rgba(14,165,233,0.4); }

.featured { border:1px solid #0ea5e9; }
.featured-badge {
  position:absolute; top:1rem; right:1rem; background:#facc15; color:#1f2937; font-weight:600; padding:0.5rem 1rem; border-radius:999px; font-size:0.8rem;
}

/* Project grid inside featured */
.project-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; padding:2rem; align-items:center; }
.project-image { overflow:hidden; border-radius:1rem; }
.project-image img { width:100%; height:100%; object-fit:cover; transition:transform 0.7s; }
.project-card:hover .project-image img { transform:scale(1.05); }
/* .project-info {display:flex; align-items: center;} */
.project-info h3 { font-size:1.rem; margin-bottom:0.5rem; }
.project-info p { color:#cbd5e1; font-size:1rem; margin-bottom:0.75rem; line-height:1.5; }
.project-tech { display:flex; flex-wrap:wrap; gap:0.5rem; margin-bottom:0.75rem; }
.project-tech span {
  background: linear-gradient(90deg,#0ea5e9,#8b5cf6);
  padding:0.3rem 0.7rem;
  border-radius:0.5rem;
  font-size:0.8rem;
  color:#fff;
  transition:transform 0.3s, box-shadow 0.3s;
}
.project-tech span:hover { transform:translateY(-2px); box-shadow:0 5px 15px rgba(14,165,233,0.4); }

/* Links */
.project-links { display:flex; gap:1rem; }
.project-links a { padding:0.5rem 1rem; border-radius:0.5rem; font-weight:600; font-size:0.85rem; text-decoration:none; transition:all 0.3s; }
.project-links a:hover { transform:translateY(-2px); }
.project-links a:not(.code) { background:linear-gradient(90deg,#0ea5e9,#8b5cf6); color:#fff; }
.project-links a.code { background:#111827; color:#fff; }
.project-links a.code:hover { background:#1f2937; }


.project-tech.icons {
  display: flex;
  gap: 1rem;
  font-size: 1.6rem;
  color: #e5e7eb;
  margin-bottom: 1.25rem;
}

.project-tech.icons i {
  opacity: 0.8;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.project-tech.icons i:hover {
  transform: translateY(-3px);
  opacity: 1;
}
.project-links.modern {
  display: flex;
  gap: 1rem;
}

.project-links.modern a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Live Preview */
.project-links.modern .live {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}

/* View Code */
.project-links.modern .code {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.6);
}

/* Hover */
.project-links.modern a:hover {
  transform: translateY(-3px);
}

/* Other projects grid */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2rem; }

/* Scroll fade-in animation */
.animate { opacity:0; transform:translateY(30px); transition:opacity 0.6s ease, transform 0.6s ease; }
.animate.active { opacity:1; transform:translateY(0); }
/* Project card (other projects) */
.project-card {
  background: #1e293b;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4);
}

/* Project image */
.project-image {
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  height: 180px; /* fixed height for grid cards */
}

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

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

/* Project info */
.project-info {
  padding: 2rem;          /* Add padding */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Center content vertically */
  flex-grow: 1;
  text-align: center;       /* Center text horizontally */
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-info p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center; /* Center badges horizontally */
  margin-bottom: 0.75rem;
}

.project-tech span {
  background: linear-gradient(90deg, #0ea5e9, #8b5cf6);
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-tech span:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

/* Project links */
.project-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;  /* Center buttons */
  padding-top: 0.5rem;
}

.project-links a {
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s;
}

.project-links a:hover {
  transform: translateY(-2px);
}

.project-links a:not(.code) {
  background: linear-gradient(90deg, #0ea5e9, #8b5cf6);
  color: #fff;
}

.project-links a.code {
  background: #111827;
  color: #fff;
}

.project-links a.code:hover {
  background: #1f2937;
}
/* ABOUT SECTION */
.about-section {
  padding: 6rem 1.5rem;
  /* NO background here – it continues hero background */
}

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

/* HEADER */
.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-header h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.about-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

/* CONTENT */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text .intro {
  font-size: 1.15rem;
}

.highlight {
  color: #60a5fa;
  font-weight: 600;
}

/* TRAITS */
.about-traits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trait {
  text-align: center;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.trait span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.trait:hover {
  transform: scale(1.1);
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.2s;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-header h2 {
    font-size: 2.4rem;
  }
}

/* Responsive */
@media(max-width:768px){
  .project-grid { grid-template-columns:1fr; }
  .featured .project-grid { grid-template-columns:1fr; }
}
/* CONTACT SECTION */
.contact-section {
  padding: 6rem 1.5rem;
}

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

/* HEADER */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

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

/* CARD */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
}

.contact-card .icon {
  font-size: 1.8rem;
}

.contact-card .info span {
  font-size: 0.75rem;
  opacity: 0.75;
}

.contact-card .info strong {
  display: block;
  font-weight: 500;
}

.contact-card .arrow {
  margin-left: auto;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.contact-card:hover .arrow {
  transform: translateX(4px);
}

/* COLOR ACCENTS */
.contact-card.blue { border-left: 4px solid #60a5fa; }
.contact-card.green { border-left: 4px solid #4ade80; }
.contact-card.gray { border-left: 4px solid #9ca3af; }

/* CTA */
.contact-cta {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-cta h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.2s; }
.fade-up.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer {
  background: #0f172a; /* same as hero */
  padding: 2rem 0;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.footer-text {
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-built {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.heart {
  color: #ef4444;
  font-size: 0.9rem;
  animation: pulse 1.5s infinite;
}

/* Desktop layout */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    text-align: left;
  }
}

/* Subtle heart animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-text .title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.hero-text .desc {
  font-size: 0.95rem;
  max-width: 520px;
}
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 3rem 1.5rem;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-wrapper img {
  width: clamp(180px, 40vw, 260px);
  height: clamp(180px, 40vw, 260px);
}
@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    flex-direction: column-reverse;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text .desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .image-glow {
    filter: blur(35px);
  }

  .scroll-indicator {
    display: none;
  }
}

