/* Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --landing-primary: #1a202c;
    --landing-secondary: #2d3748;
    --landing-accent: #3b82f6;
    --landing-text: #1a202c;
    --landing-text-light: #4a5568;
    --landing-bg: #f7fafc;
    --landing-card-bg: #ffffff;
    --landing-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --landing-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.landing-wrapper {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--landing-text);
    background-color: var(--landing-bg);
    min-height: 100vh;
    padding: 12rem 4rem 4rem 8%;
    /* More Top Space */
    box-sizing: border-box;
    position: relative;
}

.landing-container {
    max-width: 1400px;
    /* Increased max-width further for large screens */
    margin: 0 auto;
}

/* ... existing styles ... */

.landing-actions {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1.5rem;
    /* Reduced top margin */
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.landing-certs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Split Layout */
.landing-intro-split {
    display: flex;
    align-items: flex-start;
    /* Reverted to top alignment */
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Bio Section (Left) */
.landing-bio {
    flex: 1;
    min-width: 300px;
    /* Consistent min-width */
    text-align: center;
    /* Removed flex centering that caused issues */
    animation: fadeIn 0.8s ease-out;
}

.landing-profile-img {
    width: 150px;
    /* Restored size */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--landing-shadow-hover);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.landing-title {
    font-size: 3em;
    /* Restored size */
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #1a202c 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.1;
}

.landing-subtitle {
    font-size: 1.3em;
    /* Larger subtitle */
    color: var(--landing-text-light);
    margin-top: 0.5em;
    font-weight: 400;
    margin-bottom: 1.5em;
}

/* New Certification Strip */
.landing-cert-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered in bio column */
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-2px);
}

.cert-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    /* Removed shadows for cleaner "Official" look */
}

.cert-label {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--landing-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Experience Section (Right) */
.landing-experience-wrapper {
    flex: 1;
    /* Match Bio column for 50/50 split to align with bottom grid */
    min-width: 300px;
    /* Consistent min-width */
}

.landing-experience {
    display: flex;
    flex-direction: column;
    /* Stack vertically (one per line) */
    gap: 1rem;
    margin: 0;
    width: 100%;
}

.experience-card {
    background: white;
    padding: 1.25em 1.5em;
    /* Increased padding slightly */
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 1.5em;
    /* Increased gap */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    width: 100%;
    /* Full width */
    box-sizing: border-box;
    text-decoration: none;
    /* Ensure no underline for link cards */
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--landing-accent);
}

.experience-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--landing-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.experience-card:hover::after {
    transform: scaleX(1);
}

.experience-icon-box {
    width: 3em;
    height: 3em;
    border-radius: 0.75rem;
    background: #f0f7ff;
    color: var(--landing-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    flex-shrink: 0;
}

.experience-info {
    display: flex;
    flex-direction: column;
}

.experience-role {
    font-weight: 700;
    color: var(--landing-secondary);
    font-size: 1.15em;
    /* Larger Details */
    line-height: 1.2;
}

.experience-org {
    font-size: 1em;
    /* Larger Details */
    color: var(--landing-text-light);
    font-weight: 500;
}



.cert-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Removed shadows for cleaner "Official" look */
    filter: none;
    opacity: 1;
}

.cert-logo:hover {
    transform: scale(1.05);
    filter: none;
    opacity: 1;
}

/* Split Layout */
.landing-intro-split {
    display: flex;
    align-items: center;
    /* Vertically Center Bio vs Experience */
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Grid Layout - Equal Width Cards */
.landing-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.landing-grid .landing-card {
    flex: 1;
    /* Equal width for both cards */
    min-width: 300px;
}

.landing-card {
    background: var(--landing-card-bg);
    border-radius: 1em;
    padding: 1em;
    /* Reduced height by reducing padding */
    box-shadow: var(--landing-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: center;
    /* Center content vertically */
    text-align: left;
    /* Left align text */
    gap: 1.5rem;
    /* Gap between icon and text */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.landing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--landing-shadow-hover);
    border-color: var(--landing-accent);
}

.landing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--landing-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.landing-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2em;
    /* Reduced size */
    color: var(--landing-accent);
    margin-bottom: 0;
    /* No bottom margin */
    background: #ebf8ff;
    width: 60px;
    /* Reduced size */
    height: 60px;
    /* Reduced size */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 0.25em 0;
    /* Minimal margin */
    line-height: 1.2;
}

.card-desc {
    color: var(--landing-text-light);
    font-size: 1em;
    line-height: 1.4;
    margin: 0;
    /* Remove default p margin for tight centering */
}



.btn-primary,
.btn-secondary,
.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.75em;
    padding: 1em 2em;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--landing-text);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.39);
}

.btn-primary:hover {
    background: var(--landing-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-secondary {
    background: white;
    color: var(--landing-text);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: #0077b5;
    color: #0077b5;
    background: #f0f7fe;
    transform: translateY(-2px);
}

.btn-linkedin {
    background: #0077b5;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(0, 119, 181, 0.39);
    border: none;
}

.btn-linkedin:hover {
    background: #005e93;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.23);
}

.btn-linkedin i {
    color: #ffffff !important;
    font-size: 1.2em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --landing-bg: #111827;
        --landing-card-bg: #1f2937;
        --landing-text: #f3f4f6;
        --landing-text-light: #9ca3af;
        --landing-primary: #f3f4f6;
        --landing-secondary: #e5e7eb;
    }

    .landing-title {
        background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .experience-card {
        background: #1f2937;
        border-color: #374151;
        box-shadow: none;
    }

    .experience-card:hover {
        background: #252f3f;
    }

    .experience-icon-box {
        background: #2d3748;
        color: #60a5fa;
    }

    .experience-role {
        color: #f3f4f6;
    }

    .experience-org {
        color: #9ca3af;
    }

    .btn-secondary {
        background: #1f2937;
        color: #fff;
        border-color: #4b5563;
    }
}

/* Theme Overrides for Landing Page */
header {
    display: none !important;
}