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

.btn-primary {
    font-size: large;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    background: rgb(0, 155, 114);
    cursor: pointer;
}

.btn-secondary {
    font-size: large;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    background: #e7cb2a;
    cursor: pointer;
}

.btn-primary:hover {
    color: #2A2D34;
}

.btn-secondary:hover {
    color: #2A2D34;
}

/* Navbar */
.navbar {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 20px 3px;
	background: #fff;
	width: 100%;
    max-height: 170px;
    height: 100%;
    z-index: 10;
    position: relative;
}

.navbar img {
	max-width: 180px;
    width: 100%;
    height: auto;
	margin-top: 30px;
}

.navbar ul {
	display: flex;
	gap: 2rem;
	list-style: none;
    align-items: center;
    font-size: medium;
    align-self: center;
    margin-top: 75px;
}

.navbar a {
	text-decoration: none;
	color: #2A2D34;
	font-weight: 600;
	transition: color .3s ease;
}

#mobileMenu {
    display: flex;
    z-index: auto;
}

#mobileMenu ul li:hover {
    transform: translateY(-5px);
}

#menuToggle {
    width: 30px;
    height: 30px;
    display: none;
    cursor: pointer;
    color: #fff;
}

.nav-donate-btn {
    padding: 1.25rem;
    border-radius: 20px;
    background: rgb(0, 155, 114);
}

.nav-donate-btn:hover {
    text-decoration: none;
}

/* Hero Banner */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(168, 166, 165, 0.1));
    z-index: 1;
}

.slideshow-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    overflow: hidden;
}

.slideshow-background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.mySlides.active {
    opacity: 1;
    z-index: 1;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #eee;
}

.mission-statement {
    margin-top: 50px;
}

.mission-statement h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.mission-statement p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.hero-donate-btn, .hero-getInvolved-btn {
    padding: 1rem 1.50rem;
    margin: 10px;
    font-size: larger;
}

/* About Us */
.about-us {
    background-color: #fff; 
    padding: 1.25rem;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
    min-height: 300px;
    width: 100%;
}

.about-us h2 {
    text-align: center;
    font-size: 1.75rem;
    padding: 10px;
    margin-top: 10px;
}

.about-us a {
	color: #2A2D34
}

.about-us a:hover {
	color: rgb(0, 155, 114);
}

.about-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.about-info p {
    margin: 15px;
}

.box1, .box2 {
    border-bottom: rgba(112, 112, 112, 0.5) solid 1px;
}

.about-info p {
    width: 60%;
    padding: 10px;
    font-size: 1.25rem;
    line-height: 1.6;
}

.image-container {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.info-box-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

#location-image {
    max-width: 450px;
    width: 100%;
    padding: 5px;
    margin-left: 15px;
}

/* Service Sliders */
.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
	background: #e7cb2a;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
    margin: 10px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

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

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.service-events {
    padding: 16px;
}

.service-events::after, .row::after {
    content: "";
    clear: both;
    display: table;
}

.service-title {
    margin-top: 5px;
    margin-bottom: 5px;
}

.service-links {
    color:#2A2D34;
}

.service-links:hover {
    color: rgb(0, 155, 114);
	text-decoration: underline;
}

.service-location {
    color: grey;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.service-date {
    color: grey;
    font-size: 0.9rem;
    margin-top: 10px;
    justify-self: flex-end;
}

.services-preview-cta {
    text-align: center;
    padding-bottom: 30px;
	background: #e7cb2a;
}

/* Founder Bio */
.founder-section {
    width: 100vw;          
    margin: 0;                
    padding: 3rem 2rem;      
    background: #fff;      
    box-sizing: border-box;  
}

.founder-header, .founder-bio, .founder-quote, .founder-contact {
    max-width: 1100px;       
    margin: 0 auto;           
}

.founder-header h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.founder-bio p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.founder-quote {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.75rem 1.5rem 1.5rem 2.5rem;
    margin: 1rem 0 2rem;
    background: #fff;
    border-left: 6px solid #009b72;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    justify-self: center;
}

.founder-quote::before {
    content: "“";
    position: absolute;
    left: .6rem;
    top: .4rem;
    font-size: 3rem;
    line-height: 1;
    color: rgba(0,0,0,.15);
}

.quote-text {
	font-family: none;
}

.quote-text p {
    margin-bottom: 1rem;
}

.quote-text footer {
    margin-top: .5rem;
    color: #444;
    font-style: italic;
}

.quote-image {
    margin: 0;
    align-self: center;
    justify-self: end;
    text-align: right;
}

.quote-image img {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.quote-image figcaption {
    font-size: .9rem;
    color: #666;
    margin-top: .5rem;
}

/* Contact Info + CTA */
.cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6.50rem;
    color: #eee;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(242, 100, 48, 0.2)), url('https://starzoftomorrow.org/wp-content/uploads/2025/09/noWatermark3.jpg') center/cover no-repeat;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    margin-top: 40px;
    gap: 5rem;
}

.contact-info {
    flex: 1;
    font-size: larger;
}

.contact-info h3 {
    text-align: center;
} 

.contact-info li {
    list-style: none;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #e7cb2a;
    text-decoration: underline;
}

.cta-buttons {
    gap: 1rem;
    text-align: center;
}

.btn-donate, .btn-volunteer {
    padding: 1rem 1.50rem;
    margin: 10px;
    font-size: larger;
}

/* Contact Form */
.contact-section {
    margin: 0 auto;
    padding: 1rem;
	background: #e7cb2a;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
	max-width: 800px;
	margin: auto;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
}

.form-group input {
    max-width: 376px;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    border-style: none;
    font-size: medium;
}

.form-group input:focus {
    border-color: #000000;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 155, 114, 0.8);
}

.full-width {
    width: 100%;
}

.full-width textarea {
    max-width: 768px;
    border-radius: 5px;
    border-style: none;
}

.full-width textarea:focus {
    border-color: #000000;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 155, 114, 0.8);
}

.submitBtn {
    color: #fff;
    text-align: center;
    max-width: 100px;
    width: 100%;
    align-self: center;
}

/* Footer */
footer {
    background: #fff;
    padding: 5px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px 50px;
    gap: 40px;
}

.footer-column {
    align-items: flex-start;
    text-align: left;
}

.footer-column h3 {
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
	margin: 0;
	padding: 0;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact a {
    color: #009b72;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

#footer-logo {
    max-width: 150px;
    width: 100%;
    align-self: center;
}

.footer-column h3 {
    margin-bottom: 15px;
    margin-top: 20px;
    font-size: x-large;
}

.footer-links a {
    text-decoration: none;
    color: #2A2D34;
	font-weight: 400;
	transition: color .3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-column:not(.column1) h3:first-of-type {
    margin-top: 0;
    padding-top: 20px;
}

.column1, .column2 {
    border-right: 2px solid #2A2D34;
}

.column2, .column3 {
    align-items: center;
    text-align: center;
}

.column2 ul li {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links li {
    margin: 5px;
}

.social-links li a img:hover{
    transform: translateY(-5px);
}

.legal-links li {
    margin-bottom: 10px;    
}

footer p {
    margin-top: 30px;
    padding-top: 10px;
    text-align: center;
    border-top: 1px solid #2A2D34;
    font-size: 14px;
    color: #555;
}

/* Media Queries */
@media (max-width: 1024px) and (min-width: 769px) {
    /* NavBar */
    .dashboard ul {
        text-align: center;
        text-wrap: nowrap;
    }

    .dashboard-donate-btn {
        color: #000000;
    }

    /* Hero Banner */
    .mission-statement p {
        font-size: 1rem;
    }

    .hero-donate-btn, .hero-getInvolved-btn {
        font-size: medium;
        padding: 0.75rem;
    }

    /* About Us */
    .about-info {
        flex-direction: column;
    }

    .about-info p {
        width: 80%;
    }

    .image-container {
        width: 80%;
        margin-bottom: 1rem;
    }

    /* Contact Form */
    .contact-form {
       width: 100%; 
    }

    .form-group input {
        width: 100%;
    }
}

@media (max-width: 768px) and  (min-width: 320px) {
    /* NavBar */
    .dashboard {
        justify-content: space-around;
    }

    #mobileMenu {
        display: none;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 1);
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        right: 0;
        width: 40%;
        z-index: 15;
    }

    #mobileMenu.show {
        display: flex;
    }

    #mobileMenu ul {
        flex-direction: column;
        text-align: center;
        margin: 10px 10px;
    }

    #menuToggle {
        display: block;
        max-width: 40px;
        width: 100%;
        max-height: 120px;
        height: auto;
    }

    #mobileMenu.show {
        display: flex;
    }

    #mobileMenu ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-donate-btn {
        padding: 0;
        margin: 0;
        border-radius: 50px;
        background: rgba(255, 255, 255, 1);
        color: #2A2D34 !important;
    }

   /* Hero Banner */
    .mission-statement {
       font-size: x-large;
       margin-top: 50px;
    }

    .mission-statement h1 {
        font-size: 3rem;
    }

    .mission-statement p {
       font-size: large;
       margin: 30px 20px;
       color: #eee;
    }

    .hero-donate-btn, .hero-getInvolved-btn {
        font-size: medium;
    }

    /* About Us */
    .about-info {
        flex-direction: column;
    }

    .about-info p {
        width: 90%;
    }

    .image-container {
        width: 90%;
        margin-bottom: 1rem;
    }

    .info-box-image {
        width: 80%;
    }

    /* Service Sliders */
    .row {
        grid-template-columns: auto;
    }

    /* Founder Bio */
    .founder-quote {
        grid-template-columns: auto;
    }

    /* Contact Info + CTA */
    .cta-section {
        padding: 2rem 2rem;
    }

    .cta-container {
        flex-direction: column;
    }

    .contact-info ul li {
        list-style: none;
    }

    .btn-donate, .btn-volunteer {
        padding: 0.75rem 1rem;
        margin: 10px;
        font-size: larger;
    }

    /* Contact Form */
    .contact-form {
        width: 100%;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group input {
        width: 100%;
        align-self: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .footer-column {
        align-items: center;
        margin-bottom: 30px;
    }

    #footer-logo {
        justify-self: center;
    }

    .column1, .column2 {
        border-right: none;
        border-bottom: 1px solid #2A2D34;
        padding-bottom: 20px;
        margin-bottom: 20px;
        text-wrap-mode: nowrap;
        text-align: center;
    }
}