/* =========================================
   1. VARIABLES & RESET
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --text-main: #111111;
    --text-light: #444444;
    --text-muted: #666666;
    --accent-pink: rgba(255, 192, 203, 0.5);
    --accent-blue: rgba(173, 216, 230, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 60px 20px;
}

/* =========================================
   2. BACKGROUND BLUR
   ========================================= */
.background-blobs {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 15%, var(--accent-pink) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, var(--accent-blue) 0%, transparent 50%);
    filter: blur(80px);
}

/* =========================================
   3. MAIN LAYOUT
   ========================================= */
main {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
    align-items: stretch;
}

/* =========================================
   4. CARDS (Glassmorphism)
   ========================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

section.glass-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* =========================================
   5. TYPOGRAPHY
   ========================================= */
h1 {
    font-family: 'Inter', serif;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.1;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    /* This creates the line underneath ALL h2 headers (Experience, Education, Metrics) */
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 8px;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2px;
    color: var(--text-main);
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }

/* =========================================
   6. LEFT COLUMN (Profile)
   ========================================= */
.profile-header { text-align: center; margin-bottom: 35px; }

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.role-tag {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.profile-bio { font-size: 0.9rem; color: #555; line-height: 1.5; }

.contact-links a {
    display: block;
    color: var(--text-main);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.contact-links a:hover {
    padding-left: 8px;
    color: #000;
    background: rgba(255,255,255,0.4);
}

/* LinkedIn Specifics */
.linkedin-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.linkedin-icon {
    width: 18px;
    height: 18px;
    fill: #0077b5;
    flex-shrink: 0;
}

.linkedin-link:hover {
    font-weight: 600;
    color: #0077b5 !important;
}

/* =========================================
   7. RIGHT COLUMN (Experience/Skills)
   ========================================= */
.section-block { margin-bottom: 45px; }
.section-block:last-child { margin-bottom: 0; }

/* Updated Job Item to handle Links (<a> tags) */
.job-item {
    display: block;          /* Makes the link behave like a box, not text */
    text-decoration: none;   /* Removes the default underline */
    color: inherit;          /* Keeps your text black/grey, not link-blue */

    /* Your existing styles: */
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 2px solid rgba(0,0,0,0.1);
    transition: border-left-color 0.3s, transform 0.3s;
    cursor: pointer; /* Shows the little hand icon on hover */
}

/* Hover Effect: Slide right slightly */
.job-item:hover {
    border-left-color: #000;
    transform: translateX(5px);
    /* Optional: Add a subtle background to show it's clickable */
    background: linear-gradient(to right, rgba(255,255,255,0.4), transparent);
}

/* Specific styling to ensure inner headers don't get underlined */
.job-item h3 {
    text-decoration: none;
    color: var(--text-main);
}

.azure-accent { border-left-color: #0078d4; }
.azure-accent:hover { border-left-color: #005a9e; }

.meta { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 8px; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Certifications */
.cert-link { text-decoration: none; color: inherit; transition: opacity 0.2s; }
.cert-link:hover { opacity: 0.7; text-decoration: underline; cursor: pointer; }

/* Skills Pills */
.skill-pill {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
    cursor: default;
}

.skill-pill:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #000;
}

/* =========================================
   8. FOOTER (Metrics & Links)
   ========================================= */
footer {
    margin-top: auto;
    padding-top: 40px; /* Space between content and footer */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between Metrics and Copyright */
}

/* Metrics Container - Forces Left Alignment */
/* =========================================
   METRICS SECTION (Bigger & Spaced)
   ========================================= */
.metrics-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* Big gap between boxes */
    margin-top: 15px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between Icon and Text */
    background: rgba(255, 255, 255, 0.6);
    padding: 25px; /* BIGGER padding makes the box physically larger */
    border-radius: 12px; /* Slightly rounder corners */
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Nicer, softer shadow */

    /* "flex: 1 1 40%" tells the boxes to grow and take up
       roughly half the width each, creating a perfect 2x2 grid */
    flex: 1 1 40%;
    min-width: 240px;
}

/* Make the text inside feel proportional */
.metric-text { display: flex; flex-direction: column; }
.metric-label { font-size: 0.8rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-value { font-weight: 700; color: #0078d4; font-size: 1.3rem; /* Larger numbers */ margin: 2px 0; }

/* Bigger Icons */
.metric-svg {
    width: 32px; /* Increased from 24px */
    height: 32px;
    flex-shrink: 0;
}

/* Icon Colors */
.metric-item:nth-child(1) .metric-svg { stroke: #0078d4; } /* Blue Eye */
.metric-item:nth-child(2) .metric-svg { stroke: #107c10; } /* Green Leaf */
.metric-item:nth-child(3) .metric-svg { stroke: #e0a800; } /* Yellow Bolt */
.metric-item:nth-child(4) .metric-svg { stroke: #666666; } /* Grey Structure */
/* Bottom Info Section - Forces Left Alignment */
.footer-bottom {
    text-align: left; /* ALIGN LEFT */
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start; /* ALIGN ITEMS LEFT */

    /* Separator line */
    padding-top: 20px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-size: 0.85rem;
    color: #888;
}

/* SVG Icons in Footer */
.metric-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.metric-item:first-child .metric-svg { stroke: #0078d4; }
.metric-item:last-child .metric-svg { stroke: #107c10; }

.footer-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

/* Link Styling */
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #666;
}

.footer-link:hover {
    color: #000;
    border-bottom-style: solid;
}
.footer-link:hover .footer-icon { transform: scale(1.1); }

/* =========================================
   9. MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    main { grid-template-columns: 1fr; gap: 30px; }
    body { padding: 20px 15px; }
    .glass-card { padding: 25px; }

    /* Footer responsiveness */
    .metric-item { width: 100%; } /* Cards take full width on phone */
}

@media (min-width: 2600px) {
    body {
        zoom: 1.6;
        justify-content: center;
        width: 100%;
    }
}


/* Add these lines to your SVG section */
.metric-item:nth-child(3) .metric-svg { stroke: #e0a800; } /* Yellow for Lightning */
.metric-item:nth-child(4) .metric-svg { stroke: #107c10; } /* Green for Money */
