/* Homepage Styles */
/*******************************************
    **************** Home Banner Section **************************
 ************************************************/
.hero-section .container {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
}
.hero-content {
    padding: 80px 0 85px 100px;
    max-width: 721px;
    margin: 0 0 0 auto
}
.hero-description {
    font-size: 16px;
    margin-top: 20px;
}
.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.hero-title h1 {
    font-weight: 700;
    line-height: 100%;
    position: relative;
    margin-bottom: 25px;
}
.hero-title h2,
.hero-title h4,
.hero-title h5, 
.hero-title h6 {
    margin: 10px 0;
}
.hero-title h1:after{
    content: '';
    width: 200px;
    height: 4px;
    background-color: var(--yellow);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.hero-title h3 {
    font-size: 32px;
}

.hero-title span.mark {
    position: relative;
    display: inline-block;
}
.hero-title span.mark:after {
    content: '';
    background: url(/wp-content/themes/ldwp/assets/img/hd-mark.svg) no-repeat center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 114%;
    height: 120%;
    background-size: 100%;
}




/******************************************
 **************** Search Section **************************
 ************************************************/
.search-section {
    padding: 80px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.search-section.has-tags {
    padding-bottom: 20px;
}

.search-section .container {
    max-width: 840px;
    gap: 25px;
}
.search-heading {
    position: relative;
    box-shadow: 0px 4px 4px 0px #00000059;
}
.search-heading:after {
    content: '';
    width: 100px;
    height: 4px;
    background-color: var(--yellow);
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}
.search-form-wrapper {
    width: 100%;
}
.search-section form {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--white);
    width: 100%;
    padding: 10px 10px 10px 26px;
    border-radius: 40px;
    border: 2px solid var(--white)
}
.search-section form:has(input:focus),
.search-section form:has(input:focus-visible) {
    border-color: var(--yellow);
}
.search-section form label{
    width: 100%;
    margin-top: 3px;
}
.search-section form input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--font-montserrat);
}
.search-section form button {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-section form button:hover {
    background-color: var(--black);
    color: var(--yellow); 
}
.search-section form button:hover img {
    filter: invert(100%) sepia(100%) grayscale(100%);
}
.search-section input::placeholder {
    color: #7A7A7A;
    opacity: 1;
    font-family: var(--font-montserrat);
}
.search-tag-con {
    padding: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.search-tag {
    border: 1px solid #FCEE21;
    background: var(--black);
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    text-align: center;
    color: var(--white);
    border-radius: 40px;
    padding: 9px 12px;
    min-width: 160px;
    cursor: pointer;
}

/******************************************
 **************** 3 card Section **************************
 ************************************************/
.three-card-section {
    padding: 80px 0 75px;
    position: relative;
}
.three-card-section .container {
    max-width: 1260px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.card-hd-con {
    gap: 30px;
}
.three-cols-heading {
    font-weight: 700;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white);
}
.three-card-section .desc {
    font-size: 18px;
    color: var(--white);
    max-width: 739px;
    width: 100%;
}
.three-card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
}

.three-card-wrapper .card {
    border: 2px solid var(--yellow);
    background-color: #1A1A1A;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
    align-items: center;
}
.three-card-wrapper .card-inner {
    max-width: 185px;
    width: 100%;
    margin: 0 auto;
}
.three-card-wrapper .card-title {
    color: var(--yellow) !important;
    font-size: 18px;
}
.three-card-wrapper .card-description {
    font-size: 13px;
}
.short-info {
    color: #7A7A7A;
}
.corner-img {
    position: absolute;
    bottom: -25px;
    right: 0;
    width: 300px;
    object-fit: contain;
}



/******************************************
 **************** cta section **************************
 ************************************************/
.cta-section {
    padding: 60px 0 85px;
}
.cta-section h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--black);
    position: relative;
    width: fit-content;
    margin: 0 auto 45px;
}
.cta-section h2:after {
    content: '';
    background: url('/wp-content/themes/ldwp/assets/img/hm-cta-bg.png') no-repeat center;
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 227%;
    background-size: contain;
}
.cta-section .desc {
    max-width: 481px;
    margin: 20px auto 40px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: var(--black);
}
.cta-btn {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    background-color: var(--black);
    border-radius: 4px;
    padding: 20px 30px;
    min-width: 300px;
    width: fit-content;
    color: var(--white);
    margin: 40px auto 0;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-btn:hover {
    background-color: var(--yellow);
    color: var(--black);
}
.cta-section .btn {
    margin: 40px auto 0;
}


/* About Page */
.about-content-section {
    padding: 80px 0;
}
.about-content {
    max-width: 828px;
    width: 100%;
    margin: 0 auto;
}
.pages-content h1 {
    font-size: 64px;
    position: relative;
}
.pages-content h1:before {
    content: '';
    width: 100px;
    height: 4px;
    background-color: var(--yellow);
    display: block;
    margin-bottom: 10px;
}
.about-cta-section {
    padding: 60px 0 50px;
}
.about-cta-section .container {
    gap: 25px;
}
.about-cta-section h3 {
    font-size: 40px;
}
/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** responsive styles
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
@media only screen and (min-width: 1500px) {
    .hero-content {
        padding: 80px 0 85px 0;
        max-width: 667px;
    }

}


@media only screen and (max-width: 1200px) {
    .hero-content {
        padding: 40px 20px;
    }
}




@media only screen and (max-width: 998px) {
    .three-card-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .corner-img {
        bottom: 0;
        width: 188px;
    }
}


@media only screen and (max-width: 767px) {

    /* Hero Section */
    .hero-section .container {
        grid-template-columns: 100%;
    }
    .hero-section .hero-content {
        padding: 30px 20px 80px;
        max-width: 100%;
    }
    .hero-section .hero-image {
        order: -1;
    }


    /* Search Section */
    .search-tag {
        min-width: unset;
    }


    /* Three card section */
    .three-card-wrapper {
        grid-template-columns: 100%;
        gap: 20px;
    }
    .corner-img {
        width: 139px;
        display: none;
    }


    /* home cta */
    .cta-section h2 ,
    .three-cols-heading {
        font-size: 30px;
    }
    .cta-btn {
        min-width: 220px;
    }


    /* About Page */
    .about-content-section {
        padding: 40px 0;
    }
    .pages-content h1 {
        font-size: 45px;
    }
    .about-cta-section h3 {
        font-size: 28px;
    }
    .about-cta-section .container {
        gap: 16px;
    }



}