/* =====================
   RESET & BASE
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* =====================
   NAVBAR
======================== */
nav {
  background: #111111;
  border-radius: 50px;
  margin: 20px 40px;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  position: sticky;
  top: 16px;
  z-index: 100;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.65;
}

.nav-btn {
  background: #7c3aed;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 500 !important;
}

/* =====================
   HERO
======================== */
#home {
  padding: 60px 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70vh;
}

.hero-left {
  background: #e8e8e8;
  border-radius: 60px;
  padding: 60px 70px;
  flex: 1;
  max-width: 700px;
}

.hero-greeting {
  font-family: 'Caveat', cursive;
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-name-line {
  font-family: 'Caveat', cursive;
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-name-line span {
  color: #7c3aed;
}

.hero-role {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.6;
  max-width: 420px;
}

.hero-right {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 4px solid #7c3aed;
  flex-shrink: 0;
  margin-left: 60px;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================
   MARQUEE
======================== */
.marquee-section {
  padding: 40px 0 30px;
  overflow: hidden;
  background: #ffffff;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  animation: scroll 22s linear infinite;
}

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

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 55px;
  flex-shrink: 0;
}

.logo-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-item span {
  font-size: 0.82rem;
  color: #555555;
  white-space: nowrap;
}

/* =====================
   DIVIDER
======================== */
.divider {
  height: 1px;
  background: #e5e5e5;
  margin: 0 60px;
}

/* =====================
   SHARED SECTION STYLES
======================== */
section {
  padding: 80px 60px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #111111;
}

/* =====================
   SKILLS
======================== */
.skills-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.skill-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111111;
}

.skill-col ul {
  list-style: none;
}

.skill-col ul li {
  font-size: 0.88rem;
  color: #444444;
  padding: 5px 0 5px 16px;
  position: relative;
}

.skill-col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #7c3aed;
}

/* =====================
   PROJECTS
======================== */
#projects {
  background: #f7f7f7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.proj-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #eeeeee;
  transition: box-shadow 0.3s, transform 0.3s;
}

.proj-card:hover {
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
  transform: translateY(-4px);
}

.proj-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e8e0ff;
  line-height: 1;
  margin-bottom: 12px;
}

.proj-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.proj-desc {
  font-size: 0.83rem;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proj-tag {
  background: #f0eaff;
  color: #7c3aed;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
}

/* =====================
   EDUCATION
======================== */
.edu-list {
  max-width: 700px;
  margin: 0 auto;
}

.edu-item {
  border-left: 3px solid #7c3aed;
  padding: 0 0 36px 28px;
  position: relative;
}

.edu-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #7c3aed;
  border-radius: 50%;
  position: absolute;
  left: -7.5px;
  top: 4px;
}

.edu-item--last {
  border-left-color: transparent;
  padding-bottom: 0;
}

.edu-year {
  font-size: 0.78rem;
  font-weight: 600;
  color: #7c3aed;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.edu-degree {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 3px;
}

.edu-school {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 8px;
}

.edu-score {
  display: inline-block;
  background: #f0eaff;
  color: #7c3aed;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* =====================
   CERTIFICATIONS
======================== */
#certs {
  background: #f7f7f7;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eeeeee;
  transition: box-shadow 0.3s;
}

.cert-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.cert-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 6px;
}

.cert-item p {
  font-size: 0.8rem;
  color: #777777;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cert-item .date {
  font-size: 0.76rem;
  color: #7c3aed;
  font-weight: 600;
}

/* =====================
   CONTACT
======================== */
#contact {
  text-align: center;
}

.contact-sub {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid #dddddd;
  border-radius: 12px;
  text-decoration: none;
  color: #111111;
  font-size: 0.87rem;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-link:hover {
  border-color: #7c3aed;
  transform: translateY(-2px);
}

.cta-btn {
  display: inline-block;
  background: #7c3aed;
  color: #ffffff;
  padding: 14px 38px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.85;
}

/* =====================
   FOOTER
======================== */
footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid #eeeeee;
  font-size: 0.8rem;
  color: #999999;
}

/* =====================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  nav {
    margin: 12px 16px;
    padding: 12px 20px;
    gap: 16px;
  }

  #home {
    padding: 40px 24px;
    flex-direction: column;
    gap: 32px;
    min-height: auto;
  }

  .hero-right {
    margin-left: 0;
    width: 180px;
    height: 180px;
    font-size: 3rem;
  }

  section {
    padding: 60px 24px !important;
  }

  .skills-cols {
    grid-template-columns: 1fr;
  }

  .divider {
    margin: 0 24px;
  }
}
/* CONTACT DETAILS */
.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0 50px;
}

.contact-detail-link {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-detail-link:hover {
  color: #7c3aed;
}

/* SOCIAL LOGOS ROW */
.social-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-card:hover {
  transform: translateY(-5px);
}

.social-card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.social-card span {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}
#cert-gallery { background: #ffffff; }

.cert-gallery-sub {
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  margin-top: -30px;
  margin-bottom: 50px;
}

.cert-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.cert-card {
  background: #f7f7f7;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.cert-card:hover {
  box-shadow: 0 12px 40px rgba(124,58,237,0.12);
  transform: translateY(-4px);
}

.cert-card-icon { font-size: 2.2rem; }

.cert-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.cert-card-body p {
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 6px;
}

.cert-card-date {
  font-size: 0.76rem;
  color: #7c3aed;
  font-weight: 600;
}

.cert-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #7c3aed;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  transition: opacity 0.2s;
}

.cert-view-btn:hover { opacity: 0.85; }
.cert-view-btn::before { content: '📄 '; }
/* =====================
   RESUME SECTION
======================== */
#resume {
  background: #f7f7f7;
  text-align: center;
}

.resume-sub {
  color: #777;
  font-size: 0.9rem;
  margin-top: -30px;
  margin-bottom: 50px;
}

.resume-wrapper {
  display: flex;
  justify-content: center;
}

.resume-card {
  display: block;
  width: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.resume-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.resume-tilt-inner {
  position: relative;
  width: 100%;
}

.resume-tilt-inner img {
  width: 100%;
  display: block;
  border-radius: 20px;
}


.resume-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.resume-overlay span {
  color: #111;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.resume-overlay::after {
  content: 'Click to Download ↓';
  color: #333;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.resume-card:hover .resume-overlay {
  opacity: 1;
}
/* =====================
   ABOUT SECTION
======================== */
#about {
  background: #f7f7f7;
}

.about-container {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eeeeee;
  padding: 44px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.about-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.about-hello {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.about-hello span {
  color: #7c3aed;
}

.about-role {
  font-size: 0.82rem;
  color: #888;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.about-open-badge {
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.about-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 24px 0;
}

.about-paras {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-para {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
}

.about-para strong {
  color: #111;
  font-weight: 600;
}

.learning-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffbeb;
  border: 1.5px solid #fbbf24;
  border-radius: 14px;
  padding: 14px 18px;
}

.learning-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.learning-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.learning-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.learning-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
}

.learning-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d97706;
  margin-left: auto;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

@media (max-width: 768px) {
  .about-container {
    padding: 28px 22px;
  }
  .about-top {
    flex-direction: column;
  }
}