/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #166088;
    --accent-color: #4fc3f7;
    --text-color: #333;
    --light-text: #f8f9fa;
    --background-color: #f5f7fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navbar Styles */
.navbar {
    background-color: black;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: var(--secondary-color);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Contact Section Styles */
.contact-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.contact-section {
    min-height: calc(100vh - 200px);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 3rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 3rem;
    transition: transform 0.3s ease;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.developer-image-container {
    margin-right: 3rem;
}

.developer-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-card:hover .developer-image {
    transform: scale(1.05);
}

.contact-info {
    flex: 1;
}

.developer-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.developer-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-item i {
    margin-right: 1rem;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-actions {
    display: flex;
    gap: 1rem;
}

.contact-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.contact-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-button.secondary:hover {
    background-color: rgba(74, 111, 165, 0.1);
}

.contact-button i {
    font-size: 1rem;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.info-card p {
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem;
    }

    .navbar-nav.active {
        display: flex;
    }

    .nav-link {
        margin: 0.5rem 0;
        padding: 0.75rem;
    }

    .navbar-toggler {
        display: block;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .developer-image-container {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .contact-details {
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }

    .contact-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .contact-container {
        padding: 0 1rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
    }
}