/* Reset some default 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;
}

/* Container */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header Styles */
header {
    background: #f4f4f4;
    padding: 40px 0;
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header h2 {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 20px;
}

.social-media a {
    color: #333;
    margin: 0 10px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #0073e6;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section:nth-of-type(even) {
    background: #f9f9f9;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #0073e6;
}

section p {
    max-width: 800px;
    margin: auto;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Skills Section */
.skills-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill-category {
    width: 45%;
    margin-bottom: 20px;
}

.skill-category h3 {
    margin-bottom: 15px;
    color: #555;
}

.skill-category ul {
    list-style-type: disc;
    padding-left: 20px;
}

.skill-category li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Contact Section */
#contact .contact-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    width: 45%;
    margin-bottom: 20px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 15px;
    color: #555;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1em;
}

.contact-info a {
    color: #0073e6;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.required {
    color: red;
}

.form-group input, 
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #0073e6;
    outline: none;
}

.contact-form button {
    padding: 10px 20px;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #005bb5;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .skills-container, #contact .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .skill-category, .contact-info, .contact-form {
        width: 80%;
    }
}
