/* Form Container */
.form-container {
    width: 30%;
    min-width: 350px;
    max-width: 450px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-right: 15%;
    align-self: flex-start;
}

/* Subscription Form */
section.subscription {
    text-align: left;
}

section.subscription h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

section.subscription form {
    width: 100%;
}

section.subscription label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

section.subscription .distance-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

section.subscription .distance-row label {
    margin-bottom: 0;
    font-weight: normal;
}

section.subscription .distance-row input[type="number"] {
    width: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
}

section.subscription .distance-row span {
    white-space: nowrap;
}

section.subscription input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

section.subscription button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
}

section.subscription button:hover {
    background-color: #0056b3;
}

/* Donation Section */
section.donation {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    font-size: 18px;
    clear: both;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

section.donation h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

section.donation p {
    margin: 10px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section.donation a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

section.donation a:hover {
    text-decoration: underline;
}

/* Homepage Dev CSS */
.home-page_dev .center-wr {
    width: 1330px;
    margin: 0 auto;
}

.home-page_dev .first-section {
    padding: 106px 0px 133px 0px;
    background-color: #2e323e;
}

.home-page_dev .first-section::after {
    content: '';
    display: block;
    clear: both;
}

.home-page_dev .first-section .left {
    float: left;
    width: 52%;
    padding-top: 54px;
}

.home-page_dev .first-section .left h1,
.home-page_dev .first-section .left h2 {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 72px;
    text-align: left;
}

.home-page_dev .first-section .left h1 {
    font-size: 48px;
}

.home-page_dev .first-section .left h2 {
    font-weight: 800;
}

.home-page_dev .first-section .left h1 {
    color: #fff;
}

.home-page_dev .first-section .left h2 {
    background-image: linear-gradient(90deg, #F78D4B 0%, #FB413C 100%);
    color: transparent;
    background-clip: text;
}

.home-page_dev .first-section .left p.para_1 {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    color: #ffffff;
    margin-top: 28px;
}

.home-page_dev .first-section .left p.para_2 {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    line-height: 32px;
    margin-top: 17px;
    color: #ffffff;
}

/* Override for index page hero h1 */
.home-page_dev .first-section .left h1 {
    margin-bottom: 1px;
}

.home-page_dev .first-section .right {
    float: right;
    width: 38%;
    border: 5px solid #58565d;
    padding: 70px 46px 34px 46px;
    background: #6D7079;
    border-radius: 47px;
    position: relative;
}

.home-page_dev .first-section .right::before {
    content: 'SUBSCRIBE';
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -29px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 160px;
    height: 50px;
    border-radius: 40px;
    border: 4px solid #58565d;
    background: linear-gradient(90deg, #0AE1DB 0%, #037786 100%);
    color: #ffffff;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 31px;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.home-page_dev .first-section .right .form-input input {
    width: 100%;
    border-radius: 100px;
    border: 1px solid #FFFFFF;
    background-color: #a7a9af;
    padding: 16px 0px 16px 24px;
    margin-bottom: 10px;
}

.home-page_dev .first-section .right .form-input input::placeholder,
.home-page_dev .first-section .right .form-input input {
    color: #000;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 5%;
}

.home-page_dev .first-section .right .events {
    margin-top: 0;
    margin-bottom: 10px;
}

.home-page_dev .first-section .right .events input {
    width: 29%;
    margin-left: 18px;
    margin-right: 18px;
    padding-right: 46px;
    text-align: center;
}

.home-page_dev .first-section .right .events input:focus-visible,
.home-page_dev .first-section .right .form-input input:focus-visible {
    outline: 0 !important;
}

.home-page_dev .first-section .right .events input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
}

.home-page_dev .first-section .right .form-input label {
    color: #fff;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.home-page_dev .first-section .right input[type="submit"] {
    background: linear-gradient(90deg, #F78D4B 0%, #FB413C 100%);
    padding: 10px 0px 10px 0px;
    width: 130px;
    margin: 0 auto;
    border: 4px solid #58565d;
    border-radius: 40px;
    text-align: center;
    margin-top: 0;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

/* Add disabled button styling */
.home-page_dev .first-section .right input[type="submit"].button-disabled {
    background: linear-gradient(90deg, #b6b6b6 0%, #8a8a8a 100%);
    cursor: not-allowed;
    opacity: 0.8;
    border-color: #58565d;
}

/* Make sure the disabled button hover state doesn't change appearance */
.home-page_dev .first-section .right input[type="submit"].button-disabled:hover {
    background: linear-gradient(90deg, #b6b6b6 0%, #8a8a8a 100%);
}

.form-input.button {
    text-align: center;
}

.home-page_dev .first-section .right input[type="submit"]:hover {
    background-image: linear-gradient(90deg, #f9a46e 0%, #fc6561 100%);
}

.input-number p {
    display: inline-block;
}

.input-number {
    position: relative;
}

/* More effective way to hide Firefox spinner */
input[type="number"] {
    -moz-appearance: textfield;
}

/* This makes sure the rule is applied */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.home-page_dev .first-section .right .form-input a {
    color: #fff;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 31px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.home-page_dev .first-section .right .button:hover a {
    color: #037786;
}

.home-page_dev .second-section {
    padding: 88px 0px 92px 0px;
    background-color: #fff;
}

.home-page_dev .second-section h2 {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 82px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
}

.home-page_dev .second-section h2 span {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 800 !important;
    line-height: 72px;
    background-image: linear-gradient(90deg, #F78D4B 0%, #FB413C 100%);
    color: transparent;
    background-clip: text;
}

.home-page_dev .second-section p.we-include {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    margin-top: 7px;
}

.home-page_dev .second-section .middle-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 22px 0px 120px 0px;
}

.home-page_dev .second-section .middle-container .box {
    width: 18.5%;
    background-color: #f5f5f5;
    padding: 30px 0px 49px 0px;
    text-align: center;
    border-radius: 15px;
    margin-top: 38px;
}

.home-page_dev .second-section .middle-container .box:nth-child(4) p {
    margin-top: 50px;
}

.home-page_dev .second-section .middle-container .box:nth-child(8) p {
    margin-top: 20px;
}

.home-page_dev .second-section .middle-container .box p {
    margin-top: 30px;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    color: #000000;
}

.home-page_dev .second-section .support-container {
    padding: 64px 56px 51px 56px;
    background-color: #cd271b;
    border-radius: 25px;
}

.home-page_dev .second-section .support-container::after {
    content: '';
    display: block;
    clear: both;
}

.home-page_dev .second-section .support-container .left {
    float: left;
    width: 57%;
}

.home-page_dev .second-section .support-container .left h3 {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
}

.home-page_dev .second-section .support-container .left p {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    color: #fff;
    margin-top: 17px;
}

.home-page_dev .second-section .support-container .right {
    float: right;
    width: 43%;
    text-align: right;
    padding-top: 40px;
}

.home-page_dev .second-section .support-container .right span {
    border-radius: 100px;
    background-color: white;
    padding: 26px 44px 26px 44px;
    border: 4px solid #a41e15;
    cursor: pointer;
}

.home-page_dev .second-section .support-container .right span:hover {
    background-color: #a41e15;
    border-color: #fff;
}

.home-page_dev .second-section .support-container .right span:hover a {
    color: white;
}

.home-page_dev .second-section .support-container .right a {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 32px;
    text-align: center;
    color: #CD271B;
    text-decoration: none;
}

/* Add focus styling for input fields on the index page subscribe form */
.home-page_dev .first-section .right .form-input input:focus {
    border-color: #059FA1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(5, 159, 161, 0.2);
}

/* Update existing focus-visible rule to include regular focus state */
.home-page_dev .first-section .right .events input:focus,
.home-page_dev .first-section .right .form-input input:focus {
    outline: 0 !important;
}

/* Make sure the number input in the events section also gets the same styling */
.home-page_dev .first-section .right .events input:focus {
    border-color: #059FA1;
    box-shadow: 0 0 0 2px rgba(5, 159, 161, 0.2);
}

/* Responsive styles for home page */
@media only screen and (max-width:1440px) {
    .home-page_dev .center-wr {
        width: 96%;
    }
}

@media only screen and (max-width:1280px) {
    .home-page_dev .first-section .left h1,
    .home-page_dev .first-section .left h2 {
        font-size: 46px;
    }
    .home-page_dev .first-section .right .events input {
        width: 140px;
        display: block;
        margin: 11px auto;
    }
    .form-input.events {
        text-align: center;
    }
}

@media only screen and (max-width:1024px) {
    .home-page_dev .first-section .left {
        text-align: center;
    }
    .home-page_dev .first-section .left h1,
    .home-page_dev .first-section .left h2 {
        text-align: center;
    }
    .home-page_dev .first-section .left {
        padding-bottom: 30px;
    }
    .home-page_dev .first-section {
        padding: 70px 0px 70px 0px;
    }
    .home-page_dev .first-section .left {
        float: none;
        width: 100%;
        padding-top: 0px;
    }
    .home-page_dev .first-section .right {
        float: none;
        width: 67%;
        margin: 62px auto;
    }
    .home-page_dev .second-section {
        padding: 70px 0px 70px 0px;
    }
}

@media only screen and (max-width:880px) {
    .home-page_dev .second-section .support-container {
        text-align: center;
    }
    .home-page_dev .second-section .support-container .right {
        text-align: center;
    }
    .home-page_dev .first-section {
        padding: 40px 0px 40px 0px;
    }
    .home-page_dev .second-section .support-container .left,
    .home-page_dev .second-section .support-container .right {
        float: none;
        width: 100%;
    }
    .home-page_dev .second-section .support-container .right {
        text-align: center;
    }
    .home-page_dev .second-section .middle-container .box {
        width: 30%;
    }
}

@media only screen and (max-width:767px) {
    .home-page_dev .first-section .left h1,
    .home-page_dev .first-section .left h2,
    .home-page_dev .second-section h2 span,
    .home-page_dev .second-section h2 {
        font-size: 43px;
        line-height: 52px;
        text-align: center;
    }
    .home-page_dev .second-section .middle-container {
        margin-bottom: 60px;
    }
    .home-page_dev .second-section .middle-container .box {
        width: 48%;
    }
}

@media only screen and (max-width:650px) {
    .home-page_dev .second-section .support-container {
        padding: 31px 56px 51px 56px;
    }
    .home-page_dev .first-section .right {
        width: 100%;
    }
    .home-page_dev .first-section {
        padding: 0px 0px 40px 0px;
    }
}

@media only screen and (max-width:567px) {
    .home-page_dev .first-section {
        padding: 10px 0px 8px 0px;
    }
    .home-page_dev .second-section {
        padding: 50px 0px 50px 0px;
    }
}

@media only screen and (max-width:480px) {
    .home-page_dev .first-section .left h1,
    .home-page_dev .first-section .left h2,
    .home-page_dev .second-section h2 span,
    .home-page_dev .second-section h2 {
        font-size: 33px;
        line-height: 42px;
        text-align: center;
    }
    .home-page_dev .first-section .left p.para_1 {
        margin-top: 16px;
    }
    .home-page_dev .second-section .middle-container {
        margin-top: 0px;
    }
    .home-page_dev .second-section .support-container .left h3 {
        font-size: 32px;
        line-height: 44px;
    }
    .home-page_dev .second-section .support-container .left p {
        margin-top: 0px;
    }
    .home-page_dev .second-section .middle-container .box p,
    .home-page_dev .second-section .middle-container .box:nth-child(4) p,
    .home-page_dev .second-section .middle-container .box:nth-child(8) p {
        margin-top: 21px;
        font-size: 20px;
        line-height: 28px;
    }
    .home-page_dev .second-section .middle-container .box:nth-child(4) p {
        margin-top: 35px;
    }
    .home-page_dev .second-section .middle-container .box:nth-child(8) p {
        margin-top: 16px;
    }
    .home-page_dev .second-section .support-container .right span {
        padding: 20px 30px 20px 30px;
    }
    .home-page_dev .second-section .support-container {
        padding: 31px 10px 51px 10px;
    }
    .home-page_dev .first-section .right input[type="submit"] {
        width: 130px;
        font-size: 18px;
        line-height: 26px;
    }
}

@media only screen and (max-width:375px) {
    .home-page_dev .center-wr {
        width: 91%;
    }
    .home-page_dev header {
        padding: 25px 0px 0px 0px;
    }
    .home-page_dev .first-section .left h1,
    .home-page_dev .first-section .left h2,
    .home-page_dev .second-section h2 span,
    .home-page_dev .second-section h2 {
        font-size: 22px;
        line-height: 33px;
        text-align: center;
    }
    .home-page_dev .first-section .right {
        width: 96%;
    }
    .home-page_dev .second-section .support-container .right a {
        font-size: 16px;
        line-height: 28px;
    }
    .home-page_dev .second-section .support-container .right span {
        padding: 14px 10px 14px 10px;
    }
    .home-page_dev .first-section {
        padding: 60px 0px 8px 0px;
    }
    .home-page_dev .first-section .left p.para_1,
    .home-page_dev .second-section .support-container .left p {
        font-size: 16px;
        line-height: 26px;
    }
    .home-page_dev .first-section .right {
        padding: 67px 15px 34px 15px;
    }
    .home-page_dev .second-section .middle-container .box p,
    .home-page_dev .second-section .middle-container .box:nth-child(4) p,
    .home-page_dev .second-section .middle-container .box:nth-child(8) p {
        margin-top: 10px;
        font-size: 16px;
        line-height: 28px;
    }
    .home-page_dev .first-section .right input[type="submit"] {
        font-size: 18px;
        line-height: 26px;
    }
    .home-page_dev .first-section .right .form-input a {
        font-size: 18px;
    }
    .home-page_dev .second-section .support-container .left h3 {
        margin-bottom: 10px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    /* Prevent block/spacing/bold from label styles */
    display: inline !important;
    margin: 0 !important;
    font-weight: normal !important;
}

#form-alert {
    margin-bottom: 10px;
}
