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


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

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 449;
  font-style: normal;
  background-color: #fafafa;
  color: black;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px;
  padding-top: 0px;
}

main {
  width: 100%;
  max-width: 900px;
}

/* Profile Header Layout */

.profile-header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  gap: 24px;
  padding: 32px 0 16px 0;
  /* background-color: #fff; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  margin-bottom: 10px;
}


.profile-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1; 
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.8);
  object-position: -5px 20%;
}

.profile-info h1 {
  font-size: 20px;
  font-weight: 700;
  color: black;
}

.profile-info .subtitle {
  font-size: 16px;
  color: black;
  margin-top: 8px;
  margin-bottom: 16px;
}

.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

svg.lucide {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  vertical-align: middle;
  margin-right: 8px;
}

.image-box {
  flex-shrink: 0; 
  width: 40%;
  height: 150px;
  background-color: #e0e0e0;
  border-radius: 8px;
}

.image-box {
  flex: 0 0 40%;
  height: 150px;
  border-radius: 8px;
  background-image: url('images/alexandre-cabanel-painting-angel-fallen-angel-hd-wallpaper-preview.jpg'); /* your image path */
  background-size: cover;       /* makes it fill the box */
  background-position: center;  /* centers the image */
  background-repeat: no-repeat;
}


/* General Elements */

hr {
  height: 2px;
  background-color: #000;
  border: none;
  border-radius: 8px;
}

.section-title {
margin-bottom: 20px;
margin-top: 20px;
font-size: 15px;
}

 
/* About Me */

.about-me-card { 
  display: flex; 
  align-items: center; 
  background-color: #fff; 
  border-radius: 8px; 
  padding: 32px; 
  padding-left: 20px; 
  padding-right: 20px; 
  padding-bottom: 20px; 
  padding-top: 20px;
  gap: 24px; 
  text-align: justify;
  line-height: 2;
  font-size: 14px;
  border: 1px solid #ADADAD; 
  margin-bottom: 25px;
}


/* Education */

.education-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap; 
}

.education-card {
  flex: 1;
  min-width: 300px; 
  background-color: #fff;
  border: 1px solid #ADADAD;
  border-radius: 8px;
  padding: 20px 20px;
  line-height: 2;
  margin-bottom: 25px;
}

.education-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.education-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  color: black;
  font-size: 13px;
}

/* My Skills */

.skills-container {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 25px;
}

.skills-card {
  flex: 0 0 calc(75% - 10px); /* Adjusted to leave space for gap */
  background-color: #fff;
  border: 1.5px solid #ADADAD;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 2;
  box-sizing: border-box;
}

.skills-image-box {
  position: relative;
  flex: 0 0 calc(25% - 10px);
  border-radius: 8px;
  min-height: 120px;
  box-sizing: border-box;
  border: 1.5px solid #ADADAD;
  overflow: hidden;
  background-color: #e0e0e0;
}

/* main visible image layer */
.skills-image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}


.skill-category {
  font-weight: 600;
}

/* My Projects */

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  margin-bottom: 25px;
}

.project-card {
  background-color: #fff;
  border: 1.5px solid #ADADAD;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
}

.project-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-card ul {
  font-size: 13px;
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}


/* Organizations Involved */

.orgs-container {
  display: flex;
  gap: 20px; 
}

.org-card {
  flex: 1; 
  background-color: #fff;
  border: 1.5px solid #ADADAD;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 2;
  box-sizing: border-box;
}

.org-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.org-card ul {
  font-size: 13px;
  list-style-type: disc;
  padding-left: 20px;
  margin: 0 0 20px 0;
}

.org-card p {
  text-align: justify;
}



/* Responsive fix for Profile Header */
@media (max-width: 768px) {
  .profile-header {
    flex-wrap: wrap;         /* ensures it won’t overflow horizontally */
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .profile-left {
    flex: 1 1 100%;          /* allow it to shrink or grow within container */
    gap: 12px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-info h1 {
    font-size: 12px;
  }

  .profile-info .subtitle {
    font-size: 10px;
    margin: 4px 0 8px 0;
  }

  .contact-info {
    font-size: 8px;
    gap: 6px;
  }

  svg.lucide {
  width: 8px;
  height: 8px;
  stroke-width: 2.5;
  vertical-align: middle;
  margin-right:1px;
}

.image-box {
  display: none;
}

.education-container {
  gap: 0px;

}

}


@media (max-width: 768px) {
  .skills-container {
    flex-direction: column; /* stack them on top of each other */
    gap: 16px; /* smaller gap for mobile */
  }

  .skills-card,
  .skills-image-box {
    flex: 1 1 100%; /* make them full width */
    width: 100%;
  }

  .skills-card {
    font-size: 13px; /* optional - slightly smaller text for mobile */
    padding: 14px 16px;
  }

  .skills-image-box {
    min-height: 180px; /* a bit taller for mobile look */
  }
}


@media (max-width: 768px) {
  .orgs-container {
    flex-direction: column; /* stack them vertically */
    gap: 16px; /* smaller spacing between cards */
  }

  .org-card {
    width: 100%; /* make them full width */
    font-size: 13px; /* slightly smaller font for mobile */
    padding: 14px 16px;
  }

  .org-card h3 {
    font-size: 13px;
  }

  .org-card ul {
    font-size: 12.5px;
  }
}

