* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url('background-image.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    overflow: hidden;
}

.card {
    background: rgba(9, 188, 219, 0.8);
    border-radius: 20px;
    width: 650px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    padding-bottom: 20px;
    position: relative;
    border: 2px solid white;
}

.banner {
    background: url('banner-image.jpg') no-repeat center center/cover;
    height: 150px;
    width: 100%;
}

.profile-border {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    border: 3px solid white;
    margin: -65px auto 10px;
    background: transparent;
    position: relative;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.typing-effect {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    width: 0;
    animation: typing 4s steps(40, end) forwards, blink 0.6s step-end infinite alternate;
}

@keyframes typing {
    from { width: 0; }
    to { width: 75%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    border: 2px solid white;
    position: relative;
}

.icon-circle:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.4);
}

.icon-circle::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(-5px);
}

.icon-circle:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.icon-circle i {
    font-size: 24px;
    color: white;
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.item {
    text-align: center;
}

.item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.loader {
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
