/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Default GeneratePress child theme for vmarathon
Author: Your Name
Author URI: https://vmarathon.com
Template: generatepress
Version: 1.0.0
*/

/* Add your custom CSS below this line */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out; 
    z-index: 9999;
}
.site-header.is-scrolled {
    background-color: #000000;
}
#content {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.gb-element-70bb8c06 > div:first-of-type, .gb-element-e74b69f2 > div:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.gb-element-70bb8c06 > div:last-of-type, .gb-element-e74b69f2 > div:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}
.color-span span {
    color: var(--accent); /* Change to your desired color */
}
.no-bmargin {
    margin-bottom: 0px;
}
.wp-element-button {
    border: 2px solid #43c677 !important;
    transition: all 0.3s ease-in-out;
}
.wp-element-button:hover {
    background-color: #309c5b !important;
    border-color: #309c5b !important;
}
.is-style-outline .wp-element-button {
    color: #ffffff;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}
.is-style-outline .wp-element-button:hover {
    color: #000000;
    background-color: #309c5b !important;
    border-color: #309c5b !important;
}
.grid-container {
    padding-left: 0px;
    padding-right: 0px;
}
.header-widget {
    margin-top: 0px !important;
}
.header-widget, .footer-bar {
    width: 100%;
    max-width: 1200px;
}
.custom-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Adjust to your layout */
    margin: 0 auto;
    background-color: #000; /* Shows black while loading */
    height: 400px;
}
#vmarathon-yt-player {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* Prevents users from clicking the video to pause, forcing them to use your buttons */
}
.custom-controls {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #1e293b;
    width: 100%;
    text-align: center;
}
.video-btn {
    padding: 10px 24px;
    background-color: #3b82f6; /* Action Blue */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.video-btn:hover {
    background-color: #2563eb;
}
/*.ytmCuedOverlayGradient, .ytwPlayerFullscreenTopControlsHost, .fullscreen-action-menu {
    display: none !important;
}
.player-controls-top {
    display: none !important;
}*/
.footer-bar {
    border-top: 1px solid #43c677;
    padding-top: 50px;
    padding-bottom: 40px;
}
.copyright-bar {
    display: none;
}
.with_shadow {
    box-shadow: 0 0 30px 15px rgba(0, 0, 0, 0.25);
}
.vmarathon-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.vmarathon-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.vmarathon-popup-header {
    text-align: right;
    padding-bottom: 20px;
}
.vmarathon-popup-logo-img {
    max-width: 280px;
    height: auto;
    display: inline-block;
}
.vmarathon-popup-logo-text {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
}
.vmarathon-popup-container {
    background-color: #000000;
    border: 2px solid #43c677;
    padding: 60px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.vmarathon-popup-overlay.is-active .vmarathon-popup-container {
    transform: scale(1);
}
.vmarathon-popup-container h2 {
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
}
.vmarathon-popup-container h3 {
    font-weight: 700;
    font-style: italic;
}
.vmarathon-popup-container h3 > span {
    color: #43c677;
}
.vmarathon-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: block;
    width: 34px;
    height: 34px;
    text-decoration: none;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.41' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.vmarathon-popup-close:hover {
    transform: scale(1.1);
}

.wpcf7-form .wpcf7-form-control {
    display: block;
    width: 100%;
}
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    padding-top: 15px;
}
.wpcf7-form .wpcf7-form-control.wpcf7-textarea {
    max-height: 150px;
}
.wpcf7-form .wpcf7-form-control.wpcf7-submit,
.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-form .wpcf7-form-control.wpcf7-submit:focus {
    font-weight: 600;
    text-transform: uppercase;
    background-color: #43c677;
    color: #000000;
    width: auto;
    padding: 10px 50px;
    margin: 0 auto;
}
.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover {
    background-color: #309c5b;
}
.wpcf7-form .cf7-css-field_half,
.wpcf7-form .cf7-css-field_third,
.wpcf7-form .cf7-css-field_custom,
.wpcf7-form .cf7-css-field_two_third,
.wpcf7-form .cf7-css-field_fourth,
.wpcf7-form .cf7-css-field_three_fourth {
    float: left;
    box-sizing: border-box;
}
.wpcf7-form .cf7-css-field_half { width: 50%; padding-right: 30px; }
.wpcf7-form .cf7-css-field_third { width: 33.33333%; }
.wpcf7-form .cf7-css-field_two_third { width: 66.66667%; }
.wpcf7-form .cf7-css-field_fourth { width: 25%; }
.wpcf7-form .cf7-css-field_three_fourth { width: 75%; }
.wpcf7-form .cf7-css-field_custom { width: 26.66667%; }
.wpcf7-form .list_item_third {
    width: 33.33333%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}
.wpcf7-form .cf7-css-field, 
.wpcf7-form .cf7-css-field_first {
    clear: both !important;
}
.wpcf7-form .cf7-css-field_custom, 
.wpcf7-form .cf7-css-field_third, 
.wpcf7-form .cf7-css-field_last {
    clear: none !important;
}
.wpcf7-form .cf7-css-field_last {
    padding-right: 0;
    padding-left: 30px;
}
@media (max-width: 768px) {
    .wpcf7-form .cf7-css-field_half,
    .wpcf7-form .cf7-css-field_third,
    .wpcf7-form .cf7-css-field_custom,
    .wpcf7-form .cf7-css-field_two_third,
    .wpcf7-form .cf7-css-field_fourth,
    .wpcf7-form .cf7-css-field_three_fourth,
    .wpcf7-form .list_item_third {
        width: 100% !important;
        float: none;
        padding-left: 0;
        padding-right: 0;
    }
}
.wpcf7-form p input[type="text"],
.wpcf7-form p input[type="email"], 
.wpcf7-form p input[type="url"], 
.wpcf7-form p input[type="password"], 
.wpcf7-form p input[type="search"], 
.wpcf7-form p input[type="tel"], 
.wpcf7-form p input[type="number"], 
.wpcf7-form p textarea, 
.wpcf7-form p select {
    color: #ffffff;
    background-color: transparent !important;
    border-color: #43c677;
}
.wpcf7-form p input[type="checkbox"], 
.wpcf7-form p input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    z-index: -1;
}
.wpcf7-form p input[type="checkbox"] + .wpcf7-list-item-label, 
.wpcf7-form p input[type="radio"] + .wpcf7-list-item-label {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    /*padding-left: 28px;*/
    line-height: 1.7em;
    min-height: 1.7em;
    cursor: pointer;
}
.wpcf7-form p input[type="checkbox"] + .wpcf7-list-item-label i, 
.wpcf7-form p input[type="radio"] + .wpcf7-list-item-label i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: #43c677;
    border: 1px solid #43c677;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.wpcf7-form p input[type="radio"] + .wpcf7-list-item-label i {
    border-radius: 50%;
}
.wpcf7-form p input[type="checkbox"] + .wpcf7-list-item-label i {
    border-radius: 4px;
}
.wpcf7-form p input[type="checkbox"]:checked + .wpcf7-list-item-label i::before,
.wpcf7-form p input[type="radio"]:checked + .wpcf7-list-item-label i::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2ea3f2;
    width: 8px;
    height: 8px;
}
.wpcf7-form p input[type="radio"]:checked + .wpcf7-list-item-label i::before {
    border-radius: 50%;
}
.wpcf7-form p input[type="checkbox"]:checked + .wpcf7-list-item-label i::before {
    border-radius: 2px; 
}
.wpcf7-form p input[type="checkbox"]:focus + .wpcf7-list-item-label i,
.wpcf7-form p input[type="radio"]:focus + .wpcf7-list-item-label i {
    box-shadow: 0 0 0 2px rgba(46, 163, 242, 0.4); 
    border-color: #2ea3f2;
}
.wpcf7-form p:last-of-type {
    margin: 0 !important;
    padding: 40px 0px 0px;
}
.wpcf7-form p.custom-select {
    position: relative;
    margin-bottom: 15px;
}
.wpcf7-form p.custom-select select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}
.wpcf7-form p.custom-select .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #43c677;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    user-select: none;
}
.wpcf7-form p.custom-select .custom-select-trigger::after {
    content: "";
    width: 16px;
    height: 16px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.2s ease;
}
.wpcf7-form p.custom-select .custom-select-trigger.is-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.wpcf7-form p.custom-select .custom-select-trigger.is-open::after {
    transform: translateY(3px) rotate(225deg);
    border-color: #ffffff;
}
.wpcf7-form p.custom-select .custom-select-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: calc(100% - 30px);
    background-color: #000000;
    border: 1px solid #43c677;
    border-top: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.2s ease;
}
.wpcf7-form p.custom-select .custom-select-options.select-hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}
.wpcf7-form p.custom-select .custom-select-option {
    padding: 12px 15px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.1s ease, color 0.1s ease;
}
.wpcf7-form p.custom-select .custom-select-option:hover {
    background-color: #43c677;
    color: #000000;
}
.wpcf7-form p.custom-select .custom-select-option.is-selected {
    background-color: #43c677;
    color: #000000;
}
.wpcf7-form .wpcf7-radio {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: stretch;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item {
    flex: 1;
    margin: 0;
    display: block;
}
.wpcf7-form .wpcf7-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    z-index: -1;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 7px 10px;
    background-color: #43c677;
    border: 2px solid #43c677;
    color: #000000;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item:hover .wpcf7-list-item-label {
    background-color: #309c5b;
    border-color: #309c5b;
    color: #000000;
}
.wpcf7-form .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
    background-color: #309c5b;
    border-color: #309c5b;
    color: #000000;
    box-shadow: 0 4px 6px -1px rgba(46, 163, 242, 0.25);
}
.wpcf7-form .wpcf7-radio input[type="radio"]:focus + .wpcf7-list-item-label {
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.4);
    border-color: #309c5b;
}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {
    text-align: center;
}

.cf7-hidden-ui {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.custom-thank-you-box {
    text-align: inherit;
}

@media (max-width: 768px) {
    .vmarathon-popup-overlay {
        padding: 15px;
    }
    .vmarathon-popup-container {
        padding: 30px 20px;
        max-height: 95vh;
    }
    .vmarathon-popup-header {
        text-align: left;
    }
    .vmarathon-popup-logo-img {
        max-width: 220px;
    }
    .vmarathon-dynamic-form h2 {
        font-size: 24px;
    }
    .vmarathon-dynamic-form h3 {
        font-size: 22px;
    }
    .wpcf7-form .cf7-css-field_half,
    .wpcf7-form .cf7-css-field_third,
    .wpcf7-form .cf7-css-field_custom,
    .wpcf7-form .cf7-css-field_two_third,
    .wpcf7-form .cf7-css-field_fourth,
    .wpcf7-form .cf7-css-field_three_fourth,
    .wpcf7-form .list_item_third {
        width: 100% !important; /* Forces columns to stack on mobile */
        float: none;
        padding-left: 0;
        padding-right: 0;
    }
    .wpcf7-form .wpcf7-radio {
        flex-direction: column;
    }
    .wpcf7-form p.custom-select .custom-select-options {
        width: 100%;
    }
}
@media (max-width: 1200px) {
    .header-widget, .footer-bar {
        padding-left: 20px;
        padding-right: 20px
    }
    .entry-content > div {
        padding-left: 20px;
        padding-right: 20px;
    } 
    .gb-element-e74b69f2 { 
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        row-gap: 3em !important; 
    }
    .gb-element-e74b69f2 > div:first-of-type {
        align-items: center;
        order: 2;
    }
    .gb-element-e74b69f2 > div:last-of-type {
        align-items: center;
        order: 1;
    }  
}
@media (max-width: 1024px) {
    .gb-element-70bb8c06 > div:last-of-type {
        display: none;
    }
    .gb-element-70bb8c06 > div:first-of-type .wp-block-image {
        margin: 0 auto;
    }
}