/* General Styles for STEMulator About Us Page */

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Reusable background classes */
.stemabout-gradient-bg {
    background: linear-gradient(135deg, rgba(0, 0, 0, 1) 10%, rgba(12, 74, 101, 1) 90%);
}

.stemabout-dark-grey-bg {
    background: #1f1f1f;
}

/* Sans-serif font classes */
.stemabout-sans-serif {
    font-family: 'Open Sans', sans-serif;
}

.stemabout-sans-serif h1,
.stemabout-sans-serif h2,
.stemabout-sans-serif h3,
.stemabout-sans-serif h4,
.stemabout-sans-serif h5,
.stemabout-sans-serif h6 {
    font-family: 'Open Sans', sans-serif;
}

/* Container for content sections */
.stemabout-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Padded container for main content */
.padded-stem {
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px 40px 20px 40px;
}

/* Massive text style */
.massive-text {
    color: #fff;
    font-size: 70px;
    letter-spacing: -1px;
    text-transform: none;
    border-bottom: 0px;
    font-weight: bold;
    line-height: 40px;
    margin: 30px 0;
	
}
.stemabout-section h2.massive-text{
    font-size: 50px!important;
    letter-spacing: -1px;	
}

/* Orange text color */
.stemabout-orange-text, p strong .stemabout-orange-text {
    color: #d88357!important;
}

/* Intro section specific styles */
.stemabout-intro-content {
   /* display: flex;
    align-items: center;
    gap: 60px;
    min-height: 70vh;*/
}

.stemabout-intro-text {
  width:33%;
	float:left;
    opacity: 0;
	text-align: left;
	padding:10px;
}

.stemabout-intro-text.stemabout-animate {
    animation: stemabout-fade-in 1s ease-in-out forwards;
}

.stemabout-intro-image {
    width:66%;
	float:left;
	padding:30px 10px 30px 10px;
}

.stemabout-slide-in-image {
    max-width: 100%;
    height: auto;
    transform: translateX(200px);
    opacity: 0;
}

.stemabout-slide-in-image.stemabout-animate {
    animation: stemabout-slide-in-right 1s ease-out forwards;
}

/* Intro text styles */
.stemabout-intro-description {
    font-size: 21px!important;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.stemabout-clear
{
	clear: both;
}

.stemabout-intro-body {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    color: #ccc;
}

.stemabout-intro-body p {
    margin-bottom: 20px;
    color: #ccc;
	text-align: left!important;
}

.stemabout-intro-body strong {
    color: #fff;
    font-weight: 600;
}

/* About section specific styles */
.stemabout-about-content {
    overflow: visible; /* Clearfix for floated elements */
    min-height: 400px;
}

.stemabout-about-image {
    width: 50%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    overflow: visible;
}

.stemabout-about-text {
    width: 50%;
    float: left;
    opacity: 0;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
}

.stemabout-about-text.stemabout-animate {
    animation: stemabout-fade-in 1s ease-in-out forwards;
}

/* About text styles */
.stemabout-about-body {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    color: #ccc;
    opacity: 0;
    transform: translateY(20px);
}

.stemabout-about-body.stemabout-animate {
    animation: stemabout-fade-in 1s ease-in-out 0.6s forwards;
}

.stemabout-about-body p {
    margin-bottom: 20px;
    color: #ccc;
    text-align: left !important;
}

.stemabout-about-body strong {
    color: #fff;
    font-weight: 600;
}


/* Image animations */
.stemabout-slide-in-left-image {
    max-width: 100%;
    height: auto;
    transform: translateX(-100px);
	opacity: 0;
}

.stemabout-slide-in-left-image.stemabout-animate {
    animation: stemabout-slide-in-left-no-fade 1s ease-out forwards;
}

.stemabout-about-text h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
	text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

.stemabout-about-text h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/*.stemabout-about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d88357;
    transform: translateX(-100%);
    animation: stemabout-underline-slide-in 1s ease-out 0.8s forwards;
}*/

/* How It Works section specific styles */
.stemabout-how-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
}

.stemabout-how-image-container {
    flex: 1;
    text-align: center;
}

.stemabout-how-final-text {
    text-align: center;
    margin-top: 40px;
}

/* Image animations for How It Works */
.stemabout-slide-in-left-fade {
    max-width: 100%;
    height: auto;
    transform: translateX(-200px);
    opacity: 0;
}

.stemabout-slide-in-left-fade.stemabout-animate {
    animation: stemabout-slide-in-left-fade 1s ease-out forwards;
}

.stemabout-slide-in-bottom-fade {
    max-width: 100%;
    height: auto;
    transform: translateY(200px);
    opacity: 0;
}

.stemabout-slide-in-bottom-fade.stemabout-animate {
    animation: stemabout-slide-in-bottom-fade 1s ease-out 0.4s forwards;
}

.stemabout-slide-in-right-fade {
    max-width: 100%;
    height: auto;
    transform: translateX(200px);
    opacity: 0;
}

.stemabout-slide-in-right-fade.stemabout-animate {
    animation: stemabout-slide-in-right-fade 1s ease-out 0.8s forwards;
}

.stemabout-alignleft
{
	text-align: left!important;
}

/* Orange background class */
.stemabout-orange-bg {
    background: #d88357;
}

/* Start section specific styles */
#start.stemabout-section {
    height: 190px;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

#start .massive-text {
    color: #fff;
    margin: 0 0 20px 0;
}

.stemabout-start-button-container {
    text-align: center;
}

.stemabout-start-button-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.stemabout-start-button-link:hover {
    transform: translateY(-5px);
}

.stemabout-start-button {
    max-width: 100%;
    height: auto;
    transform: translateX(-200px);
    opacity: 0;
}

.stemabout-start-button.stemabout-animate {
    animation: stemabout-slide-in-left-fade 1s ease-out forwards;
}

/* How section heading animation */
#how-it-works h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#how-it-works h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/* Start section heading animation */
#start h2 {
    transform: translateY(20px);
    opacity: 0;
}

#start h2.stemabout-animate {
    animation: stemabout-fade-in 1s ease-in-out forwards;
}

.stemabout-intro-body {
    opacity: 0;
    transform: translateY(20px);
}

.stemabout-intro-body.stemabout-animate {
    animation: stemabout-fade-in 1s ease-in-out 0.3s forwards;
}

/* Get Involved section styles */
.stemabout-get-involved-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stemabout-get-involved-column {
    flex: 1;
}

/* Get Involved section heading animation */
#get-involved h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#get-involved h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/* What You Can Do section styles */
.stemabout-what-you-can-do-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stemabout-what-you-can-do-left {
    flex: 1;
}

.stemabout-what-you-can-do-right {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stemabout-what-you-can-do-bottom {
    display: flex;
    gap: 40px;
}

.stemabout-what-you-can-do-bottom-left,
.stemabout-what-you-can-do-bottom-right {
    flex: 1;
}

/* Orange subheadings */
.stemabout-orange-subheading strong,
.stemabout-orange-text strong {
    color: #d88357 !important;
    font-weight: bold !important;
}

/* More Info Button */
.stemabout-more-info-button-container {
    margin: 30px 0;
}

.stemabout-more-info-button {
    background: none;
    border: none;
    cursor: pointer;
    transform: translateX(-200px);
    opacity: 0;
    transition: transform 0.3s ease;
}

.stemabout-more-info-button.stemabout-animate {
    animation: stemabout-slide-in-left-fade 1s ease-out forwards;
}

.stemabout-more-info-button:hover {
    transform: translateX(0) translateY(-5px);
}

.stemabout-more-info-button.stemabout-animate:hover {
    transform: translateX(0) translateY(-5px);
}

.stemabout-more-info-btn-img {
    max-width: 100%;
    height: auto;
}

/* Right slide image */
.stemabout-slide-in-right-fade-image {
    max-width: 100%;
    height: auto;
    transform: translateX(200px);
    opacity: 0;
}

.stemabout-slide-in-right-fade-image.stemabout-animate {
    animation: stemabout-slide-in-right-fade 1s ease-out forwards;
}

/* What You Can Do heading */
#what-you-can-do h2, #downloads h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#what-you-can-do h2.stemabout-animate, #downloads h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}


/* More Info Button - UPDATED with working hover effect */
.stemabout-more-info-button-container {
    margin: 30px 0;
}

.stemabout-more-info-button {
    background: none;
    border: none;
    cursor: pointer;
    transform: translateX(-200px);
    opacity: 0;
    transition: transform 0.3s ease;
    /* Remove the individual hover transform since we want the image to move */
}

.stemabout-more-info-button.stemabout-animate {
    animation: stemabout-slide-in-left-fade 1s ease-out forwards;
}

.stemabout-more-info-btn-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Add transition to the image */
}

/* Apply hover effect to the image when button is hovered */
.stemabout-more-info-button:hover .stemabout-more-info-btn-img {
    transform: translateY(-5px);
}

/* Also handle the case when the button has the animate class */
.stemabout-more-info-button.stemabout-animate:hover .stemabout-more-info-btn-img {
    transform: translateY(-5px);
}

/* Modal styles */
.stemabout-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.stemabout-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    position: relative;
}

.stemabout-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

/*contact section*/
/* Contact section styles */
.stemabout-contact-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.stemabout-contact-left {
    flex: 2;
}

.stemabout-contact-right {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.stemabout-contact-image {
    width: 231px;
    height: 300px;
    transform: translateX(200px);
    opacity: 0;
}

.stemabout-contact-image.stemabout-animate {
    animation: stemabout-slide-in-right-fade 1s ease-out forwards;
}

/* Contact section heading */
#contact h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#contact h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/* Contact info styling */
.stemabout-contact-info {
    margin: 30px 0;
}

.stemabout-contact-email,
.stemabout-contact-phone {
    font-size: 18px;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 10px;
}

/* Register section */
.stemabout-contact-register {
    margin-top: 40px;
}

.stemabout-contact-register h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Mailchimp form styling */
.stemabout-mailchimp-container {
    margin-top: 20px;
}

#mc_embed_signup {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 15px;
}

#mc_embed_signup label {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

#mc_embed_signup .button {
    background: #d88357;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

#mc_embed_signup .button:hover {
    background: #c67347;
}

#mc_embed_signup .asterisk {
    color: #d88357;
}

#mc_embed_signup .indicates-required {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 15px;
}


/* Downloads section heading */
#downloads h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 40px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#downloads h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/* Downloads grid container */
.stemabout-downloads-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Individual download card */
.stemabout-download-card {
    flex: 1;
    min-width: 200px;
   /* border: 3px solid #d88357;*/
    transition: transform 0.3s ease;
    transform: translateY(50px);
    opacity: 0;
}

.stemabout-download-card.stemabout-animate {
    animation: stemabout-fade-in-up 1s ease-out forwards;
}

/* Stagger the animations */
.stemabout-download-card:nth-child(1).stemabout-animate {
    animation-delay: 0.1s;
}

.stemabout-download-card:nth-child(2).stemabout-animate {
    animation-delay: 0.2s;
}

.stemabout-download-card:nth-child(3).stemabout-animate {
    animation-delay: 0.3s;
}

.stemabout-download-card:nth-child(4).stemabout-animate {
    animation-delay: 0.4s;
}

.stemabout-download-card:nth-child(5).stemabout-animate {
    animation-delay: 0.5s;
}

/* Hover effects */
.stemabout-download-card:hover {
    transform: translateY(-10px);
}

.stemabout-download-card.stemabout-animate:hover {
    transform: translateY(-10px);
}

/* Download card link */
.stemabout-download-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.stemabout-download-link:hover{
	transform: translateY(-10px);
}

/* Download card image */
.stemabout-download-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Animation keyframe */
@keyframes stemabout-fade-in-up {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .stemabout-downloads-grid {
        justify-content: center;
        gap: 20px;
    }
    
    .stemabout-download-card {
        flex: 0 1 calc(33.33% - 15px);
        min-width: 200px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .stemabout-downloads-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .stemabout-download-card {
        flex: none;
        width: 90%;
        max-width: 350px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .stemabout-download-card {
        width: 100%;
        max-width: 300px;
    }
}



/* Responsive */
@media (max-width: 960px) {
    .stemabout-contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .stemabout-contact-right {
        order: -1;
    }
}

/* Contact info styling - UPDATED */
.stemabout-contact-info {
    margin: 30px 0;
}

.stemabout-contact-email,
.stemabout-contact-phone {
    font-size: 18px;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 10px;
    text-align: left!important;
}

/* Social Media Icons */
.stemabout-social-media {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-fa-icon {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-fa-icon:hover {
    color: #d88357;
}

/* Register section heading - UPDATED with underline and animation */
.stemabout-contact-register h3 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 20px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

/* Social Media Icons - UPDATED */
.stemabout-social-media {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stemabout-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #282828;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.stemabout-social-icon:hover {
    background-color: #000;
}

.stemabout-social-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1); /* Makes images white */
    transition: filter 0.3s ease;
}

.stemabout-social-icon:hover img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(358deg) brightness(119%) contrast(119%); /* Makes images orange #d88357 */
}

.stemabout-contact-register h3.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.6s forwards;
}
/*end contact section*/

/* Animation keyframes */
@keyframes stemabout-slide-in-left-fade {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes stemabout-slide-in-bottom-fade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes stemabout-slide-in-right-fade {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes stemabout-heading-slide-in {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes stemabout-underline-slide-in {
    to {
        transform: translateX(0);
		
    }
}

/* Animation keyframes */
@keyframes stemabout-slide-in-left-no-fade {
    from {
        transform: translateX(-200px);
		opacity: 0;
    }
    to {
        transform: translateX(0);
		opacity: 1;
    }
}

/* Animations */
@keyframes stemabout-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stemabout-slide-in-right {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Section styles */
.stemabout-section {
    padding: 20px 40px 20px 40px;
    min-height: 50vh;
}

.stemabout-section p {
    color: #ccc;
    font-size: 1.1rem;
    text-align: center;
}

/* Global link transitions */
a {
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive design */

@media (max-width: 1250px) {
.stemabout-section h2.massive-text{
    font-size: 35px!important;
    letter-spacing: -1px;	
}
.massive-text{
    font-size: 35px!important;
    letter-spacing: -1px;	
}
}
@media (max-width: 960px) {
	
	.stemabout-intro-text {
  width:100%;
	
}

.stemabout-intro-image {
    width:100%;
}
	/* About section responsive - add to existing @media (max-width: 960px) */
.stemabout-about-image {
    width: 100%;
    float: none;
    text-align: center;
    padding: 20px 10px;
	
	
}

.stemabout-about-text {
    width: 100%;
    float: none;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
}

.stemabout-about-body p {
    text-align: left !important;
}
	    .stemabout-get-involved-content {
        flex-direction: column;
        gap: 30px;
    }

    .stemabout-what-you-can-do-content,
    .stemabout-what-you-can-do-bottom {
        flex-direction: column;
        gap: 30px;
    }

}
@media (max-width: 768px) {
	
    .stemabout-container {
        padding: 0 15px;
    }
    
    .padded-stem {
        margin-left: 5%;
        margin-right: 5%;
        padding: 20px 20px 10px 20px;
    }
    
    .stemabout-section {
        padding: 60px 0;
    }
    
    .stemabout-section h2 {
        font-size: 2rem;
    }
    
    /* Intro section mobile */
    .stemabout-intro-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .massive-text {
        font-size: 36px;
        line-height: 32px;
    }
    
    .stemabout-intro-description {
        font-size: 18px;
    }
    
    .stemabout-intro-body {
        font-size: 16px;
        line-height: 22px;
    }
    
    .stemabout-slide-in-image.stemabout-animate {
        animation: stemabout-slide-in-bottom 1s ease-out forwards;
        transform: translateY(50px);
    }
	  .stemabout-how-images {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .padded-stem {
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
    }
    
    .massive-text {
        font-size: 28px;
        line-height: 26px;
    }
    
    .stemabout-intro-description {
        font-size: 16px;
    }
}

/* Mobile slide in animation */
@keyframes stemabout-slide-in-bottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Sponsors section heading */
#sponsors h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 40px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#sponsors h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/* Sponsors scrolling container */
.stemabout-sponsors-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 40px 0;
}



/* Footer Back to Top section */
.stemabout-footer {
    background: #000;
    padding: 30px 0;
    text-align: center;
    position: relative;
}

.stemabout-back-to-top {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    transform: translateY(30px);
    opacity: 0;
}

.stemabout-back-to-top.stemabout-animate {
    animation: stemabout-fade-in-up 1s ease-out forwards;
}

.stemabout-back-to-top:hover {
    transform: translateY(-5px);
    color: #d88357;
}

.stemabout-back-to-top.stemabout-animate:hover {
    transform: translateY(-5px);
    color: #d88357;
}

.stemabout-back-to-top i {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.stemabout-back-to-top:hover i {
    color: #d88357;
}

.stemabout-back-to-top-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.stemabout-copyright {
    color: #ccc;
    font-size: 12px;
    margin-top: 0px;
    transform: translateY(30px);
    opacity: 0;
}

.stemabout-copyright.stemabout-animate {
    animation: stemabout-fade-in-up 1s ease-out 0.3s forwards;
}

/* Animation for fade in from bottom */
@keyframes stemabout-fade-in-up {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#moreInfoModal h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 40px 0;
    position: relative;
}
#moreInfoModal a{
color: #d88357
	}
#moreInfoModal a:hover{
color: #FF6700;
	}
#moreInfoModal p, #moreInfoModal li{
font-size: 14px;
	}
#moreInfoModal p{
	margin-bottom: 10px;
}
#moreInfoModal ul{
	margin-left:25px;
	padding:1px;
	margin-bottom:15px;
}

/* Sponsors section heading */
#sponsors h2 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #d88357;
    padding-bottom: 5px;
    color: #d88357;
    font-size: 26px !important;
    letter-spacing: 0px;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 40px 0;
    position: relative;
    overflow: hidden;
    transform: translateX(50px);
    opacity: 0;
}

#sponsors h2.stemabout-animate {
    animation: stemabout-heading-slide-in 1s ease-out 0.3s forwards;
}

/* Sponsors scrolling container - PARENT WRAPPER */
.stemabout-sponsors-container {
    overflow: hidden !important;
    position: relative !important;
    margin: 40px auto !important;
    /* This limits the visible width */
    width: 100% !important;
    max-width: 100% !important;
}

/* Sponsors scroll wrapper - THIS IS WHAT SCROLLS */
.stemabout-sponsors-scroll {
    display: flex !important;
    gap: 30px !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: auto !important;
    flex-wrap: nowrap !important;
    /* CRITICAL: Remove width: max-content and constrain to parent */
    width: 100% !important;
    max-width: 100% !important;
	padding-left:40px;
	padding-right:40px;
}

/* Hide scrollbar for all browsers */
.stemabout-sponsors-scroll::-webkit-scrollbar {
    display: none !important;
}

.stemabout-sponsor-logo {
    width: 200px !important;
    min-width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stemabout-sponsors-container {
        width: 90% !important;
    }
    
    .stemabout-sponsors-scroll {
        gap: 20px !important;
    }
    
    .stemabout-sponsor-logo {
        width: 150px !important;
        min-width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .stemabout-sponsors-container {
        width: 95% !important;
    }
    
    .stemabout-sponsors-scroll {
        gap: 15px !important;
    }
    
    .stemabout-sponsor-logo {
        width: 120px !important;
        min-width: 120px !important;
        height: 120px !important;
    }
}

/* Mailchimp response messages */
#mce-responses {
    margin-top: 15px;
}

#mce-error-response,
#mce-success-response {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    display: none; /* Hidden by default */
}

#mce-error-response {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

#mce-success-response {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

/* Make sure response container is visible */
.clear.foot {
    overflow: visible;
}