@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Header Navbar Styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  background-image: linear-gradient(90deg, #74d7bb, #53c8b6, #35a99c);
  background-color: transparent;
}

.logo {
  padding: 0 5rem;
}

.logo .logo-heading {
  color: #fff;
}

.menu {
  padding: 0 5rem;
}

.hamburger {
  display: none;
  color: #fff;
  font-size: 25px;
}

.cross-icon {
  display: none;
}

.menu .menu-list {
  display: flex;
  list-style: none;
}

.menu-list .menu-list-items {
  padding: 0.5rem 1rem;
}

@media screen and (min-width: 856px) and (max-width: 1024px) {
  .menu-list .menu-list-items {
    padding: 0.5rem 0.3rem;
  }
}

/* Main Hero Section Styles */
.hero {
  background-image: url("./Images/About1.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: start;
  margin: 4.8rem 0;
}

.hero .intro {
  text-align: center;
  margin: 0 5rem;
}

.hero .intro-buttons {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

/* About */
.about {
  background: linear-gradient(45deg, #74d7bb, #53c8b6); /* Gradient color */
  padding: 50px;
}

.about-text h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.lead-para,
.about-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 30px;
}

/* Contact section social icons */
.social-icons {
  display: flex;
  gap: 15px; /* Space between icons */
  margin-top: 20px;
  justify-content: center;
}

.social-icon {
  font-size: 24px; /* Size of the icons */
  color: #333; /* Icon color */
  text-decoration: none; /* Remove underline from links */
  transition: color 0.3s;
}

.social-icon:hover {
  color: #35a99c; /* Change color on hover */
}

/* Portfolio section styles */
.portfolio {
  margin: 4.8rem 0;
  padding: 0 5rem;
}

.port-card {
  padding: 0 !important;
  background: none !important;
  border: 2px solid #000;
}

.port-card .image {
  width: 100%;
}

.port-card .image img {
  height: 200px;
  width: 100%;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

/* Services section styles */
.services {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 4.8rem 0;
  padding: 0 5rem;
}

.my-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
}

.my-row .my-col {
  text-align: center;
  width: 30%;
}

.my-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-image: linear-gradient(#74d7bb, #53c8b6, #35a99c);
  padding: 1rem;
}

.services-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.icon {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  background-color: #363d73;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  font-size: 30px;
  color: #fff;
}

/* Recent Projects Section Styles */
.projects {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 4.8rem 0;
  padding: 0 5rem;
}

.projects-heading h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: "Poppins", sans-serif;
  color: #363d73;
}

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.project-col {
  text-align: center;
  width: 30%;
  margin: 1rem 0;
}

.project-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease;
  border: 2px solid #35a99c;
}

.project-card:hover {
  transform: translateY(-5px);
  background-color: #f9f9f9;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #363d73;
  font-weight: 600;
}

.project-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 1.5rem;
}

.project-link {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  margin: 0.5rem;
  transition: all 0.25s;
  font-family: "Poppins", sans-serif;
}

.common-btn {
  background-color: #35a99c;
  color: #fff;
  border: 2px solid #35a99c;
}

.common-btn:hover {
  background-color: #fff;
  color: #35a99c;
}

.ghost-btn {
  background-color: #fff;
  color: #35a99c;
  border: 2px solid #35a99c;
}

.ghost-btn:hover {
  background-color: #35a99c;
  color: #fff;
}

/* Mobile responsiveness for projects section */
@media screen and (max-width: 768px) {
  .project-row {
    flex-direction: column;
  }

  .project-col {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* Footer Styles */
.footer {
  background-color: #000;
  color: #fff;
  padding: 2rem;
}

.footer-list-items {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  margin: 1rem 1rem 0 1rem;
  border-radius: 50%;
  background-color: #53c8b6;
}

.footer-links {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-menu {
  padding: 0 5rem;
}

.footer-menu .footer-menu-list {
  display: flex;
  list-style: none;
}

/* Styles for Skills Slideshow */
.skills-slideshow {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden; /* Ensure that only one slide is visible */
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.skills-heading {
  margin-bottom: 30px;
}

.skills-heading .my-heading {
  font-size: 2.5em;
  color: #363d73; /* Align with header/navbar color */
}

.skill-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Space between skill boxes */
  margin-top: 20px;
}

.skill-box {
  background: linear-gradient(45deg, #74d7bb, #53c8b6); /* Gradient color */
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: #f1f1f1;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* utility classes */
.greet-heading {
  font-size: 1.3rem;
  font-weight: lighter;
  margin: 0;
  letter-spacing: 1px;
}

.my-heading {
  font-size: 2.5rem;
  margin: 0;
}

.sub-heading {
  margin: 0;
  font-size: 0.8rem;
  color: #ccc;
  font-weight: lighter;
}

.links:hover {
  border-bottom: 2px solid #fff;
}

.links {
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  padding: 5px;
  text-decoration: none;
  color: #fff;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 1px;
  border: none;
}

.common-btn {
  background-color: #35a99c;
  color: #fff;
  border: 2px solid #35a99c;
  transition: all 0.25s;
}

.common-btn:hover {
  background-color: #fff;
  color: #35a99c;
  border: 2px solid #35a99c;
  outline: none;
}

.ghost-btn {
  background-color: #fff;
  color: #35a99c;
  border: 2px solid #35a99c;
  outline: none;
}

.ghost-btn:hover {
  background-color: #35a99c;
  color: #fff;
  transition: all 0.25s;
  border: 2px solid #35a99c;
}

.heading-span {
  font-weight: bolder;
}

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

.small-para {
  font-size: 14px;
  color: #fff;
}

.white-text {
  color: #fff;
}

.blue-text {
  color: #363d73;
}

/* Mobile responsiveness for services section */
@media screen and (max-width: 768px) {
  .my-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .my-col {
    width: 100%; /* Full width on smaller screens */
    margin-bottom: 1rem; /* Adds spacing between the cards */
  }

  .my-card {
    width: 90%; /* Makes the card narrower for better display */
    margin: 0 auto; /* Centers the card */
  }

  .greet-heading {
    font-size: 1rem; /* Adjust heading font size */
  }

  .small-para {
    font-size: 12px; /* Reduce paragraph font size for readability */
  }
  .my-row .my-col {
    width: 100%; /* Full width on smaller screens */
    margin-bottom: 2rem; /* Space between cards */
  }
}

@media screen and (max-width: 480px) {
  .hero {
    background-size: cover; /* Ensures hero background fits better */
  }

  .hero .intro {
    margin: 0 2rem; /* Reduce margins for better display on small devices */
  }

  .greet-heading {
    font-size: 0.9rem; /* Further adjust heading font size */
  }

  .small-para {
    font-size: 11px; /* Further reduce paragraph font size */
  }

  .my-card {
    padding: 0.8rem; /* Adjust padding for smaller devices */
  }

  .icon svg {
    font-size: 24px; /* Reduce icon size */
  }
}
