/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0b1a2e;
  color: #eaeef2;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #0b1a2e 0%, #112b44 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 3px solid #f0b429;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f0b429;
  display: block;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background-color: #1c3857;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero .subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f0b429;
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: #f0b429;
  color: #0b1a2e;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  font-size: 1.1rem;
}

.btn:hover {
  background: #d49d1f;
  transform: scale(1.04);
}

/* Social Links (icon buttons) */
.social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid #f0b429;
  border-radius: 50%;
  color: #eaeef2;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-link svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition: fill 0.25s ease;
}

.social-link:hover {
  background: #f0b429;
  color: #0b1a2e;
  transform: scale(1.08);
}

.social-link:hover svg {
  fill: #0b1a2e;
}

/* Sections */
section {
  padding: 3rem 0;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  border-left: 6px solid #f0b429;
  padding-left: 1rem;
}

/* Skills (tag cloud) */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.skill-tag {
  background: #1c3857;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  color: #eaeef2;
  transition: background 0.2s;
}

.skill-tag:hover {
  background: #f0b429;
  color: #0b1a2e;
}

/* Achievements */
.achievements-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.achievements-list li {
  background: #122c44;
  padding: 1.2rem 1.8rem;
  border-radius: 14px;
  border-left: 6px solid #f0b429;
  font-size: 1rem;
  line-height: 1.6;
  transition: background 0.2s;
}

.achievements-list li:hover {
  background: #1a3452;
}

.achievements-list strong {
  color: #f0b429;
  font-weight: 600;
}

/* Projects */
.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #122c44;
  padding: 2rem 1.8rem;
  border-radius: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.card p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.tech-stack {
  font-size: 0.85rem;
  background: #0b1a2e;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  color: #c0d0e0;
}

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #f0b429;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.card-link:hover {
  border-bottom-color: #f0b429;
}

/* Experience */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.exp-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  background: #122c44;
  padding: 1rem 1.8rem;
  border-radius: 12px;
  gap: 0.5rem 1.5rem;
}

.exp-role {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  flex: 0 0 200px;
}

.exp-org {
  flex: 1;
  opacity: 0.9;
}

.exp-date {
  font-size: 0.9rem;
  color: #f0b429;
  font-weight: 500;
}

/* Education */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  background: #122c44;
  padding: 1rem 1.8rem;
  border-radius: 12px;
  gap: 0.5rem 1.5rem;
  border-left: 6px solid #f0b429;
  transition: background 0.2s;
}

.edu-item:hover {
  background: #1a3452;
}

.edu-degree {
  font-weight: 600;
  font-size: 1.05rem;
  color: #f0b429;
  flex: 0 0 240px;
}

.edu-institution {
  flex: 1;
  opacity: 0.95;
  font-size: 1.05rem;
}

/* Hobbies & Interests */
.hobbies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.hobby-tag {
  background: #1c3857;
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #eaeef2;
  border: 2px solid #f0b429;
  transition: all 0.25s ease;
}

.hobby-tag:hover {
  background: #f0b429;
  color: #0b1a2e;
  transform: scale(1.04);
}

/* Footer */
footer {
  background: #0a1628;
  padding: 2rem 0;
  text-align: center;
  border-top: 2px solid #1c3857;
}

footer a {
  color: #f0b429;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  color: #f0b429;
  transition: color 0.2s;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-icon:hover {
  color: #ffffff;
}

.copy {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero .subtitle {
    font-size: 1.2rem;
  }
  .exp-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .exp-role {
    flex-basis: auto;
  }
  .edu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .edu-degree {
    flex-basis: auto;
  }
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .profile-photo {
    width: 120px;
    height: 120px;
  }
  .social-link {
    width: 48px;
    height: 48px;
  }
  .social-link svg {
    width: 22px;
    height: 22px;
  }
  .achievements-list li {
    padding: 1rem;
    font-size: 0.95rem;
  }
  .edu-item {
    padding: 0.8rem 1.2rem;
  }
  .hobby-tag {
    font-size: 1rem;
    padding: 0.4rem 1.2rem;
  }
}