/*
    Google Fonts Used in Project
*/
@import url("https://fonts.googleapis.com/css2?family=Bad+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*
    Defaults & Variables
*/
:root {
    /* Default Font Properties */
    --font-size: 1.5rem;
    --fnt-default: "Poppins";
    /* --fnt-default: "Bad Script", cursive; */
    --fnt-secondary: "Trebuchet MS", sans-serif;

    /* Color Properties */
    --clr-white: #ffffff;
    --clr-black: #000000;
    --clr-orange: #f39e3a;
    --clr-orange-transparent: #f39e3a99;
    --clr-blue-dark: #021b79;
    --clr-blue-medium: #2141b5;
    --clr-blue-light: #0575e6;
    --clr-blue-light-transparent: #0576e6b4;
    --clr-shadow: #00000026;


    /* Semantic Color Variables */
    --clr-primary-text: var(--clr-white);
    --clr-logo-primary: var(--clr-orange);
    --clr-logo-secondary: var(--clr-black);
    --clr-gradient-dark: var(--clr-blue-dark);
    --clr-gradient-med: var(--clr-blue-medium);
    --clr-gradient-light: var(--clr-blue-light);

    /* Logo Properties */
    --fnt-logo: "Kalam", cursive;
}


/*
    Reset
*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*
    Skip Navigation Link
*/
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--clr-blue-dark);
    color: var(--clr-white);
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    font-weight: bold;
    font-size: 0.9rem;
    transition: top 0.3s ease;

    &:focus {
        top: 6px;
        outline: 2px solid var(--clr-logo-primary);
        outline-offset: 2px;
    }
}


/* 
    Body Styles 
*/
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--clr-primary-text);
    font-family: var(--fnt-default);
    font-size: 1rem;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;

    &.loaded {
        opacity: 1;
    }
}

a {
    color: var(--clr-logo-primary);
}

h1 {
    font-size: clamp(.85rem, 1.25vw + .25rem, 4rem);

    .highlight {
        font-size: clamp(1rem, 3.5vw, 6rem);
    }
}

/*
    Styles for global pages
*/
.div-line {
    --side-open-space: 0rem;
    --divider-height: 6px;
    width: calc(100% - calc(var(--side-open-space) * 2));
    height: var(--divider-height);
    border-radius: 2rem;
    background-color: #f0f0f0;
    margin: 0 var(--side-open-space);
}

.highlight {
    font-family: var(--fnt-logo);
    font-size: clamp(1.2rem, 1.25vw + 1rem, 3rem);
    line-height: 1.6rem;
    color: var(--clr-logo-primary);
    -webkit-text-stroke: .5px var(--clr-logo-secondary);
}

.cta-button {
    margin-top: clamp(1rem, 4vw, 8rem);
    height: clamp(1.25rem, 4vw, 4rem);
    width: clamp(5rem, 15vw, 18rem);
    border-radius: clamp(1rem, 2vw, 2rem);
    background-color: var(--clr-blue-light);
    cursor: pointer;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    p {
        display: flex;
        height: 100%;
        justify-content: center;
        align-items: center;
        font-family: var(--fnt-secondary);
        font-size: clamp(.6rem, 1.5vw, 1.5rem);
        color: yellow;
        -webkit-text-stroke: 0;
        margin: 0;
        pointer-events: none;
    }

    &:focus,
    &:hover {
        outline: 2px solid var(--clr-logo-primary);
        outline-offset: 2px;
        color: var(--clr-logo-primary);
        transform: scale(1.2);
    }

    &:focus-visible {
        outline: 2px solid var(--clr-logo-primary);
        outline-offset: 2px;
    }

    &:active {
        transform: scale(1.1);
    }

    &:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;

        &:hover,
        &:focus {
            transform: none !important;
        }
    }
}

/* 
    Styles for navbar Section 
*/
.navbar {
    position: fixed;
    top: 0;
    height: 6rem;
    width: 100%;
    margin: 2.5rem;
    background-color: var(--clr-gradient-med);
    z-index: 100;
    transition: all 0.75s;

    &.scrolled {
        margin: 0;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;

        a:nth-child(1) {
            margin-right: 2rem;
        }

        a:nth-child(2) {
            margin-right: 3rem;
        }

        .logo {
            height: 15rem;
            width: 15rem;
            transition: all .75s;

            .navbar.scrolled & {
                height: 8rem;
                width: 8rem;
            }

        }

        a:nth-child(4) {
            margin-left: 2rem;
        }

        a:nth-child(5) {
            margin-left: 2rem;
        }

        a:nth-child(6) {
            margin-left: 2rem;
        }

        .nav-link {
            color: var(--clr-primary-text);
            font-size: 1.5rem;
            font-family: var(--fnt-secondary);
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            padding: 0.5rem 0;
            letter-spacing: 1px;
            position: relative;
            white-space: nowrap;

            &:focus,
            &:hover {
                outline: 2px solid var(--clr-logo-primary);
                outline-offset: 2px;
                border-radius: 20px;
                color: var(--clr-logo-primary);
                transform: scale(1.1);
            }

            &.active {
                border-bottom: 2px solid var(--clr-logo-primary);
            }
        }
    }

    .hamburger-menu {
        display: none;
        position: absolute;
        top: 1.5rem;
        right: 2rem;
        z-index: 200;
        cursor: pointer;

        .hamburger-icon {
            width: 30px;
            height: 24px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            span {
                display: block;
                height: 4px;
                width: 100%;
                background-color: var(--clr-white);
                border-radius: 2px;
                transition: all 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
            }

            &.active {
                span:nth-child(1) {
                    transform: rotate(45deg) translate(5px, 5px);
                }

                span:nth-child(2) {
                    opacity: 0;
                    transform: scale(0);
                }

                span:nth-child(3) {
                    transform: rotate(-45deg) translate(5px, -5px);
                }
            }
        }


        @media (max-width: 950px) {
            display: block;
        }
    }

    @media (max-width: 950px) {
        margin: 0;
        height: 4rem;

        .nav-container {
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            position: fixed;
            top: 0;
            left: -120%;
            width: 100%;
            height: 100vh;
            background-color: var(--clr-gradient-med);
            padding-top: 5rem;
            transition: left 0.3s ease opacity 0.3s ease;
            opacity: 0;
            pointer-events: none;

            &.active {
                left: 0;
                opacity: 1;
                pointer-events: all;
            }

            a {
                margin: 1rem 0 !important;
            }

            .logo {
                height: 10rem;
                width: 10rem;
                margin: 1rem 0;
            }
        }
    }
}

/* 
    Styles for Footer Section
 */
.CTA-Footer {
    background: linear-gradient(135deg, var(--clr-blue-light), var(--clr-blue-medium));
    color: white;
    padding: 3rem 2rem;
    margin-top: 2rem;

    .contact-container {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    h3 {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 1rem;
        color: white;
    }

    p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        opacity: 0.9;
    }

    .contact-methods {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);

        &:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }
    }

    .contact-icon {
        font-size: 2rem;
        min-width: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;

        strong {
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
            color: white;
        }
    }

    .contact-link {
        text-decoration: none;
        color: inherit;

        &:hover {
            text-decoration: none;
        }
    }

    .contact-text {
        color: var(--clr-logo-primary);
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .contact-item:hover .contact-text {
        color: white;
    }

    .contact-close {
        cursor: pointer;

        .contact-text {
            color: var(--clr-logo-primary);
            font-weight: 500;
            transition: color 0.3s ease;
        }

        &:hover .contact-text {
            color: white;
        }
    }

    @media (max-width: 768px) {
        padding: 2rem 1rem;

        .contact-methods {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .contact-item {
            flex-direction: column;
            text-align: center;
            padding: 1rem;
        }

        .contact-info {
            align-items: center;
            text-align: center;
        }
    }
}

.footer {
    position: relative;
    width: 100%;
    padding: 2rem 3rem;
    background-color: var(--clr-gradient-med);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    font-family: var(--fnt-secondary);
    color: var(--clr-primary-text);

    .box {
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 1.5rem;
        justify-content: center;

        a:focus,
        a:hover {
            outline: 2px solid var(--clr-logo-primary);
            outline-offset: 4px;
            border-radius: 4px;
            color: var(--clr-logo-primary);
        }

        @media (max-width: 900px) {
            grid-template-columns: repeat(2, auto);
        }

        @media (max-width: 500px) {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .lower p {
        margin: .5rem 0rem;
    }
}

/*
    Styles for hero Section
*/
.hero {
    position: relative;
    width: 100%;
    margin-top: 12rem;
    display: flex;
    overflow: hidden;

    .hero-img-wrapper {
        width: 100%;
        overflow: hidden;
        background-color: #f0f0f0;
    }

    .hero-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .hero-tag-container {
        position: absolute;
        top: 4rem;
        right: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: var(--fnt-default);
        font-size: clamp(.75rem, 3vw, 10rem);
        color: var(--clr-blue-medium);
        -webkit-text-stroke: 1px var(--clr-white);
        text-align: center;
        line-height: 1.1;
        z-index: 10;
        width: 60%;

        .logo {
            font-family: var(--fnt-logo);
            font-size: clamp(1.5rem, 6vw, 13rem);
            color: var(--clr-logo-primary);
            -webkit-text-stroke: 2px var(--clr-black);
            text-shadow: 3px 4px var(--clr-logo-secondary);
        }

        .tagline {
            width: 100%;
            font-weight: 600;
        }

        .narrow {
            -webkit-text-stroke: 1px var(--clr-white);
        }

        &.large {
            width: 75%;
        }

    }

    @media (max-width: 950px) {
        margin-top: 4rem;

        .hero-tag-container {
            .logo {
                -webkit-text-stroke: 1px var(--clr-black);
                text-shadow: 1px 1px black;
            }
        }
    }

}

/* 
    Styles for about-panel Section 
*/
.about-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;

    .carousel {
        flex: 1 1 50%;
        aspect-ratio: 16 / 9;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
        border-radius: 1rem;

        .slide {
            position: absolute;
            top: 0;
            left: 100%;
            width: 100%;
            height: 100%;
            transition: left 0.5s ease-in-out;

            &.active {
                left: 0;
            }
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .about {
        flex: 1 1 45%;
        color: var(--clr-black);
        font-size: clamp(.85rem, 1.25vw, 2.5rem);
        line-height: 1.6;
        padding: 1rem;

        p {
            margin-top: 2rem;
        }
    }

    @media (max-width: 950px) {
        display: block;
    }
}

/*
    Styles for howto-panel Section
*/
.howto-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    color: var(--clr-black);

    h1 {
        margin: 3rem 0 1rem 0;
    }

    .steps {
        display: flex;
        margin: 2rem;
        width: 75%;
        flex-direction: column;
        gap: 2rem;
    }

    .step {
        display: flex;
        width: auto;
        justify-content: left;

        img {
            opacity: 1;
            height: clamp(1rem, 10vw, 15rem);
        }

        .description {
            font-size: clamp(0.9rem, 1vw, 1.25rem);
            font-weight: 400;

            p {
                margin-bottom: .75rem;
            }
        }

        .contact-methods {
            list-style: none;
            padding: 1rem 0;
            margin: 0;

            li {
                margin: 0.5rem 0;
                display: flex;
                align-items: center;
            }

            i {
                margin-right: 0.5rem;
                color: var(--clr-logo-primary);
                font-size: clamp(1.2rem, 1.5vw, 2rem);
                vertical-align: middle;
            }

            a {
                color: var(--clr-black);
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s ease;
            }

        }

        li:focus,
        li:hover {
            text-decoration: none;
            transform: scale(1.1);
        }

        @media (max-width: 768px) {

            flex-direction: column;
            align-items: center;
            text-align: center;

            img {
                width: 50%;
                height: auto;
                max-height: 15rem;
                object-fit: cover;
                margin-bottom: 1rem;
            }
        }
    }
}

/* 
    Styles for Blog Page
*/
.blog-page {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
    padding: 4rem 2rem;
    color: var(--clr-black);
    max-width: 1200px;
    margin: 0 auto;

    .blog-preview {
        display: grid;
        align-items: center;
        width: 100%;
        max-width: 900px;
        gap: 2rem;
        padding: 2rem 0;
        border-bottom: 1px solid #ddd;

        &.left {
            grid-template-columns: 1fr 300px;

            .blog-text {
                grid-column: 1;
                grid-row: 1;
            }

            .blog-image {
                grid-column: 2;
                grid-row: 1;
            }
        }

        &.right {
            grid-template-columns: 300px 1fr;

            .blog-text {
                grid-column: 2;
                grid-row: 1;
            }

            .blog-image {
                grid-column: 1;
                grid-row: 1;
            }
        }

        @media (max-width: 768px) {
            grid-template-columns: 1fr;

            &.left,
            &.right {
                grid-template-columns: 1fr;

                .blog-text {
                    grid-column: 1;
                    grid-row: 2;
                }

                .blog-image {
                    grid-column: 1;
                    grid-row: 1;
                }
            }
        }
    }

    .blog-image {
        display: grid;
        place-items: center;

        img {
            width: 300px;
            height: auto;
            height: fit-content;
            border-radius: 0.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
    }

    .blog-text {
        display: grid;
        gap: 1rem;
        align-content: start;

        h2 {
            font-size: clamp(1.5rem, 2.5vw, 2.5rem);
            margin-bottom: 0.5rem;
            color: var(--clr-black);
        }

        .blog-meta {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 1rem;
        }

        .blog-summary {
            text-align: justify;
        }
    }

    .read-more-link {
        display: inline-block;
        background-color: var(--clr-blue-light);
        color: white;
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 2rem;
        text-decoration: none;
        justify-self: start;
        font-weight: 500;
        transition: all 0.3s ease;

        &:hover {
            background-color: var(--clr-blue-medium);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        &:focus {
            outline: 2px solid var(--clr-logo-primary);
            outline-offset: 2px;
        }
    }

    .read-more {
        background-color: var(--clr-blue-light);
        color: white;
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 2rem;
        cursor: pointer;
        justify-self: start;

        &:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 500;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;

        .modal-content {
            background: white;
            padding: 2rem;
            max-width: 800px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 1rem;
            position: relative;

            p {
                text-align: justify;
                margin-bottom: 15px;
            }
        }

        .close-button {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 1.5rem;
            cursor: pointer;
        }
    }
}

/*
    Styles for Call to Action Section
*/
.call-to-action {
    display: flex;
    flex-direction: column;
    margin: 3rem;
    align-items: center;
    color: black;

    h1 {
        font-size: clamp(1rem, 3vw, 7rem)
    }

    .cta-button {
        margin-top: 1rem;
    }

    .highlight {
        font-size: clamp(1rem, 5vw, 7rem);
    }
}

/* 
    Styles for Contact Page
*/
.contact-page {
    margin: 2rem 2rem;

    h1 {
        font-size: clamp(2rem, 2.5vw, 4rem);
        text-align: center;
        line-height: 1.1;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 3rem 0;

        .contact-info,
        .contact-action {
            font-size: 1.2rem;
            color: var(--clr-black);
        }

        .contact-info {
            margin-left: 5rem;

            h2 {
                margin-bottom: 1rem;
            }
        }

        .cta-button {
            display: inline-block;
            background-color: var(--clr-blue-light);
            color: yellow;
            font-family: var(--fnt-secondary);
            padding: 1rem 2rem;
            border-radius: 2rem;
            font-weight: bold;
            text-decoration: none;
            margin-top: 1rem;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            background-color: var(--clr-logo-primary);
            color: var(--clr-white);
        }

        @media (max-width: 800px) {
            grid-template-columns: 1fr;

            .contact-action {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
        }
    }
}

/*  
    Styles for Not Found Page 
*/
.not-found-page {
    padding: 4rem 2rem;
    color: var(--clr-black);

    h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

/*
    Error Handling & Notification Styles
*/
.error-message,
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 1002;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;

    @media (max-width: 768px) {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

.error-message {
    background-color: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.success-message {
    background-color: #f0fff4;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1003;
    color: var(--clr-white);

    p {
        margin-top: 1rem;
        font-size: 1.1rem;
        font-weight: 500;
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--clr-logo-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.fallback-options {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--clr-white);
    color: var(--clr-black);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1004;
    max-width: 400px;
    width: 90%;

    p {
        margin-bottom: 1rem;
        font-weight: 600;
        color: var(--clr-blue-dark);
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;

        li {
            margin: 0.5rem 0;
            padding: 0.5rem;
            background: #f8f9fa;
            border-radius: 4px;

            a {
                color: var(--clr-blue-light);
                text-decoration: none;
                font-weight: 500;

                &:hover,
                &:focus {
                    color: var(--clr-logo-primary);
                    text-decoration: underline;
                }
            }
        }
    }

    .close-fallback {
        background: var(--clr-blue-light);
        color: var(--clr-white);
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 500;
        width: 100%;

        &:hover,
        &:focus {
            background: var(--clr-logo-primary);
            outline: 2px solid var(--clr-logo-primary);
            outline-offset: 2px;
        }
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*
    Styles for Blog Post Page
*/
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    color: var(--clr-black);
    line-height: 1.7;

    .blog-post-header {
        text-align: center;
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #eee;

        h1 {
            font-size: clamp(1.8rem, 4vw, 3rem);
            margin-bottom: 1rem;
            color: var(--clr-black);
            line-height: 1.2;
        }
    }

    .blog-post-meta {
        display: flex;
        justify-content: center;
        gap: 2rem;
        font-size: 1rem;
        color: #666;
        flex-wrap: wrap;

        .author {
            font-weight: 600;
        }
    }

    .blog-post-body {
        font-size: 1.1rem;
        line-height: 1.8;

        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        h2 {
            font-size: 1.8rem;
            margin: 2.5rem 0 1rem 0;
            color: var(--clr-blue-medium);
            border-bottom: 2px solid var(--clr-logo-primary);
            padding-bottom: 0.5rem;
        }

        h3 {
            font-size: 1.4rem;
            margin: 2rem 0 1rem 0;
            color: var(--clr-blue-medium);
        }

        ul,
        ol {
            margin: 1.5rem 0;
            padding-left: 2rem;
        }

        li {
            margin-bottom: 0.5rem;
        }

        a {
            color: var(--clr-blue-light);
            text-decoration: underline;
            font-weight: 500;

            &:hover {
                color: var(--clr-logo-primary);
            }
        }

        blockquote {
            border-left: 4px solid var(--clr-logo-primary);
            padding-left: 1.5rem;
            margin: 2rem 0;
            font-style: italic;
            color: #555;
            background: #f9f9f9;
            padding: 1rem 1.5rem;
            border-radius: 0 4px 4px 0;
        }
    }

    .blog-post-footer {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid #eee;
    }

    .blog-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .btn-back {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: var(--clr-blue-light);
        color: white;
        border: none;
        border-radius: 4px;
        font-weight: 500;
        font-size: 1rem;
        font-family: inherit;
        cursor: pointer;
        transition: background-color 0.3s;

        &:hover {
            background: var(--clr-blue-medium);
        }

        &:focus {
            outline: 2px solid var(--clr-logo-primary);
            outline-offset: 2px;
        }
    }

    .social-share-section {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #eee;
        text-align: center;

        .share-buttons {
            justify-content: center;
        }
    }

    .share-buttons {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;

        span {
            font-weight: 600;
            color: #666;
        }
    }

    .share-btn {
        display: inline-block;
        padding: 0.5rem 1rem;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s;

        &.twitter {
            background: #1da1f2;
            color: white;
        }

        &.facebook {
            background: #4267b2;
            color: white;
        }

        &.email {
            background: #666;
            color: white;
        }

        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
    }

    @media (max-width: 768px) {
        padding: 2rem 1rem;

        .blog-post-meta {
            flex-direction: column;
            gap: 0.5rem;
        }

        .blog-navigation {
            flex-direction: column;
            text-align: center;
        }

        .share-buttons {
            justify-content: center;
        }
    }
}