/* Profile Page Layout */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

/* Section Styling */
.profile-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


/* User Info Section */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}


.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0073b1;
    margin-left: 5%; /* Pushes .profile-info to the extreme right */
}

.profile-info {
    text-align: left;
    border: 0px solid black;
}

.profile-slogan {
    justify-self: start; /* Aligns to the left */
    align-self: end; /* Aligns to the bottom */
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 1.2em;
    font-style: italic;
    color: #555;
    margin: 0;
}

.profile-info h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-info p {
    font-size: 14px;
    color: #666;
}

/* Experience & Education Sections */
.profile-section h2 {
    font-size: 20px;
    border-bottom: 2px solid #0073b1;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.profile-item {
    margin-bottom: 15px;
}

.profile-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.profile-item p {
    font-size: 14px;
    color: #555;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .profile-container {
        padding: 15px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info {
        margin-right: 0; /* Removes the right margin on small screens */
    }
}