/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #00bcd4 0%, #00acc1 100%);
    color: white;
    padding: 3rem 2rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.contact-details p {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-details .icon {
    font-size: 1.2rem;
}

.contact-details a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-details a:hover {
    opacity: 0.8;
}

/* Main Container - Two Column Layout */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    display: flex;
    gap: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Left Sidebar */
.sidebar {
    width: 35%;
    background-color: #2d3e50;
    color: white;
    padding: 2rem;
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 0.5rem;
}

.skills-group {
    margin-bottom: 1.5rem;
}

.skills-group h3 {
    font-size: 1rem;
    color: #00bcd4;
    margin-bottom: 0.5rem;
}

.skills-group p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.skills-group ul {
    list-style: none;
    padding-left: 0;
}

.skills-group ul li {
    font-size: 0.9rem;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.skills-group ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #00bcd4;
}

/* Languages Section */
.language {
    margin-bottom: 1.2rem;
}

.language p {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #1a252f;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #00bcd4;
    transition: width 0.3s;
}

/* Interests */
.interests {
    list-style: none;
    padding-left: 0;
}

.interests li {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    color: #00bcd4;
}

/* Right Content Area */
.content {
    width: 65%;
    padding: 2rem 3rem;
    background-color: white;
}

.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: #2d3e50;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: #00bcd4;
    color: white;
    letter-spacing: 1px;
}

/* Timeline Items */
.timeline-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-left: 3px solid #00bcd4;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: #00bcd4;
    border-radius: 50%;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.1rem;
    color: #2d3e50;
    flex: 1;
}

.date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.institution {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.achievements {
    margin-top: 0.8rem;
    padding-left: 1.5rem;
}

.achievements li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.4rem;
}

/* Certification Items */
.cert-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #00bcd4;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cert-header h3 {
    font-size: 1rem;
    color: #2d3e50;
    flex: 1;
}

.cert-desc {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: #2d3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 0;
}

.footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .main-container {
        flex-direction: column;
    }

    .sidebar,
    .content {
        width: 100%;
    }

    .timeline-header {
        flex-direction: column;
    }

    .date {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}