@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500&display=swap");
@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");
* {
  margin: 0;
  padding: 0;
  text-decoration: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100px; /* Optional: set a minimum width */
}

/* css for navbar */
.navbar {
  position: fixed;
  width: 100%;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.5s ease;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px

}
.navbar.sticky {
  padding: 30px;
  background: crimson;
}

.max-width {
  max-width: 1300px;
  padding: 0 100px;
  margin: auto;
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100px;
}

.navbar .logo a {
  color: #fff;
  font-size: 45px;
  font-weight: 600;
}
.navbar.sticky .logo a span {
  color: #fff;
}

.navbar .logo a span {
  color: crimson;
  transition: all 0.5s ease;
}
.navbar .menu li {
  list-style: none;
  display: inline-block;
}

.navbar .menu li a {
  color: #fff;
  margin-left: 20px;
  font-size: 23px;
  transition: color 0.5s;
}

.navbar .menu li a:hover {
  color: crimson;
}
.navbar.sticky .menu li a:hover {
  color: #fff;
}

.navbar .max-width .logo a .port {
  background-color: rgb(37, 33, 33);
  padding: 5px 10px;
  border-radius: 20px;
}

.navbar.sticky .max-width .logo a .port {
  background: none;
}

.menu-btn {
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  display: none;
}

/* css for home */
.home {
  display: flex;
  background: url("images/IMG_5303.JPG") no-repeat center center;
  /* width: 100%; */
  object-fit: cover;
  min-height: 1000px;
  /* height:auto; */
  font-family: "Ubuntu", sans-serif;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: #fff;
}
.home .home-content {
  width: 580px;
  height: 300px;
  background-color: rgb(37, 33, 33);
  padding: 20px;
  border-radius: 20px;
  margin: auto 0 auto 10px;
}
.home .home-content .text-1 {
  font-size: 27px;
  margin-top: 20px;
}

.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -10px;
}
.home .home-content .text-3 {
  font-size: 40px;
  margin: 5px 0;
}
.home .home-content .text-3 span {
  color: crimson;
  font-weight: 500;
}

section {
  padding: 100px 0;
  width: 100%
}

/* css for about page */
.about,
.education,
.experince,
.contact,
footer {
  font-family: "Poppins", sans-serif;
}
.about {
  padding : 50px 100px;
}
.about .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  margin-top: 100px;
  font-weight: 600;
  font-family: "Ubuntu", sans-serif;
}
.about .about-content {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap:40px;
  width: 100%;
}
.about .about-content .left {
  width: 50%;
  text-align: center;
}
.about .about-content .left img {
  width: 100%;
  height : auto;
  object-fit: cover;
  border-radius: 10px;
}
.about .about-content .right {
  width: 50%;
}

.about .about-content .right .paragraph {
  font-size: 20px;
  font-weight: 500;
}
.contact-btn {
  font-family: "Poppins", sans-serif;
  padding: 10px;
  background-color: crimson;
  color: #fff;
  border-radius: 5px;
  opacity: 70%;
}

.contact-btn:hover {
  opacity: 100%;
}
.paragraph {
  margin-bottom: 30px;
}

/* styling for education */
.education {
  background: rgb(37, 33, 33);
  color: #fff;
  height: fit-content
}
.education h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
}
.education .education-container {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  gap:30px;
}
.education .institute{
   width: 500px;
   display: flex;
   flex-direction: column;
   align-items: start;
   justify-content: center;
}
.education .institute .name {
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  background-color: crimson;
  margin-bottom: 20px;
  border-radius: 5px;
  padding: 3px 10px;
}
.education .institute .date {
  margin-bottom: 10px;
  font-size: 18px;
}
.education .institute .degree {
  margin-bottom: 10px;
  font-size: 20px;
}
.education .institute .about {
  font-size: 20px;
}
/* css for skill */

.skill {
  font-family: "Poppins", sans-serif;
}
.skill h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  margin-top: 50px;
}
.skill .skill-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap:50px
}

.skill .skill-content div {
  border: 3px solid crimson;
  width: 500px;
  padding: 10px 20px;
  border-radius: 20px;
  opacity: 50%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.skill .skill-content div:hover {
  opacity: 100%;
}

.skill .skill-content div span {
  font-size: 30px;
  font-weight: 600;
}

.skill .skill-content ul li {
  font-size: 25px;
  list-style: none;
  font-weight: 300;
  width: auto;
}
.skill .skill-content ul li:hover {
  color: crimson;
}

/* css for projects */

.projects {
  font-family: "Poppins", sans-serif;
  background: #000000;
  color: #fff;
  height: 900px;
}

.projects h2 {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 70px;
  font-size: 40px;
}
.projects .carousel .card {
  background: #222;
  border-radius: 6px;
  padding: 25px 35px;
  transition: all 0.5s ease;
  height: 300px;
}
.projects .carousel .card:hover {
  background: crimson;
}

.projects .carousel .card .box {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  /* text-align: center; */
}
.projects .carousel .card .box .link {
  width: 120px;
  text-decoration: none;
  color: #fff;
  background: crimson;
  text-align: center;
  margin-top: 15px;
  padding: 5px;
  border-radius: 10px;
  transition: all 0.5s ease;
}
.projects .carousel .card:hover .box .link {
  background: rgb(34, 34, 34);
}
.projects .carousel .card:hover .box {
  transform: scale(1.15);
}
.projects .carousel .card .box .title {
  font-size: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}
.projects .carousel .card .box .front {
  font-size: 12px;
}
.projects .carousel .card .box p {
  font-size: 20px;
}
.owl-dots {
  text-align: center;
  margin-top: 20px;
}
.owl-dot {
  height: 13px;
  width: 13px;
  margin: 0 5px;
  outline: none !important;
  border-radius: 50%;
  border: 2px solid crimson !important;
  transition: all 0.3s ease;
}

.owl-dot.active {
  width: 35px;
  border-radius: 14px;
}
.owl-dot.active,
.owl-dot:hover {
  background: crimson !important;
}





/* styling for experiences */
.experince {
  background: rgb(34, 34, 34);
  color: #fff;
}
.experince h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 80px;
  margin-top: 80px;
}
.experince .all-experince {
  display: flex;
  flex-direction: row;
  justify-content: center ;
  gap: 50px;
  padding: 20px;

}
.experince .all-experince .employment h3 {
  margin-bottom: 30px;
  width: 230px;
  text-align: center;
  background: crimson;
  border-radius: 7px;
  font-size: 30px;
}
.experince .all-experince .volunteer h3 {
  margin-bottom: 30px;
  width: 200px;
  text-align: center;
  background: crimson;
  border-radius: 7px;
  font-size: 30px;
}
.experince .all-experince .first {
  margin-bottom: 50px;
}
.experince .all-experince .first .title {
  font-size: 20px;
  font-weight: 500;
  font-size: 25px;
}
.experince .all-experince .first .duty {
  border: 5px solid crimson;
  border-radius: 10px;
  padding: 10px;
  margin-top: 12px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px
}
.experince .all-experince .first .duty li {
  list-style: none;
  padding-left: 10px;
  /* width: 400px; */
}



.reference-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:20px;
  padding: 20px;
}
.reference-image{
   width: 250px;
   height:250px
}
.reference-text{
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: left;
  gap:25px;
  font-weight: bold;
  width: 75%

}





/* styling for contact */
.contact h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
}

.contact-info{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px
}

.contact-info{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px
}

 .contact-info div {
  width: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px
}
.contact .contact-info i {
  font-size: 35px;
  color: crimson;
}

.contact .contact-info div a {
  margin-bottom: 5px;
  font-size: 27px;
  color: #000;
  font-weight: 600;
}

.contact .contact-info div a:hover {
  color: crimson;
}




/* styling for footer  */

footer {
  display: flex;
  flex-direction: column;
  background: rgb(34, 34, 34);
  padding: 60px 23px;
  color: #fff;
  text-align: center;
}
footer a {
  color: #fff;
  margin-bottom: 30px;
  width: 150px;
  background-color: rgb(175, 19, 50);
  margin-left: auto;
  margin-right: auto;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: 600;
  border-radius: 10px;
}
footer a:hover {
  background-color: crimson;
}
footer .name {
  color: crimson;
}


@media (max-width: 900px) {
  .navbar .menu {
    position: fixed;
    background: #111;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    text-align: center;
    padding-top: 80px;
    transition: all 0.5s ease;
  }

  .navbar .menu.active {
    left: 0;
  }
  .navbar .menu li {
    display: block;
  }
  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 30px;
  }
  .menu-btn {
    display: block;
    z-index: 999;
  }
  .menu-btn i.active:before {
    content: "\f00d";
  }

  .home .home-content .text-2 {
    font-size: 70px;
  }
  .home .home-content .text-3 {
    font-size: 30px;
  }
  .about .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about .about-content div {
    margin: 20px;
  }
  .about .about-content .left{
     width: 100%
  }
  .about .about-content .right{
    width: 100%
 }
 .education .education-container{
    flex-direction: column;
    align-items: center;
    gap:50px
 }
 .education .institute{
  align-items: center;
  text-align: center;
 }
 .skill  .skill-content{
     align-items: center;
     justify-content: center;
     width: 100%;
     padding: 10px
 }
 .skill .skill-content div {
    align-items: center;
    width: 100%
 }
 .skill .skill-content div ul {
    text-align: center;
 }
 .experince .all-experince{
    flex-direction: column;
    padding: 20px;
    width: 100%,

 }
 .experince .all-experince .employment{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.experince .all-experince .volunteer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
 .experince .all-experince .first{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
 }
 .contact .contact-info .contact-info-inner{
    align-items: center;
 }
 .contact .contact-info .contact-info-inner div{
    flex-direction: column;
 }




 
}

@media (max-width: 550px) {
  .about {
    padding: 20px
  }
  .about .about-content{
    gap: 20px
  }
  .max-width {
    padding: 0 23px;
  }
  .home .home-content .text-2 {
    font-size: 60px;
  }
  .home .home-content .text-3 {
    font-size: 26px;
  }
  .phone,
  .email,
  .linkedin,
  .address{
    display: none;
  }
  .education .institute{
    width: 100%
  }
  .reference-text{
    width: 100%
  }
}
