:root {
  --text-color: #1a1c20;
  --link-color: #4a76ee;
  --background-color: #eeeff1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

sql {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  max-width: 1400px;
  margin: 0 auto;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  height: 80px;
}



/* Add this block: */
nav .left .site-title {
  color: var(--text-color);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: default;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  display: inline-block;
}

nav .right a {
  color: var(--text-color);
  margin: 0 10px;
}

nav .right a:last-child {
  color: var(--background-color);
  background-color: var(--text-color);
  padding: 5px 15px;
  border-radius: 5px;
}

nav .right a span {
  margin-left: 5px;
}

/* SECTION 1: Hero */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin: 50px 0;
  margin-bottom: 100px;
  gap: 40px;
  margin-top: 100px;
}

.hero-section .text {
  flex: 5;
}

.hero-section .text h2 {
  font-size: 45px;
}

.hero-section .text .links {
  margin-top: 25px;
}

.hero-section .text .links a {
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid var(--link-color);
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: .1s;
}

.hero-section .text .links a:hover {
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.hero-section .headshot {
  flex: 2;
  display: flex;
  justify-content: right;
}

.hero-section .headshot img {
  width: 350px;
  border-radius: 50%;
}

/* SECTION 2: Skills */
.skills-section {
  padding: 0 10px;
  margin-bottom: 100px;
  margin-top: 160px;
}

.skills-section h2 {
  text-align: center;
  font-size: 35px;
}

.skills-section .text {
  text-align: center;
  margin-bottom: 20px;
}

.skills-section .cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.skills-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 180px;
  padding: 10px 10px;
  margin: 10px;
  border: 1.5px solid var(--link-color);   /* Blue border by default */
  border-radius: 5px;
  height: 45px;                          /* Fixed height for all buttons */
  background: #fff;
  color: var(--text-color);
  transition: border 0.17s, color 0.17s, background 0.18s;
  cursor: pointer;
  box-shadow: none !important;
}

.skills-section .cells .cell img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 2px;
}

.skills-section .cells .cell span {
  font-size: 18px;
  white-space: nowrap;
  transition: color 0.17s, font-weight 0.17s;
}

/* --- SKILL BUTTON HOVER (like your main button, NO blue fill, NO glow) --- */
.skills-section .cells .cell:hover,
.skills-section .cells .cell:focus {
  border: 2.5px solid var(--text-color);   /* Black border on hover */
  background: #fff;                        /* White background */
  color: var(--text-color);                /* Text turns black */
  box-shadow: none !important;
}

.skills-section .cells .cell:hover span,
.skills-section .cells .cell:focus span {
  color: var(--text-color);
  font-weight: 600;
}

/* SECTION 3: Projects */
.projects-section {
  padding: 0 10px;
  margin-bottom: 100px;
}

.projects-section h2 {
  text-align: center;
  font-size: 35px;
}

.projects-section .text {
  text-align: center;
  margin-bottom: 40px;
}

.projects-section .project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.projects-section .project-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-section .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.projects-section .project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.projects-section .project-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.projects-section .project-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.projects-section .project-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0077b5;
  text-decoration: none;
  font-weight: 600;
}

.projects-section .project-card a:hover {
  text-decoration: underline;
}

/* SECTION 4: Contact */
.contact-section {
  padding: 0 10px;
  margin-bottom: 100px;
}

.contact-section h2 {
  font-size: 35px;
}

.contact-section .group {
  display: flex;
  gap: 50px;
}

.contact-section .group .text {
  flex: 3;
  margin-top: 20px;
}

.contact-section .group form {
  flex: 3;
  display: flex;
  flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
  font-family: 'Poppins', sans-serif;
  border: 2px solid var(--link-color);
  background-color: transparent;
  padding: 10px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
}

.contact-section .group form button {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: var(--link-color);
  border: none;
  height: 50px;
  cursor: pointer;
  transition: .1s;
}

.contact-section .group form button:hover {
  filter: brightness(.9);
}

@media (max-width: 850px) {
  /* SECTION 1: Hero */
  .hero-section .text h2 {
    font-size: 35px;
  }
}

@media (max-width: 740px) {
  /* SECTION 1: Hero */
  .hero-section {
    flex-direction: column-reverse;
  }

  .hero-section .headshot img {
    width: 300px;
  }

  /* SECTION 3: Testimony */
  .testimony-section {
    text-align: center;
  }

  .testimony-section .group {
    flex-direction: column;
  }

  /* SECTION 4: Contact */
  .contact-section .group {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  /* NAVBAR */
  nav {
    padding: 0 10px;
  }

  nav .right a {
    font-size: 22px;
  }

  nav .right a:last-child {
    color: var(--text-color);
    background-color: transparent;
    padding: 0;
  }

  nav .right a span {
    display: none;
  }

  /* SECTION 1: Hero */
  .hero-section {
    padding: 0 10px;
  }

  .hero-section .text h2 {
    font-size: 30px;
  }

  /* SECTION 2: Skills */
  .skills-section {
    padding: 0 10px;
  }

  .skills-section .cells .cell span {
    font-size: 16px;
  }

  /* SECTION 3: Testimony */
  .testimony-section {
    padding: 0 10px;
  }

  /* SECTION 4: Contact */
  .project-section {
    padding: 0 10px;
  }
}


.resume-download {
  margin-top: 20px;
  text-align: center;
}

.resume-download a {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  background-color: #28a745; /* Green color for download button */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.resume-download a:hover {
  background-color: #218838; /* Darker green on hover */
}

.resume-download i {
  margin-right: 10px;
}

/* SECTION 3: Experience */
.experience-section {
  padding: 0 10px;
  margin-bottom: 100px;
}

.experience-section h2 {
  text-align: center;
  font-size: 35px;
}

.experience-section .text {
  text-align: center;
  margin-bottom: 40px;
}

.experience-section .experience-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.experience-section .experience-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-section .experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.experience-section .experience-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.experience-section .experience-card .company {
  font-size: 18px;
  color: #0077b5;
  margin-bottom: 5px;
}

.experience-section .experience-card .duration {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.experience-section .experience-card ul {
  list-style-type: disc;
  padding-left: 20px;
}

.experience-section .experience-card ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 10px 0;
  margin-top: 50px;
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

footer .social-links a {
  color: #333;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #0077b5;
}

footer p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.hero-section .text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.hero-section .text.visible {
  opacity: 1;
  transform: translateY(0);
}

.headshot img {
  opacity: 0;
  transform: translateX(-60px);
}
/* Start with skills logos hidden and left-shifted */
.skills-section .cell {
  opacity: 0;
  transform: translateX(-40px);
}
.skills-section .cell.animated-in {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1);
}

/* SECTION 5: Recommendations */
/* Recommendations Section */
.recommendations-section {
  padding: 4rem 2rem;  
  text-align: center; /* Center all text in the section */
}

.section-header {
  max-width: 800px;
  margin: 0 auto 3rem; /* Center the header content */
}

.recommendations-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.recommendations-section .subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  text-align: center; /* Explicitly center the subtitle */
  margin: 0 auto; /* Center the paragraph */
}

.recommendation-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Rest of your existing card styles remain the same */

.recommendation-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.recommendation-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  width: 320px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-align: center;
}

.recommendation-card:hover {
  transform: translateY(-6px);
}

.recommendation-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.recommendation-card .testimonial-text {
  font-style: italic;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.recommendation-card h3 {
  margin: 0;
  font-size: 18px;
  color: #003087; /* Amex Blue */
  font-weight: 600;
}

.recommendation-card span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 2px;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .recommendation-card {
    width: 90%;
  }
}

