/* Cards */
.project-card,
.cert-card,
.exp-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Projects */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-links a {
  word-break: break-all;
  overflow-wrap: anywhere;
  display: inline-block;
  max-width: 100%;
}

/* Experience */
.experience {
  display: grid;
  gap: 20px;
}

.exp-meta {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Certifications */
.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Typing */
.typing-line {
  font-size: 1.4rem;
  color: #6a5acd;
  margin-bottom: 8px;
}

#typing-text::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  50% { opacity: 0; }
}

.project-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.expandable.expanded .project-extra {
  max-height: 1000px; /* large enough, but safe */
}


.read-more-btn {
  margin-top: 10px;
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
}

 /* SKILL COMPONENT */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.skill-group {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.skill-group h4 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  color: #111827;
}

.skill-group p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* EDUCATION */
.edu-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* CONTACT */
.contact-list {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #111827;
}


.contact-label {
  font-weight: 500;
  color: #111827;
}

.contact-item a {
  word-break: break-all;
}

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

.contact-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.contact-text strong {
  font-weight: 600;
  font-size: 0.95rem;      /* SAME as parent */
  line-height: 1.4;        /* FORCE SAME LINE HEIGHT */
}


/* social icon in contact */
.social-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.icon-wrapper {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* Architecture */
.arch-desc {
  font-size: 0.95rem;
  color: #4b5563;
  max-width: 700px;
}

.architecture-flow {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 24px;
  margin-top: 24px;
  max-width: 650px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.arch-block {
  text-align: left;
}

.arch-block h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: #111827;
}

.arch-block p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.arch-block ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #4b5563;
}

.arch-arrow {
  text-align: center;
  font-size: 1.3rem;
  color: #9ca3af;
  margin: 10px 0;
}

.badge {
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

/* copyright centered ONLY */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Resume Download */
.resume-link {
  padding: 6px 12px;
  border: 1px solid #2563eb;
  border-radius: 6px;
  color: #2563eb;
  font-weight: 500;
  transition: all 0.2s ease;
}

.resume-link:hover {
  background-color: #2563eb;
  color: #ffffff;
  text-decoration: none;
}
