@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --Background: #f5f5f5;
  --PrimaryText: #333333;
  --SecondaryText: #555555;
  --BtnBackground: #1e90ff;
  --BtnText: #ffffff;
  --BtnAccent: #ffa500;
  --TextHover: #1e90ff;
}
* {
  font-family: "Poppins", serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f5f5f5;
}
/* NavBar */
.relative a {
  color: var(--PrimaryText);
  transition: color 0.3s ease, transform 0.3s ease;
}
.relative a:hover {
  color: var(--TextHover);
  transform: scale(1.05);
}
/* End NavBar */

#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  /* background: linear-gradient(to bottom, #ffffff, #f3f3f3); */
  text-align: center;
  gap: 1rem; /* Reduced gap between sections */
}

/* Title and Intro Text */
.section__text__p1 {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #222;
  letter-spacing: -0.05rem;
}

/* About Section Layout */
.section-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem; /* Tighter gaps between elements */
  max-width: 1100px;
  margin: 0 auto;
}

/* Profile Picture */
.section__pic-container-about {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.about-pic {
  width: 100%;
  border-radius: 1.2rem;
  border: 0.2rem solid #ddd;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-pic:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* About Details */
.about-details-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Reduced vertical spacing between cards */
  justify-content: center;
}

.details-container {
  flex: 1;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 2rem;
  border: 0.1rem solid #e0e0e0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  max-width: 350px;
  margin: 1.5rem;
}

.details-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.details-container h3 {
  font-size: 1.2rem;
  margin: 0.8rem 0 0.3rem;
  color: #222;
}

.details-container p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin: 0.3rem 0;
}

.icon {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #007bff;
  font-size: 1.8rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.icon:hover {
  color: #0056b3;
  transform: scale(1.1);
}

/* Text Block */
.text-container {
  padding: 1rem 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid #e0e0e0;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-align: justify;
  display: block;
  unicode-bidi: isolate;
  margin: 1.5rem;
}

/* Arrow Button */
.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 0;
  width: 45px;
  height: 45px;
  background-color: #007bff;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.arrow:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.arrow svg {
  width: 20px;
  height: 20px;
}
.about-containers {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.details-container a {
  color: inherit;
  text-decoration: inherit;
  align-items: center;
  display: flex;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-container {
    flex-direction: column; /* Stack content for tablets */
    align-items: center;
    gap: 2rem;
  }

  .section__pic-container-about {
    max-width: 350px; /* Reduce image size */
  }

  .details-container {
    max-width: 90%; /* Fit within the screen */
  }
}

@media (max-width: 768px) {
  #about {
    padding: 2rem 1rem; /* Adjust padding for smaller screens */
  }

  .title {
    font-size: 2rem; /* Reduce title font size */
  }

  .section__pic-container-about {
    max-width: 300px; /* Further reduce image size */
  }

  .text-container {
    font-size: 0.95rem; /* Adjust font size for readability */
  }

  .arrow {
    width: 40px;
    height: 40px; /* Smaller arrow button */
  }

  .arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .section-container {
    gap: 1.5rem;
  }

  .title {
    font-size: 1.8rem;
  }

  .section__pic-container-about {
    max-width: 250px;
  }

  .text-container {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .details-container {
    margin: 1rem auto;
  }
}
/* General section styling */
section {
  padding: 4vh 2rem;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  text-align: center;
  box-sizing: border-box;
}
#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Full viewport height */
  text-align: center; /* Center text alignment */
}
/* Profile image */
.section__pic-container img {
  height: 300px;
  width: 300px;
  border-radius: 50%;
  object-fit: cover;
  /* margin: auto; */
  border: 4px solid #4f46e5;
}
.section__pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.section__pic:hover {
  transform: scale(1.1); /* Zoom in */
}

/* Text styling */
.section__text__p1 {
  font-size: 1.5rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin: 0.5rem 0;
}

.skills {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-secondary {
  background-color: #10b981;
  color: white;
}

.btn-secondary:hover {
  background-color: #047857;
}

.icon-size {
  height: 1.25rem;
  width: 1.25rem;
}

/* Social icons */
#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.social-icon {
  color: #6b7280;
  transition: color 0.3s ease;
}

.social-icon.linkedin:hover {
  color: #2563eb;
}
.social-icon.gitHub:hover {
  color: black;
}
.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive design */
@media (max-width: 1024px) {
  section {
    flex-direction: column;
    gap: 2rem;
  }

  .section__pic-container img {
    height: 250px;
    width: 250px;
  }

  .title {
    font-size: 2rem;
  }

  .skills {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 768px) {
  section {
    text-align: center;
    padding: 4vh 1.5rem;
  }

  .section__pic-container img {
    height: 200px;
    width: 200px;
  }

  .section__text__p1 {
    font-size: 1.25rem;
  }

  .title {
    font-size: 1.75rem;
  }

  .skills {
    font-size: 0.95rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .section__pic-container img {
    height: 150px;
    width: 150px;
  }

  .section__text__p1 {
    font-size: 1rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .skills {
    font-size: 0.85rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  #socials-container {
    gap: 0.5rem;
  }

  .icon-size {
    height: 1rem;
    width: 1rem;
  }
}
.bg-gray-50 {
  transition: box-shadow 0.2s, transform 0.2s;
}
.bg-gray-50:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 1.5px 4px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px) scale(1.02);
}
