/* Reset & basics */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Gothic A1", sans-serif;
  background: #fff;
  color: #111;
}

/* === About Profile Section === */
.s-about__section--profile {
  position: relative;
  padding-top: 8rem;
  min-height: 400px;
}
.s-about__section--profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 80%;
  width: 1px;
  height: 100%;
  background: #b3c2c1;
}
.profile-pic {
  position: absolute;
  top: 8rem;
  left: calc(50% + 80px);
  width: 24vw;
}

.education-certifications,
.skills {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: "Gothic A1", sans-serif;
  color: #111;
}

.education-certifications h2,
.skills h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #222;
  border-bottom: 3px solid #f9861a; /* accent orange line */
  padding-bottom: 0.4rem;
}

.education-item,
.certification-item {
  margin-bottom: 2rem;
}

.education-item h3,
.certification-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #0077b5; /* blue accent */
}

.degree,
.course {
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.award-date {
  font-style: italic;
  color: #555;
  margin-bottom: 0.8rem;
}

.description {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #444;
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: "Gothic A1", sans-serif;
}

.card {
  background: #f9861a; /* orange background */
  color: white;
  border-radius: 12px;
  padding: 1.8rem 2rem;
  box-shadow: 0 6px 18px rgba(249, 134, 26, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(249, 134, 26, 0.8);
}

.card h3 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid white;
  padding-bottom: 0.3rem;
  font-weight: 700;
}

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

.card ul li {
  margin: 0.5rem 0;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card ul li i {
  font-size: 1.6rem;
  line-height: 1;
  width: 24px; /* fix width for alignment */
  text-align: center;
}

/* Responsive for smaller screens */
@media (max-width: 640px) {
  .skills-cards {
    grid-template-columns: 1fr;
  }
}

/* === Portfolio Section === */
.s-portfolio {
  padding: 10rem 2rem 6rem;
  background-color: #1d1b37;
  position: relative;
  overflow: hidden;
}
.s-portfolio::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}
.s-portfolio__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.portfolio-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.folio-item__thumb {
  position: relative;
  overflow: hidden;
  height: 160px;
  margin-bottom: 1.2rem;
}
.folio-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.folio-item__thumb:hover img {
  transform: scale(1.05);
}
.portfolio-card h3 {
  font-size: 2.2rem;
  margin: 0 0 0.8rem;
  font-weight: 700;
  color: #000;
}
.portfolio-card p {
  font-family: "Martel", serif;
  font-size: 1.8rem;
  line-height: 1.8;
  color: #5a5a5a;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.tech-tag {
  background: #f8f8f8;
  color: #555;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.3rem;
  cursor: default;
  transition: background-color 0.3s ease;
}
.tech-tag:hover {
  background: #f9861a;
  color: #fff;
}

/* Footer wrapper */
.custom-footer {
  background-color: #1c1c1e;
  color: white;
  padding: 2rem 1rem;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Contact form container */
.footer-contact {
  max-width: 420px;
  margin: 0 auto 2rem auto;
}

.footer-contact h3 {
  color: white;  /* Make heading text white */
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
}


/* Form layout: stacked inputs */
.footer-contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Inputs and textarea style */
.footer-contact input,
.footer-contact textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
  background-color: white;   /* Changed from dark to white */
  color: #000;               /* Change text color to black for contrast */
  resize: vertical;
  transition: background-color 0.3s ease;
}

.footer-contact input::placeholder,
.footer-contact textarea::placeholder {
  color: #666;               /* Darker placeholder for white background */
}

/* Input focus style */
.footer-contact input:focus,
.footer-contact textarea:focus {
  outline: 2px solid #0077b5;
  background-color: #e6f0fa; /* Light blue background on focus */
  color: #000;
}

/* Submit button style */
.footer-contact button {
  background-color: #0077b5; /* LinkedIn blue */
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* Button hover effect */
.footer-contact button:hover {
  background-color: #005f8d;
}

/* Bottom footer section */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 1rem;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: white;
  font-size: 0.9rem;
}

/* Social icon container */
.footer-social {
  display: flex;
  gap: 1.2rem;
}

/* Social icons style */
.footer-social a {
  color: white;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

/* Social icon hover color */
.footer-social a:hover {
  color: #0077b5;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .footer-contact {
    max-width: 100%;
    padding: 0 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
  }
}
/* Fixed footer with thinner height */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0.8rem 1rem;       /* less vertical padding */
  font-size: 0.85rem;        /* smaller font */
  background-color: #1c1c1e;
  color: white;
  text-align: center;
}

/* Adjust body padding to avoid content hidden behind footer */
body {
  padding-bottom: 50px;      /* less padding for thinner footer */
}

/* Footer bottom section layout */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: white;
}

/* Social icons size smaller */
.footer-social a {
  font-size: 1.2rem;
}

/* Optional: reduce icon spacing */
.footer-social {
  gap: 0.8rem;
}
