body {
    font-family: 'Poppins', sans-serif;
    background-color: #d9d8c9;
    color: #2f2f2a;
}

.test-content-section,
#content {
    background: #d9d8c9;
    min-height: calc(100vh - 160px);
}

.gene-hero {
    background: #d9d8c9;
    padding: 48px 40px 80px;
}

.gene-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.gene-hero-header {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gene-hero-title {
    text-align: center;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    color: #4b4a3f;
    padding: 0 40px; /* makes divider naturally wider than the title */

    margin: 8px 0 28px;
    white-space: nowrap;
}

.gene-divider {
    width: 100%;
    border-top: 2px solid rgba(85, 82, 67, 0.35);
}

.gene-book-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.gene-book-image-column {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gene-book-image-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gene-book-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.gene-book-text-column {
    flex: 1 1 55%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.gene-book-details {
    width: 100%;
    max-width: 560px;
    padding-top: 0;
}

.gene-book-title {
    line-height: 1.45;
    font-weight: 500;
    color: rgb(47, 47, 42);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.gene-book-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f2f2a;
    margin-bottom: 24px;
}

.gene-book-description p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #3f3e35;
    margin-bottom: 18px;
}

.gene-book-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.gene-btn-outline,
.gene-btn-solid {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.gene-btn-outline {
    border: 1px solid #3c3c32;
    color: #3c3c32;
    background: transparent;
}

.gene-btn-outline:hover {
    background: rgba(60, 60, 50, 0.08);
    color: #3c3c32;
}

.gene-btn-solid {
    background: #1f1f1a;
    color: #ffffff;
    border: 1px solid #1f1f1a;
}

.gene-btn-solid:hover {
    background: #000000;
    color: #ffffff;
}

.footer-border {
    border-color: rgba(85, 82, 67, 0.25);
}

footer {
    background: #d9d8c9;
    color: #3f3e35;
}

@media (max-width: 1200px) {
    .gene-book-layout {
        gap: 60px;
    }

    .gene-book-details {
        max-width: 520px;
    }

    .gene-book-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 992px) {
    .gene-hero {
        padding: 40px 28px 70px;
    }

   .gene-hero-title {
        font-size: 1.65rem;
        white-space: normal;
    }

    .gene-book-layout {
        gap: 42px;
    }

    .gene-book-image {
        max-width: 300px;
    }

    .gene-book-title {
        font-size: 1.45rem;
    }

    .gene-book-description p {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}
@media (max-width: 768px) {
    .gene-hero {
        padding: 36px 20px 60px;
    }

    .gene-hero-header {
        width: 100%;
        padding: 0;
        margin: 0 auto 28px;
    }

    .gene-hero-title {
        font-size: 1.35rem;
        margin-bottom: 22px;
        white-space: normal;
    }

    .gene-divider {
        width: 100%;
    }

    .gene-book-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .gene-book-image-column,
    .gene-book-text-column {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .gene-book-details {
        max-width: 100%;
    }

    .gene-book-image {
        max-width: 260px;
    }

    .gene-book-title {
        font-size: 1.2rem;
    }

    .gene-book-description p {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .gene-book-actions {
        justify-content: center;
    }
}

.about-author-section {
    background: #676b58;
    padding: 90px 40px 110px;
}

.about-author-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.about-author-image-column {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-author-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-author-title {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 28px;
    color: #f2eedf;
}

.about-author-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.about-author-text-column {
    flex: 1 1 55%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.about-author-text {
    width: 100%;
    max-width: 540px;
    color: #f2eedf;
}
/* 
.about-author-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: 0.95;
    font-weight: 700;
    margin: 0 0 28px;
    color: #f2eedf;
} */

.about-author-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #f2eedf;
    margin: 0;
    max-width: 100%;
}

.custom-footer-section {
    background: #d9d8c9;
    padding: 42px 24px 48px;
}

.custom-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.custom-footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 26px;
    padding-left: 8px;
}

.social-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-circle:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-2px);
}

.custom-footer-contact {
    min-width: 260px;
    color: #111;
    text-align: left;
}

.custom-footer-contact h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.custom-footer-contact p {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.custom-footer-contact a {
    color: #111;
    text-decoration: underline;
}

.custom-footer-contact a:hover {
    color: #111;
}


@media (max-width: 1200px) {
    .about-author-container {
        gap: 60px;
    }

    .about-author-title {
        font-size: 2rem;
    }

    .about-author-text {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .about-author-section {
        padding: 70px 28px 80px;
    }

    .about-author-container {
        gap: 42px;
    }

    .about-author-title {
        font-size: 1.8rem;
    }

    .about-author-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-author-image {
        max-width: 300px;
    }
}


@media (max-width: 768px) {
    .about-author-section {
        padding: 60px 20px 70px;
    }

    .about-author-container {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .about-author-text {
        flex: 1 1 auto;
    }

    .about-author-title {
        font-size: 1.6rem;
        line-height: 1;
    }

    .about-author-description {
        max-width: 100%;
    }

    .custom-footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .custom-footer-socials {
        padding-top: 0;
        padding-left: 0;
    }

    .custom-footer-contact {
        text-align: center;
    }
}


.testimonial-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #8c8c8c, #bfbfbf, #8c8c8c);
    margin: 20px auto;
    border-radius: 2px; /* Optional for rounded edges */
}


.page-padding-all {
    padding: 100px 20px; 
    margin-left: 2%;
    margin-right: 2%;
}

.contact-info {
    font-size: 2rem; 
    margin-top: 20px;
    background: whitesmoke;
    color: #3C3C3C;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
    width: auto; /* Adjust width based on content */
    display: inline-block; /* Shrink-wrap around content */
}

.contact-card {
    display: inline-block; /* Prevent unnecessary stretching */
    text-align: left; /* Align text properly */
}

.contact-item {
    display: flex;
    align-items: center; /* Ensures vertical alignment */
    gap: 10px; /* Adjusts spacing between icon and text */
    white-space: nowrap; /* Prevents text wrapping */
}

.contact-item i {
    min-width: 20px; /* Ensures all icons have the same width */
    text-align: center;
}

.contact-item a {
    text-decoration: none;
    color: #696969;
}

.contact-item a:hover {
    color: #d9534f;
}


.bi-instagram {
    font-size: 24px; 
    color: #E4405F;
}

.email-contact {
    color: white; /* Makes the icon white */
    -webkit-text-stroke: 1px black; /* Adds a black border */
}

@media (max-width: 768px) {

    .contact-info {
        font-size: 2em;
    }
}


.page-title {
    font-size: 4rem; /* Header size */
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase; /* Make header text uppercase */
    margin-bottom: 20px;
}
