/* GENERAL */

@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 {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn,
.icon {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
  cursor: pointer !important;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
  cursor: pointer !important;
}
.logos {
  font-size: 1.3rem;

}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.hamburger-icon:hover span {
  background-color: grey;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 55vh;
}
.animated-text {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  transition: all 0.3s ease-in-out;
}

.section__pic-container:hover {
  transform: scale(1.05);
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
  
}

.section__text__p1 {
  text-align: center;
;
}

.section__text__p2s {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 4rem;
  text-align: center;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(141deg, #969699, #1e1e22);
  -webkit-background-clip: text;
}
.titles {
  font-size: 4rem;
  text-align: center;
  
}


#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}


/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

.icon:hover {
  transform: scale(1.2);
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  /* -webkit-text-fill-color: transparent;
  background-image: linear-gradient(141deg, #969699, #1e1e22);
  -webkit-background-clip: text; */
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white; /* This will change the text color to white on hover */
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
  color: whi;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(141deg, #969699, #1e1e22);
  -webkit-background-clip: text;
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.details-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section-container {
  gap: 4rem;
  height: 80%;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
}
#experience {
  padding: 50px 20px;
  background-color: #f5f5f5;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}
#experiences {
  position: relative;
}
#experiences {
  padding: 50px 20px;
  background-color: #f5f5f5;
  
}
 


.section__text__p1, .title {
  text-align: center;
  margin-bottom: 20px;
}

.title {
  font-size: 2.5rem;
  color: #333;
}

.experience-details-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-card {
  background-color: white;
  border-radius: 15px;
  /* padding: 30px; */
  width: calc(100% - 15px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 430px; /* Reduced from 700px for better proportion, adjust as needed */
  max-width: 900px; /* Added max-width to prevent containers from becoming too wide */
  padding: 0rem;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.experience-sub-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.skills-container {
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 5fr));
  gap: 5px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.skill-item:hover {
  background-color: #f0f0f0;
}

.icon {
  width: 25px;
  height: 25px;
}

.skill-item h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #333;
}

.skill-item p {
  font-size: 0.9rem;
  margin: 0;
  color: #666;
}





#projects {
  position: relative;
}


.about-container {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 7rem; /* Reduced from 200rem to a more reasonable spacing */
  margin-bottom: 5rem; /* Reduced from 20rem for better proportion */
  margin-top: 2rem;
}

.details-containers {
  /* display: flex; */
  flex: 1; /* This allows the containers to grow and fill available space */
  background:  #eceff1;
  border-radius: 2rem;
  /* border: 0.1rem solid rgb(163, 163, 163); */
  text-align: center;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  position: relative;
  height: 430px; /* Reduced from 700px for better proportion, adjust as needed */
  max-width: 900px; /* Added max-width to prevent containers from becoming too wide */
  padding: 0rem; /* Added some padding inside the containers */
}

.details-containers:hover {
  transform: scale(1.02); /* Zoom in to 105% of original size */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Increased shadow for more depth */
}

.content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  /* margin-left: 20px;
  margin-top: 70px; */
  height: 450px; /* Reduced from 700px for better proportion, adjust as needed */
  max-width: 900px; /* Added max-width to prevent containers from becoming too wide */
  padding: 0rem;
}
.text-content {
  padding: 2rem;
  max-width: 600px; /* Adjust as needed */
  text-align: left;
  padding-left: 60px;
}


.experience-sub-title.project-titles {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0rem;
  font-weight: bold;
  text-align: left;
  /* -webkit-text-fill-color: transparent;
  background-image: linear-gradient(141deg, #969699, #1e1e22);
  -webkit-background-clip: text; */
  background-clip: text;
  max-width: 380px;
}

.description-large {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  max-width: 380px;
}

.description-medium {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  /* text-align: center; */
  max-width: 380px;
  word-break: break-word;
  
}
.description-mediums {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  text-align: center;
  max-width: 380px;
  word-break: break-word;
  
}
.logo-img {
  max-width: 100px; /* Match the max-width of .description-medium */
  width: 100%; /* Make it responsive */
  height: auto; /* Maintain aspect ratio */
 /* Match the margin-bottom of .description-medium */
  display: block; /* Remove any inline spacing */
}
.logo-imgs {
  max-width: 200px; /* Match the max-width of .description-medium */
  width: 100%; /* Make it responsive */
  height: auto; /* Maintain aspect ratio */
 /* Match the margin-bottom of .description-medium */
  display: block; /* Remove any inline spacing */
  margin-left: 60px;
  margin-bottom: 20px;
}
.description-small {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.project-btns {
  background-color: #ffffff;
  border: none;
  margin-top: 20px;
  font-size: 1rem;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 10px 20px;
  text-align: left;
  width: 40%; /* or any specific width */
  
}

.project-btns:hover {
  transform: translateY(-3px);
  background-color: #c1c5c5;
}
.project-btns p {
-webkit-text-fill-color: transparent;
  background-image: linear-gradient(141deg, #969699, #1e1e22);
  -webkit-background-clip: text;
  line-height: 2;
}
.project-btnss {
  background-color: #ffffff;
  border: none;
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 1rem;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 10px 30px;
  margin-left: 80px;
  text-align: left;
  width: 40%; /* or any specific width */
  
}

.project-btnss:hover {
  transform: translateY(-3px);
  background-color: #c1c5c5;
}
.project-btnss p {
-webkit-text-fill-color: transparent;
  background-image: linear-gradient(141deg, #969699, #1e1e22);
  -webkit-background-clip: text;
  line-height: 2;
}



.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.image-container {

  height: 100%;
  width: 50%;
  position: relative;
  padding-top: 50px;
}
.image-containers {

  height: 100%;
  width: 50%;
  position: relative;
 
}
.project-img {
  /* margin-right: -100px; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 2rem;
  transition: all 0.3s ease-in-out;
}
.project-imgs {
  /* margin-right: -100px; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  transition: all 0.3s ease-in-out;
}
.project-title {
  position: absolute;
  bottom: 80px; /* Adjust as needed */
  left: 20px;
  color: white;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.project-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background-color: transparent;
  border: 2px solid white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.details-containers:hover .project-title,
.details-containers:hover .project-btn {
  opacity: 1;
}

.project-btn:hover {
  background-color: white;
  color: rgb(255, 250, 250);
}


/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

/* .contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
  transition: all 0.3s ease-in-out;
}

.contact-info-container:hover {
  transform: scale(1.05);
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
} */

/* FOOTER SECTION */

footer {
  
  background:  #eceff1;
  height: 16vh;
  /* margin: 0 0rem; */
}
.nav-links-container{
  display: flex;
  margin-top: 20px;
  gap: 700px;
}
.navcontainer{
  display: grid;
}

footer p {
  text-align: center;
}

/* Contact.html css */


  #contact {
    padding: 40px;
    background-color: #f4f4f4;
    text-align: center;
  }
  .section__text {
    margin-bottom: 20px;
  }
  /* .titles {
    font-size: 28px;
    font-weight: bold;
    color: #333;
  } */
  .animated-text {
    animation: fadeIn 1s ease-in-out;
  }
  .section__text__p2 {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
  }
  .contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  .contact-form-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  form label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    text-align: left;
  }
  form input,
  form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
  }
  form input:focus,
  form textarea:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }
 
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

