/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.profile-section {
    max-width: 500px;
    margin: 0 auto;
}

.profile-image {
    margin-bottom: 1.5rem;
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.05) 70%, transparent 100%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(15px);
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    filter: contrast(1.1) saturate(0.9);
}

transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    letter-spacing: 0.025em;
}

.company-history {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.8;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.tagline {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.85;
    max-width: 400px;
    margin: 0 auto;
    font-style: italic;
}

/* Main Content */
.content {
    padding: 3.5rem 2rem;
}

section {
    margin-bottom: 3.5rem;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    font-weight: 600;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #dc2626;
    margin: 0.5rem auto;
    border-radius: 2px;
}

.about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: #4b5563;
    line-height: 1.7;
}

/* Skills Section */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.2);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    font-weight: 500;
}

.contact-item:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
    border-color: #1e3a8a;
}

.contact-item i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.contact-item span {
    font-weight: 500;
}

/* Footer */
footer {
    background: #1f2937;
    color: #d1d5db;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        border-radius: 15px;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem;
    }

    .content {
        padding: 1.5rem 1rem;
    }

    .name {
        font-size: 1.8rem;
    }

    .skills-grid {
        gap: 0.7rem;
    }

    .skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}