/* === General Section Styling === */
.mates-swiper {
  overflow: hidden;
  position: relative;
}

.mates-swiper .swiper-wrapper {
  display: flex;
  transition: transform 0.4s ease;
}

.mates-swiper .swiper-slide {
  flex: 0 0 auto;
  width: 25%; /* For 4 per view — adjust as needed */
  box-sizing: border-box;
  padding: 0 15px;
}

@media (max-width: 1024px) {
  .mates-swiper .swiper-slide { width: 50%; }
}
@media (max-width: 768px) {
  .mates-swiper .swiper-slide { width: 100%; }
}

.mates-slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.mates-slider-controls button {
  background: none;
  border: none;
  cursor: pointer;
}




.mates-slider-controls {
    width: 100%;
    position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}
/*.swiper-wrapper{*/
/*    max-width: 1050px !important;*/
/*}*/
/*.swiper-wrapper{*/
/*    overflow: hidden;*/
/*}*/
.mates-slider-controls{
   z-index: 10;
}
/*.mates-swiper{*/
/*    display: flex !important;*/
/*    align-items: center;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*}*/
.mate-card-inner{
    border-radius: 12px;
    overflow: hidden;
}
#mates-section{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mates-slider-controls button {
 background: white;
 padding: 0 !important;
 border: none;
 border-radius: 50%;
  width: 45px;
  height: 45px;

}
.mates-slider-controls button:hover{
    background: none;
}
.mates-slider-controls button img {

  width: 45px;
  height: 45px;

}


.mates-slider-controls svg {
  width: 20px;
  height: 20px;
}

#mates-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
}
.mym-form input[type="file"] {
  padding: 8px 6px;
  border-radius: 50px;
  border: 1px solid #ECECEA;
  background: white;
  margin-bottom: 12px;
}
.mym-form textarea{
    background: white;
}
.mym-form input, .mym-form label, .mym-form textarea{
     font-family: "Inter", Sans-serif;
     
 
  font-weight: 400;
}
.mym-form label{
    color: #636363;
    font-size: 16px;
    margin-bottom: 8px;
}
.mym-form input{
    margin: 10px 0 !important;
     border-radius: 50px !important;
      background: white !important;
  border: 1px solid #ECECEA !important;
    color: #969288;
    font-size: 16px;
}

/* === Slider === */
.mates-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.mates-slider::-webkit-scrollbar {
  display: none;
}

/* === Card === */
.mate-card {
  background: #fff;
  border-radius: 12px;

  flex: 0 0 240px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mate-card:hover {
  transform: translateY(-5px);
}
.mates-swiper{
    width: 100%;
  overflow: hidden;
}
.mates-swiper .swiper-slide {
  box-sizing: border-box;
  margin: 0; /* prevent extra gaps */
}
.mate-card-inner img{
    display: block;
    width: 100% !important;
    height: 298px !important;
    object-fit: cover;
}
.mate-card-inner{
    position: relative;
}
.mate-name {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
  background: rgba(22, 7, 129, 0.59);;
  color: #fff;
 font-family: "Inter", Sans-serif;
    font-size: 18px;
    font-weight: 600;
  padding: 10px;
 
  margin: 0;
}
.mym-profile-info div{
    display: flex;
    gap: 30px;
    
}
.bio-mmm .hjbadjhwbf{
   
    line-height: 17px;
   
    color: #252525;
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
}
.mym-profile-info div svg{
    min-width: 15px !important;
}
.mym-profile-info p{
     color: #252525;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
}
.mym-profile-info div p{
   align-items: start;
    line-height: 16px;
    display: flex;
    gap: 8px;
    color: #252525;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
}
/* === Button === */
#addMateBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  margin-top: 40px;
  background: #fff;
  color: #160781;
   font-family: "Inter", Sans-serif;
  border: 6px solid #C0B8FB;
  border-radius: 50px;
  padding: 8px 13px 8px 20px;
  font-size:19px;
  font-weight: 400;
  cursor: pointer;
  transition: 0.3s;
}
#addMateBtn img{
    height: 28px;
    width: 28px;
}



/* === Popup Overlay === */
.mym-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.mym-popup.active {
  display: flex;
}

/* === Popup Box === */
.mym-popup-content {
    background: url(https://iim.dechub.in/wp-content/uploads/2025/11/popup-1.png) no-repeat center/cover;
  border-radius: 24px;
  padding: 50px;
  width: 100%;
  max-width: 710px;
  position: relative;
  animation: pop 0.3s ease;
}

@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === Close Button === */
.mym-close {
  position: absolute;
    top: 12px;
    right: 15px;
    font-size: 25px;
    height: 30px;
    width: 30px;
    display: flex;
    background: white;
    line-height: normal;
    color: #000;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* === Form Styling === */
.mym-form input,
.mym-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-bottom: 12px;
}

.mym-profile img{
    border-radius: 12px !important;
    height: 298px !important;
    width: 227px;
    object-fit: cover;
}
.mym-form button:hover {
  background: #4a25cc;
}

/* === Popup Info Card === */
.mym-profile {
  display: flex;
  gap: 20px;
}



.mym-profile-info {
  text-align: left;
}

.mym-profile-info h3 {
  font-size: 24px;
  color: #160781;
  margin: 0 0 15px 0;
  font-weight: 600;
  font-family: "Inter", Sans-serif;
}
@media (max-width:767px){
    .mym-popup-content{
      
        padding: 30px;
    }
    .mym-profile{
        flex-direction: column;
        align-items: center;
    }
    .mym-profile-info div{
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    .mym-profile-info div p{
        margin: 0 !important;
    }
}




.mym-popup-content {
 
 

 
  
  margin: auto;
  font-family: 'Inter', sans-serif;
}

.mym-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #252525;
}

.mym-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mym-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.mym-field {
  flex: 1;
  position: relative;
}

.mym-field.full {
  width: 100%;
}

.mym-field input,
.mym-field textarea {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}

.mym-field textarea {
  resize: none;
  height: 90px;
}

.mym-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.mym-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #252525;
}

.mym-file-label input[type="file"] {
  display: none;
}

.mym-submit {
  background: #160781;
  width: fit-content;
  color: #fff;
  border: none;
  font-family: "Inter", Sans-serif;
  border-radius: 50px;
  padding: 11px 12px 11px 24px !important;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.3s;
}

.mym-submit:hover {
  background: #2b0aaf;
}

.mym-arrow {
  display: inline-block;
  height: 38px;
}

