@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Poppins:wght@300;400;500&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #2A7B9B;
    background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
}

.container {
    background: #aeeeb4;
    background: radial-gradient(circle, rgba(174, 238, 180, 1) 0%, rgba(148, 187, 233, 1) 100%);
    height: 370px;
    width: 350px;
    border-radius: 22px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.container:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.8);
}

.profile-img {
    margin-top: -9px;
    margin-left: 13px;
    margin-bottom: -12px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffd900;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #ffd900;
}

.profile-name {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 15px;
    letter-spacing: 1px;
}

.profile-role {
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #ffe56d;
    margin-top: 5px;
    margin-left: 5px;
}

.profile-email {
    margin-left: 13px;
    text-align: center;
    font-size: 13px;
    color: #e0e0e0;
    margin-top: 4px;
}

.buttons {
    margin-top: auto;
    display: flex;
    gap: 20px;
}

.Next,
.Previous {
    margin-left: 10px;
    margin-top: 15px;
    height: 42px;
    width: 95px;
    border-radius: 10px;
    border: none;
    background: #ffd900;
    font-weight: 600;
    transition: all 0.3s ease;
}

.Next:hover,
.Previous:hover {
    cursor: pointer;
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 217, 0, 0.6);
}

.Next:active,
.Previous:active {
    transform: scale(0.95);
}
