/* ================================
   ROOT / TYPOGRAPHY
   ================================ */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* ================================
   FOCUS / ACCESSIBILITY (Bootstrap-related)
   ================================ */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ================================
   PAGE / LAYOUT BASE
   ================================ */
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #ffffff;
}

/* ================================
   FORM FLOATING PLACEHOLDERS (Bootstrap)
   ================================ */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* ================================
   PROFILE SECTION
   ================================ */
#profile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 96px;
}

#profile .title {
  font-size: 3rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.5rem;
  text-align: center;
}

#profile .section__pic-container {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  margin-top: 96px;
  margin-left: 96px;
}

#profile .section__pic-container img {
  width: 250%;
  height: 250%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

#profile .section__text {
  margin-top: 210px;
  margin-right: 96px;
}

#profile .btn-container {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ================================
   ABOUT SECTION
   ================================ */
#about {
  margin-top: 450px;
}

#about .section__text__p1,
#about .title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  
}

#about .title {
  font-weight: 800;
  font-size: 3rem;
  color: #000000;
}

#about .section-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5in;
  flex-wrap: nowrap;
}

#about .about-details-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about .text-container {
  margin-top: 80px;
}

#about .about-collage-banner {
  width: 100%;
  max-width: 900px;
  margin-top: 24px;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

#about .collage-track {
  display: flex;
  gap: 1rem;
  padding: 0 0.25rem;
}

#about .collage-img {
  width: 180px;
  height: 120px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
}

#about .about-education-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  background-color: #ffffff;
  max-width: fit-content;
  margin: 16px auto 0;
}

#about .section__pic-container {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  margin-top: 96px;
  margin-left: 96px;
}

#about .section__pic-container img {
  width: 100%;
  height: 100%;
  border-radius: 60%;
  object-fit: cover;
  display: block;
}

#about .about-containers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  background-color: #ffffff;
  max-width: fit-content;
  margin: 0 auto 90px;
  flex-wrap: wrap;
}

#about .details-container {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: center;
}

#about .education-card {
  border: none;
  border-radius: 0;
}

#about .details-container .icon {
  grid-row: 1 / 3;
}

#about .details-container h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

#about .details-container p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
}
/* ================================
   SOCIALS CONTAINER
   ================================ */
#socials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#socials-container .icon {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

#socials-container .icon:hover {
  background-color: #d9d9d9;
}
/* ================================
   TEXT CONTAINER
   ================================ */

#profile .section__text__p1,
#profile .section__text__p2 {
  text-align: center;
  font-weight: 1000;
  font-size: 1.2rem;
  color: #333333;
}

/* ================================ */


/* ================================
   HEADER NAV (Name left, links right — clean spacing)
   ================================ */
#hamburger-nav {
  display: flex;
  align-items: center;

  padding: 1rem 3rem;

  /* keeps the header from stretching too wide on huge screens */
  max-width: 1200px;
  margin: 0 auto;
}

#hamburger-nav .logo {
  font-size: 1.6rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  color: #000;
}

#hamburger-nav .hamburger-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* prevent dropdown behavior and show links inline */
#hamburger-nav .menu-links {
  position: static;
  display: block;
  width: auto;
  height: auto;
}

#hamburger-nav .menu-links ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

#hamburger-nav .menu-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  color: #000;
}

#hamburger-nav .menu-links a:hover {
  text-decoration: underline;
}

/* Hide hamburger icon (desktop-style header) */
#hamburger-nav .hamburger-icon {
  display: none;
}

/* ================================
   NAV LINKS (Desktop / Footer)
   ================================ */
.nav-links a {
  font-weight: 700;
  color: #000000;
}

.nav-links a:hover {
  color: #000000;
  text-decoration: underline;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact-section {
  text-align: center;
  padding: 4rem 1rem;
}

.contact-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.contact-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
}
/*this is how to make the contact the card*/
.contact-card {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;

  border: 2px solid #e5e7eb;
  border-radius: 999px;
  background-color: #ffffff;

  max-width: fit-content;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  text-decoration: none;
  font-weight: 500;
  color: #212529;
}
/*this is how to make the contact the card*/
.contact-item:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

#contact {
  margin-top: 800px;
  margin-bottom: 10rem;
}

/* =========================================
   PROJECTS SECTION (Centered heading + 3 cards in a row)
   ========================================= */
#projects {
  text-align: center;
}

#projects.projects-section {
  padding: 4rem 1rem;
}

#projects .section__text__p1,
#projects .title {
  text-align: center;
}

#projects .title {
  font-size: 3rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.5rem;
}

#projects .section__text__p1 {
  margin-bottom: 0.5rem;
}

#projects .projects-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 2rem !important;

  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 2rem auto 0 !important;
  padding: 0 1rem !important;
}

#projects .project-card {
  flex: 0 0 320px !important;
  max-width: 320px !important;

  border: 2px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  padding: 1.5rem !important;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
  text-align: center !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
}

#projects .project-card-link {
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#projects .project-card-link:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border-color: #d1d5db !important;
}

#projects .project-card-link:hover .project-btn {
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #111827 !important;
}

#projects .project-img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

/* Responsive wrap */
@media (max-width: 1100px) {
  #projects .projects-grid {
    flex-wrap: wrap !important;
  }

  #projects .project-card {
    flex: 0 0 340px !important;
    max-width: 340px !important;
  }
}

@media (max-width: 500px) {
  #projects .project-card {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================
   EXPERIENCE SECTION
   ========================================= */
#experience {
  margin-top: 350px;
  margin-bottom: 300px;
}

#experience .title {
  margin-bottom: 150px !important
}

#experience .section__text__p1,
#experience .title {
  text-align: center;
}

#experience .title {
  font-size: 3rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.5rem;
}

#experience .section__text__p1 {
  margin-bottom: 0.5rem;
}

/* Frontend/Backend cards container row */
#experience .about-containers {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

#experience .details-container.skills-container,
#experience .ai-tools-container.skills-container {
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  background-color: #ffffff;

  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

  flex: 0 0 360px;
  max-width: 360px;
}

/* Card title */
#experience .experience-sub-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Skills list */
#experience .article-container,
#experience .ai-tools-article-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

#experience article {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#experience article img.icon {
  width: 22px;
  height: 22px;
}

#experience article h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

#experience article p {
  margin: 0;
  font-size: 0.85rem;
  color: #6c757d;
}

@media (max-width: 600px) {
  #experience .article-container {
    grid-template-columns: 1fr;
  }
}

