* {
  padding: 0;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
}
html, body {
  scroll-behavior: smooth;
  text-align: center;
  overflow-inline: hidden;
  overflow-x: hidden;
}

/* home section */
.navbar-parent{
  display: ruby;
}
.navcenter {
  align-items: center;
  justify-content: center;
  /* width: aut; */
  height: 100vh;
  
  background-color: #252934;
}

.text {
  margin: 0 0 20px 0;
  font-size: 32pt;
  line-height: 36pt;
  font-family: "Times New Roman", Times, serif;
}

.highlight {
  color: #e31b6d;
  border: none;
}

.btn {
  color: #fbfeff;
  border: 2px solid #fff;
  line-height: 30px;
  font-size: 20px;
  padding: 12px 20px 12px 24px;
}
.btn:hover {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
  color: white;
}
i {
  padding-left: 10px;
}

button:hover i {
  display: inline-flex;
  transition: 0.3s;
  transform-origin: center;
  transform: rotate(90deg);
}
.link-wrap {
  background-color: #1b242f;
  display: flex;
  border-bottom: 3px solid #04c2c9;
  height: 50px;
  /* padding-left: 40px */
}
.navcenter {
  position: relative;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* .navcenter.row {
  flex-direction: row;
}
.navcenter.wrap {
  flex-wrap: wrap;
}  */

.nav-item {
  padding: 15px 20px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  padding-left: 25px;
}

.nav-item:hover {
  color: #e31b6d;
}

/* about secton styling */
.header {
  text-align: center;
  font-size: 30pt;
  margin-top: 70px;
}

.header-bar {
  background: #444649;
  height: 4px;
  margin: 9px auto 50px;
  width: 100px;
  animation: 0.75s ease both;
}

.row-gt-sm {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-around;
  margin-top: 20px;
}

/* .flex {
  flex: 1;
  text-align: center;
} */

.bullet-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  margin: 10px;
  padding: 0 10px;
}

.hex-wrap {
  display: inline-block;
  height: 100px;
  position: relative;
  text-align: center;
  width: 100px;
}

.hexagon {
  background-color: #04c2c9;
  display: inline-block;
  height: 60%;
  width: calc(100% * 0.57735);
}

.hexagon:before {
  background-color: inherit;
  content: "";
  height: inherit;
  position: absolute;
  right: calc((100% / 2) - ((100% * 0.57735) / 2));
  top: 0;
  transform: rotateZ(60deg);
  width: inherit;
}

.hexagon:after {
  background-color: inherit;
  content: "";
  height: inherit;
  position: absolute;
  right: calc((100% / 2) - ((100% * 0.57735) / 2));
  top: 0;
  transform: rotateZ(-60deg);
  width: inherit;
}

.hexagon i {
  color: #fff;
  font-size: 25px;
  left: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
}
.label {
  margin: 0px;
  font-weight: bold;
  color: #616161;
}

/* image section  */
.skills-wrapper {
  align-items: flex-start;
  width: 100%;
  padding-top: 50px;
}
/* Make it a circle */
/* .me {
  border-radius: 50%; 
  height: 300px; 
} */


/* resume Button Style */
.dwnlbtn {
  display: inline-block;
  margin-top: 6px;
  width: 6rem;
  height: 30px;
  line-height: 1.6rem;
  text-align: center;
  border: 2px solid #e31b6d;
  border-radius: 3px;
  background-color: white;
  transition: all 0.2s ease;
  cursor: pointer;
  padding-right: 10px;
}

.dwnlbtn a {
  text-decoration: none;
  color: black !important;
}

.dwnlbtn:hover {
  background-color: #e31b6d;
}

.dwnlbtn:hover a {
  color: white !important;
}

/* skils section */
/* Set the background color of the progress container */
.custom-progress {
  width: 100%;
  height: 20px;
  background-color: #ccc; 
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Set the transition duration for skill the fill effect */
.custom-progress .progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 2s ease; 
}
/* project */
.filter-wrap {
  text-align: center;
  background-color: #f5f5f5;
  padding: 20px;
}

.flex-row {
  display: flex;
  justify-content: center;
}

.filter {
  font-size: 15px;
  margin: 40px;
  padding: 5px;
  cursor: pointer;
  color: #252934;
  /* background-color: #e31b6d; */
  border: 2px solid #e31b6d;
  border-radius: 5px;
  width: 120px;
}

/* change filter color when i click  */
 .filter.active {
  background-color: #e31b6d;
  color: #fff; 
} 



#pro_gallery {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Adjusted width for three images in a row */
.pro_mix {
  width: calc(33.33% - 10px); 
  margin-bottom: 20px;
  position: relative;
}
/* set hieght width for card */
.pro_card {
  height: 120px; 
  width: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

.pro_text,
.pro_button {
  color: #1b242f;
  opacity: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.pro_text .bold,
.pro_button .bold {
  font-size: 12pt;
}

.pro_button {
  border: 2px solid #e31b6d;
  font-size: 10pt;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

.pro_button:hover {
  background: #e31b6d;
  color: #fff;
}

.pro_mix:hover .pro_card {
  opacity: 0;
}

.pro_mix:hover .pro_text {
  cursor: default;
  opacity: 1;
  top: 24%;
}

.pro_mix:hover .pro_button {
  bottom: 24%;
  opacity: 1;
}

/* Direct image references */
.pro_mix:nth-child(1) .pro_card {
  background-image: url("/img/portfolio_1.png");
}

.pro_mix:nth-child(2) .pro_card {
  background-image: url("/img/zozo_1.png");
}
.pro_mix:nth-child(3) .pro_card {
  background-image: url("/img/thumb-3.png");
}
.pro_mix:nth-child(4) .pro_card {
  background-image: url("/img/thumb-4.png");
}
.pro_mix:nth-child(5) .pro_card {
  background-image: url("/img/thumb-5.png");
}
.pro_mix:nth-child(6) .pro_card {
  background-image: url("/img/thumb-6.png");
}
.pro_mix:nth-child(7) .pro_card {
  background-image: url("/img/thumb-7.png");
}
.pro_mix:nth-child(8) .pro_card {
  background-image: url("/img/thumb-8.png");
}
.pro_mix:nth-child(9) .pro_card {
  background-image: url("/img/thumb-9.png");
}

#pro_gallery .pro_mix .pro_text,
#pro_gallery .pro_mix .pro_button {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1b242f;
  opacity: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  z-index: 2;
  width: 172px;
}

#pro_gallery .pro_mix:hover .pro_card {
  opacity: 0;
}

#pro_gallery .pro_mix:hover .pro_text,
#pro_gallery .pro_mix:hover .pro_button {
  opacity: 1;
}
/*  */
#pro_gallery .pro_mix .pro_card {
  height: 240px;
  max-width: 100%;
  transition: opacity 1.5s;
  width: calc(50vw - 8px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


#pro_gallery .pro_mix:hover .pro_text {
  cursor: default;
  opacity: 1;
  top: 24%;
}

#pro_gallery .pro_mix:hover .pro_button {
  bottom: 24%;
  opacity: 1;
}


/* contact section */

#contact .highlight {
  font-size: 1.5rem; 
  color: #04c2c9; 
  margin-bottom: 35px; 
}

#contact form {
  max-width: 500px; 
  margin: 0 auto; 
}

#contact input[type="text"],
#contact input[type="email"] {
  background: #1e242c;
  border: 0;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 12pt;
  margin-bottom: 3px;
  outline: none;
  padding: 10px 15px;
  width: 100%;
}
#contact textarea {
  background: #1e242c;
  border: 0;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 12pt;
  margin-bottom: 3px;
  outline: none;
  padding: 10px 15px;
  width: 100%;
  height: 100px;
}
/* style for submit button */
#contact input[type="submit"] {
  background: transparent; 
  color: #fff; 
  border: 2px solid #fff;
  padding: 4px 20px;
  cursor: pointer;
  border-radius: 5px; 
  margin-left: 76%;
  margin-top: 5px;
}

#contact input[type="submit"]:hover {
  background-color: #0a9aa1; 
  border: 2px solid #0a9aa1;
}

#success div {
  background: #04c986;
  border: 1px solid #157c59;
  color: #157051;
  font-size: 10pt;
  font-weight: 600;
  padding: 5px 0;
}
#close {
  cursor: pointer;
  font-size: 14pt;
  padding: 0px 15px;
  position: absolute;
  right: 0;
}

.page-link_click{
  cursor: pointer;
}

/* footer  */
.page-link {
  cursor: pointer;
  padding: 0;
}
footer {
  background: #1b242f;
  padding: 188px 0 21px 0;
  position: relative;
}

footer .bi-chevron-double-up {
  background: #e31b6d;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20pt;
  height: 50px;
  left: 0;
  line-height: 40pt;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: -25px;
  transition: background 0.5s;
  width: 45px;
}
footer .bi-chevron-double-up:hover {
  color: #fb1f79;
}

.social-menu ul {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  display: flex;
  /* padding-top: 90px; */
}

.social-menu ul li {
  list-style: none;
  margin: 0 15px;
}

.social-menu ul li .bi {
  font-size: 30px;
  line-height: 60px;
  color: white;
  margin-right: 12px;
}

.social-menu ul li .bi:hover {
  color: #fff;
}

.social-menu ul li a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  /*border-radius: 50%; */
  background-color: #262f38;
  text-align: center;
  transition: 0.6s;
  /* box-shadow: 0 5px 4px rgba(0,0,0,.5); */
}

.social-menu ul li a:hover {
  /* transform: rotate(1turn); */
  background: #04c2c9;
  box-shadow: 0 0 0 3px rgba(4, 94, 201, 0.1);
  transform: scale(0.9);
}

footer .footnote {
  color: #8f9aa7;
  font-size: 10pt;
  opacity: 0.6;
}
footer .footnote .highlight {
  color: #e31b6d;
  font-family: "Open Sans";
}

/* .social-icons a:hover i {
  transform: scale(2.2);
  /* color: #00B5F5; */
/* background: -webkit-linear-gradient(45deg, #00B5F5, #04c2c9); */
/* background: linear-gradient(45deg, #e31b6d, #f1f8ff); */
/* background-clip: text; */
/* -webkit-text-fill-color: transparent; */
/* transition: all 0.265s ease-in; */
/* } */

/* Responsive adjustments */



@media (max-width: 676px) {
  .filter {
    margin: 5px; 
    padding: 5px;
    width: 120px;
    font-size: 10px; 
  }
}

@media only screen and (max-width: 768px) {
  .row-gt-sm {
    flex-direction: column;
  }

/* .navbarmobile{
  display: none;
} */
  .text {
    margin: 0 0 20px 0;
    font-size: 17pt;
    line-height: 24pt;
    font-family: "Times New Roman", Times, serif;
  }

  .highlight {
    color: #e31b6d;
  }

  .btn {
    color: #fbfeff;
    border: 2px solid #fff;
    line-height: 10px;
    font-size: 14px;
    padding: 10px 15px 10px 20px;
  }


  
  /* for responsive project */
  .pro_mix {
    width: calc(50% - 10px);
  }

  #pro_gallery .pro_mix .pro_card {
    width: 100%;
  }
  /* contact us */
  #contact input[type="submit"] {
    margin-left: 0;
    width: 30%;
    height: 45px;
  }
  #contact form {
    padding-bottom: 15%;
  }
}

@media only screen and (max-width: 535px) {
  .nav-item {
    font-size: 9px;
    /* width: 100%; */
    padding: 14px 17px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    /* padding-left: 25px; */
  }
  
  .pro_mix {
    width: 100%;
  }
  
}


.me {
  width: 34%;
  height: 230px;
  border-radius: 30px;
  border: 10px solid #f5f5f5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  filter: brightness(0.9);
  object-fit: cover;
  zoom: 2;
  opacity: 1; 
}

.me.fade {
  opacity: 0;  
}

.me:hover {
  transform: scale(1.05);
  border: 10px solid #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1);
  /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); */
}


/* Responsive Media Queries */
@media (max-width: 1024px) {
  .me {
    max-width: 45%;
    width: 40%;
  }
}

@media (max-width: 768px) {
  .me {
    max-width: 50%; /* Slightly wider for tablets */
    width: 50%;
  }
}

@media (max-width: 480px) {
  .me {
    max-width: 70%; /* Better usability on small screens */
    border: 6px solid #f5f5f5;
    border-radius: 20px;
    width: 70%;
    height: 230px;
  }
}

.about_details{
  color: #666;
  transition: color 0.3s ease;
}
.about_details:hover{
  color: #333;
}