:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --background-yellow: #ffe66d;
    --accent-orange: #ff4500;
    --accent-yellow: #ffb700;
    --hero-red: #e63946;
    --hero-blue: #1d4ed8;
    --font-primary: "Poppins", sans-serif;
    --border-width: 0.1875rem;
    --shadow-offset: 0.25rem;
    font-size: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--accent-yellow);
    color: var(--primary-color);
}

body {
    font-family: var(--font-primary);
    background: var(--background-yellow);
    border: var(--border-width) solid var(--primary-color);
}

/*NAVBAR*/
.navbar {
    width: 100%;
    margin-top: 0.9375rem;
    /* بتساوي 15 بكسل بس هنحاول هنا استخدم 
    rem / em 
    كتدريب علي اللي اخدناه 
    */
}

.inner-nav {
    width: 80%;
    max-width: 75rem;
    margin: 0 auto;
    background: var(--secondary-color);
    border: var(--border-width) solid var(--primary-color);
    box-shadow: var(--border-width) var(--border-width) 0 var(--primary-color);
    padding: 0.75rem 1.25rem;
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    border-radius: 1.25rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-yellow);
    margin-right: 0.3125rem;
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin-left: 4.375rem;
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 0.625rem;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.3125rem 0.625rem;
    border: 0.125rem solid transparent;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--accent-orange);
}

.star-sep {
    color: var(--accent-yellow);
    font-size: 0.8125rem;
}

.subscribe-btn {
    background: var(--accent-yellow);
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1.125rem;
    border-radius: 1.5625rem;
    font-weight: bold;
    border: 0.125rem solid var(--primary-color);
    transition: 0.25s ease;
}

.subscribe-btn:hover {
    background: var(--accent-orange);
    color: var(--secondary-color);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-color);
    transform: translate(0.25rem);
}

@media (max-width: 80em) {

    .nav-links {
        display: none;
    }

    .inner-nav {
        width: 85%;
        padding: 1.5625rem;
        border-radius: 1.125rem;
        justify-content: space-between;
    }
}

/*HERO SECTION*/
.hero {
    padding: 11.25rem 12.5rem 3.75rem 12.5rem;
    min-height: 70vh;
    margin-top: 7.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    width: 45%;
    flex-shrink: 0;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.0625rem;
    padding: 0.375rem 0.75rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-color);
    margin-bottom: 0.9375rem;
}

.hero-text h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin: 1.25rem 0;
    text-shadow: 0.1875rem 0.1875rem 0 var(--primary-color);
}

.hero-text .black {
    color: var(--primary-color);
}

.hero-text .red {
    color: var(--hero-red);
}

.hero-text .blue {
    color: var(--hero-blue);
}

.hero-text p {
    font-weight: 500;
    color: #111;
    line-height: 1.6;
    margin-bottom: 1.875rem;
    max-width: 90%;
    background-color: var(--secondary-color);
    border: 0.125rem var(--primary-color) solid;
    padding: 0.3125rem;
    box-shadow: 0.1875rem 0.1875rem 0 var(--primary-color);
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 900;
    padding: 0.625rem 1.125rem;
    margin-right: 0.625rem;
    border-radius: 0.25rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-color);
    transition: 0.3s;
}

.btn.read {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn.watch {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 0.125rem solid var(--primary-color);
}

.btn:hover {
    transform: translate(0.1875rem, 0.1875rem);
    box-shadow: 0px 0px 0 var(--primary-color);
}

.hero-image {
    width: 45%;
    position: relative;
    text-align: right;
    flex-shrink: 0;
}

.shape {
    position: absolute;
    z-index: 1;
}

.shape1 {
    width: 10rem;
    height: 10rem;
    background: var(--accent-orange);
    top: -2.5rem;
    left: 3.125rem;
    transform: rotate(15deg);
    box-shadow: 0.375rem 0.375rem 0 var(--primary-color);
}

.shape2 {
    width: 11.25rem;
    height: 11.25rem;
    background: var(--hero-blue);
    top: 3.75rem;
    right: -1.875rem;
    transform: rotate(-20deg);
    box-shadow: 0.375rem 0.375rem 0 var(--primary-color);
}

.shape3 {
    width: 8.75rem;
    height: 8.75rem;
    background: #ffd700;
    bottom: -1.875rem;
    left: 13.75rem;
    transform: rotate(35deg);
    box-shadow: 0.375rem 0.375rem 0 var(--primary-color);
}

.hero-image img {
    width: 90%;
    border: 0.3125rem solid var(--primary-color);
    box-shadow: 0.375rem 0.375rem 0 var(--primary-color);
    position: relative;
    z-index: 3;
    background: var(--secondary-color);
    transform: rotate(6deg);
    transition: all 0.35s ease;
}

.featured {
    position: absolute;
    top: 1.375rem;
    right: -3.4375rem;
    background: #ff0000;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 0.375rem 0.9375rem;
    box-shadow: 0.1875rem 0.1875rem 0 var(--primary-color);
    z-index: 5;
    transform: rotate(25deg);
    font-size: 0.9375rem;
    transition: all 0.35s ease;
}

.hero-image:hover img {
    transform: rotate(6deg) scale(1.05);
    box-shadow: 0.625rem 0.625rem 0 var(--primary-color);
}

.hero-image:hover .featured {
    transform: rotate(6deg) translateY(-0.3125rem);
    background: var(--accent-orange);
}

@media (max-width: 96em) {
    .hero {
        padding: 7.5rem 7.5rem 3.75rem 7.5rem;
    }

    .hero-text {
        width: 45%;
    }

    .hero-image img {
        width: 30rem;
    }

    .featured {
        top: 0.625rem;
        left: 90%;
        font-size: 0.875rem;
        max-width: 9.375rem;
        white-space: nowrap;
        right: auto;
    }
}

@media (max-width: 80em) {
    .hero {
        padding: 5.625rem 5.625rem 3.75rem 5.625rem;
    }

    .hero-text {
        width: 55%;
        margin-top: 1.875rem;
    }

    .hero-image {
        width: 40%;
        margin-top: 5rem;
    }

    .hero-image img {
        width: 23.75rem;
    }

    .featured {
        top: 0.4375rem;
        left: 90%;
        font-size: 0.8125rem;
        max-width: 8.75rem;
    }

    .shape2 {
        display: none;
    }
}

@media (max-width: 64em) {
    .hero {
        padding: 6.25rem 2.5rem 3.75rem 2.5rem;
        height: auto;
        flex-direction: column;
    }

    .hero-text {
        width: 100%;
        margin-bottom: 1.875rem;
        white-space: nowrap;
    }

    .hero-text h1 {
        font-size: 2.75rem;
        white-space: nowrap;
    }

    .hero-image {
        width: 100%;
        text-align: center;
        margin-top: 3.125rem;
    }

    .hero-image img {
        width: 23.75rem;
        max-width: 90%;
    }

    .featured {
        top: 0.3125rem;
        left: 65%;
        font-size: 0.8125rem;
        max-width: 7.5rem;
        right: auto;
    }

    .shape {
        display: none;
    }
}

@media (min-width: 40em) and (max-width: 48em) {

    .hero {
        padding: 4.375rem;
    }

    .hero-image img {
        width: 20rem;
    }

    .featured {
        font-size: 0.75rem;
        max-width: 6.25rem;
    }

    .badge {
        display: inline-block;
        width: auto;
        text-align: center;
        margin-top: 0;
    }
}

@media (max-width: 39.9375em) {

    .hero {
        padding: 4.375rem 1.875rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-image img {
        width: 15.625rem;
        max-width: 95%;
    }

    .featured {
        top: 0.1875rem;
        left: 60%;
        font-size: 0.6875rem;
        max-width: 5.625rem;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.625rem;
        padding: 0.625rem 0.9375rem;
    }

    .badge {
        width: auto;
        text-align: center;
        margin-top: 0;
    }
}

/*LATEST ARTICLES*/
.articles {
    padding: 7.5rem 0;
    margin-top: 6.25rem;
    background-color: var(--secondary-color);
    border-bottom: var(--shadow-offset) solid var(--primary-color);
    border-top: var(--shadow-offset) solid var(--primary-color);
}

.articles .container {
    width: 90%;
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2%;
}

.articles .left-side {
    width: 68%;
    position: relative;
    flex-grow: 1;
}

.articles .left-side h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
    margin: 1.25rem;
}

.articles .left-side .bd {
    display: inline-block;
    line-height: 1.5;
    font-size: 0.875rem;
    padding: 0.3125rem 0.625rem;
    position: absolute;
    right: 0%;
    top: 1.875rem;
    transform: rotate(5deg);
}

.articles .card {
    border: 0.0625rem solid #e0e0e0;
    margin-bottom: 1.5625rem;
    padding: 0.9375rem;
    box-shadow: 0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.05);
    background-color: var(--secondary-color);
    border-radius: 0.25rem;
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.articles .card:hover {
    box-shadow: 0 0.625rem 0.9375rem -0.1875rem rgba(0, 0, 0, 0.3), 0 0.4375rem 0.4375rem -0.125rem rgba(0, 0, 0, 0.5);
}

.articles .card .tamplete-img {
    width: 35%;
    margin-right: 1.25rem;
    position: relative;
    flex-shrink: 0;
}

.articles .card .tamplete-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
}

.articles .card .tamplete-img .badge {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
    z-index: 6;
    background-color: var(--primary-color);
}

.articles .card .tamplete-img .badge.red {
    background-color: #e10909;
    transform: rotate(9deg);
}

.articles .card .tamplete-img .badge.blua {
    background-color: #007bff;
    transform: rotate(-9deg);
}

.articles .card .tamplete-img .badge.mauve {
    background-color: #9933cc;
    transform: rotate(9deg);
}

.articles .card-content {
    width: 60%;
    flex-grow: 1;
}

.articles .card-content .badge {
    display: inline-block;
    width: auto;
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.625rem;
    color: var(--primary-color);
    border-radius: 0.25rem;
    transform: rotate(-3deg);
}

.articles .card-content .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 0.625rem 0;
    color: #333;
    transition: color 0.3s ease;
}

.articles .card:hover .card-title {
    color: #e70303;
}

.articles .card-content .card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.9375rem;
}

.articles .card-content .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.articles .card-content .bottom span {
    display: inline-block;
    font-size: 0.75rem;
    color: #120707;
    margin-right: 0.9375rem;
}

.articles .card-content .bottom i {
    margin-right: 0.3125rem;
}

.articles .load-more {
    display: block;
    width: 50%;
    max-width: 25rem;
    margin: 1.875rem auto 0 auto;
    padding: 0.75rem 1.25rem;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    border: 0.0625rem solid var(--primary-color);
}

.articles .load-more:hover {
    background-color: #706f6f;
}

/* Right Side */
.articles .right-side {
    width: 30%;
    min-height: 59.375rem;
    flex-shrink: 0;
}

.articles .right-side .sticky {
    background-color: #f7f7f7;
    padding: 1.25rem;
    border: var(--border-width) solid var(--primary-color);
    border-radius: 0.25rem;
    position: sticky;
    top: 8.125rem;
    box-shadow: 0.625rem 0.9375rem 0.1875rem rgba(0, 0, 0, 0.5);
}

.articles .trending {
    border: var(--primary-color) var(--border-width) solid;
    padding: 0.625rem;
    margin-bottom: 1.25rem;
}

.articles .trending h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.9375rem;
    padding-bottom: 0.625rem;
    border-bottom: 0.0625rem solid #e0e0e0;
}

.articles .trending ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles .trending li {
    font-size: 0.875rem;
    margin-bottom: 0.9375rem;
    padding: 0.625rem;
    background-color: var(--secondary-color);
    border-radius: 0 0.25rem 0.25rem 0;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s;
}

.articles .trending li:hover {
    background-color: #efd2d2;
}

.articles .trending li:hover {
    color: var(--primary-color);
}

.articles .trending ul .num {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 0.625rem;
}

.articles .trending ul .num1 {
    color: red;
}

.articles .trending ul .num2 {
    color: rgb(73, 73, 232);
}

.articles .trending ul .num3 {
    color: mediumslateblue;
}

.articles .trending li ul {
    font-size: 0.75rem;
    font-weight: normal;
    padding: 0.3125rem 0 0 2.5rem;
    color: #999;
}

.articles .trending li ul li {
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-size: 1em;
}

.articles .categories {
    margin-top: 1.875rem;
    border: var(--primary-color) var(--border-width) solid;
    padding: 0.625rem;
}

.articles .categories h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.9375rem;
    padding-bottom: 0.625rem;
    border-bottom: 0.0625rem solid #e0e0e0;
}

.articles .categories .cat {
    display: block;
    padding: 0.625rem 0.9375rem;
    margin-bottom: 0.625rem;
    text-align: left;
    font-weight: bold;
    color: var(--primary-color);
    border: 0.0625rem solid var(--primary-color);
    border-radius: 0.25rem;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
    text-decoration: none;
}

.articles .categories .cat:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.2);
}

.articles .card-content .badge.red {
    background-color: #e10909;
    color: var(--secondary-color);
    border-color: #e10909;
}

.articles .card-content .badge.yellow {
    background-color: #ffc107;
    color: var(--primary-color);
    border-color: #ffc107;
}

.articles .card-content .badge.pink {
    background-color: #ff99cc;
    color: var(--primary-color);
    border-color: #ff99cc;
}

.articles .card-content .badge.mauve {
    background-color: #9933cc;
    color: var(--secondary-color);
    border-color: #9933cc;
}

.articles .categories .red {
    background-color: #e10909;
    color: var(--secondary-color);
    border-color: #e10909;
}

.articles .categories .yellow {
    background-color: #ffc107;
    color: var(--primary-color);
    border-color: #ffc107;
}

.articles .card-content .green,
.articles .categories .mint {
    background-color: #28a745;
    color: var(--secondary-color);
    border-color: #28a745;
}

.articles .categories .mint {
    background-color: #b3e6b3;
    color: var(--primary-color);
    border-color: #b3e6b3;
}

.articles .categories .pink {
    background-color: #ff99cc;
    color: var(--primary-color);
    border-color: #ff99cc;
}

.articles .categories .gray {
    background-color: #dcdcdc;
    color: var(--primary-color);
    border-color: #dcdcdc;
}

@media (max-width: 64em) {
    .articles {
        padding: 7.5rem 1.25rem;
    }

    .articles .container {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .articles .left-side,
    .articles .right-side {
        width: 100%;
        margin-bottom: 1.875rem;
        min-height: auto;
    }

    .articles .right-side .sticky {
        position: static;
        top: auto;
    }

    .articles .left-side h2 {
        display: block;
        width: auto;
        margin: 0 auto 0.625rem auto;
        text-align: center;
    }

    .articles .left-side .bd {
        position: static;
        transform: rotate(0deg);
        display: inline-block;
        margin: 0 auto 1.875rem auto;
    }

    .articles .card {
        flex-direction: column;
    }

    .articles .card .tamplete-img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.9375rem;
    }

    .articles .card-content {
        width: 100%;
    }

    .articles .card-content .bottom span {
        width: auto;
        margin-bottom: 0.3125rem;
    }

    .articles .load-more {
        width: 70%;
    }
}

@media (max-width: 48.75em) {
    .articles .left-side h2 {
        font-size: 1.75rem;
    }

    .articles .card-content .bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles .card-content .bottom span {
        width: 100%;
        margin-right: 0;
    }
}

/*authors section*/
.authors {
    padding: 7.5rem 0;
    background-color: var(--background-yellow);
    text-align: center;
}

.authors h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.3125rem;
    color: var(--primary-color);
}

.authors span {
    color: #666;
    font-size: 1rem;
    display: block;
    margin-bottom: 1.25rem;
}

.authors span::after {
    content: "";
    display: block;
    width: 3.75rem;
    height: 0.25rem;
    background-color: var(--primary-color);
    margin: 0.625rem auto 1.25rem auto;
}

.authors-cards {
    width: 90%;
    max-width: 75rem;
    margin: 1.25rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1.66%;
}

.author-card-founder,
.author-card-lead,
.author-card_viral {
    width: 32.22%;
    background: #f7f7f7;
    border: var(--border-width) solid var(--primary-color);
    box-shadow: 0.375rem 0.375rem 0 var(--primary-color);
    border-radius: 0.375rem;
    padding: 1.5625rem;
    position: relative;
    z-index: 2;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-card-founder::before,
.author-card-lead::before,
.author-card_viral::before,
.author-card-founder::after,
.author-card-lead::after,
.author-card_viral::after {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    background-color: burlywood;
    z-index: 1;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.author-card-founder::before,
.author-card-lead::before,
.author-card_viral::before {
    top: -0.75rem;
    left: -0.75rem;
    transform: rotate(45deg);
}

.author-card-founder::after,
.author-card-lead::after,
.author-card_viral::after {
    bottom: -0.75rem;
    right: -0.75rem;
    transform: rotate(45deg);
}

.author-card-founder:hover::before,
.author-card-lead:hover::before,
.author-card_viral:hover::before {
    transform: rotate(0deg);
    opacity: 0.9;
}

.author-card-founder:hover::after,
.author-card-lead:hover::after,
.author-card_viral:hover::after {
    transform: rotate(90deg);
    opacity: 0.9;
}

.author-card-founder:hover,
.author-card-lead:hover,
.author-card_viral:hover {
    transform: translate(-0.1875rem, -0.1875rem);
    box-shadow: 0.5625rem 0.5625rem 0 var(--primary-color);
}

.authors-cards img {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    border: var(--border-width) solid var(--primary-color);
    margin-bottom: 0.9375rem;
    box-shadow: 0.1875rem 0.1875rem 0 var(--primary-color);
}

.authors-cards h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0.625rem 0 0.3125rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.authors-cards h3:hover {
    color: #ee081b;
}

.role {
    color: #777;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}

.bio {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.tag {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    font-size: 0.75rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.1875rem;
    border: 0.125rem solid var(--primary-color);
    box-shadow: 0.1875rem 0.1875rem 0 var(--primary-color);
    transform: rotate(5deg);
    z-index: 5;
    color: var(--secondary-color);
    font-weight: bold;
}

.author-card-founder .tag {
    background: var(--hero-red);
}

.author-card-lead .tag {
    background: var(--hero-blue);
}

.author-card_viral .tag {
    background: #9933cc;
}

.social-links {
    margin-top: 0.9375rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.3125rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 50%;
    transition: 0.3s, transform 0.3s;
}

.social-links a:hover {
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-color);
    transform: translate(-0.25rem, -0.25rem);
}

.social-links a:hover .fa-twitter {
    color: var(--hero-blue);
}

.social-links a:hover .fa-linkedin {
    color: #073cce;
}

.social-links a:hover .fa-instagram {
    color: #f80317;
}

@media screen and (max-width: 80em) {
    .authors-cards {
        width: 95%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2%;
    }

    .author-card-founder,
    .author-card-lead {
        width: 49%;
        margin-bottom: 1.5625rem;
    }

    .author-card_viral {
        width: 98%;
    }
}

@media screen and (max-width: 64em) {
    .authors-cards {
        padding: 0 1.25rem;
        flex-direction: column;
        gap: 1.5625rem;
    }

    .author-card-founder,
    .author-card-lead,
    .author-card_viral {
        width: 100%;
        margin-bottom: 0;
    }
}

/*community section*/
.community {
    padding: 7.5rem 3.125rem;
    margin-top: 6.25rem;
    background-color: #f7f7f7;
    border-top: var(--shadow-offset) solid var(--primary-color);
    border-bottom: var(--shadow-offset) solid var(--primary-color);
}

.community .container {
    width: 80%;
    max-width: 75rem;
    margin: 0 auto;
}

.community .header-content {
    text-align: center;
    margin-bottom: 3.75rem;
}

.community .header-content::after {
    content: "";
    display: block;
    width: 3.75rem;
    height: 0.25rem;
    background-color: var(--primary-color);
    margin: 0.625rem auto 1.25rem auto;
}

.community .join-header {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0.125rem 0.125rem 0 var(--primary-color);
    margin: 0 0 0.625rem 0;
}

.community .join-subheader {
    font-size: 1.125rem;
    color: #555;
    margin: 0;
    font-weight: 500;
}

.community .join-content {
    display: flex;
    justify-content: space-between;
}

.community .left-col {
    width: 50%;
    padding-right: 2.5rem;
}

.community .right-col {
    width: 50%;
    padding: 1.25rem;
    border: var(--border-width) solid var(--primary-color);
}

.community .left-col h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    color: var(--primary-color);
    text-shadow: 0.0625rem 0.0625rem 0 var(--primary-color);
}

.community .right-col h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 1.875rem 0;
}

.community .intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.875rem;
    border: var(--primary-color) 0.0625rem solid;
    padding: 0.625rem;
    background-color: var(--secondary-color);
}

.community .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.community .features-list li {
    font-size: 1.125rem;
    margin-bottom: 0.9375rem;
    font-weight: 600;
    color: #111;
}

.community .features-list i {
    font-size: 1.375rem;
    margin-right: 0.9375rem;
    width: 1.25rem;
    text-align: center;
}

.btn.join-now {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.community .testimonial-card {
    background: var(--secondary-color);
    border: var(--border-width) solid var(--primary-color);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-color);
    padding: 1.25rem;
    margin-bottom: 1.5625rem;
    transition: all 0.3s ease;
}

.community .testimonial-card:hover {
    box-shadow: 0.5rem 0.5rem 0 var(--accent-yellow);
    transform: translate(-0.25rem, -0.25rem);
}

.community .quote {
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.5;
    margin: 0 0 0.9375rem 0;
}

.community .author {
    display: flex;
    align-items: center;
}

.community .author img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 0.125rem solid var(--primary-color);
    margin-right: 0.9375rem;
    flex-shrink: 0;
}

.community .author-info {
    padding-top: 0.125rem;
}

.community .author-info .name {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9375rem;
}

.community .author-info .title {
    display: block;
    font-size: 0.8125rem;
    color: #666;
}

@media (max-width: 62em) {
    .community .join-content {
        flex-direction: column;
    }

    .community .left-col,
    .community .right-col {
        width: 100%;
        padding: 0;
    }

    .community .left-col {
        margin-bottom: 2.5rem;
    }

    .community .right-col {
        padding-top: 2.5rem;
        border: none;
        border-top: var(--border-width) solid var(--primary-color);
    }

    .btn.join-now {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/*footer section*/
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-top: var(--shadow-offset) solid var(--primary-color);
}

.footer .container {
    width: 60%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 3.75rem 0;
}

.footer .main-footer .container {
    padding-bottom: 1.875rem;
    border-bottom: 0.0625rem solid #333;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col.col-1 {
    width: 35%;
    padding-right: 2.5rem;
}

.footer-col .logo {
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.footer-col .logo i {
    color: var(--primary-color);
    background: var(--secondary-color);
    padding: 0.3125rem;
    margin-right: 0.625rem;
}

.footer-col .logo span {
    color: var(--accent-orange);
}

.footer-col .about-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #aaa;
    margin-top: 0;
}

.footer-col.col-2 {
    width: 20%;
    padding: 0 1.25rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
}

.categories-list {
    list-style: none;
    padding: 0;
}

.categories-list li a {
    text-decoration: none;
    color: #aaa;
    font-size: 0.9375rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.categories-list li a:hover {
    color: var(--accent-yellow);
}

.footer-col.col-3 {
    width: 45%;
    padding-left: 2.5rem;
}

.footer-col .newsletter-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #aaa;
    margin-bottom: 1.25rem;
}

.footer-col form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 0.625rem;
    border: 0.125rem solid var(--secondary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 0.9375rem;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0.3125rem var(--accent-yellow);
}

.subscribe-btn-footer {
    width: 100%;
    padding: 0.625rem;
    background: var(--accent-yellow);
    color: var(--primary-color);
    border: 0.125rem solid var(--accent-yellow);
    font-weight: 800;
    transition: all 0.2s ease;
}

.subscribe-btn-footer:hover {
    background: #a77a00;
    border-color: #a77a00;
    transform: translate(0.25rem);
    box-shadow: 0 0.125rem 0 #c69100;
}

.sub-footer .container {
    padding: 0.9375rem 0 1.25rem 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-footer .copyright {
    font-size: 0.8125rem;
    color: #aaa;
    margin: 0.3125rem 0;
}

.sub-footer .legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.sub-footer .legal-links li {
    margin-left: 1.25rem;
}

.sub-footer .legal-links li a {
    text-decoration: none;
    color: #aaa;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.sub-footer .legal-links li a:hover {
    color: #e0b444;
}

@media (max-width: 81.25em) {
    .sub-footer .container {
        flex-direction: column;
    }

    .sub-footer .copyright {
        width: 100%;
        text-align: center;
        margin-bottom: 0.625rem;
    }

    .sub-footer .legal-links {
        width: 100%;
        justify-content: center;
    }

    .sub-footer .legal-links li {
        margin: 0 0.625rem;
    }
}

@media (max-width: 64em) {
    .footer .main-footer .container {
        flex-wrap: wrap;
        gap: 2.5rem 0;
    }

    .footer-col.col-1 {
        width: 100%;
        padding-right: 0;
    }

    .footer-col.col-2 {
        width: 35%;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-col.col-3 {
        width: 60%;
        padding-left: 0;
    }
}

@media (max-width: 48em) {
    .footer .main-footer .container {
        flex-direction: column;
    }

    .footer-col.col-2,
    .footer-col.col-3 {
        width: 100%;
        padding: 0;
        margin: 0 0 1.875rem 0;
    }

    .footer-col.col-3 {
        margin-bottom: 0;
    }
}

@media (max-width: 30em) {
    .sub-footer .legal-links {
        flex-direction: column;
    }

    .sub-footer .legal-links li {
        margin: 0.3125rem 0;
    }
}

/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/