@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
    --primary-color: #003147;
    --primary-light: #004d6e;
    --accent-color: #03a9f4;
    --accent-gradient: linear-gradient(135deg, #03a9f4 0%, #0288d1 100%);
    --text-dark: #333;
    --text-light: #fff;
    --text-muted: #848c90;
    --bg-light: #f8f9fa;
    --bg-card: #f0f4f8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.15);
    --shadow-lg: 0 35px 55px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 30px 15px;
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: white;
    display: grid;
    grid-template-columns: 320px 1fr;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    overflow: hidden;
}

/* ===== LEFT SIDEBAR ===== */
.container .left_side {
    position: relative;
    background: var(--primary-color);
    background: linear-gradient(180deg, var(--primary-color) 0%, #001f2d 100%);
    padding: 35px 25px;
}

/* ===== RIGHT CONTENT ===== */
.container .right_side {
    position: relative;
    background: #fff;
    padding: 35px 40px;
}

/* ===== PROFILE SECTION ===== */
.profile_text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.profile_text .image_box {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(3, 169, 244, 0.4);
    transition: var(--transition);
}

.profile_text .image_box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(3, 169, 244, 0.6);
}

.profile_text .image_box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile_text h2 {
    color: var(--text-light);
    font-size: 1.4em;
    margin-top: 18px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.profile_text .job-title {
    color: var(--accent-color);
    font-size: 0.85em;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
    padding: 5px 15px;
    background: rgba(3, 169, 244, 0.1);
    border-radius: 20px;
}

/* ===== SECTION TITLES ===== */
.title {
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.title i {
    color: var(--accent-color);
    font-size: 1em;
}

/* ===== CONTACT INFO ===== */
.contact_info {
    padding-top: 25px;
}

.contact_info ul li {
    position: relative;
    list-style: none;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}

.contact_info ul li:hover {
    transform: translateX(5px);
}

.contact_info ul li .icon {
    color: var(--accent-color);
    font-size: 0.9em;
    min-width: 20px;
    text-align: center;
}

.contact_info ul li .text {
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    font-size: 0.8em;
    word-break: break-word;
}

/* ===== EDUCATION & CERTIFICATIONS ===== */
.education_info,
.certifications_info {
    margin-top: 25px;
}

.education_info ul li,
.certifications_info ul li {
    margin-bottom: 18px;
    list-style: none;
    padding-left: 15px;
    border-left: 2px solid var(--accent-color);
    transition: var(--transition);
}

.education_info ul li:hover,
.certifications_info ul li:hover {
    border-left-width: 4px;
    padding-left: 13px;
}

.education_info h5,
.certifications_info h5 {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.75em;
    margin-bottom: 3px;
}

.education_info h4,
.certifications_info h4 {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.85em;
    margin-bottom: 2px;
}

.education_info p,
.certifications_info p {
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    font-size: 0.75em;
}

/* ===== LANGUAGES ===== */
.languages_info {
    margin-top: 25px;
}

.languages_info ul li {
    color: var(--text-light);
    font-weight: 300;
    list-style: none;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px;
    align-items: center;
}

.languages_info .text {
    font-size: 0.85em;
}

.languages_info .level {
    font-size: 0.7em;
    color: var(--accent-color);
    font-weight: 500;
}

.languages_info .percent {
    grid-column: 1 / -1;
    position: relative;
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.languages_info .percent div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 0.8s ease;
}

/* ===== INTERESTS ===== */
.interests_info {
    margin-top: 25px;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interests-tags .tag {
    background: rgba(3, 169, 244, 0.15);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.interests-tags .tag:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

/* ===== RIGHT SIDE CONTENT ===== */
.title2 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
}

.title2 i {
    color: var(--accent-color);
}

/* ===== ABOUT / PROFILE ===== */
.about {
    margin-bottom: 35px;
}

.about:last-child {
    margin-bottom: 0;
}

.profile-summary {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9em;
    text-align: justify;
}

.profile-summary strong {
    color: var(--primary-color);
}

/* ===== EXPERIENCE BOXES ===== */
.about .box {
    display: flex;
    flex-direction: row;
    margin: 18px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.about .box:hover {
    border-left-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.about .box.highlight {
    background: linear-gradient(135deg, rgba(3, 169, 244, 0.08) 0%, rgba(3, 169, 244, 0.02) 100%);
    border-left: 4px solid var(--accent-color);
}

.about .box .year_company {
    min-width: 140px;
    padding-right: 15px;
}

.about .box .year_company h5 {
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.7em;
    line-height: 1.4;
}

.about .box .year_company h5.company {
    color: var(--primary-color);
    font-size: 0.8em;
    margin-top: 5px;
}

.about .box .year_company .location {
    display: block;
    font-size: 0.65em;
    color: var(--accent-color);
    margin-top: 3px;
}

.about .box .text {
    flex: 1;
}

.about .box .text h4 {
    color: var(--primary-color);
    font-size: 0.9em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.about .box .text p {
    color: var(--text-dark);
    font-size: 0.8em;
    line-height: 1.6;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--accent-gradient);
    color: white;
}

.badge.secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.badge.tertiary {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.project-card {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.project-card h4 {
    color: var(--primary-color);
    font-size: 0.85em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-card h4 i {
    color: var(--accent-color);
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.75em;
    line-height: 1.5;
}

/* ===== SKILLS ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-category h4 {
    color: var(--primary-color);
    font-size: 0.85em;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--bg-card);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span {
    background: var(--bg-card);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tags span:hover {
    background: var(--accent-color);
    color: white;
}

/* ===== REFERENCES ===== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.reference-box {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-color);
    transition: var(--transition);
}

.reference-box:hover {
    box-shadow: var(--shadow-sm);
}

.reference-box h4 {
    color: var(--primary-color);
    font-size: 0.85em;
    margin-bottom: 3px;
}

.reference-box .ref-role {
    color: var(--accent-color);
    font-size: 0.7em;
    font-weight: 500;
    margin-bottom: 5px;
}

.reference-box p {
    color: var(--text-muted);
    font-size: 0.7em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reference-box p i {
    color: var(--accent-color);
    font-size: 0.9em;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .left_side {
        padding: 30px 20px;
    }
    
    .right_side {
        padding: 30px 25px;
    }
    
    .about .box {
        flex-direction: column;
    }
    
    .about .box .year_company {
        min-width: auto;
        margin-bottom: 10px;
        padding-right: 0;
    }
    
    .projects-grid,
    .skills-container,
    .references-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 500px) {
    body {
        padding: 15px 10px;
    }
    
    .profile_text .image_box {
        width: 120px;
        height: 120px;
    }
    
    .profile_text h2 {
        font-size: 1.2em;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .about .box:hover,
    .project-card:hover,
    .reference-box:hover {
        transform: none;
        box-shadow: none;
    }
}
