/* ========== SEPARATED CSS FILE ========== */

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

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0a1a2f;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* custom gradient accent */
:root {
  --primary: #0f2b3d;
  --primary-light: #1e4a6e;
  --accent: #2c7da0;
  --soft-bg: #ffffff;
  --gray-muted: #eef2f6;
}

/* navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #0f2b3d, #2c7da0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #1e2f3e;
  transition: 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #2c7da0;
}

.btn-resume {
  border: 1.5px solid #0f2b3d;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-resume:hover {
  background: #0f2b3d;
  color: white;
}

/* sections */
section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1.2;
}

.badge {
  background: #e1f0f5;
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f2b3d;
  margin-bottom: 1.2rem;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0a1a2f;
}

.hero-highlight {
  color: #2c7da0;
}

.hero-sub {
  font-size: 1.2rem;
  color: #2c475c;
  margin: 1rem 0 1.5rem;
  max-width: 550px;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0f2b3d;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #1e4a6e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-outline {
  border: 1.5px solid #0f2b3d;
  background: transparent;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  color: #0f2b3d;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: #0f2b3d;
  color: white;
}

.hero-visual {
  flex: 0.9;
  background: linear-gradient(145deg, #ffffff, #f4f9fc);
  border-radius: 42px;
  padding: 1.6rem;
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(44, 125, 160, 0.2);
}

.tech-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.tech-icons span {
  background: #eef2ff;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* expertise cards */
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.3px;
}

.section-sub {
  color: #476b7f;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.exp-card {
  background: white;
  border-radius: 28px;
  padding: 1.6rem;
  transition: all 0.25s;
  border: 1px solid #e2edf2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.exp-card:hover {
  transform: translateY(-5px);
  border-color: #bdd9e4;
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.08);
}

.exp-icon {
  font-size: 2rem;
  color: #2c7da0;
  margin-bottom: 1rem;
}

.exp-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

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

.exp-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.exp-list i {
  color: #2c7da0;
  font-size: 0.8rem;
  width: 18px;
}

/* experience row (job timeline) */
.timeline-card {
  background: white;
  border-radius: 28px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  border-left: 5px solid #2c7da0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.job-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.company {
  font-weight: 500;
  color: #2c7da0;
  margin: 0.2rem 0 0.5rem;
}

.job-date {
  font-size: 0.8rem;
  color: #6b8c9e;
  margin-bottom: 0.8rem;
}

.job-desc {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.job-desc li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

/* projects / achievements */
.project-item {
  background: #fafeff;
  border-radius: 24px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e6f0f4;
  transition: 0.2s;
}

.project-item strong {
  font-size: 1.1rem;
}

/* contact area */
.contact-card {
  background: white;
  border-radius: 40px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2edf2;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.social-links a {
  background: #eef3f7;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: 1.3rem;
  color: #0f2b3d;
  transition: 0.2s;
  text-decoration: none;
}

.social-links a:hover {
  background: #0f2b3d;
  color: white;
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #e2edf2;
  color: #5e7e92;
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .btn-group {
    justify-content: center;
  }
  section {
    padding: 3rem 1.5rem;
  }
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 0.8rem 1rem;
  }
  .logo {
    font-size: 1.1rem;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}
/* Add these styles to your existing style.css */

/* Projects Showcase Grid */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.project-showcase-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  border: 1px solid #eef2ff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
  text-align: center;
}

.project-showcase-card:hover {
  transform: translateY(-8px);
  border-color: #cbdffc;
  box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.1);
}

.project-showcase-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, #e1f0f5, #d4e4ed);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  margin: 0 auto 1.2rem;
  color: #2c7da0;
}

.project-showcase-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #0f2b3d;
}

.project-showcase-card p {
  color: #4a5b6e;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 1rem 0;
}

.project-tech-stack span {
  background: #eef2ff;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2c7da0;
}

.project-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.btn-project-live, .btn-project-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.25s;
}

.btn-project-live {
  background: #0f2b3d;
  color: white;
}

.btn-project-live:hover {
  background: #2c7da0;
  transform: translateY(-2px);
}

.btn-project-code {
  background: #eef2ff;
  color: #0f2b3d;
}

.btn-project-code:hover {
  background: #dce5f5;
  transform: translateY(-2px);
}
