/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #955c5c;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

/* Profile Header */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.profile-info {
    text-align: left;
}

.profile-img {
    max-width: 150px;
    height: auto;
    object-fit: cover;
}

/* Typography */
h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8em;
    font-weight: bold;
}

.position {
    color: #9d8d8d;
    font-size: 1em;
    margin-bottom: 20px;
    font-style: italic;
}

h2 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #955c5c;
    padding-bottom: 10px;
    font-size: 1.4em;
}

/* Section Styles */
.section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.section:hover {
    background-color: #f0f0f0;
}

.section p {
    font-weight: 300;
    color: #666;
    line-height: 1.7;
}

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
}

.contact-link {
    color: #955c5c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #733939;
    text-decoration: underline;
}

/* Skills List */
.skills-list {
    list-style-type: none;
    padding-left: 0;
    color: #333;
}

.skills-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.skills-list li:hover {
    background-color: rgba(149, 92, 92, 0.1);
    transform: translateX(10px);
}

.skills-list i {
    margin-right: 15px;
    color: #955c5c;
    font-size: 1.2em;
}

.skills-list li:hover i {
    color: #733939;
}

/* Experience List */
.experience-list {
    list-style-type: none;
    padding-left: 0;
    color: #333;
}

.experience-list li {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.6;
}

.experience-list strong {
    font-size: 1.1em;
    color: #955c5c;
}

/* Navbar */
.navbar {
    background-color: #333;
    padding: 10px 0;
    text-align: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    display: inline;
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #955c5c;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-links a {
    text-decoration: none;
    color: white;
    background-color: #555;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #955c5c;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-img {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .profile-info {
        text-align: center;
    }

    footer {
        padding: 15px;
    }

    .social-links a {
        padding: 8px 15px;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }

    .container {
        box-shadow: none;
        margin: 0;
        padding: 20px;
    }
}