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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Site header and logo */
.site-header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.site-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Header styles */
.header {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.header .site-logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 80px;
}

.header h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 5px;
}

/* Main page styles */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
}

.main-container h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.main-container p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.main-container h2 {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

/* Badge container */
.badge-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Skills section */
.skills-section {
    margin-top: 50px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.logo-container a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-container a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.logo-container img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Social links */
.social-links {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.linkedin-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.linkedin-button:hover {
    background-color: #005885;
    transform: translateY(-2px);
}

.linkedin-button svg {
    fill: white;
}

.linkedin-button span {
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #1a3a4a;
    color: #fff;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    max-width: 50px;
    height: auto;
}

.footer-logo h3 {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social a {
    color: #fff;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #1a252f;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Button styles */
.contact-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: #1a3a4a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-button:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
}

.back-link {
    display: inline-block;
    margin-top: 10px;
    color: #1a3a4a;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Contact page styles */
body.contact-page {
    background-color: #f9f9f9;
}

.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 0.95em;
}

.required {
    color: #e74c3c;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #1a252f;
}

.submit-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Message styles */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .main-container h1 {
        font-size: 1.5em;
    }
}