/* Despre Mine (About Me) Page Styling - Light Medical Theme */

.about-me-container {
    padding-top: 40px;
    padding-bottom: 80px;
    margin-top: 30px; /* Spacing from the menu */
}

/* Hero Section Profile */
.profile-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    border: 1px solid #f0f4f8;
}

.profile-image-wrapper {
    flex: 0 0 40%;
    background: #eef4fb;
    display: flex;
    align-items: center; /* Centrare verticală */
    justify-content: center; /* Centrare orizontală */
    position: relative;
    overflow: hidden;
    padding: 20px; /* Spațiu în jurul imaginii pe desktop */
}

.profile-image-wrapper:after {
    display: none; /* Eliminăm gradientul de jos care o făcea să pară "lipită" */
}

.profile-image-wrapper img {
    max-width: 90%; /* Puțin mai mică pentru a nu atinge marginile */
    height: auto;
    z-index: 1;
    transition: transform 0.5s ease;
    border-radius: 15px; /* Opțional: colțuri ușor rotunjite pentru imagine */
}

.profile-card:hover .profile-image-wrapper img {
    transform: scale(1.03);
}

.profile-info {
    flex: 0 0 60%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-greeting {
    color: #4a90e2;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.profile-info h1 {
    font-size: 3rem;
    color: #1a2b3c;
    font-weight: 800;
    margin-bottom: 10px;
}

.profile-info .specialty-tag {
    display: inline-block;
    padding: 8px 20px;
    background: #eef4fb;
    color: #4a90e2;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.expertise-text {
    font-size: 1.3rem;
    color: #5c6b7a;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
    border-left: 4px solid #4a90e2;
    padding-left: 20px;
}

/* Feature Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.1);
    border-color: #4a90e2;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #eef4fb;
    color: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #1a2b3c;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-item p {
    color: #6b7c8d;
    line-height: 1.6;
}

/* Goal Section */
.goal-section {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #fff;
    padding: 100px 80px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
}

.goal-section:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 15rem;
    opacity: 0.15;
    font-family: 'Georgia', serif;
}

.goal-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Stats Bar - The "Standing Out" Element */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #eef4fb;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item:not(:last-child) {
    border-right: 1px solid #eef4fb;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a90e2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Professional Path / Timeline Section */

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a2b3c;
    font-weight: 800;
    margin-bottom: 50px;
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eef4fb;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #4a90e2;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px #eef4fb;
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f4f8;
}

.timeline-date {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-content h4 {
    font-size: 1.25rem;
    color: #1a2b3c;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 1rem;
    color: #6b7c8d;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .timeline-title {
        font-size: 2rem;
    }
    .timeline-content {
        padding: 20px;
    }
}

/* Mega Appointment Button */
.btn-cta-mega {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%) !important;
    color: #fff !important;
    padding: 22px 60px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.4) !important;
    display: inline-block;
    text-decoration: none !important;
}

.btn-cta-mega:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.5) !important;
}

/* Decorative Background Element */
.bg-blob {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .stats-bar {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #eef4fb;
        padding-bottom: 20px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .profile-image-wrapper {
        flex: 0 0 100%;
        height: auto; /* Lăsăm înălțimea să se adapteze imaginii */
        padding: 40px 20px;
        min-height: 350px;
    }
    .profile-image-wrapper img {
        max-width: 100%; /* Pe mobil o facem mai mică și centrată */
    }
    .profile-info {
        flex: 0 0 100%;
        padding: 40px;
        text-align: center;
    }
    .profile-info h1 {
        font-size: 2.5rem;
    }
    .expertise-text {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid #4a90e2;
        padding-top: 20px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-me-container {
        padding-top: 20px;
    }
    .profile-info h1 {
        font-size: 2.2rem;
    }
    .specialty-tag {
        font-size: 1rem;
    }
    .expertise-text {
        font-size: 1.1rem;
    }
    .goal-section {
        padding: 60px 25px;
    }
    .goal-section h2 {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    .stat-number {
        font-size: 2rem;
    }
    .btn-cta-mega {
        padding: 18px 40px !important;
        font-size: 16px !important;
        width: 90%;
    }
}
