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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.about-text p {
    margin-bottom: 1rem;
    color: #6b7280;
}

/* --- About Section Profile Image --- */
.profile-image {
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border: 4px solid #fff;
    background: #fff;
}

@media (max-width: 900px) {
    .profile-image {
        width: 180px;
        height: 180px;
    }
}

/* Skills Section */
.skills {
    background: #f8fafc;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.skill-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Projects Section */
.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    padding: 8px 16px;
    border: 2px solid #2563eb;
    border-radius: 25px;
    text-decoration: none;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.project-links a:hover {
    background: #2563eb;
    color: white;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.contact-item i {
    color: #2563eb;
}

.contact-item a {
    text-decoration: none;
    color: #6b7280;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #2563eb;
}

/* --- Contact Icons --- */
.contact-info-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem 0 2rem 0;
}

.contact-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    color: #2563eb;
    font-size: 2rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    overflow: visible;
}

.contact-icon:hover {
    background: #2563eb;
    color: #fff;
}

.contact-label {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 110%;
    white-space: nowrap;
    background: #fff;
    color: #2563eb;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: opacity 0.3s, left 0.3s;
    z-index: 10;
}

.contact-icon:hover .contact-label {
    opacity: 1;
    left: 130%;
    pointer-events: auto;
}

/* --- Contact Form --- */
.contact-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    max-width: 400px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h3 {
    margin-bottom: 0.5rem;
    color: #2563eb;
    font-size: 1.25rem;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 0.5rem;
    transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #2563eb;
    outline: none;
}

.contact-form button {
    margin-top: 0.5rem;
    width: 100%;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-info-icons {
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact-form {
        padding: 1.2rem;
    }
} 

/* --- Contact Flex Layout --- */
.contact-flex {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: nowrap;
}

.contact-intro {
    flex: 0 1 340px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    min-width: 240px;
}

.contact-info-icons {
    justify-content: flex-start !important;
}

.contact-form.contact-form-large {
    flex: 1 1 520px;
    max-width: 600px;
    min-width: 320px;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    font-size: 1.1rem;
}

.contact-form.contact-form-large h3 {
    font-size: 1.5rem;
}

.contact-form.contact-form-large input,
.contact-form.contact-form-large textarea {
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
}

.contact-form.contact-form-large button {
    font-size: 1.1rem;
    padding: 0.9rem 0;
}

@media (max-width: 1100px) {
    .contact-flex {
        gap: 2rem;
    }
    .contact-form.contact-form-large {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .contact-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }
    .contact-intro, .contact-form.contact-form-large {
        max-width: 100%;
        min-width: 0;
        align-items: center;
        text-align: center;
    }
    .contact-info-icons {
        justify-content: center !important;
    }
} 