/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f5f2eb;
  color: #2c2c2c;
  line-height: 1.7;
}

/* HEADINGS */
h2 {
  font-size: 1.9rem;
  color: #1f3b4d;
  border-left: 1px solid #d5d4d2;
  padding-left: 12px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: left;
}

h3 {
  color: #1f3b4d;
  font-weight: 600;
  margin-bottom: 10px;
}

/* SECTIONS */
section {
  max-width: 1000px;
  margin: 70px auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background-color: #1f3b4d;
  color: #f8f6f0;
  padding: 50px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

header h1 {
  font-size: 2.7rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}

header p {
  font-size: 1.1rem;
  color: #d7d3c8;
}

/* ABOUT */
.about {
  text-align: center;
  margin-bottom: 70px;
}

.about img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  border: 4px solid #d3d3d3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  text-align: left;
  text-align-last: center;
}

/* CARDS (PROJECTS / SKILLS / EXPERIENCE) */
.projects,
.skills-list,
.experience-list {
  display: grid;
  gap: 25px;
}

.projects {
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
  gap: 25px;
}
.website-list {
  list-style-type: disc;
  padding: 20px 25px;
  margin-top: 15px;
}

.website-list li {
  margin: 8px 0;
}

.website-list a {
  color: #0078ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.website-list a:hover {
  color: #0056cc;
  text-decoration: underline;
}
.skills-list {
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
}

.project,
.skill-card,
.experience-item {
  background-color: #fffdf9;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.project:hover,
.skill-card:hover,
.experience-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.project p,
.experience-item p,
.skill-card ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

/* EXPERIENCE SPECIFIC */
.experience-list {
  display: flex;
  flex-direction: column;
}

.experience-item {
  border-left: 1px solid #d5d4d2;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.exp-date {
  font-size: 0.95rem;
  color: #d7d3c8;
  font-style: italic;
}

.exp-points {
  margin-top: 10px;
  padding-left: 20px;
  list-style-type: disc;
  line-height: 1.6;
}

.exp-points li {
  margin-bottom: 8px;
}

/* SKILLS SPECIFIC */
.skill-card h3 {
  font-size: 1.2rem;
}

.skill-card ul {
  padding-left: 20px;
  list-style-type: disc;
  line-height: 1.6;
}

.skill-card ul li {
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  background-color: #1f3b4d;
  color: #f8f6f0;
  text-align: center;
  padding: 25px 0;
  margin-top: 80px;
  font-size: 0.95rem;
  border-left: 1px solid #d5d4d2;
}

footer a {
  color: #0c70d4;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .project,
  .skill-card,
  .experience-item {
    padding: 15px 20px;
  }

  .exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .exp-date {
    font-size: 0.9rem;
  }

  .skills-list,
  .projects {
    grid-template-columns: 1fr; /* stack on small screens */
  }
}
/* Target all links inside the .about section */
a {
  color: #1a73e8; /* Google blue, change as needed */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make links stand out */
  transition: color 0.3s, text-decoration 0.3s; /* Smooth hover effect */
}

a:hover {
  color: #0c47b7; /* Darker blue on hover */
  text-decoration: underline; /* Underline on hover */
}

a:focus {
  outline: 2px dashed #1a73e8; /* Accessibility focus style */
  outline-offset: 2px;
}
