/*
Theme Name: Hydroblok Theme
Author: Hydroblok
Description: A custom theme built with ACF support.
Version: 1.0
*/

/* =================Basic theme style================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    font-family: 'Aeonik Regular';
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #509e2e;
    --text-color: #171717;
    --border-grey: #00000033;
}

a,
button {
    cursor: pointer;
}


/* find a dealer page header and footer hiding */

.page-id-690 header.hydro-site-header,
.page-id-690 footer.hydro-site-footer {
    display: none !important;
}


/* single courses view page starts  */

.sfwd-courses-template-default .single-post.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0px;
    min-height: 70svh;
}

.sfwd-courses-template-default .single-post.container .learndash-wrapper .ld-course-status {
    margin: 10px 0px;
}

/* body {
    max-width: 1400px;
    margin: 0 auto;
} */

/* =================Header style================= */
.home.page-template {
    background: var(--primary-color) !important;
}

header.hydro-site-header {
    background: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
}

header.hydro-site-header .hydro-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 25px 10px;
    max-width: 1400px;
    margin: 0 auto;
}

header.hydro-site-header .hydro-header-container .hydro-contact {
    display: flex;
    align-items: center;
    gap: 5px;
}

header.hydro-site-header .hydro-header-container .hydro-logo a img,
footer.hydro-site-footer .hydro-footer-container .hydro-footer-col ul .hyrdo-footer-logo a img {
    width: 200px;
    height: auto;
    object-fit: cover;
}

.hydro-header-container .hydro-main-nav ul#menu-secondary-menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.hydro-header-container .hydro-main-nav ul li:last-child {
    margin-left: 240px;
}

.hydro-header-container .hydro-main-nav ul li:last-child::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 2px;
    vertical-align: middle;
    background: url('/wp-content/themes/hydroblok-theme/assets/images/Line.png') no-repeat center/contain;
}

/* .hydro-header-container .hydro-main-nav ul#menu-secondary-menu li::after {
    content: "›";
    display: inline-block;
    margin-left: 6px;
    font-size: 0.8em;
    transform: rotate(90deg);
    margin-left: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
} */

.hydro-header-container .hydro-main-nav ul#menu-secondary-menu li a {
    color: var(--text-color) !important;
}

.hydro-header-container .hydro-main-nav ul#menu-secondary-menu li a:hover {
    color: var(--secondary-color) !important;
}

header.hydro-site-header .hydro-header-container .hydo-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

header.hydro-site-header .hydro-header-container .hydo-contact a {
    color: var(--text-color);
}

header.hydro-site-header .hydro-header-container .hydro-mobile-menu {
    display: none;
}

header.hydro-site-header .hydro-header-container .hydo-contact a:hover {
    color: var(--secondary-color);
}

/* =================Footer style================= */

footer.hydro-site-footer {
    max-width: 1400px;
    margin: 0 auto;
}

footer.hydro-site-footer .hydro-footer-container {
    padding: 50px 0;
    border-top: 1px solid var(--border-grey);
}

footer.hydro-site-footer .hydro-footer-container .hydro-footer-columns {
    /* display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: flex-start;
    gap: 60px; */
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hydro-site-footer .hydro-footer-container .hydro-footer-columns .hydro-footer-col:first-child ul {
    gap: 60px !important;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col ul li a {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col.column5 ul li a {
    font-weight: 600;
    font-size: 16px;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col.column5 ul li.hydro-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col.column5 ul {
    gap: 20px;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col ul li p {
    padding: 10px 0;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col ul li p a {
    font-weight: 400 !important;
}

.hydro-footer-container .hydro-footer-columns .hydro-footer-col ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* =================Hero section style================= */

section.hyrdo-hero-section-wrapper {
    padding: 50px 20px;
}

.hyrdo-hero-section-wrapper .hydro-hero-section {
    max-width: 1200px;
    margin: 0 auto;
}

.hyrdo-hero-section-wrapper .hydro-hero-section .hydro-logo-info-wrap,
.hydro-hero-section .hydro-logo-info-wrap .hydro-info-center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hyrdo-hero-section-wrapper .hydro-hero-section .hydro-logo-info-wrap {
    gap: 50px;
    margin-top: 30px;
}

.hydro-hero-section .hydro-logo-info-wrap .hydro-info-center-container h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 63px;
    color: #010101;
    text-align: center;
}

.hydro-hero-section .hydro-logo-info-wrap .hydro-info-center-container h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: var(--text-color);
    max-width: 360px;
    text-align: center;
    padding: 20px 0px;
}

.hydro-hero-section .hydro-search-course-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hydro-hero-section .hydro-search-course-wrap .hydro-hero-courses-wrap {
    display: flex;
    gap: 20px;
    background: var(--primary-color);
    padding: 20px 15px;
    border-radius: 8px;
}

.hydro-hero-section .hydro-search-course-wrap .hydro-hero-search-bar-wrap {
    display: none !important;
    width: 760px;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    padding: 0 10px;
    border-radius: 10px;
}

.hydro-hero-section .hydro-search-course-wrap .hydro-hero-search-bar-wrap input {
    width: 100%;
    padding: 22px 10px;
    border: none;
    border-radius: 10px;
}

.hydro-hero-section .hydro-search-course-wrap .hydro-hero-search-bar-wrap button {
    width: 150px;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
}

.hydro-search-course-wrap .hydro-hero-courses-wrap .hydro-single-course a img {
    width: 270px;
    height: auto;
    object-fit: cover;
}

.hydro-search-course-wrap .hydro-single-course .single-course-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 10px;
    padding: 5px;
}

.hydro-search-course-wrap .hydro-single-course .single-course-info .course-down-arrow {
    transform: rotate(-90deg);
}

.hydro-single-course .single-course-info .course-icon-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hydro-single-course .single-course-info .course-icon-title-wrap p a {
    font-size: 18px;
}

/* =================Courses section style================= */

section.hyrdo-course-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.hydro-single-course-wrapper {
    /* max-width: 1600px; */
    margin: 50px auto;
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    padding: 25px;
}

.hydro-single-course-wrapper .hydo-sc-heading-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hydro-single-course-wrapper .hydo-sc-heading-wrap h1 {
    font-size: 25px;
    font-weight: 400;
    line-height: 30px;
    color: var(--text-color);
}

.hydro-single-course-wrapper .hydro-single-course-img {
    padding: 25px 0;
}

.hydro-single-course-wrapper .hydro-single-course-img img {
    width: 100%;
}

.hydro-single-course-wrapper .hydro-single-course-data-wrap {
    /* display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px; */
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    display: flex;
    max-width: 1400px;
    overflow: auto;
    gap: 20px;
    justify-items: center;
}

.hydro-single-course-wrapper .hydro-single-course-data-wrap .hydro-sc-data {
    min-width: 240px;
    border-right: 1px solid #00000026;
    padding: 0 20px;
}

.hydro-single-course-wrapper .hydro-single-course-data-wrap .hydro-sc-data:last-child {
    border-right: none;
}

.hydro-single-course-data-wrap .hydro-sc-data .sc-heading,
.hydro-single-course-data-wrap .hydro-sc-data .sc-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hydro-single-course-data-wrap .hydro-sc-data .sc-heading h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: var(--text-color);
}

.hydro-single-course-data-wrap .hydro-sc-data .sc-heading {
    margin-bottom: 6px;
}

.hydro-single-course-data-wrap .hydro-sc-data .sc-list {
    padding: 20px 0;
}

.hydro-sc-data .sc-list:not(:last-child) {
    border-bottom: 1px solid #00000026;
}

.hydro-single-course-data-wrap .hydro-sc-data .sc-list a,
.hydro-single-course-data-wrap .hydro-sc-data p {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #535862;
}

/* =================Video section style================= */

.hydro-vid-container {
    padding: 30px 0px;
    max-width: 1400px;
    margin: 0 auto;
}

.hydro-vid-container .hyrdo-vid-heading-wrap {
    padding: 20px;
}

.hydro-vid-container .hyrdo-vid-heading-wrap h3 {
    color: var(--text-color);
    font-size: 25px;
    line-height: 30px;
    font-weight: 700;
    padding: 30px 0px;
}

.hydro-vid-container .hydro-vid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 20px;
}

/* =================Contact Form section style================= */

.hydro-contact-form-wrapper {
    position: relative;
    height: 70svh;
    min-height: 630px;
    margin-top: 100px;
}

.hydro-contact-form-wrapper img {
    width: 100%;
}

.hydro-contact-form-wrapper .wpcf7.js {
    background: #fff;
    max-width: 780px;
    padding: 30px;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
}

.hydro-contact-form-wrapper .wpcf7.js form h2 {
    font-size: 50px;
    line-height: 58px;
    text-align: center;
}

.hydro-contact-form-wrapper .wpcf7.js form h2 span {
    color: var(--secondary-color);
}

.hydro-contact-form-wrapper .wpcf7.js form p {
    text-align: center;
    font-size: 16px;
    line-height: 26px;
    padding: 10px;
    color: #535862;
}

.hydro-contact-form-wrapper .wpcf7.js form p span input {
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--border-grey);
}

.hydro-contact-form-wrapper .wpcf7.js form .fields-wrap .form-row {
    display: flex;
    gap: 20px;
}

.hydro-contact-form-wrapper .wpcf7.js form .fields-wrap .form-row p label {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.hydro-contact-form-wrapper .wpcf7.js form .form-submit {
    padding: 10px 0px;
}

.hydro-contact-form-wrapper .wpcf7.js form .form-submit input.wpcf7-submit {
    width: 150px;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
}

/*========================== Responsive CSS==========================*/


@media (max-width:1360px) {
    .hydro-vid-container .hydro-vid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:1165px) {

    .hydro-vid-container .hydro-vid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .hydro-main-nav {
        display: none;
        transition: all 0.3s ease;
    }

    .hydro-site-header .hydro-header-container .hydro-logo-mobmenu-wrap {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .hydro-header-container .hydro-main-nav ul#menu-secondary-menu {
        flex-direction: column;
    }

    header.hydro-site-header .hydro-header-container .hydro-mobile-menu {
        display: block;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        text-align: center;
        z-index: 9999;
        background: #fff;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav a {
        display: block;
        padding: 14px 16px;
        color: #fff;
        text-decoration: none;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav a:hover {
        background-color: #ddd;
        color: #000;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav ul li:last-child {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav ul li:last-child a {
        color: var(--primary-color) !important;
        background-color: var(--secondary-color);
        text-decoration: none;
        width: 600px;
        margin: 0 auto;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav ul li:last-child::before {
        display: none;
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav ul li:last-child a:hover {
        color: var(--secondary-color);
    }

    .hydro-site-header .hydro-header-container .hydro-main-nav.show,
    .hydro-site-header .hydro-header-container .hydro-main-nav ul li:last-child .show {
        display: block !important;
    }

    .hydro-mobile-menu {
        cursor: pointer;
        position: relative;
    }

    .hydro-mobile-menu .icon-close {
        display: none;
    }

    .hydro-mobile-menu.active .icon-bars {
        display: none;
    }

    .hydro-mobile-menu.active .icon-close {
        display: inline;
    }

}

@media (max-width:930px) {
    .hydro-hero-section .hydro-search-course-wrap .hydro-hero-courses-wrap {
        flex-direction: column;
    }
}

@media (max-width:680px) {

    .hydro-vid-container .hydro-vid-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}