@charset "UTF-8";
@import url("./global.css");
.whatsapp {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 57px;
  z-index: 6;
}
.whatsapp:hover {
  scale: 1.2;
}
.whatsapp img {
  width: 100%;
  height: auto;
}

nav {
  z-index: 5;
  width: 100%;
  top: 0;
}
nav .container .brandname {
  width: 300px;
  margin-right: 50px;
}
nav .container .brandname.Moving {
  width: 100px ;
  margin-right: 40px;
}
@media (max-width: 626px) {
  nav .container .brandname {
    width: 140px;
  }
}
nav .container .navbar-toggler {
  display: none;
}
nav .container .collapse ul {
  gap: 20px;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
}
nav .container .collapse ul .nav-link {
  color: var(--darken-color);
  font-weight: 700;
  position: relative;
}
nav .container .collapse ul .nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  border-bottom: 2px solid transparent;
  transition: all 0.6s;
}
nav .container .collapse ul .nav-link:hover {
  color: var(--primary-color);
}
nav .container .collapse ul .nav-link:hover:after {
  border-color: var(--primary-color);
  width: 100%;
}


.cv-btn2 {
  color: var(--darken-color);
  position: relative;
  background: var(--gradient-color);
  padding: 5px 15px;
  border: 2px solid var(--darken-color);
  border-radius: 5px;
  font-weight: 700;
  z-index: 1;
}
.cv-btn2:after {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  position: absolute;
  display: none;
  width: 0;
  height: 100%;
  background-color: var(--main-color);
  top: 0;
  left: 0;
  z-index: 2;
  transition: 0.8s;
  border-radius: 5px;
}
.cv-btn2:hover {
  scale: 1.05;
  border-color: var(--primary-color);
  color: #ff0000;
}
.cv-btn2:hover:after {
  display: block;
  width: 100%;
}

.cv-btn {
  color: var(--darken-color);
  position: relative;
  background: var(--gradient-color);
  padding: 5px 15px;
  border: 2px solid var(--darken-color);
  border-radius: 5px;
  font-weight: 700;
  z-index: 1;
}
.cv-btn:after {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  position: absolute;
  display: none;
  width: 0;
  height: 100%;
  background-color: var(--main-color);
  top: 0;
  left: 0;
  z-index: 2;
  transition: 0.8s;
  border-radius: 5px;
}
.cv-btn:hover {
  scale: 1.05;
  border-color: var(--primary-color);
  color: #ff0000;
}
.cv-btn:hover:after {
  display: block;
  width: 100%;
}

.social {
  width: min(350px, 80%);
  justify-content: space-between;
}
.social a {
  font-size: 23px;
  color: var(--darken-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-color);
  display: grid;
  place-items: center;
}
.social a img {
  width: 30px;
  height: 30px;
}
.social a:hover {
  scale: 1.01;
  transform: translateY(1px);
}
.social a:hover .icon {
  transform: translateY(-5px);
  scale: 1.4;
}

.TopBar {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(10px); /* Adds a glassy blur effect */
  -webkit-backdrop-filter: blur(10px); /* Ensures support on Safari */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds depth */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Optional: Adds a subtle border */
  transition: all 0.3s ease; /* Smooth transitions for interactivity */
}

.myname {
  font-size: 45px; /* Adjust as needed */
  /* font-family: 'Arial', sans-serif; /* Replace with your desired font */
  background: linear-gradient(200deg, #eca343, #349273); /* Define your gradient colors */
  -webkit-background-clip: text;
  font-weight:bold;
  text-decoration: underline; /* Adds a simple underline */
}

header {
  padding: 0px 0 50px;
}
header .container .row .text {
  position: relative;
  z-index: 1;
  margin-bottom: 80px;
  padding: 100px 0 50px;
}
header .container .row .text h2 {
  color: var(--darken-color);
}
header .container .row .text h1 {
  margin-top: 20px;
  color: var(--darken-color);
}
header .container .row .text > p {
  margin: 20px 0;
  font-size: 20px;
  color: var(--darken-color);
}

/* Ensure buttons are in a flex container with proper spacing */
header .container .row .text .btns {
  margin-top: 40px;
  display: flex; /* Use flexbox for alignment */
  /*flex-wrap: wrap; /* Allow buttons to wrap */
  gap: 15px; /* Add space between buttons */
  /*justify-content: center; /* Center-align the buttons */
}

/* Retain the original button styles and make adjustments for responsiveness */
.cv-btn,
.hire-interactive {
  font-size: 16px; /* Keep font size consistent */
  border-radius: 5px; /* Keep the rounded corners */
  text-align: center; /* Ensure text alignment */
  display: inline-block; /* Ensure buttons behave properly */
  position: relative; /* Keep the position for effects */
  min-width: 150px; /* Set a minimum width for consistent sizing */
}

/* Maintain hover effects */
.cv-btn:hover, .hire-interactive:hover {
  scale: 1.05; /* Keep the scaling effect */
  border-color: var(--primary-color); /* Retain border effect */
  color: #ff0000; /* Keep color change on hover */
}

/* Ensure mobile responsiveness */
@media (max-width: 768px) {
  header .container .row .text .btns {
    flex-direction: column; /* Stack buttons vertically */
    gap: 20px; /* Add space between stacked buttons */
  }

  .cv-btn,
  .hire-interactive {
    width: 100%; /* Make buttons full-width on small screens */
    padding: 10px 15px; /* Adjust padding for smaller screens */
    font-size: 14px; /* Slightly smaller font for better fit */
  }
}

header .container .row .text .btns .hire-interactive {
  padding: 5px 30px;
  border-radius: 5px;
  font-weight: 700;
  color: var(--darken-color);
  border: 2px solid var(--darken-color);
  position: relative;
}
header .container .row .text .btns .hire-interactive:after {
  content: "";
  width: 0;
  height: 100%;
  position: absolute;
  background: var(--gradient-color);
  top: 0;
  left: 0;
  z-index: -1;
  transition: 0.4s;
}
header .container .row .text .btns .hire-interactive:hover {
  color:#ff0000;
  border-color: var(--main-color);
}
header .container .row .text .btns .hire-interactive:hover:after {
  width: 100%;
}
header .container .row .text .btns .hand {
  position: absolute;
  z-index: 4;
  bottom: -65px;
  width: 60px;
  right: 55px;
  rotate: -20deg;
  opacity: 0;
  filter: sepia(1) saturate(1600%) hue-rotate(325deg) brightness(0.9);
  transition: ease-in 0.1s linear, ease-out 0.1s;
}
header .container .row .text .circle {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  aspect-ratio: 1/1;
  opacity: 0.08;
  border: 1px solid var(--main-color);
}
header .container .row .text .circle.circle1 {
  bottom: 0;
  right: 40%;
  width: 100px;
  background: var(--gradient-color);
}
header .container .row .text .circle.circle2 {
  top: 0;
  right: 20%;
  width: 150px;
  background: var(--gradient-color);
}
header .container .row .text .circle.circle3 {
  top: 20%;
  left: 20px;
  width: 150px;
  background: var(--gradient-color);
}
header .container .row .main-image .box-image {
  position: relative;
  margin: auto;
}
header .container .row .main-image .box-image img {
  padding-top: 20px;
  max-width: 100%;
  height: auto;
  background-image: linear-gradient(90deg, var(--main-photoColor) 52%, var(--main-photoColor2) 48%);
  border-top-left-radius: 130px;
  border-bottom-right-radius: 130px;
  transition: all 0.5s;
}
header .container .row .main-image .box-image span:nth-child(1) {
  position: absolute;
  top: -10px;
  right: 0;
  height: 10px;
  width: 25%;
  background-color: var(--main-photoColor);
}
header .container .row .main-image .box-image span:nth-child(2) {
  position: absolute;
  top: -10px;
  right: -10px;
  height: 25%;
  width: 10px;
  background: var(--mainphoto-gradient);
}
header .container .row .main-image .box-image span:nth-child(3) {
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 10px;
  width: 25%;
  background-color: var(--main-photoColor);
}
header .container .row .main-image .box-image span:nth-child(4) {
  position: absolute;
  bottom: -10px;
  left: -10px;
  height: 25%;
  width: 10px;
  background-color: var(--main-photoColor2)
}
header .container .row .main-image .box-image .bottom-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50px;
  width: 100%;
  opacity: 0.7;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, var(--background-color) 100%);
}
header .container .row .main-image .box-image:hover img {
  background-image: var(--mainphoto-gradient);
  border-top-left-radius: 90px;
  border-bottom-right-radius: 90px;
}
header .container .row .main-image .box-image:hover span:nth-child(1) {
  width: 75%;
}
header .container .row .main-image .box-image:hover span:nth-child(2) {
  height: 75%;
}
header .container .row .main-image .box-image:hover span:nth-child(3) {
  width: 75%;
}
header .container .row .main-image .box-image:hover span:nth-child(4) {
  height: 75%;
}

.about {
  padding: 40px 0;
}
.about .container h2 {
  margin: 30px 0 60px;
  text-align: center;
  position: relative;
  text-shadow: 0 0 10px var(--darken-color);
  z-index: 1;
}
.about .container h2::after {
  content: "ABOUT";
  position: absolute;
  font-size: 100px;
  opacity: 0.08;
  z-index: -1;
  left: 50%;
  top: 80;
  transform: translate(-50%, -40%);
}
.about .container .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.about .container .row .about-text {
  padding: 40px;
  background: linear-gradient(145deg, var(--background-color), var(--secondary-color));
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Ensures the animation doesn't spill out of the border */
}

/* Add the animated glossy effect */
.about .container .row .about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Start the shine off-screen */
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg); /* Creates the diagonal shine effect */
  transition: transform 3s ease-in-out;
  pointer-events: none;
  animation: glossy-shine 4s infinite linear;
  z-index: 1;
}

/* Ensure content is above the glossy effect */
.about .container .row .about-text > * {
  position: relative;
  z-index: 2;
}

/* Define the keyframes for the glossy animation */
@keyframes glossy-shine {
  0% {
    transform: translateX(-100%) skewX(-25deg);
  }
  100% {
    transform: translateX(100%) skewX(-25deg);
  }
}

.about .container .row .about-text .detailes {
  color: var(--darken-color);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}
.about .container .row .about-text .available {
  margin: 20px 0;
}

.about .container .row .about-text .available .box h5 {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.about .container .row .about-text .available .box div {
  display: flex;
  gap: 15px;
}

.about .container .row .about-text .available .box div p {
  font-weight: bold;
  font-size: 1rem;
  padding: 5px 15px;
  background: var(--primary-color);
  color: var(--background-color);
  border-radius: 5px;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about .container .row .about-text .available .box div p:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.about .container .row .about-text .info {
  margin-top: 20px;
}

.about .container .row .about-text .info h5 {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 15px;
  background: var(--background-color);
  color: var(--primary-color);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.about .container .row .about-text .info h5 span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--gradient-color);
  color: var(--background-color);
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.about .container .row .box-img {
  display: grid;
  place-items: center;
}
.about .container .row .box-img img {
  max-width: 100%;
  height: auto;
  margin: auto;
}

@media (max-width: 426px) {
  .about {
    padding: 0;
  }
  .available .box {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .available .box h5 {
    margin-bottom: 20px !important;
    font-size: 30px;
  }
  .available .box p {
    font-size: 19px;
  }
}
@media (min-width: 1025px) {
  .available .box h5 {
    font-size: 27px;
  }
  .available .box div {
    align-items: center;
  }
  .available .box div p {
    font-size: 20px;
    font-weight: 700;
  }
}
.skills {
  background:linear-gradient(
    to top,
    var(--background-color) 0%,
    transparent 10%
  ),
  linear-gradient(
    to bottom,
    var(--background-color) 1%,
    transparent 10%
  ),
  var(--skills-gradient-color);
  padding: 50px 0;
}

.custom-container {
  max-width: 1750px; /* Or any desired value */
  width: 100%;
}

.skills .container h2 {
  margin: 30px 0 60px;
  text-align: center;
  position: relative;
  color:chocolate;
  text-shadow: 0 0 50px var(--primary-color);
  z-index: 1;
}
.skills .container h2::after {
  content: "SKILLS";
  position: absolute;
  font-size: 90px;
  opacity: 0.08;
  z-index: -1;
  left: 50%;
  top: 15%;
  transform: translate(-50%, -40%);
}

.projects {
  padding: 30px 0;
}
.projects .container h2 {
  margin: 30px 0 60px;
  text-align: center;
  position: relative;
  text-shadow: 0 0 10px var(--darken-color);
  z-index: 1;
}
.projects .container h2::after {
  content: "PROJECTS";
  position: absolute;
  font-size: 90px;
  opacity: 0.08;
  z-index: -1;
  left: 50%;
  top: 80;
  transform: translate(-50%, -40%);
}
.projects .container .row {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Base styles for the image */
.projects .container .row .project-card img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation */
}
.projects .container .row .project-card img {
  filter: brightness(90%); /* Slightly dim */
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.projects .container .row .project-card img:hover {
  transform: scale(1.1); /* Slightly larger zoom */
  filter: brightness(120%); /* Brighten image */
}
.projects .container .row .project-card img {
  border: 5px solid transparent; /* Default border */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.projects .container .row .project-card img:hover {
  border: 5px solid var(--primary-color); /* Add a border color on hover */
  transform: scale(1.1); /* Zoom in */
}


.contact {
  padding: 30px 0 40px;
  background: var(--gradient-color);
}
.contact .container h2 {
  margin: 30px 0 60px;
  text-align: center;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 90px var(--background-color);
  color: var(--background-color);
  z-index: 1;
}
.contact .container h2::after {
  content: "Hire Me";
  line-height: 40px;
  position: absolute;
  font-size: 100px;
  word-wrap: unset;
  opacity: 0.1;
  z-index: -1;
  left: 50%;
  top: 80;
  transform: translate(-50%, -40%);
}
.contact .container .row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.contact .container .row .contact-img {
  margin-bottom: 20px;
  position: relative;
}
.contact .container .row .contact-img img {
  max-width: 100%;
  height: auto;
}
.contact .container .row .contact-img .link {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 5px;
  display: flex;
  align-items: center;
  position: absolute;
  gap: 5px;
  opacity: 0.85;
}
.contact .container .row .contact-img .link.link1 {
  top: 30%;
  left: 20%;
}
.contact .container .row .contact-img .link.link1 .icon img {
  filter: drop-shadow(8px 5px 10px var(--darken-color));
}
.contact .container .row .contact-img .link.link2 {
  top: 15%;
  right: 20%;
}
.contact .container .row .contact-img .link.link2 .icon {
  background: var(--gradient-color);
  box-shadow: 0 0 10px var(--darken-color);
  width: 50px;
}
.contact .container .row .contact-img .link.link3 {
  top: 10%;
  right: 45%;
}
.contact .container .row .contact-img .link.link3 .icon {
  background: var(--gradient-color);
  box-shadow: 0 0 10px var(--darken-color);
  width: 50px;
}
.contact .container .row .contact-img .link:hover {
  scale: 1.1;
  opacity: 1;
}
.contact .container .row .contact-img .link:hover p {
  display: block;
}
.contact .container .row .contact-img .link .icon {
  width: 60px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 10px;
}
.contact .container .row .contact-img .link .icon img {
  width: 100%;
  height: auto;
}
.contact .container .row .contact-img .link p {
  color: var(--main-color);
  padding: 5px 10px;
  margin: 0;
  display: none;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background-color);
  border-radius: 10px;
  transition: display 0.6s;
  box-shadow: 0 0 5px var(--darken-color);
}
.contact .container .row .contact-img .link p:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: var(--background-color) transparent transparent transparent;
}
.contact .container .row .contact-img .link a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
}
.contact .container .row .contact-links {
  padding: 40px;
  background-color: var(--main-color);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 0;
}
.contact .container .row .contact-links:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--main-color) url(../images/mail.svg) left bottom no-repeat;
  background-size: 100%;
  opacity: 0.1;
  border-radius: 15px;
}
.contact .container .row .contact-links h3 {
  color: var(--background-color);
}
.contact .container .row .contact-links form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact .container .row .contact-links form > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact .container .row .contact-links form > div label {
  font-weight: 700;
  color: var(--background-color);
}
.contact .container .row .contact-links form > div input,
.contact .container .row .contact-links form > div textarea {
  padding: 10px;
  border-radius: 5px;
  outline: 0;
  border: 0;
  background-color: var(--background-color);
}
.contact .container .row .contact-links form > div textarea {
  resize: vertical;
  transition: none;
  min-height: 100px;
}
.contact .container .row .contact-links form button {
  border: 0;
  padding: 10px;
  border-radius: 5px;
  color: var(--darken-color);
  background-color: var(--primary-color);
  cursor: url("../images/click cursor.png") 3 4, auto;
  margin-top: 15px;
}
.contact .container .row .contact-links form button:hover {
  opacity: 0.9;
}

@media (max-width: 426px) {
  .contact-links {
    padding: 30px 20px !important;
  }
}
@media (max-width: 769px) {
  .row {
    justify-content: center !important;
  }
}
footer {
  background-color: var(--main-color);
  background-image: linear-gradient(180deg, var(--primary-color) 0, rgba(207, 113, 79, 0) 20%);
  padding: 50px 0 30px;
}
footer .container .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
footer .container .row h5 {
  color: var(--background-color);
  width: -moz-fit-content;
  width: fit-content;
  margin: 0;
}
footer .container .row h5 img {
  width: 150px;
  height: 60px;
}
footer .container .row .social-icon .icon img {
  width: 30px;
  height: 30px;
}/*# sourceMappingURL=style.css.map */

/* General styling for the carousel */
.carousel {
  width: 90%;
  margin: 50px auto;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Slides styling */
.carousel-inner {
  padding: 60px 20px;
  text-align: center;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px; /* Increased height for better readability */
  width: 100%; /* Ensure slides take up full width */
}

.carousel-item p {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
  font-style: italic;
  max-width: 90%; /* Keep text well-aligned */
}

.carousel-item h4 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

/* Indicators (dots) */
.carousel-indicators {
  bottom: -40px; /* Adjust placement */
}

.carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  margin: 0 6px;
  transition: background-color 0.3s ease;
}

.carousel-indicators .active {
  background-color: #007bff;
}

/* Navigation arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 35px;
  height: 35px;
  filter: invert(0.5);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: invert(1);
}

/* Add a smooth transition for carousel items */
.carousel-item {
  transition: transform 0.8s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0; /* Start invisible */
  display: none;
}

.carousel-item.active {
  opacity: 1; /* Visible when active */
  display: flex;
}

/* Style for testimonials text */
.carousel-item p {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.carousel-item h4 {
  font-size: 1.6rem;
  color: #000000;
}

.carousel {
  background: linear-gradient(155deg, #1f1c42 40%, #0c2700 );
}

.carousel-item p::before, .carousel-item p::after {
  content: '"';
  font-size: 2rem;
  color: #ff0000;
  margin: 0 5px;
}



.gallery {
  font-size: 18px;
  font-family: "Montserrat";
  height: 110vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.customIMG {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item {
  height: 100%;
  width: 100%;
  flex: 1;
  transition: 0.3s ease flex;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.caption {
  position: absolute;
  left: 0px;
  bottom: 50px;
  color: black;
  opacity: 0;
  transition: 0.3s ease opacity;
  background-color: rgba(255, 255, 255, 0.404);
  padding: 30px;
  margin: 20px;
  border-radius: 8px;
}
.item.show {
  flex: 8;
}
.item.show .caption {
  opacity: 1;
}
@media only screen and (max-width: 768px) {
  section {
    flex-direction: column;
  }
  .item {
    flex: 1;
    height: 100px;
  }
  .item.show {
    flex: 10;
  }
  body {
    font-size: 14px;
  }
}

/* Set the default styles for the images */
.Main.Photo {
  position: relative;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out; /* Smooth transition */
  width: 100%;
  height: 460px;
}

.image.hover {
  opacity: 0; /* Hover image is initially hidden */
}

.image.normal {
  opacity: 1; /* Normal image is visible by default */
}

/* On hover, switch the images */
.Main.Photo:hover .image.hover {
  opacity: 1; /* Show hover image */
}

.Main.Photo:hover .image.normal {
  opacity: 0; /* Hide normal image */
}
/* Position the label near the image frame */
.label {
  position: absolute;
  top: -20px; /* Adjust based on your layout */
  left: 170px; /* Adjust based on your layout */
  background: rgba(59, 0, 197, 0.171); /* Semi-transparent background */
  color: #ff7300; /* White text color for contrast */
  font-size: 18px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 12px; /* Rounded corners for the label */
  border: 1px solid rgb(0, 0, 0); /* Subtle border for the glass effect */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for depth */
  backdrop-filter: blur(10px); /* Blurry glass effect */
  -webkit-backdrop-filter: blur(10px); /* Safari compatibility */
  white-space: nowrap;
  z-index: 10;
}

/* Add the arrow below the label */
.label::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 20px; /* Center the arrow */
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid rgb(235, 113, 0); /* Match the label's background */

}
 

/* Keyframes for the shine animation */
@keyframes shine {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(200%, 200%) rotate(45deg);
  }
}

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)); /* Gradient for a dynamic look */
  backdrop-filter: blur(15px); /* Adds the glassy blur effect */
  -webkit-backdrop-filter: blur(15px); /* Ensures compatibility with Safari */
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25); /* Subtle translucent border */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3); /* Elegant shadow */
  padding: 30px;
  max-width: 900px;
  width: 90%;
  text-align: left;
  color: white;
  position: relative;
}

.modal-content h3 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #f9f9f9; /* Bright text for contrast */
}
.modal-content .split {
  content: "-";
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  width: 90%;
  text-align: center;
  align-self: center;
  color: #f9f9f9; /* Bright text for contrast */
}

.modal-content p {
  margin: 15px 0 25px;
  font-size: 18px;
  line-height: 1.6;
  color: #eaeaea; /* Soft text for better readability */
}

.modal-content ul {
  list-style-type: none;
  padding: 30;
  margin-top: 10px;
}

.modal-content ul li {
  font-size: 16px;
  margin: 8px 0;
  padding-left: 20px;
  text-indent: -20px;
  position: relative;
  color: #e0f7fa;
}

.modal-content ul li::before {
  content: '•'; /* Custom bullet */
  color: #ffca28; /* Highlighted color */
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -1px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background: none;
  border: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Glow effect */
}

/* Studios Section Effect */

/* Studios Section */
.studios-section {
  position: relative;
  width: 90%;
  margin: 20px auto;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1); /* Transparent glossy look */
  backdrop-filter: blur(8px);
  text-align: center;
}

/* Section Title */
.section-title {
  color: #000000;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: left;
  position: absolute;
  top: -20px;
  left: 15px;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 10px;
  border-radius: 5px;
}

/* Studios Row */
.studios-row {
  display: flex;
  justify-content: center;
  gap: 100px;
  position: relative;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

@media only screen and (max-width: 668px) {
  .studios-row {
    gap: 20px;
    justify-content: center; /* Center content on smaller screens */
  }
}

/* Studio Styling */
.studio {
  display: flex;
  flex-direction: column; /* Stack items vertically for mobile */
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.studio-logo {
  display: block;
  width: 140px;
  height: 130px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.studio-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.studio.hover-active .studio-logo {
  transform: translateX(-20px);
}

/* Game Logos */
.game-logos {
  display: flex;
  gap: 15px;
  position: absolute;
  top: 50%;
  left: 105%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.studio.hover-active .game-logos {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.game-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #ffffff;
}

.game-logo img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* See More Link Styling */
.game-logo.see-more a {
  text-decoration: none;
  font-size: 16px;
  color: #007bff;
  font-weight: bold;
}

.game-logo.see-more a:hover {
  color: #0056b3;
}

/* Responsive adjustments */
@media only screen and (max-width: 668px) {
  .studio-logo {
    width: 120px; /* Resize logos for smaller screens */
    height: 120px;
    margin-bottom: 10px; /* Add spacing between logo and games */
  }

  .game-logos {
    position: relative;
    left: 0;
    top: 0;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .game-logo img {
    width: 60px; /* Resize smaller logos */
    height: 60px;
  }

  .game-logo.see-more a {
    font-size: 12px; /* Smaller font for mobile */
  }
}


/* Overlap Handling */
/* 
.studio:hover ~ .studio {
  transform: translateY(140px);
  opacity: 0.5;
  pointer-events: none;
}

.studio:hover ~ .studio:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
} */
