/* Importing Google Font - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin-top: 10px;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: url("back.webp") #030728 no-repeat center;
}
a{
  text-decoration: none;
  color: black;
  text-align: center;
}

.slider-wrapper {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 70px 55px;
}

.card-list .card-item {
  height: 600px;
  color: #ffae00;
  text-shadow:0 2px 10px black;
  user-select: none;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  backdrop-filter: blur(30px);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
h1{
    padding-bottom: 3em;
    text-shadow:0 2px 10px black;
}
.user-name{
    padding-bottom: 0px;
    align-items: center;
    align-content: center;
    text-align: center;
}
.logo{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin:10px;
    border: 1px solid #fff;
    padding: 0;
}

.card-list .card-item .user-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 40px;
  border: 3px solid #fdc62f;
  padding: 2px;
  box-shadow:0 0 10px #fdc62f ;
}
.card-list .card-item .social{
    width: 150px;
    height: 150px;
    border-radius: 20px;
    margin-bottom: none;
    border: 3px solid #fdc62f;
    padding: 2px;
  }

.card-list .card-item .user-profession {
  font-size: 1.15rem;
  color: #e3e3e3;
  font-weight: 500;
  margin: 10px 0 20px;
}

.card-list .card-item .message-button {
  font-size: 1.25rem;
  padding: 5px 35px;
  color: #030728;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  background: #fdc62f;
  border: 1px solid transparent;
  transition: 0.2s ease;
  margin-top: 15px;
  box-shadow:0 0px 15px #000000 ;
}

.card-list .card-item .message-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
  color: #fff;
  box-shadow:0 0 10px #fdc62f ;
}
.message-button{
  font-size: 10px;
}
.slider-wrapper .swiper-pagination-bullet {
  background: transparent;
  height: 13px;
  width: 13px;
  opacity: 0.5;
}

.slider-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
}

.slider-wrapper .swiper-slide-button {
  color: #fff;
  margin-top: -55px;
  transition: 0.2s ease;
}

.slider-wrapper .swiper-slide-button:hover {
  color: goldenrod;
}

@media (max-width: 768px) {
  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slide-button {
    display: none;
  }
}


/* Contact Section */
.contact-section {
  background-image: linear-gradient(to bottom right, rgb(255, 153, 0), rgb(255, 214, 50),rgb(255, 153, 0));
  color: black;
  padding: 20px;
  width: 500px;
  height: 300px;
  align-content: center;
  display: none;
  position: absolute;
  right: 450px;
  top: 200px;
  border: 1px solid black;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 0px 30px black;
  z-index: 999;
}

.contact-section.active {
  display: block;
}

.contact-section h3 {
  margin-bottom: 10px;
}

.class-button, .contact-button {
  padding: 10px;
  
  margin: 10px 0;
  background-color: black;
  color: yellow;
  border: 2px solid yellow;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: 0 2px 10px black;
}

.class-button:hover {
  background-color: yellow;
  color: black;
  box-shadow: 0 2px 10px black;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: black;
}

.b img{
  width: 30%;
  height: auto;
  border-radius: 20%;
  margin-left: -900px;
  margin-top: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
      width: 50%;
      right: 10%;
      top: 80px;
  }

  .toggle-btn {
      margin-top: 50px;
  }
}

@media (max-width: 800px) {
  .contact-toggle {
      width: 50%;
      top: -2350px;
      right: -50%;
      position: relative;
  }

  .contact-section {
      width: 90%;
      right: 5%;
      top: 50px;
      padding: 15px;
  }

  .toggle-btn {
      margin-top: 0;
  }

  .class-button, .contact-button {
      width: 100%;
  }

  .b img {
      width: 70%; /* Further reduce image size */
  }
}

@media (max-width: 600px) {
  .contact-toggle {
      width: 40%;
      top: -1900px;
      right: -60%;
      position: relative;
  }

  .contact-section {
      width: 100%;
      right: 0;
      top: 40px;
      padding: 10px;
  }

  .b img {
      width: 60%; /* Reduce image size further for small screens */
  }

  .toggle-btn {
      font-size: 14px; /* Smaller text for small screens */
  }

  .class-button, .contact-button {
      font-size: 14px; /* Adjust button font size for small screens */
      padding: 8px;
  }
}

