/* SOVEREIGN THEME - Betty W. Kyalo Portfolio */

/* 1. Variables & Reset */
:root {
    --bg-deep: #022c04;
    /* Diplomatic Emerald */
    --bg-content: #FAFAF5;
    /* Ivory / Cream */
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-on-dark: #f0f0f0;

    --accent-gold: #D4AF37;
    /* Metallic Gold */
    --accent-gold-dim: #997b20;
    --primary-green: #033506;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --shadow-sharp: 4px 4px 0px rgba(0, 0, 0, 0.1);
    --border-gold: 1px solid var(--accent-gold);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    /* Dark background by default for impact */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gold {
    color: var(--accent-gold);
}

/* 3. Utility - Pattern Backgrounds */
.bg-pattern-dark {
    background-color: var(--bg-deep);
    background-image: linear-gradient(30deg, #033506 12%, transparent 12.5%, transparent 87%, #033506 87.5%, #033506),
        linear-gradient(150deg, #033506 12%, transparent 12.5%, transparent 87%, #033506 87.5%, #033506),
        linear-gradient(30deg, #033506 12%, transparent 12.5%, transparent 87%, #033506 87.5%, #033506),
        linear-gradient(150deg, #033506 12%, transparent 12.5%, transparent 87%, #033506 87.5%, #033506),
        radial-gradient(#054408 20%, transparent 20%);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0;
    opacity: 1;
}

/* 4. Navigation */
.navbar {
    background: rgba(2, 44, 4, 0.95);
    /* Dark semi-transparent */
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 5. Hero Section (Split Layout) */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
    color: #fff;
    border-bottom: 4px solid var(--accent-gold);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal split to give image more room */
    gap: 2rem;
    /* Reduced gap slightly */
    align-items: center;
}

.hero-text h2 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.15rem;
    color: #d1d5db;
    max-width: 90%;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--accent-gold);
    padding-left: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border: 1px solid var(--accent-gold);
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-deep);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--bg-deep);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.image-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    /* Added margin to center vertically better if needed */
}

/* Decorative Gold Frame for Image */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60%;
    height: 60%;
    border-top: 2px solid var(--accent-gold);
    border-right: 2px solid var(--accent-gold);
    z-index: -1;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60%;
    height: 60%;
    border-bottom: 2px solid var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
    z-index: -1;
}

.image-wrapper img {
    width: 100%;
    /* Clean transparent image without filters */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    border: none;
    display: block;
    background-color: transparent;
    transform: scale(1.15);
    /* Slightly enlarged */
}


/* 6. Content Section Wrapper */
.content-wrapper {
    background-color: var(--bg-content);
    padding: 6rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    /* Can add angle if desired */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--bg-deep);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
}


/* 7. Journey Grid (Boxed) */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.journey-box {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
    position: relative;
    transition: 0.3s;
}

/* Sharp Architectural Corner */
.journey-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent var(--accent-gold) transparent transparent;
}

/* Ensure pseudo element for gold border is visible */
.journey-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-gold);
    border-right: 2px solid var(--accent-gold);
}


.journey-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sharp);
    border-color: var(--accent-gold);
}

.role-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

.journey-box h3 {
    font-size: 1.5rem;
    color: var(--bg-deep);
    margin-bottom: 0.5rem;
}

.journey-box .org {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

/* 8. Services (Cards) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-deep);
    color: #fff;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.service-card:hover {
    background: #033a05;
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.service-card p {
    color: #d1d5db;
    font-size: 0.95rem;
}

.icon-wrapper {
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
}


/* 9. Projects Structure */
.project-card {
    display: flex;
    background: #fff;
    border-left: 5px solid var(--accent-gold);
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.project-content {
    padding: 2rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-deep);
    font-weight: 700;
    margin-top: 1rem;
    border-bottom: 1px solid var(--accent-gold);
}


/* 10. Footer */
.footer {
    background-color: #011a02;
    /* Even darker than bg-deep for footer */
    color: #fff;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

/* Core Pillars */
.pillars-section {
    padding: 6rem 0;
    background: var(--bg-content);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.pillar-card {
    text-align: center;
    padding: 2rem;
    border-top: 3px solid var(--primary-green);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pillar-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(2, 44, 4, 0.1);
    /* Faint green */
    display: block;
    line-height: 1;
    margin-bottom: -1rem;
}

.pillar-card h3 {
    font-size: 1.5rem;
    color: var(--bg-deep);
    margin-bottom: 1rem;
}

/* 2030 Goal - Africa Map */
.map-goal-section {
    padding: 8rem 0;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.africa-map-wrapper {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.africa-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Update this path to the correct artifact if needed, or use the generated image name */
    background-image: url('../assets/africa_outline_green.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.goal-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 300px;
    color: #fff;
}

.goal-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Larger */
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
}

.goal-text {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Shadow for readability */
}


/* Parallax Gallery */
.gallery-section {
    padding: 6rem 0;
    background: var(--bg-deep);
    color: #fff;
    overflow: hidden;
}

.gallery-parallax-container {
    padding-top: 2rem;
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    min-width: 350px;
    height: 450px;
    background: #111;
    border: 1px solid var(--accent-gold);
    position: relative;
    margin-right: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s;
}

.gallery-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-intro {
        margin: 0 auto 2rem;
        border-left: none;
        border-bottom: 2px solid var(--accent-gold);
        padding-bottom: 1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .journey-grid,
    .services-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }

    .africa-map-wrapper {
        width: 100%;
        height: 400px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* LinkedIn Embed Grid */
.embed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.embed-card {
    background: #fff;
    border-radius: 8px;
    /* LinkedIn embeds have rounded corners usually */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
    /* Fixed height to keep grid uniform */
    position: relative;
    border: 1px solid #e0e0e0;
}

.embed-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 900px) {
    .embed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.embed-card {
    height: 600px;
    /* Taller on mobile for better readability */
}
}

/* Featured Insight Section */
.featured-insight-section {
    padding: 6rem 0 4rem;
    background: #fff;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.featured-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--bg-deep);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.featured-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Speaking Section */
.speaking-section {
    padding: 6rem 0;
    background: var(--bg-deep);
    color: #fff;
    position: relative;
}

.speaking-list {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid var(--accent-gold);
    padding-left: 3rem;
}

.speaking-item {
    padding-bottom: 3rem;
    position: relative;
}

.speaking-item::before {
    content: '';
    position: absolute;
    left: -3.6rem;
    /* Adjust based on padding-left of list */
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border: 4px solid var(--bg-deep);
    border-radius: 50%;
    /* Circle marker */
}

.speaking-date {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.speaking-details h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Affiliations Section */
.affiliations-section {
    padding: 6rem 0;
    background: #fff;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    /* Increased min-width */
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 3rem;
}

.logo-item {
    width: 100%;
    max-width: 220px;
    /* Increased from 180px */
    height: 120px;
    /* Increased from 100px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 10px;
    /* Added padding */
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    /* Ensure aspect ratio is preserved */
    height: auto;
    /* Ensure aspect ratio is preserved */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    /* Slightly increased visibility */
    transition: all 0.3s ease;
}

/* Specific adjustments for smaller logos */
.logo-item img.scale-up {
    transform: scale(1.5);
    /* Significant zoom for visibility */
}

.logo-item:hover img.scale-up {
    transform: scale(1.6);
    /* Slightly larger on hover */
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}



/* Pillars Infographic */
.pillars-infographic {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pillar-node {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-deep);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--accent-gold);
}

.pillar-icon i {
    width: 40px;
    height: 40px;
}

.pillar-node h3 {
    font-family: var(--font-heading);
    color: var(--bg-deep);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.pillar-node p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.pillar-connector {
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
    margin-top: 40px;
    /* Align with center of icon roughly */
    display: none;
    /* Hide on mobile, show on desktop if needed */
}

@media (min-width: 768px) {
    .pillar-connector {
        display: block;
    }
}

/* Academic Detailed Section */
.academic-detailed {
    max-width: 1000px;
    margin: -5rem auto 4rem;
    /* Overlap hero slightly */
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.academic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.academic-card {
    background: #fff;
    padding: 2rem;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.academic-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.program-type {
    background: #f4f4f4;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    color: var(--bg-deep);
}

.location i {
    width: 12px;
    height: 12px;
    color: var(--accent-gold);
}

.academic-card h4 {
    font-family: var(--font-heading);
    color: var(--bg-deep);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.academic-card .degree {
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.academic-card .desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Ensure Pillars can handle more text */
.pillar-node {
    max-width: 300px;
    /* Slightly wider */
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Featured Insight Layout */
.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-gold);
}

.featured-image img {
    width: 100%;
    max-width: 320px;
    /* Control size */
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    display: block;
    margin: 0 auto;
}

.featured-text {
    text-align: left;
}

@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .featured-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* CTA Section Background */
.cta-section {
    background-image: url('../assets/cta_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Use flexible height to ensure centering */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    /* Add horizontal padding for mobile */
    text-align: center;
    color: var(--bg-deep);
}

/* Mock LinkedIn Card Styles */
.linkedin-card {
    background: #fff;
    border-radius: 8px;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Subtle shadow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.linkedin-card:hover {
    transform: translateY(-5px);
}

.linkedin-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #eee;
}

.linkedin-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--bg-deep);
    /* Emerald Green */
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.linkedin-name {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
}

.linkedin-body {
    padding: 1.5rem 1rem;
    flex-grow: 1;
}

.linkedin-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    /* Limit to 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.linkedin-footer {
    padding: 1rem;
    border-top: 1px solid #f9f9f9;
}

.btn-linkedin {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--bg-deep);
    color: var(--bg-deep);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-linkedin:hover {
    background-color: var(--bg-deep);
    color: #fff;
}