:root {
    --bg-main: #20242c;
    --bg-card: #2a2f38;
    --bg-section: #252a33;
    --primary: #0a66c2;
    --text-main: #e8eaf0;
    --text-muted: #b9bcc3;
    --border: #3a404c;
}

/* RESET */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

info {
    color: #f68002;
    font-weight: bold;
    text-decoration: none;
}

a {
    color: #f68002;
    font-weight: bold;
    text-decoration: none;
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 30px auto;
    background: var(--bg-card);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    overflow: hidden;
}

/* HEADER */
.profile-header {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #0a66c2, #004182);
}

.profile-photo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
}

.profile-info h1 {
    margin: 0;
    font-size: 28px;
}

.profile-info p {
    margin: 6px 0;
    font-size: 14px;
}

/* BUTTON */
.print-btn {
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #ffffff71;
    color: #0a66c2;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    height: 45px;
}

.print-btn:hover {
    background-color: #dfe09a;
}

/* SECTIONS */
.section {
    padding: 25px 30px;
    background-color: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

.section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 22px;
}

/* EXPERIENCE */
.experience {
    margin-bottom: 20px;
}

.experience h3 {
    margin: 0;
    font-size: 18px;
}

.experience span {
    font-size: 14px;
    color: var(--text-muted);
}

.experience p {
    margin-top: 8px;
    font-size: 15px;
}

.experience-row {
    display: flex;
    gap: 18px;
    align-items: stretch; /* chiave */
    margin-bottom: 25px;
}

.experience-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("alfredo2.jpg");
    opacity: 0.9;
}

.babylons-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("babylons.png");
    opacity: 0.9;
}

.jesbel-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("jesbel.png");
    opacity: 0.9;
}

.vatican-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("vatican_logo.png");
    opacity: 0.9;
}

.bit2win-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("bit2win_logo.jpg");
    opacity: 0.9;
}

.accenture-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("accenture-logo.png");
    opacity: 0.9;
}

.newenergy-logo {
    width: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("newenergy-logo.jpg");
    opacity: 0.9;
}

.experience-body {
    flex: 1;
}

.experience-body h3 {
    margin: 0;
    color: #f68002;
}

.experience-body span {
    font-size: 14px;
    color: #b0b3b8;
}


/* SKILLS */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill {
    background-color: #0a66c2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.software {
    background-color: #c2780a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.skills-section {
    display: flex;
    gap: 20px;
    align-items: stretch; /* chiave */
}

.skills-logo {
    width: 70px;
    background-image: url("code.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
}

.software-logo {
    width: 70px;
    background-image: url("software.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
}

.skills-content {
    flex: 1;
}


/* RESPONSIVE */
@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-photo img {
        width: 110px;
        height: 110px;
    }
}

/* PRINT */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    .container {
        box-shadow: none;
        background: #fff;
    }

    .print-btn {
        display: none;
    }

    .whatsapp-logo {
        display: none;
    }

    .section, .profile-header {
        background: #fff;
        color: #000;
    }
}

.mini-footer {
    padding: 12px 0;
    text-align: center;
    font-size: 12px;
    color: #9aa0a6;
    background-color: transparent;
    border-top: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.4px;
}

.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-image: url("alfredo.jpg");
    background-size: cover;
    background-position: center;
    border: 4px solid #fff;
}

.whatsapp-button {
    position: fixed;
    bottom: 125px;
    right: 20px;
    background-color: transparent;
    color: transparent;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    z-index: 1000;
}

.whatsapp-button:hover {
    background-color: transparent;
}

.whatsapp-logo {
    width: 60px;
    height: 60px;
    border-radius: 10%;
    background-image: url("WLogo.jpg");
    background-size: cover;
    background-position: center;
}