:root {
  --primary: #6366f1;
  --primary-light: #eef2ff;
  --bg: #f8f9ff;
  --bg-alt: #f1f3ff;
  --card-bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --divider: #e5e7eb;
}

/* GLOBAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* PROGRESS BAR */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary);
  width: 0%;
  z-index: 2000;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: 0.3s;
}

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

/* HERO */
.hero {
  background: linear-gradient(to bottom, var(--primary-light), var(--bg));
  padding: 160px 20px 120px;
  text-align: center;
}

.hero h1 {
  font-size: 46px;
}

.hero h2 {
  font-size: 18px;
  color: var(--primary);
  margin-top: 8px;
}

.hero p {
  margin: 22px auto;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

/* BUTTONS */
.btn-primary,
.btn-outline {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99,102,241,0.25);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  margin-left: 12px;
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section.alt {
  background: var(--bg-alt);
  border-radius: 24px;
}

.section h3 {
  font-size: 28px;
  margin-bottom: 50px;
}

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

/* UNIVERSAL CARD STYLE */
.card,
.skill-card,
.cert,
.contact-box {
  background: var(--card-bg);
  padding: 30px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: all 0.35s ease;
}

.card:hover,
.skill-card:hover,
.cert:hover,
.contact-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(99,102,241,0.18);
}

/* SKILLS */
.skill-card h4 {
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--primary);
  font-weight: 600;
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-card li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  transition: 0.3s;
}

.skill-card li:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* CERTIFICATIONS */
.cert img {
  width: 90px;
  margin-bottom: 12px;
}

.cert span {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.verify-link {
  font-size: 14px;
  color: #16a34a;
  text-decoration: none;
}

.verify-link:hover {
  text-decoration: underline;
}

/* EXPERIENCE (LEFT-RIGHT SPLIT) */

.experience-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  background: var(--card-bg);
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.35s ease;
  position: relative;
}

/* Vertical divider */
.experience-wrapper::before {
  content: "";
  position: absolute;
  left: 33%;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--divider);
}

.experience-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(99,102,241,0.15);
}

/* LEFT SIDE */
.experience-left h4 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 20px;
}

.role {
  font-weight: 600;
  margin-bottom: 8px;
}

.designation {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.project {
  color: var(--muted);
  margin-bottom: 6px;
}

.duration {
  font-size: 14px;
  color: var(--muted);
}

/* RIGHT SIDE */
.experience-right ul {
  margin: 0;
  padding-left: 18px;
}

.experience-right li {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* CONTACT */
.contact-box {
  max-width: 500px;
  margin: auto;
}

.contact-box p {
  margin: 12px 0;
}

.contact-box a {
  color: var(--primary);
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .experience-wrapper {
    grid-template-columns: 1fr;
  }

  .experience-wrapper::before {
    display: none;
  }
}
/* AWARDS */

.award-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.award-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.award-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.award-btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

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

