/* 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;
}

/* Mission Introduction */
.mission-card {
    background-color: #fff; 
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}

.mission-card p {
    margin: 50px 10px;
    justify-self: center;
    font-size: xx-large;   
}

.mission-card-body p {
    font-size: large;
    text-align: center;
	line-height: 2;
}

.mission-card-img {
    display: flex;
    justify-self: center;
    max-width: 650px;
    width: 100%;
    border-radius: 10px;
}

.mission-card-btn {
    display: flex;
    justify-self: center;
    text-align: center;
    margin-bottom: 5px;
	max-width: 360px;
}

/* Service Cards */
.service {
    display: flex;
    gap: 5px;
	background: #e7cb2a;
}

.card {
    padding: 2rem;
    align-content: center;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
    margin: 10px;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

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

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

.card h2 {
    margin: 15px;
}

.card p {
    font-size: large;
    margin-bottom: 25px;
}

.service-card-btn {
    text-wrap: nowrap;
}

/* Contact Info + CTA */
.cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6.50rem 2rem;
    color: #eee;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(242, 100, 48, 0.4)), url('https://staroftomorrow.org/wp-content/uploads/2025/09/noWatermark1-2.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 */
    .navbar ul {
        text-align: center;
        text-wrap: nowrap;
    } 

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

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

    /* Mission Statement */
    .mission-card-Btn {
        padding: 0.75rem;
    }

    /* Service */
    .card {
        margin: 0;
    } 

    .card p {
        font-size: medium;
    }

    .card img {
        height: 35%;
    }

    .service-card-btn {
        padding: 0.50rem;
    }

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

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

@media (max-width: 768px) and  (min-width: 320px) {
    /* NavBar */
    .navbar {
        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;
    }

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

    /* Mission Intro */
    .mission-card p {
        text-align: center;
    }

    /* Service */
    .service {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
    }

    .card img {
        margin-top: 10px;
        height: 300px;
        border-radius: 50px;
    }

    .card p {
        font-size: medium;
    }

    .mission-card-Btn {
        padding: 0.75rem;
        margin-bottom: 20px;
        text-align: center;
    }

    /* 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;
    }
}