@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
}

/* Fixed Header */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #f8f9fa 100%, #e9ecef 0%);
  backdrop-filter: blur(20px);
  z-index: 1001;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.header-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.header-title {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.header-resume-btn {
  background: #4285f4;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-resume-btn:hover {
  background: #3367d6;
  transform: translateY(-1px);
}

.site-title-link {
  text-decoration: none;
  color: inherit; /* Keep original text color */
  display: inline-block;
}

.site-title-link h1,
.site-title-link p {
  margin: 0;
}

/* Navigation */
nav {
  position: fixed;
  /* top: 50%; */
  top: 1.5rem;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  transform: translateX(-50%);
  padding: 0.6rem 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: auto;
  max-width: 500px;
}

.logo {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  display: block;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: #333;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 2rem;
  background: linear-gradient(135deg, #f8f9fa 100%, #e9ecef 0%);
  color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.hero-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-image:hover {
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.hero-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-content .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-content .description {
  font-size: 1rem;
  color: #888;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #1a1a1a;
  color: white;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #ddd;
}

.btn-secondary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 3rem 5% 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* White sections */
#about,
#projects,
#contact {
  background: white;
  margin: 0;
  max-width: none;
  padding: 3rem 5% 2rem;
}

/* Grey sections */
#experience,
#skills,
#leadership {
  background: #f8f9fa;
  margin: 0;
  max-width: none;
  padding: 3rem 5% 2rem;
}

/* Experience page specific section */
.experience {
  padding: 8rem 5% 4rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #f8f9fa;
}

.title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

/* Content containers */
.about-content,
.projects-content,
.contact-content,
.experience-content,
.skills-content,
.leadership-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 625px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.about-text p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}

.stat-label {
  color: #666;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* Experience Section */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

/* Experience Container for experience page */
.experience-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.experience-card {
  background: white;
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.experience-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1px solid #eee;
}

.experience-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.3rem;
}

.google-logo {
  background: white;
  padding: 0.2rem;
}

.cornell-logo {
  background: white;
}

.fiu-logo {
  background: white;
}

.gambia-logo {
  background: white;
}

.elerus-logo {
  background: #f8f9fa;
}

/* Certification Logo Styles */
.ncsc-logo {
  background: #1e3a8a;
  color: white;
}

.javascript-logo {
  background: #f7df1e;
  color: #000;
}

.nodejs-logo {
  background: #339933;
}

.hackerrank-logo {
  background: #00ea64;
  color: #000;
}

.django-logo {
  background: #092e20;
}

.codepath-logo {
  background: #ff6b35;
  color: white;
}

/* Experience page specific logo styling for larger logos */
.experience-container .experience-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
  text-align: center;
  border: none;
  background: #f8f9fa;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color, #ddd);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.experience-card:nth-child(1) {
  --card-color: #4285f4;
}

.experience-card:nth-child(2) {
  --card-color: #6366f1;
}

.experience-card:nth-child(3) {
  --card-color: #ea4335;
}

.experience-card:nth-child(4) {
  --card-color: #34a853;
}

.experience-card:nth-child(5) {
  --card-color: #f59e0b;
}

.experience-card:nth-child(6) {
  --card-color: #8b5cf6;
}

.experience-card:nth-child(7) {
  --card-color: #06b6d4;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Card Header Layout for experience page */
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.card-info {
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.experience-date {
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.experience-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.experience-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--card-color, #f0f8ff);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.experience-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.experience-badge.link-badge {
  background: rgba(26, 26, 26, 0.1);
  color: #1a1a1a;
  border: 1px solid #ddd;
}

.experience-badge.link-badge:hover {
  background: #1a1a1a;
  color: white;
}

.experience-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}

/* Experience page specific h3 styling */
.experience-container .experience-card h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

.experience-company {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
}

/* Experience page specific company styling */
.experience-container .experience-company {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.experience-description {
  color: #555;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

/* Experience page specific description styling */
.experience-container .experience-description {
  margin-bottom: 1.5rem;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}

.experience-list li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: #555;
  line-height: 1.5;
  font-size: 0.9rem;
}

.experience-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--card-color, #666);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Achievements List for experience page */
.achievements {
  margin-top: 1rem;
}

.achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements li {
  padding: 0.6rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: #555;
  line-height: 1.6;
  font-size: 0.9rem;
  border-bottom: 1px solid #f5f5f5;
}

.achievements li:last-child {
  border-bottom: none;
}

.achievements li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--card-color, #666);
  font-weight: bold;
  font-size: 1.1rem;
}

.achievements strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.skill-category {
  padding: 1.8rem;
  background: white;
  border-radius: 12px;
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.skill-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-category h4 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  background: #f8f9fa;
  padding: 0.4rem 0.8rem;
  border-radius: 18px;
  font-size: 0.85rem;
  color: #666;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-image img {
  width: 80%;
  height: 80%;
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.project-card:hover .project-image img {
  transform: scale(2.05);
}

/* Fallback styling for projects without images */
.project-image-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5e6a9c 0%, #764ba2 100%);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
}

.project-content {
  padding: 1.8rem;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.project-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.tech-tag {
  background: #f5f5f5;
  color: #666;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #666;
}

/* Leadership Section */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.leadership-card {
  background: white;
  padding: 1.8rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.leadership-image {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.leadership-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 0.4rem;
}

.leadership-card:hover .leadership-image img {
  transform: scale(1.05);
}

.leadership-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}

.leadership-role {
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.leadership-description {
  color: #555;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

/* Contact Section */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 4rem;
}

.section__text__p1 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.3rem;
  background: #fafafa;
  border-radius: 50px;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-method:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.icon.contact {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer */
footer {
  background: #fafafa;
  padding: 2.5rem 5%;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  color: #666;
  font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .nav-links a {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 6rem 8% 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .experience-card {
    padding: 1.5rem;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .experience-container .experience-logo {
    width: 50px;
    height: 50px;
  }

  .card-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .experience-badges {
    width: 100%;
    justify-content: flex-start;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
  }

  .experience {
    padding: 6rem 8% 3rem;
  }

  .title {
    font-size: 2.2rem;
  }

  .fixed-header {
    padding: 1rem;
  }

  .header-name {
    font-size: 1.1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}
