/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Header Section */
.header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.7) 85%, rgba(255, 255, 255, 1) 100%);
    padding: 0;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    text-align: left;
    color: #1e3c72;
    position: relative;
    background-image: url('profile.jpg');
    background-size: cover;
    background-position: center top;
    background-blend-mode: normal;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    display: none;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: none;
    color: #1a3a5c;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.header .title {
    font-size: 1.3em;
    opacity: 0.7;
    margin-bottom: 20px;
    text-shadow: none;
    color: #6b7280;
    position: relative;
    z-index: 2;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Logo */
.logo-container {
    margin: 0 0 25px 0;
    position: relative;
    z-index: 2;
}

.logo {
    width: 180px;
    height: auto;
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 5px;
    margin-bottom: 0px;
    position: relative;
    z-index: 2;
}

.action-btn {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    background: #8b458b;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.6em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(139, 69, 139, 0.35);
    cursor: pointer;
}

.action-btn:hover {
    background: #9b559b;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(139, 69, 139, 0.45);
}

.action-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(139, 69, 139, 0.3);
}

/* Content Sections */
.content {
    background: white;
    padding: 0;
}

.section {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.section:last-child {
    border-bottom: none;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    font-size: 1.4em;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 22px;
    letter-spacing: -0.3px;
}

.section-title i {
    width: 35px;
    height: 35px;
    background: #8b458b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.8em;
}

/* Contact Items */
.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    font-size: 0.95em;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.contact-value {
    font-size: 1.08em;
    color: #1f2937;
    line-height: 1.6;
    font-weight: 500;
}

.contact-value a {
    color: #8b458b;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* Bio Items */
.bio-item {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.bio-label {
    font-weight: 600;
    color: #1a3a5c;
    min-width: 140px;
    font-size: 0.96em;
}

.bio-value {
    color: #1f2937;
    font-weight: 500;
}

.bio-value a {
    color: #8b458b;
    text-decoration: none;
    font-weight: 600;
}

/* Profession Cards */
.profession-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #8b458b;
    transition: transform 0.3s, box-shadow 0.3s;
}

.profession-card:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(139, 69, 139, 0.2);
}

.profession-title {
    font-weight: 700;
    color: #8b458b;
    margin-bottom: 5px;
    font-size: 1.05em;
}

.profession-detail {
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Experience Text */
.experience-text {
    color: #1f2937;
    line-height: 1.8;
    font-size: 0.97em;
    margin-bottom: 14px;
    font-weight: 500;
}

.highlight {
    background: #fef3c7;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: #1a3a5c;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    margin-bottom: 12px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-link:hover {
    background: white;
    border-color: #8b458b;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(139, 69, 139, 0.2);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.3em;
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.website-icon {
    background: #8b458b;
    color: white;
}

.social-text h4 {
    font-size: 1em;
    color: #333;
    margin-bottom: 3px;
}

.social-text p {
    font-size: 0.85em;
    color: #888;
}

.arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 520px) {
    .container {
        margin: 10px;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    }

    body {
        padding: 10px;
        background: #f5f5f5;
    }

    .header {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 25px;
        min-height: 450px;
    }

    .header h1 {
        font-size: 2.4em;
    }

    .header .title {
        font-size: 1.1em;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 1.4em;
    }

    .logo {
        width: 140px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

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

    .section {
        padding: 20px 20px;
        background: white;
    }

    .section:first-child {
        border-radius: 0;
    }

    .section-title {
        font-size: 1.2em;
    }

    .bio-label {
        min-width: 120px;
        font-size: 0.9em;
    }

    .bio-item {
        font-size: 0.9em;
    }

    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

@media (max-width: 400px) {
    .header h1 {
        font-size: 1.6em;
    }

    .bio-label {
        min-width: 110px;
    }

    .profession-card {
        padding: 12px;
    }
}
