@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&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
  /* button */
  --green: var(24, 190, 154);

  /* social-icon */

  --black: var(59, 59, 59);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: rgb(236, 240, 243);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 260px;
  padding-left: 240px;
  padding-top: 20px;
  padding-bottom: 20px;
  z-index: 1000;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 1px #333;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.name {
  color: rgb(3, 59, 74);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
}

.nav-bar {
  display: flex;
  gap: 30px;
}

.nav-bar li {
  list-style: none;
}

.nav-bar li a {
  text-decoration: none;
  color: rgb(3, 59, 74);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-bar li a:hover {
  color: rgb(24, 190, 154);
}

main {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  padding-bottom: 200px;
  padding-top: 100px;
}

.left h5 {
  color: rgb(24, 190, 154);
  font-size: 22px;
  margin-left: 240px;
  margin-top: 175px;
}

.left h1 {
  color: rgb(3, 59, 74);
  font-size: 60px;
  white-space: nowrap;
  margin-left: 240px;
  margin-right: 180px;
  text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.2);
}

.left h4 {
  font-size: 20px;
  color: rgb(3, 59, 74);
  margin-bottom: 30px;
  font-weight: 600;
}

.social-icon {
  font-size: 30px;
  gap: 20px;
  color: #fff;
  margin-bottom: 20px;
}

.social-icon a {
  margin: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 5px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.5s ease;
  text-decoration: none;
}

button {
  background-color: rgb(24, 190, 154);
  color: #fff;
  padding: 10px;
  width: 14%;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.6s ease;
  margin-top: 20px;
}

button i {
  padding-left: 6px;
}

button:hover {
  background-color: #129075;
}

.social-icon a:hover {
  background-color: #18be9a;
  color: white;
  transform: scale(0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.left h4,
h5,
.social-icon,
button {
  margin-left: 240px;
}

.right {
  flex: 1;
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  padding-right: 100px; 
}

.right img {
  width: 450px; 
  height: auto;
  margin-right: 100px;
  filter: drop-shadow(0 2px 8px #2c3b37);
  box-shadow: 1px 1px 1px #06D6A0;
  border-radius: 70px;
}

#about-me {
  background-color: #fff;
  padding-top: 20px;
  padding-bottom: 75px;
}

.about-name {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  font-size: 35px;
  font-weight: 800;
  display: inline-block;
  padding-bottom: 4px;
  margin-left: 638px;
  position: relative;
  color: rgb(3, 59, 74);
}

.about-name::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50%; 
  height: 3px;
  background-color: rgb(24, 190, 154) ;
  
}

 .text {
  color: rgb(3, 59, 74);
  margin-bottom: 20px;
}

span {
  color: rgb(24, 190, 154);
  font-size: 22px;
}

.I’m {
  color: #3e3e3e;
  font-size: 17px;
  font-weight:700 ;
}

p {
  padding-bottom: 100px;
}



.text-email {
  display: flex;
  margin-left: 240px;
}

.text-email {
  padding-right: 190px;
}

.input-email {
  color: #3e3e3e; 
  font-size: 15px;
}

.email {
  color: #3e3e3e;
  font-size: 15px;
  font-weight: 400;

}

.email-underline {
  width: 300px; 
  height: 0.1px; 
  background-color: rgb(79, 79, 79); 
  margin-top: 16px;
  margin-bottom: 35px;
}

.pla {
  color: #3e3e3e;
  margin-right: 5px;
}

.place {
  color: #3e3e3e;
  font-size: 16px;
  font-weight: 400;
}

.email-underline2 {
  width: 300px; 
  height: 0.3px; 
  background-color: rgb(79, 79, 79); 
  margin-top: 10px;
  margin-bottom: 20px;
}

/* <!-- Skills & Abilities --> */

.skills-section {
  padding: 80px;
  background-color: rgb(3, 59, 74);
  color: white;
  text-align: center;
  font-family: Arial, sans-serif;
  padding-bottom:200px;
}

.skills-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #ffffff;
}

.skills-section h2 span {
  color: #00d1b2;
  font-size: 40px;
  font-weight: 800;
}

.email-underline3 {
  width: 100px; 
  height: 5px; 
  background-color:#00d1b2; 
  margin-top: 1px;
  margin-bottom: 30px;
  margin-left: 636px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.skill {
  background-color: #1f1f1f;
  padding: 15px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

.skill img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.skill:hover {
  transform: scale(1.05);
  background-color: #292929;
}

/* Project section  */

.projects-section {
  background-color: #f0f9f8;
  padding: 50px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  padding-top: 100px;
}

.projects-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #003e4c;
}

.projects-title span {
  color: #18be9a;
}

.projects-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.project-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.9s ease;
}

.project-card:hover {
  box-shadow: 0 0 10px #333;
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card h3 {
  font-size: 20px;
  color: #003e4c;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.project-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #18be9a;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project-btn:hover {
  background-color: #129075;

}


.education-section {
  background-color: #cde8de;
  color: #18be9a;
  padding: 50px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  padding-bottom: 70px;
  padding-top: 80px;
}

.edu-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.edu-title span {
  color:  rgb(3, 59, 74);
  font-size: 30px;
  font-weight: 800;
}

.edu-subtitle {
  font-size: 14px;
  color: rgb(3, 59, 74);
  padding-bottom: 50px ;
  transition: all 0.5s ease;
}

.edu-card {
  display: flex;
  max-width: 900px;
  margin: 0 auto 30px auto;
  background-color: white;
  color: #003e4c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px #333;
  transition: all 1s ease;
}


.edu-card:hover {
  box-shadow: 0 0 3
  0px #000000;
}
.edu-card img {
  width: 280px;
  height: auto;
  object-fit: cover;
}

.edu-info {
  padding: 20px;
  text-align: left;
}

.edu-info h3 {
  margin-top: 0;
  font-size: 20px;
  color: #003e4c;
}

.edu-info p {
  margin-top: 20px;
  font-weight: 500;
  padding-bottom: 0 ;
}

.contact-section {
  background-color: #e8fff9;
  padding: 50px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #003e4c;
}

.contact-title span {
  color: #18be9a;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.contact-img img {
  width: 350px;
  max-width: 100%;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  background-color: #f2fffb;
  border-radius: 4px;
  outline: none;
}

.contact-form button {
  background-color: #18be9a;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s ease;
  width: fit-content;
}

.contact-form button:hover {
  background-color: #129075;
}


body {
  overflow-x: hidden;
}

/* Smooth Scroll */

html {
  scroll-behavior: smooth;
}

/* ================= MOBILE RESPONSIVE ================== */
@media (max-width: 768px) {
  
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav-bar {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  main {
    flex-direction: column;
    padding-top: 120px;
    padding-bottom: 60px;
    align-items: center;
  }

  .left {
    width: 100%;
  }

  .left h5,
  .left h1,
  .left h4,
  .social-icon,
  .left button {
    margin-left: 20px;
    margin-right: 20px;
  }

  .left h1 {
    font-size: 36px;
    white-space: normal;
  }

  .left h5 {
    font-size: 18px;
    margin-top: 40px;
  }

  .left h4 {
    font-size: 16px;
  }

  .right {
    padding: 20px;
    justify-content: center;
  }

  .right img {
    width: 250px;
    margin: 0 auto;
  }

  /* ABOUT SECTION */
  #about-me {
    padding: 20px 10px 60px 10px;
  }

  .about-name {
    margin-left: 0;
    text-align: center;
    font-size: 28px;
  }

  .about-name::after {
    width: 60%;
  }

  .text-email {
    flex-direction: column;
    margin-left: 0;
    padding: 0 15px;
  }

  .left-text,
  .right-text {
    width: 100%;
  }

  .left-text h2 {
    font-size: 20px;
    text-align: center;
  }

  .left-text p {
    padding-bottom: 40px;
    font-size: 14px;
  }

  .right-text {
    text-align: center;
  }

  .email-underline,
  .email-underline2 {
    width: 200px;
    margin: 16px auto 20px auto;
  }

  /* SKILLS SECTION */
  .skills-section {
    padding: 40px 15px;
  }

  .skills-section h2 {
    font-size: 28px;
  }

  .email-underline3 {
    margin-left: auto;
    margin-right: auto;
  }

  /* PROJECTS SECTION */
  .projects-section {
    padding: 40px 10px;
    padding-top: 80px;
  }

  .projects-title {
    font-size: 26px;
  }

  .projects-subtitle {
    font-size: 14px;
  }

  .projects-container {
    gap: 20px;
  }

  .project-card img {
    height: 160px;
  }

  /* EDUCATION SECTION */
  .education-section {
    padding: 40px 10px;
  }

  .edu-title {
    font-size: 26px;
  }

  .edu-card {
    flex-direction: column;
    max-width: 100%;
  }

  .edu-card img {
    width: 100%;
    height: auto;
  }

  .edu-info {
    padding: 15px;
    text-align: center;
  }

  .edu-info h3 {
    font-size: 18px;
  }

  .edu-info p {
    font-size: 14px;
  }

  /* CONTACT SECTION */
  .contact-section {
    padding: 60px 15px;
  }

  .contact-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .contact-container {
    flex-direction: column;
    padding: 20px;
  }

  .contact-img img {
    width: 100%;
    max-width: 300px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 8px 16px;
  }
}
@media (max-width: 768px) {
  main,
  #about-me,
  #Skills,
  #project,
  #education,
  #contact {
    padding-top: 210px;
  }
}
