@import url("https://fonts.googleapis.com/css?family=Lexend:300,400,600");
@import url("https://fonts.googleapis.com/css2?family=Paytone+One");

/***** HEADER STYLES *****/
#bioera-logo {
    width: 110px; 
    height: 70px; 
    padding-right: 10px;
}
.nav-menu {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
    margin: 0;
}
.nav-menu a {
    color: #544c3f;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Lexend', Arial, sans-serif;
    padding: 0 1rem;
}
.nav-menu a:hover {
    color: #62a347;
}
.shopping-cart {
    flex: 0 0 auto;
}
.shopping-cart a {
    color: transparent;
    text-decoration: none;
    font-size: 24px;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.shopping-cart a:hover {
    transform: scale(1.1);
}
#cart {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    display: none;
    z-index: 10;
}
#cart h3 {
    margin: 0 0 10px;
    color: #39b230;
}
#cart p {
    margin: 0;
    color: #8a7b62;
}

/****** SECTION 1 *******/
.purpose-section1 {
    background-image: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgb(248, 248, 245);
    padding: 2rem;
    gap: 2rem;
    position: relative;
    min-height: 400px;
    overflow: hidden;
    
}
.purpose-section1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/background_section1.jpg');
    background-size: cover;
    background-position: 20% 25%;
    background-repeat: no-repeat;
    filter: blur(1.3px) brightness(0.8);
    z-index: 1;
    /* margin-top: 1rem; */


}
.purpose-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    cursor: pointer;
}
.interactive-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 2.5px #9c958a;
    margin: 1rem;
}
.purpose-section-earth {
    text-align: center;
    padding: 1rem;
}
.purpose-image {
    flex: 0 0 auto;
}
.purpose-image img {
    max-width: 400px;
    height: auto;
}
.purpose-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}
#purpose-title {
    font-family: 'Paytone One', sans-serif;
    font-size: 50px;
    color: #554c3d;
    margin: 0;
}
.purpose-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #544c3f;
    line-height: 2rem;
    padding-top: 0.1rem;
}
#continent-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
#globe-container {
    height: 350px;
}
#continent-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.continent-btn {
    padding: 10px 20px;
    font-size: 1.2rem;
    font-family: 'Lexend', Arial, sans-serif;
    font-weight: 600;
    color: #554c3d;
    background-color: rgb(255, 255, 255);
    border: 1.5px solid #554c3d96;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.continent-btn:hover {
    background: #0b57d0;
    transform: scale(1.05);
    color: #ffffff;
}
header {
    position: relative;
    background-color: #ffffffd8;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.header-left-section {
    display: flex;
    align-items: center;
    flex: 1;
}
.header-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: rgb(255, 255, 255);
}
.header-subtitle {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
    color: #544c3f;
}
body {
    font-family: 'Lexend', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    padding: 0;
    color: #544c3f;
    background: #f2f5f0;
}
.section img {
    height: 19rem;
    margin: 2.1rem auto auto auto;
}
.section p {
    margin: 0;
}
#purpose-title {
    font-family: 'Paytone One', sans-serif;
    margin: 0rem auto;
    font-size: 45px;
    color: #554c3d;
}
#box-title {
    font-family: 'Paytone One', sans-serif;
    font-size: 32px;
    color: rgb(255, 255, 255);
    background-color: #594d37;
    padding: 1rem;
    background-repeat: repeat;
    background-color: rgb(65, 186, 190);
    /* background-image: url(/bioera-v1.0/images/online_promo_background.jpg), url(/bioera-v1.0/images/overlay.png); */
    text-shadow: -2px -2px 0 #8c713c, 2px -2px 0 #8c713c, -2px 2px 0 #8c713c, 2px 2px 0 #8c713c;
    border-radius: 1rem 1rem 0rem 0rem;
    position: relative;
    background-size: cover;
    background-position: top left, center center;
    min-width: 600px;
}
.bioera-keywords-title {
    font-family: 'Paytone One', sans-serif;
    margin: 5px;
    margin-top: 10px;
    font-size: 38px;
}
.bioera-keywords-subtitle {
    margin: 12px;
    margin-bottom: 4rem;
    font-size: 27px;
    font-weight: 200;
}
#section-learn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: #544c3f;
    padding: 2rem 2rem 2rem 2rem;
}
#section-learn img {
    flex: 0 0 auto;
    height: 16rem;
    padding: 0%;
}
#section-learn p {
    width: 100%;
}
#section-continent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #CEE6F3;
    color: #544c3f;
}
#promo-wrapper {
    position: relative;
    background-image: linear-gradient(4deg, #e1b266f9 10%, #e1b266f9 4%, rgb(30, 139, 143) 50%);
    background-size: cover;
    background-position: top left, center center;
    color: #fff;
    text-align: start;
    background-color: #5F939A;
    padding: 1rem 0 1rem 5.5rem;
}
#promo-wrapper-top {
    position: relative;
    background-image: url("assets/css/images/overlay.png"), url("assets/css/images/promo.jpg");
    background-size: 192px 192px, cover;
    background-position: top left, center center;
    color: #000000b3;
    text-align: center;
    font-size: 22px;
}
#learn-more .button {
    margin: 0 0 2rem;
    background: #20d650;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 5px;
    border: 1px solid #00000006;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#submit .button {
    margin: 2rem;
    background: #3571ea;
    color: #fff;
    font-size: 0.6em;
    font-weight: 600;
    padding: 15px 50px;
    border-radius: 5px;
    border: 1px solid #00000006;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#clear .button {
    margin: 2rem;
    background: #626b7b;
    color: #fff;
    font-size: 0.6em;
    font-weight: 600;
    padding: 15px 50px;
    border-radius: 5px;
    border: 1px solid #00000006;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#promo .button {
    background: #1b7b4d;
    color: #fff;
    font-size: 0.8em;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #0000006d;
}
#footer-wrapper {
    background-size: 128px 128px, auto;
    background-repeat: repeat;
    padding: 1em 0;
    text-align: center;
}
#footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
#footer h2 {
    font-family: 'Paytone One', sans-serif;
    color: #ffffff;
    margin-bottom: 1rem;
}
#footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 20px;
}
.footer-col {
    flex: 1;
    min-width: 300px;
}
.bioera-input input[type="text"],
.bioera-input textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(58, 58, 51, 0.5);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.701);
    color: rgb(45, 45, 42);
}
.bioera-input textarea {
    min-height: 100px;
    resize: vertical;
}
.bioera-input input[type="submit"],
.bioera-input input[type="reset"] {
    background: #3b8c95;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
}
.bioera-input input[type="submit"]:hover,
.bioera-input input[type="reset"]:hover {
    background: #3b8c95;
    transform: scale(1.05);
}
.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
}
.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}
.contact-form input[type="submit"],
.contact-form input[type="reset"] {
    background: transparent;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    font-family: 'Lexend', sans-serif;
}
.contact-form input[type="submit"]:hover,
.contact-form input[type="reset"]:hover {
    transform: scale(1.05);
}
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.social-media {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;

}
.social-media a {
    color: #322b2bab;
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.social-media a:hover {
    color: #53825c;
}
.social-media .icon {
    margin-right: 5px;
    font-size: 1.5rem;
}
#copyright {
    font-size: 0.9rem;
}
#copyright p {
    color: #000;
}
#store-wrapper {
    position: relative;
    background-size: cover;
    background-position: top left, center center;
    color: #000;
    text-align: start;
    padding: 5.5rem 0 5.5em 5.5rem;
}
article {
    -webkit-flex: 3;
    flex: 3;
    background-color: #f1f1f1;
    padding: 10px;
}
section {
    display: -webkit-flex;
    display: flex;
}
.card-container {
    max-width: 100%;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    overflow: hidden; /* Prevent content from overflowing the card */
}
.card:hover {
    transform: scale(1.02);
}
.card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: scale-down;
    max-height: 190px; /* Optional: Limit image height to prevent stretching */

    margin: 1rem auto;
    
}

.card-content {
    padding-bottom: 20px;
    text-align: center;
}
.card h3 {
    background-color: #959595;
    padding: 10px;
    color: rgb(255, 255, 245);
    text-align: center;
	margin: 0rem;
}
.card p {
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
    color: #333;
    padding: 0.7rem;
    overflow-wrap: break-word; /* Ensure long words break to fit */
    word-break: break-word; /* Break long words if necessary */
    hyphens: auto; /* Optional: Add hyphenation for better wrapping */
    line-height: 1.4; /* Improve readability */

}
.card-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.card-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}
.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    #bioera-logo {
        width: 80px;
        height: auto;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-menu a {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    .purpose-section1 {
        flex-direction: column;
        padding: 1.5rem;
        min-height: 300px;
    }
    #purpose-title {
        font-size: 2rem;
		padding: 0.5rem;
    }
    .purpose-subtitle {
        font-size: 1rem;
        line-height: 1.5;
		padding: 0.5
    }
	.section p {
		margin: 1rem;
		text-align: center;
	}	
    .interactive-section {
        flex-direction: column;
    }
    #section-learn {
        flex-direction: column;
        padding: 0 1rem 0 1rem;
    }
    #section-learn .interactive-section {
        max-width: 100%;
    }
    #section-learn img {
        height: 12rem;
        width: 100%;
        object-fit: cover;
    }
    #box-title {
        font-size: 1.5rem;
        min-width: unset;
        padding: 0.75rem;
    }
    .purpose-section-earth {
        padding: 1rem;
    }
	.purpose-section-earth div{
        padding: 1rem;
    }
    #continent-section {
        margin-bottom: 1rem;
    }
    #globe-container {
        height: 250px;
    }
    #continent-buttons {
        gap: 8px;
        margin-top: 1rem;
    }
    .continent-btn {
        padding: 8px 15px;
        font-size: 1rem;
    }
    #promo-wrapper {
        padding: 2.5rem 1rem;
    }
    #promo input {
        width: 100%;
        max-width: 100%;
    }
    #promo .button {
        margin: 0.5rem 0;
    }
    .social-media {
        padding-top: 1.5rem;
        gap: 8px;
    }
    .social-media a {
        font-size: 1.2rem;
    }
    .footer-row {
        flex-direction: column;
    }
    .footer-col {
        min-width: 100%;
    }
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card-column {
        max-width: 100%;
    }
    .card {
        flex: 0 0 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    #purpose-title {
        font-size: 2rem;

    }
    .purpose-subtitle {
		font-size: 0.9rem;
        padding: 0.5rem;    
	}
	.section p {
		margin: 1rem;
		text-align: center;
	}	
    #box-title {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    #section-learn img {
        height: 10rem;
    }
    .nav-menu a {
        font-size: 0.9rem;
    }
    .continent-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    #promo-wrapper {
        padding: 2rem 0.5rem;
    }
    #copyright p {
        font-size: 0.8rem;
    }
}