/* Import Variables */
@import url('variables.css');

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}

.profile-header-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.profile-header .profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    display: block;
    margin: 0 auto 30px;
    z-index: 10;
    position: relative;
    transition: all 0.3s ease;
}

.profile-header .profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    z-index: 10;
    position: relative;
}

.profile-title {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 10px;
    color: var(--primary-color);
    z-index: 10;
    position: relative;
}

.profile-details {
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    margin-top: -50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.profile-sections {
    padding: 30px 0 60px;
}

.profile-section {
    margin-bottom: 50px;
}

.section-title {
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.experience-item {
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-right: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background-color: rgba(0, 87, 157, 0.05);
    transition: all 0.3s ease;
    z-index: -1;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.experience-item:hover::before {
    width: 100%;
}

.experience-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.experience-period {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.experience-description {
    color: #555;
    line-height: 1.7;
}

.education-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.education-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 87, 157, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.education-content {
    flex: 1;
}

.education-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.education-place {
    color: #666;
    font-size: 1rem;
    margin-bottom: 5px;
}

.education-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.education-description {
    color: #555;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 10px;
}

.skill-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: center;
    width: calc(33.33% - 25px);
}

.skill-item:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.skill-icon {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 10px;
}

.skill-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.skill-description {
    color: #555;
    font-size: 0.9rem;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    gap: 15px;
}

.contact-item {
    background-color: white;
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    flex: 1 1 calc(50% - 15px);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(0, 87, 157, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-label {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.contact-value {
    color: #333;
    font-weight: 500;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: var(--font-size-xs);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.certification-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.certification-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.certification-issuer {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.certification-issuer i {
    margin-left: 8px;
    color: var(--primary-color);
}

.certification-date {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}

.svg-decoration {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
}

.svg-1 {
    top: 15%;
    right: 5%;
    width: 150px;
    height: 150px;
    animation: float 6s ease-in-out infinite;
}

.svg-2 {
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}



@media (max-width: 991px) {
    .skill-item {
        width: calc(50% - 25px);
    }

    .profile-name {
        font-size: 2rem;
        color: white;
    }
}

@media (max-width: 768px) {
    .profile-header {
        padding: 80px 0 50px;
    }

    .profile-name {
        font-size: 2rem;
        color: white;
    }

    .profile-title {
        font-size: 1.2rem;
        color: inherit;
    }

    .profile-details {
        padding: 40px 20px;
        color: inherit;
    }

    .contact-item {
        flex: 1 1 100%;
    }

    .skill-item {
        width: 100%;
    }
}