/* styles.css */

.hero-section {
    text-align: center;
    padding: 40px 20px 10px;
}

.profile-card {
    width: 230px;
    height: 230px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Move picture crop if needed */
.profile-card img {
    object-position: center top;
}

h1 {
    color: #333;
    font-size: 22px;
    text-align: center;
    margin: 0;
}

.degree {
    font-size: 18px;
    margin: 15px 0 35px;
    color: #333;
}

.button-container {
    display: flex;
    justify-content: center;
}

.button {
    width: 150px;
    padding: 8px;
    font-size: medium;
}

.certification-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.certification-card {
    width: 280px;
    background-color: white;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.certification-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f8f8f8;
    padding: 20px;
}

.certification-info {
    padding: 20px;
}

.certification-info h4 {
    margin-bottom: 10px;
}

.certification-info p {
    color: #666;
}

body {
    font-family: Arial, sans-serif;
    margin: 10px 0;
    padding: 20px;
    background-color: #f4f4f4;
}

header {
    text-align: center;
    padding: 20px;
}

section {
    flex: 1;
    width: 100%;
    margin: 10px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #000000;
    font-size: 18px;
    text-align: center;
    margin: 20px 0;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 5px 0;
}


.profile-caard {
    width: 250px; /* Fixed width for the profile card */
    margin: auto; /* Reduced margin for closer spacing */
    margin-top: auto;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-caard:hover {
    transform: scale(1.05); /* Slightly enlarge the card on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add shadow effect on hover */
}

.container {
    display: flex;
    width: 100%;
}


footer {
    background-color: teal;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    margin: 10px 0;
}