header {
  padding: 3rem 2rem 4rem;
  max-width: 1150px;
  margin: 0 auto;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
}

.intro-text {
  text-align: center;
  margin-top: 6rem; 
  padding: 0 1rem;
}

.intro-heading {
  font-size: 2.5rem; 
  font-weight: 700;
  color: #17203D;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.intro-subtitle {
  font-size: 1.15rem;
  color: #666; 
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.intro-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

#about h2 {
  display: none;
}

.about-text {
  flex: 1;
  min-width: 260px;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.profile-pic-wrapper {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  flex-shrink: 0;
  margin-left: 50px;
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  display: block;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--accent);
  outline: none;
}

section {
  max-width: 1150px;
  margin: 4rem auto;
  padding: 0 2rem;
}


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

.skill-card {
  background-color: #ffffff;
  border: 1px solid var(--light);
  padding: 2rem;
  text-align: left;
  cursor: default;
  border-left: 4px solid transparent;
  transition: border-left-color 0.4s ease, transform 0.4s ease 0.05s, box-shadow 0.4s ease 0.1s;
  will-change: transform, box-shadow;
}

.skill-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.skill-card h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--text);
}

.skill-card p,
.skill-card li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.skill-card ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

.skill-card:hover {
  background-color: #f9f9ff;
  transform: translateY(-8px) scale(1.02);
  border-left-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 5px 15px rgba(0, 0, 0, 0.04);
}
.skill-card:focus-within,
.skill-card:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 6px;
}

/* Two columns side by side */
.timeline-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Title */
.col h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Timeline line */
.col .contents {
  padding: 0px 30px;
  border-left: 2px solid #bababa;
  position: relative;
}

/* Individual boxes */
.col .box {
  position: relative;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
  transition: border-left-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.col .box:hover {
  background-color: #f9f9ff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 5px 15px rgba(0, 0, 0, 0.04);
  border-left-color: var(--accent);
}

.col .box:focus-within,
.col .box:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 6px;
}

.col .box:hover::before {
  background-color: #6552D0aa;
}

/* Timeline dot */
.col .contents::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent);
  left: -9px;
  top: var(--dot-position, 0);
}

/* Typography */
.col .box h3 {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.2rem;
}

.col .box h4 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.col .box p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.box-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.box-content {
  flex: 1;
}

/* Projects Section */
.filter-buttons {
  text-align: center;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  margin: 0.4rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.filter-btn.active {
  background-color: #4e3cb1;
}
.filter-btn:hover {
  background-color: #4e3cb1;
  transform: translateY(-4px) scale(1.02);
}

.sticker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  padding: 2rem 0;
}

.sticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
}

.sticker-item:hover {
  transform: translateY(-8px) scale(1.03);
}

.sticker-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sticker-info {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  text-align: center;
  transition: max-height 1s ease, opacity 1s ease;
  margin-top: 0.5rem;
}

.sticker-item:hover .sticker-logo {
  transform: translateY(-8px) scale(1.10);
}

.sticker-item:hover .sticker-info {
  max-height: 400px;
  opacity: 1;
}

.sticker-info h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.sticker-info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.tech-icons i {
  font-size: 1.2rem;
  margin: 0 0.4rem;
  color: #444;
}

.project-links a {
  margin: 0.3rem;
  background-color: var(--accent);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  display: inline-block;
}

.project-links a:hover {
  background-color: #4e3cb1;
}

/* Contact Section */
#contact {
  padding: 10px;
  scroll-margin-top: 80px;
}

.contact-wrapper {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrapper h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--accent);
  font-weight: 700;
}

/* Form Container */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}

/**/

/* Input Fields & Textarea */
.contact-form input,
.contact-form textarea {
  padding: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background-color: #fefefe;
  transition: all 0.3s ease;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(101, 82, 208, 0.1);
  background-color: #fff;
  outline: none;
}

/* Submit Button */
.contact-form button {
  padding: 1.1rem;
  background-color: var(--accent);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #4e3cb1;
  transform: translateY(-3px);
}
footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.socials {
  margin-top: 1rem;
}

.socials a {
  margin: 0 0.5rem;
  color: var(--muted);
  font-size: 1.3rem;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--accent);
}
