﻿.home {
    min-height: 65vh;
}
.home .intro-sec {
    background: linear-gradient(180deg, #ffffff 0%, #bad9ff 100%);
    display: flex; /* Use Flexbox */
    width: 100%; /* Ensure it fills the full width of the container */
    flex-wrap: wrap; /* Allow items to wrap on small screens */
    min-height: 40vh;
}

.home .intro-sec .intro {
  align-self: flex-end;
  padding: 50px 20px 50px 40px;
  text-align: left;
  color: var(--gray-color7);
  font-size: 1rem;
}

.home .intro-sec .intro .logo {
  width: 100%;
  margin-bottom: 30px;
}

.home .intro-sec .intro .slogan {
    text-align: center;
  font-family: psuStidi-Bold;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.home .loginmodal .input-icon {
    position: relative; /* Ensures child is positioned relative to this element */
}

.home .loginmodal .input-icon svg {
        height: auto;
        width: 17px;
        position: absolute;
        top: 50%;
        left: 10px; /* Adjust to position the icon correctly inside the input */
        transform: translateY(-50%);
        color: black; /* Icon color */
    }

.home .modal-content .close {
    right: 20px;
    position: absolute;
    width: 30px;
}

.home .loginmodal .input-icon input {
    padding-left: 40px; /* Add enough padding to prevent overlap with the icon */
    border-radius: 8px;
}


.home {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
}

.home .login {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  font-family: psuStidi-Bold;
  padding: 30px;
  align-self: center;
}

    .home .login .outer-btn {
        border-radius: 12px;
        width: 100%;
        max-width: 375px;
        padding: 6px 8px;
        padding-bottom: 16px !important;
        padding-top: 16px !important;
    }
        .home .login .topicon {
    width: 70%;
    margin-bottom: 30px;
}

    .home .modal-content {
        background-color: var(--gray-color1);
        border-radius: 15px;
    }

    .home .loginmodal {
        text-align: center;
        display: flex;
        flex-direction: column;
        width: 80%;
    }
    .home .loginmodal .iconpp {
        width: 80%;
        height:auto;
        margin-bottom: 40px;
    }

.home .function-sec {
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  font-family: psuStidi-Bold;
  margin-bottom: 50px;
}

.home .function-sec .card-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 400px;
  flex: 1;
  justify-content: center;
}

.home .function-sec .card-container .card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  height: 250px;
  border: none;
  border-radius: 0px;
  color: #515151;
  row-gap: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.home .function-sec .card-container .label {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.home .function-sec .card-container .card .iconcard {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}

@media only screen and (max-width: 580px) {
  .home .intro-sec .intro {
    padding: 30px;
  }

  .home .intro-sec .intro .slogan {
    font-size: 1rem;
  }
    .home .intro-sec .intro {
        padding: 20px 10px 30px 20px;
    }
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
  -webkit-text-fill-color: #143c6d; /* Text color in autofilled inputs */

  outline: none;
  color: black;
  background-color: var(--primary-color);
  border: none !important;
  -webkit-box-shadow: 0 0 0 30px #f0f0f0 inset !important;
}
