
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e4d6b6;
    color: #1d2b3e;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

h2 {
    color: #4a6b8a;
}

h2.home {
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

hr {
    border: none;         
    border-top: 1px solid black;
    margin: 20px 0;      
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #2c3e50;
    color: #ecf0f1;
}

.header-logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 20px;
}

.title a {
    transition: opacity 0.3s ease, color 0.3s ease;
}

.title:hover a {
    opacity: 0.8;
}

.title-secondary {
    display: inline;
    color: #53a3b6;
}

/* Navigation styles */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: bold;
}

nav a:hover {
    color: #53a3b6;
}

/* LinkedIn logo styles */
.linkedin-logo {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
    margin-bottom: 5px;
    content: url('../images/linkedin-logo.png');
}

.linkedin-logo:hover {
    content: url('../images/linkedin-logo-hover.png');
}

/* Medium logo styles */
.medium-logo {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
    margin-bottom: 5px;
    content: url('../images/medium-logo.png');
}

.medium-logo:hover {
    content: url('../images/medium-logo-hover.png');
}

.medium-link {
	text-align: center;
	font-size: 1em;
}


/* Content wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero section */
.hero {
    position: relative;
    text-align: center;
    color: #e4d6b6;
    line-height: 0;
}

.hero img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
}

/* Quote section */
.quote-section {
    padding: 20px;
    background-color: #e7e4d0;
}

.quote {
    background-color: #e7e4d0;
    padding: 20px 40px;
    text-align: left;
    border-left: 4px solid #2c3e50;
    max-width: 800px;
    line-height: 1.7em;
    margin: 40px auto;
}

.quote blockquote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-style: italic;
    color: #1d2b3e;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 50px;
    position: relative;
}

.quote blockquote:before,
.quote blockquote:after {
    font-size: 6em;
    color: rgba(52, 152, 219, 0.5);
    position: absolute;
    line-height: 1;
    z-index: 0;
}

.quote blockquote:before {
    content: "\201C";
    left: -30px;
    top: -20px;
}

.quote blockquote:after {
    content: "\201D";
    right: 10px;
    bottom: -80px;
}

/* Articles and Case Studies shared styles */
.articles,
.case-studies {
    padding: 20px;
}

.articles {
    background-color: #8fbbc3;
}

.case-studies {
    background-color: #e4d6b6;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.article,
.case-study {
    padding: 10px;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-title {
    transition: color 0.3s ease;
}

.thumbnail-container {
    width: 100%;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.article img,
.case-study img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article:hover .thumbnail-container img,
.case-study:hover .thumbnail-container img {
    transform: scale(1.1);
}

.article:hover .article-title,
.case-study:hover .article-title {
    color: #fff;
}

.article-quote {
	font-weight: bold;
	font-style: italic;
    padding-left: 20px;
    border-left: 2px solid #2c3e50;
}

/* About section */
.about {
    padding: 40px;
    background-color: #fafafa;
}

.about-img {
    border-radius: 50%;
    width: 300px;
    height: auto;
    float: right;
    margin-left: 20px;
}

.about a:hover {
    color: #53a3b6;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #5d6d7e;
    color: #ecf0f1;    
}

footer a{
    text-decoration: underline;
}

/* Article content */
.article-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.article-content h1 {
    font-size: 2.5em;
}

.article-content a {
    text-decoration: underline;
    color: #4c6988;
}

.article-content a:hover {
    text-decoration: none;
}

.article-img {
    float: right;
    margin: 10px 20px;
    border-radius: 50%;
    width: 200px;
    height: auto;
    display: inline;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 40px;
}

.article-navigation a {
    font-weight: bold;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.article-navigation a:hover {
    background-color: #e0e0e0;
}

/* Media query for mobile devices */
@media screen and (max-width: 900px) {
    header {
        flex-flow: wrap;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-logo {
        display: block;
        margin: 0 auto;
        padding-bottom: 10px;
        height: 100px;
        width: 100px;
    }

    h1,h2.home {
        text-align:center;
    }
  
    .list-header {
        text-align: left;
    }

    .title-secondary {
        display: block;
    }

    nav ul {
        gap: 10px;
        width: 100%;
        padding-left: 0;
        margin: 0 auto;
    }

    nav a {
        padding: 10px 0;
        width: 100%;
        text-align: left;
    }

    .articles {
        padding: 10px;
    }

    .hero img {
        content: url('../images/hero-image-mobile.jpg');
        margin-bottom: 0px;
    }

    .about {
        padding: 20px;
    }

    .about-img,
    .article-img {
        float: none;
        display: block;
		margin: 0 auto; 
		margin-bottom: 20px;
    }

    .about-img {
        width: 250px;
    }

    .quote blockquote {
        font-size: 1em;
        padding-left: 30px;
    }

    .quote blockquote:after {
        right: -30px;
        bottom: -60px;
    }
}
