* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9f9f9;
  color: #111;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

header {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 2rem;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark header {
  background: linear-gradient(to right, #1b1b1b, #2a2a2a, #3a3a3a);
  color: #f0f0f0;
}

body.dark header h1,
body.dark header p {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 0.5rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: #f4f4f4;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #007BFF;
}

body.dark nav {
  background-color: #1c1c1c;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #222;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #777;
  font-size: 0.9rem;
}

/* Profile Animation */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animated-profile {
  animation: fadeZoomIn 1s ease-out;
}

/* Modal Zoom */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  text-align: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  animation: fadeZoomIn 0.5s ease-out;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Skills Two Column */
.skills-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.skills-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.skill-bar {
  background: #e5e5e5;
  border-radius: 20px;
  overflow: hidden;
  height: 16px;
}

.skill-level {
  background: linear-gradient(to right, #007BFF, #0056b3);
  height: 100%;
  border-radius: 20px;
  transition: width 0.6s ease;
}

body.dark .skill-bar {
  background: #222;
  border-color: #444;
}

body.dark .skill-level {
  background: linear-gradient(to right, #00c6ff, #0072ff);
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

#theme-toggle {
  background: none;
  border: 2px solid #007BFF;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#theme-toggle:hover {
  background: #007BFF;
  color: #fff;
}

body.dark #theme-toggle {
  border-color: #00c6ff;
  color: #00c6ff;
}

body.dark #theme-toggle:hover {
  background: #00c6ff;
  color: #111;
}

/* Responsive */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Global dark background and text override */
body.dark {
  background-color: #111;
  color: #f0f0f0;
}

/* Dark navigation bar */
body.dark nav {
  background-color: #1c1c1c;
  border-bottom: 1px solid #444;
}

/* Skill section backgrounds */
body.dark .skills-columns,
body.dark .skill-bar {
  background-color: transparent;
}

/* Optional: Style skill-name text */
body.dark .skill-name {
  color: #ddd;
}

/* Footer color in dark mode */
body.dark footer {
  color: #aaa;
}
/* Dark Mode: Navigation Bar */
body.dark nav {
  background-color: #1c1c1c;
  border-bottom: 1px solid #444;
}

body.dark nav a {
  color: #f0f0f0;
}

body.dark nav a:hover {
  color: #00c6ff;
}

/* Dark Mode: Section Headings and Content */
body.dark h2 {
  color: #f0f0f0;
}

body.dark section {
  background-color: transparent;
}

body.dark .container {
  color: #f0f0f0;
}


.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.exp-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.exp-item:hover {
  transform: translateY(-4px);
}

.exp-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.exp-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.exp-content h3 span {
  font-weight: normal;
  color: #555;
}

.exp-duration {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.exp-tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-tags span {
  background: #e0e7ff;
  color: #333;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

body.dark .exp-item {
  background: #1c1c1c;
  color: #f0f0f0;
}

body.dark .exp-content h3 span,
body.dark .exp-duration {
  color: #aaa;
}

body.dark .exp-tags span {
  background: #333;
  color: #eee;
}


.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.exp-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.exp-item:hover {
  transform: translateY(-4px);
}

.exp-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.exp-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.exp-content h3 span {
  font-weight: normal;
  color: #555;
}

.exp-duration {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.exp-tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-tags span {
  background: #e0e7ff;
  color: #333;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Dark mode support */
body.dark .exp-item {
  background: #1c1c1c;
  color: #f0f0f0;
}

body.dark .exp-content h3 span,
body.dark .exp-duration {
  color: #aaa;
}

body.dark .exp-tags span {
  background: #333;
  color: #eee;
}



/* Timeline vertical layout */
.experience-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 30px;
  border-left: 3px solid #ddd;
}

.exp-item {
  position: relative;
  margin-left: 1rem;
  padding-left: 1rem;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.exp-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: #007BFF;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 2;
}

.exp-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Dark mode */
body.dark .experience-timeline {
  border-left: 3px solid #444;
}

body.dark .exp-item::before {
  background: #00c6ff;
}


.education-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 30px;
  border-left: 3px solid #ddd;
  gap: 2rem;
  margin-top: 1rem;
}

.edu-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.edu-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.edu-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: #007BFF;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 2;
}

.edu-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
}

.edu-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.edu-institution {
  color: #555;
  margin-bottom: 0.2rem;
}

.edu-duration {
  font-size: 0.9rem;
  color: #777;
}

/* Dark mode support */
body.dark .education-timeline {
  border-left: 3px solid #444;
}

body.dark .edu-item {
  color: #f0f0f0;
}

body.dark .edu-institution,
body.dark .edu-duration {
  color: #aaa;
}

body.dark .edu-item::before {
  background: #00c6ff;
}


/* === Education Cards Grid === */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.edu-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.edu-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
}

.edu-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.edu-text p {
  font-size: 0.9rem;
  color: #555;
}

/* === Leadership Spotlight Boxes === */
.leadership-highlights {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.lead-card {
  background: linear-gradient(135deg, #f1f5ff, #ffffff);
  border-left: 5px solid #007BFF;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  gap: 1rem;
}

.lead-card:hover {
  transform: translateY(-4px);
}

.lead-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.lead-text h3 {
  margin-bottom: 0.3rem;
}

.lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.lead-tags span {
  background: #e0e7ff;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

/* === Dark Mode === */
body.dark .edu-card {
  background: #1e1e1e;
  border-color: #333;
}

body.dark .edu-text p {
  color: #ccc;
}

body.dark .lead-card {
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-left-color: #00c6ff;
  color: #f0f0f0;
}

body.dark .lead-tags span {
  background: #333;
  color: #eee;
}


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

.project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.project-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 160px;
}

.project-card h3 {
  margin-bottom: 0.3rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  background: #e0e7ff;
  color: #333;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
}

.project-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #007BFF;
  margin-right: 1rem;
}

body.dark .project-card {
  background: #1e1e1e;
  border-color: #333;
  color: #f0f0f0;
}

body.dark .project-tags span {
  background: #333;
  color: #eee;
}

body.dark .project-links a {
  color: #00c6ff;
}


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

.project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(20px);
}

.project-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

.project-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 160px;
}

.project-card h3 {
  margin-bottom: 0.3rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  background: #e0e7ff;
  color: #333;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
}

.project-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #007BFF;
  margin-right: 1rem;
}

/* Dark mode */
body.dark .project-card {
  background: #1e1e1e;
  border-color: #333;
  color: #f0f0f0;
}

body.dark .project-tags span {
  background: #333;
  color: #eee;
}

body.dark .project-links a {
  color: #00c6ff;
}


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

.project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.project-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 160px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  background: #e0e7ff;
  color: #333;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
}

.project-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #007BFF;
  margin-right: 1rem;
}


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

.project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.project-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 160px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  background: #e0e7ff;
  color: #333;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
}

.project-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #007BFF;
  margin-right: 1rem;
}

/* Dark mode support */
body.dark .project-card {
  background: #1e1e1e;
  border-color: #333;
  color: #f0f0f0;
}

body.dark .project-tags span {
  background: #333;
  color: #eee;
}

body.dark .project-links a {
  color: #00c6ff;
}


.project-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.project-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeZoomIn 0.5s ease-out;
}

.project-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.modal-gallery {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

body.dark .project-modal .modal-content {
  background: #1e1e1e;
  color: #eee;
}

body.dark .project-modal .close {
  color: #eee;
}



/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #f9f9f9;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}


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

.contact-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

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

.contact-card img {
  width: 40px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.contact-card h3 {
  margin-bottom: 0.3rem;
}

.contact-card a {
  color: #007BFF;
  font-weight: 500;
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background: #007BFF;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0056b3;
}

body.dark .contact-card {
  background: #1e1e1e;
  color: #eee;
}

body.dark .contact-card a {
  color: #00c6ff;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: #2a2a2a;
  color: #fff;
  border-color: #444;
}

body.dark .contact-form button {
  background: #00c6ff;
  color: #111;
}

body.dark .contact-form button:hover {
  background: #0072ff;
}


.contact-icons-banner {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-icons-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.form-status {
  margin-top: 1rem;
  font-weight: bold;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  display: none;
}

.form-status.success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  display: block;
}

.form-status {
  margin-top: 1rem;
  font-weight: bold;
  display: none;
}
.form-status.success {
  display: block;
  color: green;
}
.form-status.error {
  display: block;
  color: red;
}

.project-tags.strong-skills span {
  font-weight: bold;
  background-color: #e0f7ff;
  color: #007BFF;
  padding: 0.4rem 0.7rem;
  border-radius: 20px;
}

.edu-highlights {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.edu-highlights li {
  margin-bottom: 0.3rem;
  list-style-type: "✔️ ";
}

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

.achievement-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.2s;
}

.achievement-card:hover {
  transform: translateY(-4px);
}

.achievement-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.achievement-text {
  padding: 1rem;
}

.achievement-text h3 {
  margin-bottom: 0.5rem;
}

.achievement-org {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.6rem;
}

/* Align Achievements with the layout */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

/* Consistent card design */
.achievement-card {
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.achievement-card:hover {
  transform: translateY(-4px);
}

/* Resize image */
.achievement-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Text styling */
.achievement-text {
  flex: 1;
}

.achievement-text h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.achievement-org {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.4rem;
}

.achievement-text p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Dark mode support */
body.dark .achievement-card {
  background-color: #1e1e1e;
  border-color: #333;
}

body.dark .achievement-text p,
body.dark .achievement-org {
  color: #ccc;
}

.achievement-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.achievement-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.achievement-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.achievement-text {
  flex: 1;
}

.achievement-text h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.achievement-org {
  font-weight: bold;
  color: #555;
  margin-bottom: 6px;
}
