@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  font-family: "Poppins", "sans-serif";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #ff5060 0%, #A41C85 50%, #2D0B59 100%);
  color: #ededed;
}

.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  padding: 1.5rem 2%;
  background-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(5px) saturate(180%);
  border-radius: 1.5rem;
  align-items: center;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), inset 0 4px 20px rgba(255, 255, 255, 0.3);
}

.logo {
  font-size: 1.5rem;
  background-image: linear-gradient(to top, #F0433A 0%, #C9283E 100%);
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 600;
}

.navbar a {
  font-size: 1.125rem;
  color: #ededed;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.2rem;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: #00abf0;
}

.home {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  padding: 0 5%;
  margin-bottom: 0;
  margin-top: 140px;
}

.home-content {
  max-width: 37.5rem;
}

.home-content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.home-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;;
  text-align: center;
}

.home-content .btn-box {
  width: 21.5rem;
  height: 3.125rem;
}

#main-img {
  display: block;
  margin: 30px auto;
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: 1rem;
  opacity: 0.85;
  box-shadow: 0 0 0 6px #ff5060, 0 0 0 12px #A41C85, 0 0 32px 0 #2D0B59;
  /* Multi-layered shadow with gradient colors */
}

.desc-content {
  border-radius: 15px;
  padding: 30px;
  background-color: rgb(0 0 0 / 50%);
  margin: 20px 0;
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desc-content h1 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #fff;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: #41c0ff 3px solid;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.desc-content p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: #41c0ff;
  line-height: 1.6;
}

.desc-content ul {
  color: #41c0ff;
}

.about-content {
  text-align: center;
  background-color: rgb(0 0 0 / 50%);
  padding: 20px;
  margin: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-content a:link {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00abf0;
}

.about-content a:visited {
  color: #00abf0;
}

.about-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

.about-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #ff5151;
}

.about-content img {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 100%;
  height: auto;
}

.tools.desc-content {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.tools.desc-content h1 {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.tools.desc-content img {
  display: inline-block;
  margin: 0 10px 10px 0;
  vertical-align: middle;
}

.tools img{
  height: 60px;
  width: auto;
  padding: 10px;
  display: inline-block;
  vertical-align: middle;
}

.portfolio {
  padding: 2rem;
  margin: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  backdrop-filter: blur(5px) saturate(180%);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), inset 0 4px 20px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #ff5060 0%, #A41C85 50%, #2D0B59 100%);
}

.portfolio img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.portfolio img:hover {
  transform: scale(1.05);
  cursor: pointer;
  opacity: 1;
}

.portfolio-about {
  padding-top: 0.5rem;
  /* Reduce padding to decrease space */
}

.slider-wrapper {
  position: relative;
  max-width: 85rem;
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider img {
  flex: 0 0 100%;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.slider-nav a {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms;
  margin: 0 0.25rem;
}

.slider-nav a:hover {
  opacity: 1;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1;
}

.slider-button.prev {
  left: 0;
}

.slider-button.next {
  right: 0;
}

.contact {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.contact-info h3 {
  font-size: 3rem;
  color: #fff;
}

.contact-info img {
  width: 20%;
}

.contact-info h2 {
  font-size: 22px;
  color: #00abf0;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 20px;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #0e2d44;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #154264;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;;
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1000px;
  /* Increase max-width */
  border-radius: 10px;
  /* Add rounded corners */
  object-fit: contain;
  /* Ensure the image fits within the modal */
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}