@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&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lemon&family=Playfair+Display:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@700&family=Lemon&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-color: #25b79f;
  height: 100vh;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

/* ////........Navbar.......//// */

/* Navbar Styling */

/* Navbar Brand Styling */
.navbar-brand {
  margin: 0; /* Remove default margin */
  font-family: 'Lemon', serif;
  font-size: 1.5rem; /* Adjust the font size */
  color: #f0f0e6; /* Text color */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make the text bold */
}

.navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: #07374a; /* Add a background color */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle box shadow */
  border-bottom: #07374a solid 2px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 20px; /* Add some padding to the container */
}

.menu-items {
  display: flex;
  flex: 1; /* Distribute available space equally between logo and menu items */
  justify-content: right; /* Align menu items to the right */
  align-items: flex-end;
}

.menu-items li {
  list-style: none;
  margin-right: 15px; /* Add margin between menu items */
}

.menu-items a {
  text-decoration: none;
  color: #f0f0e6;
  font-size: 1.2rem;
  padding: 0.3rem;
  transition: border-bottom 0.3s ease; /* Add a smooth transition effect */
}

.menu-items a:hover {
  border-bottom: 2px solid #f0f0e6;
}

/* Logo Styling */
.navbar .logo {
  order: 1;
  color: #f0f0e6;
  font-size: 2rem;
  font-weight: bold; /* Make the logo bold */
  margin-right: auto; /* Push the logo to the left as much as possible */
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
  .navbar-container {
    flex-direction: column; /* Stack items vertically on smaller screens */
    height: auto;
  }

  .menu-items {
    margin-top: 15px; /* Add some space between the menu and logo on smaller screens */
  }

  .menu-items li {
    margin: 0; /* Remove margin between menu items on smaller screens */
  }
}


/* ////........Home Content........//// */

/* Style for the home-content */
.home-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 10px; 
}

/* Style for the name section */
.name {
  text-align: center;
}

.name h1 {
  font-size: 2em;
  margin-top: 30px;
  margin-bottom: 10px;
}

.name p {
  font-size: 1.2em;
  color: #555;
}

/* Style for the developer image section */
.developer-image {
  text-align: center;
  margin-top: 10px;
}

.developer-image img {
  border-radius: 50%;
  max-width: 58%;
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.angle-down-icon {
  position: absolute;
  bottom: .05%; /* Adjust the percentage or use a specific value */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  border: 3px solid #07374a;
  border-radius: 50%;
}

.angle-down-icon a {
  text-decoration: none;
  color: #07374a;
  padding: 1rem;
}
/* ////........About Me........//// */

.about-me {
  background-color: #07374a;
  padding: 6rem 0;
}

.about-me .about-heading {
  color: #25b79f;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.about-content img {
  height: 200px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.about-content p {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  align-items: center;
  color: #f0f0e6;
  padding: 0 2.3rem;
  text-align: center;
}

.skills .skills-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #25b79f;
  text-align: center;
}

.about-me .about-content {
  display: flex;
  flex-wrap: wrap;
}

.about-content .left-content {
  flex-basis: 45%;
  text-align: center;
}

.about-content .right-content {
  flex-basis: 45%;
}

/* ///.....Skill Bar....../// */

.skills-bar {
  padding: 25px 30px;
}

.skills-bar .bar {
  margin: 25px 0;
}

.skills-bar .bar .info span {
  font-size: 1rem;
  font-weight: 500;
}

.skills-bar .bar .info {
  margin-bottom: 8px;
  color: #f0f0e6;
}

.skills-bar .bar .progress-line {
  position: relative;
  height: 10px;
  width: 550px;
  background: #f0f0f0;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.bar .progress-line span {
  position: absolute;
  background: #25b79f;
  height: 100%;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}

.progress-line .html {
  width: 80%;
}
.progress-line .css {
  width: 70%;
}
.progress-line .bootstrap {
  width: 50%;
}
.progress-line .javascript {
  width: 50%;
}
.progress-line .c {
  width: 65%;
}
.progress-line .java {
    width: 50%;
  }
.progress-line .python {
    width: 30%;
  }
.progress-line .php {
    width: 40%;
  }

.bar .progress-line span::before {
  position: absolute;
  content: "";
  height: 0;
  right: 0;
  top: -12px;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-top-style: #f0f0f0;
  border-top-color: #f0f0f0;
}

.bar .progress-line span::after {
  position: absolute;
  right: 0;
  top: -28px;
  color: #07374a;
  font-size: 12px;
  font-weight: 700;
  background: #f0f0f0;
  padding: 1px 8px;
  border-radius: 3px;
}

.progress-line .html::after {
  content: "80%";
}
.progress-line .css::after {
  content: "70%";
}
.progress-line .bootstrap::after {
  content: "50%";
}
.progress-line .javascript::after {
  content: "50%";
}
.progress-line .c::after {
  content: "65%";
}
.progress-line .java::after {
  content: "50%";
}
.progress-line .python::after {
  content: "30%";
}
.progress-line .php::after {
  content: "40%";
}

.navbar.solid {
  background-color: #07374a;
  transition: background-color 1s ease 0s;
  box-shadow: 0 0 4px rgb(7 55 74 / 20%);
  z-index: 500;
}

.navbar.solid .navbar-brand {
  display: inline-block;
  color: #f0f0e6;
  transition: color 1s ease 0s;
}

.navbar-brand {
  display: none;
  color: #f0f0e6;
  font-weight: 400;
}

.work-arrow {
  margin: 2rem 0;
}

.work-arrow a {
  font-size: 1rem;
  text-decoration: none;
  color: #25b79f;
}

.work-arrow-2 {
  margin: 2rem 0;
}

.work-arrow-2 a {
  font-size: 1rem;
  text-decoration: none;
  color: #25b79f;
  display: none;
}

/* ////.....Portfolio......///// */

.portfolio {
  background: #25b79f;
  padding: 2.5rem 0;
}

.proj-heading h1 {
  text-align: center;
  color: #07374a;
  font-size: 2.3rem;
  font-weight: 700;
  margin: 3rem 0;
}

.proj-1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.proj-1 img {
  padding-top: .5rem;
  height: 330px;
  width: 380px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 10px -10px rgb(37 41 52 / 31%);
  margin-right: 1.7rem;
  border: black solid;
}

.proj-1 .proj1-details {
  width: 32rem;
}

.proj-1 .proj1-details i {
  font-size: 1.5rem;
  color: #07374a;
}

.proj-1 .proj1-details h2 {
  font-size: 2rem;
  color: #07374a;
}

.proj-1 .proj1-details p {
  font-size: 1.3rem;
  color: #07374a;
  font-weight: 600;
}

.proj-1 .proj1-details button {
  background: #07374a;
  padding: 0.8rem 1.5rem; /* Adjust padding for better visual appeal */
  margin-top: 0.5rem;
  width: auto;
  border: none;
  border-radius: 5px; /* Add border-radius for a rounded look */
  color: #f0f0e6; /* Set text color */
  font-size: 1.2rem; /* Increase font size */
  cursor: pointer; /* Change cursor on hover */
  transition: 0.3s ease-in-out;
}

.proj-1 .proj1-details button a {
  text-decoration: none;
  color: #f0f0e6;
  transition: 0.2s ease-in-out;
}

.proj-1 .proj1-details button .fas {
  font-size: 1rem; /* Adjust icon size */
  margin-right: 0.5rem; /* Add some spacing between text and icon */
  transition: 0.2s ease-in-out;
}

.proj-1 .proj1-details button:hover {
  background: #f0f0e6;
  color: #07374a; /* Change text color on hover */
}

.proj-1 .proj1-details button:hover a,
.proj-1 .proj1-details button:hover .fas {
  color: #07374a;
}


/* ////.....proj2.....//// */

.proj-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.proj-2 img {
  height: 330px;
  width: 380px;
  object-fit: fill;
  border-radius: 50%;
  box-shadow: 0 20px 10px -10px rgb(37 41 52 / 31%);
  margin-right: 1.7rem;
  border: black solid;
}

.proj-2 .proj2-details {
  width: 32rem;
}

.proj-2 .proj2-details i {
  font-size: 1.5rem;
  color: #07374a;
}

.proj-2 .proj2-details h2 {
  font-size: 2rem;
  color: #07374a;
}

.proj-2 .proj2-details p {
  font-size: 1.3rem;
  color: #07374a;
  font-weight: 600;
}

.proj-2 .proj2-details button {
  background: #07374a;
  padding: 0.8rem 1.5rem;
  margin-top: 0.5rem;
  width: auto;
  border: none;
  border-radius: 5px;
  color: #f0f0e6;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.proj-2 .proj2-details button a {
  text-decoration: none;
  color: #f0f0e6;
  transition: 0.2s ease-in-out;
}

.proj-2 .proj2-details button .fas {
  font-size: 1rem;
  margin-right: 0.5rem;
  transition: 0.2s ease-in-out;
}

.proj-2 .proj2-details button:hover {
  background: #f0f0e6;
  color: #07374a;
}

.proj-2 .proj2-details button:hover a,
.proj-2 .proj2-details button:hover .fas {
  color: #07374a;
}

/* Services Section */
#services {
  background-color: #07374a;
  color: #fff;
  padding: 80px 0;
}

.intro {
  text-align: center;
}

.intro h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.cardbody {
  flex: 0 0 calc(33.3333% - 20px);
  margin: 10px;
  padding: 20px;
  background-color: #25b79f;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cardbody i {
  font-size: 2em;
  margin-bottom: 15px;
  margin-right: 10px;
  padding-left: 0%;
}

.cardbody h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.cardbody li {
  font-size: 1em;
  text-align: left;
  list-style-type: disc; /* Use disc bullets */
  margin-bottom: 8px; /* Add some space between list items */
  font-size: 14px; /* Adjust font size for better readability */
  justify-content: left;
}

/* Adjust the styles as needed */


/* Responsive Styles */
@media (max-width: 768px) {
  .cardbody {
    width: 100%;
  }
}

/* Few More */

/* Style for the "few-more" section */
#few-more {
  background-color:  #25b79f;
  padding: 70px 0;
}

.few-more-heading h1 {
  text-align: center; /* Align the text to the center */
  color: #333; /* Set the text color */
  font-size: 38px; /* Set the font size */
  font-weight: bold; /* Set the font weight to bold */
  margin-bottom: 20px; /* Add some bottom margin for spacing */
}
/* Style for the cards container */
.few-more-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* Style for each card */
.custom-card,
.responsive-card,
.database-card,
.api-card,
.app-dev-card,
.security-card,
.new-card1,
.new-card2 {
  width: calc(25% - 30px); /* Adjusted width to make 4 cards fit in a row */
  height: calc(25% - 30px);
  margin: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Hover effect */
.custom-card:hover,
.responsive-card:hover,
.database-card:hover,
.api-card:hover,
.app-dev-card:hover,
.security-card:hover,
.new-card1:hover,
.new-card2:hover {
  transform: scale(1.05); /* Scale up the card on hover */
}

/* Style for the card images */
.card-body img {
  width: 100%;
  height: 200px;
  border-bottom: 1px solid #ddd;
}

/* Style for the card content */
.card-body p {
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

/* Responsive styling for small screens */
@media (max-width: 768px) {
  .few-more-cards {
    justify-content: center;
  }

  .custom-card,
  .responsive-card,
  .database-card,
  .api-card,
  .app-dev-card,
  .security-card,
  .new-card1,
  .new-card2 {
    width: 100%;
  }
}


/* ////......Contact......///// */

.contact {
  background: #07374a;
  position: relative;
  height: 92vh;
}

.contact-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #25b79f;
  padding-bottom: 0.5rem;
}

.contact-content .mail {
  color: #f0f0e6;
  padding-bottom: 0.2rem;
  font-size: 1rem;
}

.contact-content .links {
  color: #25b79f;
  padding: 0.5rem;
  padding-bottom: 1.8rem;
  font-size: 1rem;
}

.contact-content a {
  text-decoration: none;
  color: #25b79f;
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}

.contact-content a:hover {
  color: #f0f0e6;
}

footer {
  background-color: #25b79f;
  color: #07374a;
  text-align: center;
  font-family: 'Kalam', cursive;
  font-size: 2rem;
  position: relative;
  bottom: 0;
  padding: 0.5rem;
  width: 100%;
}

.thank-you img {
  padding-top: 70px;
  width: 100%; /* Make the image fill the container */
  max-width: 400px; /* Set a maximum width for the image */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove any default image spacing */
  margin: 0 auto; /* Center the image */
  bottom: 40%;
  padding-bottom: 10px;
}

/* ////......Media query......//// */

@media (max-width: 500px) {
  html {
    font-size: 60%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
  }

  .skills-bar .bar .progress-line {
    width: 100%;
  }

  .work-arrow {
    display: none;
  }

  .right-content h1 {
    margin-top: 3.2rem;
  }

  .proj-1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-1 img {
    height: 230px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .proj-2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-2 img {
    height: 250px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #25b79f;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (min-width: 501px) and (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
  }

  .skills-bar .bar .progress-line {
    width: 100%;
  }

  .work-arrow {
    display: none;
  }

  .right-content h1 {
    margin-top: 3.2rem;
  }

  .proj-1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-1 img {
    height: 240px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .proj-2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-2 img {
    height: 240px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #25b79f;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  html {
    font-size: 70%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .work-arrow {
    display: none;
  }

  .left-content h1 {
    margin-top: 3.2rem;
    text-align: center;
  }

  .right-content h1 {
    margin-top: 3.2rem;
    text-align: center;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #25b79f;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .header {
    height: 90vmax;
  }
}