/* === VARIABLES === */
:root {
    --bg-color: #0a1a10; /* Deep Forest Green */
    --card-bg: rgba(20, 48, 32, 0.85); /* Rich Green Slate with higher opacity */
    --text-primary: #f0f4f8; /* Cool White */
    --text-secondary: #8899aa; /* Muted Blue-Gray */
    --accent: #60a5fa; /* Blue 400 (more sophisticated than Sky) */
    --accent-glow: rgba(96, 165, 250, 0.4);
    --accent-secondary: #a78bfa; /* Violet 400 for gradient depth */
    --border-color: rgba(255, 255, 255, 0.08);
    --surface-highlight: rgba(255, 255, 255, 0.04);
}

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

/* === BASE STYLES === */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0;
    position: relative;
}

/* === BACKGROUND EFFECTS === */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #16a34a, #10b981);
    border-radius: 50%;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #059669, #34d399);
    border-radius: 50%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* === CARD LAYOUT === */
.card {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    margin: 2rem auto;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 30px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-text {
    flex: 1;
    min-width: 200px;
}

.profile-text h1 {
    text-align: left;
    margin-bottom: 0.25rem;
}

.profile-text .title {
    text-align: left;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 25px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px var(--accent-glow);
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.title {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.4;
}

/* === COMPONENTS: Contact Info === */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* === COMPONENTS: About Section === */
.about-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface-highlight);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: background 0.3s ease;
}

.about-section:hover {
    background: rgba(255, 255, 255, 0.06);
}

.about-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === COMPONENTS: Expertise Sections === */
.expertise-section {
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.expertise-section h2 {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-section ul {
    list-style: none;
    padding: 0;
}

.expertise-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.expertise-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.expertise-section li strong {
    color: var(--text-primary);
}

/* === COMPONENTS: Info Items === */
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-highlight);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* === COMPONENTS: QR Code === */
.qr-container {
    text-align: center;
}

.qr-container p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#qrcode {
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

#qrcode:hover {
    transform: scale(1.05);
}

#qrcode img {
    display: block;
    margin: 0 auto;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card {
    animation: fadeIn 0.8s ease-out forwards;
}

.expertise-section {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.expertise-section:nth-child(2) {
    animation-delay: 0.3s;
}

.expertise-section:nth-child(3) {
    animation-delay: 0.4s;
}

.expertise-section li {
    transition: transform 0.2s ease, color 0.2s ease;
}

.expertise-section li:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

/* === NAV TOGGLE === */
.nav-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.nav-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.nav-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
    .card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .title {
        font-size: 0.85rem;
    }
    
    .expertise-section h2 {
        font-size: 1.1rem;
    }
    
    .about-section,
    .expertise-section li {
        font-size: 0.9rem;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-text {
        text-align: center;
    }
    
    .profile-text h1,
    .profile-text .title {
        text-align: center;
    }
    
    .qr-container {
        margin-top: 0.5rem;
    }
}

@media (min-width: 1200px) {
    .card {
        max-width: 700px;
    }
}

/* === TAB PANES === */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

