/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/
/* ==== Add your own styles below this line ====
 * -------------------------------------------- */
h1, h2 {
    font-family: "urbane", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h3, h4 {
    font-family: "urbane", sans-serif;
    font-weight: 600;
    font-style: normal;
}

h3 {
    padding-bottom: 0.8em;
}

p, li, a, .et_pb_button {
    font-family: "urbane", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.et_pb_row {
    width: 85%;
}

.et-l h1 {
    font-size: 4.5vw !important;
}

@media only screen and (min-width: 2000px) {
    .et-l h1 {
        font-size: 85px !important;
    }
}

@media screen and (max-width: 481px) {
    .et-l h1 {
        font-size: 30px !important;
    }
    .et-l p, li, a {
        font-size: 14px !important;
        line-height: 1.3em !important;
    }
}

/********* CONTACT FORM **********/
.et_contact_bottom_container {
    float: none !important;
}

.et_pb_contact_form .et_pb_button {
    margin: 20px auto 0 !important;
}

p.et_pb_contact_field {
    padding: 0 !important;
}

/********* MOBILE FULL SCREEN MENU **********/
@media only screen and (max-width: 981px) and (min-width: 481px) {
    #fullscreen-nav a {
        font-size: 55px !important;
        line-height: 2em !important;
        color: #fff;
    }
    #fullscreen-nav a:hover {
        color: #fff5e5 !important;
    }
}

@media only screen and (max-width: 480px) {
    #fullscreen-nav a {
        font-size: 40px !important;
        line-height: 2em !important;
        color: #fff;
    }
    #fullscreen-nav a:hover {
        color: #fff5e5 !important;
    }
}

.hiw-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    position: relative;
    flex-wrap: wrap;
}

.hiw-arrow {
    background: #887692;
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    z-index: 3;
}

.hiw-arrow:hover {
    background: #361f4a;
}

#hiw-prev {
    left: -20px;
}

#hiw-next {
    right: -20px;
}

.hiw-text h1, .hiw-text h2 {
    font-family: "urbane", sans-serif;
    font-weight: 600;
}

.hiw-text h3, .hiw-text h4 {
    font-family: "urbane", sans-serif;
    font-weight: 400;
}

.hiw-text p, li, a {
    font-family: "urbane", sans-serif;
    font-weight: 400;
}

.hiw-text {
    flex: 1 1 50%;
    padding-right: 5vw;
    position: relative;
    margin-top: 3vh;
}

.hiw-text h2 {
    font-size: 80px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.hiw-step-content {
    transition: opacity 0.4s ease-in-out;
    position: relative;
    z-index: 2;
}

.hiw-fade-out {
    opacity: 0;
}

.hiw-fade-in {
    opacity: 1;
}

.hiw-step-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    max-width: 650px;
}

.hiw-step-number {
    font-size: 80px;
    font-weight: 700;
    color: #2d1849;
    line-height: 1;
    transform: translateY(-10%);
}

.hiw-step-wrapper h3 {
    margin: 0;
    font-size: 46px;
    color: #2d1849;
    line-height: 1.1;
}

.hiw-text p {
    font-size: 18px;
    color: #4b3d68;
    line-height: 1.6;
    text-align: left;
    margin-left: 90px;
    max-width: 600px;
}

.hiw-cta {
    display: inline-block;
    background: #b376ff;
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.3s;
}

.hiw-cta:hover {
    background: #a25cff;
}

.hiw-image {
    flex: 1 1 40%;
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hiw-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.hiw-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #2d1849;
    border-radius: 80px;
    width: 95%;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 10px;
}

.hiw-progress-dots {
    display: flex;
    gap: 6px;
}

.hiw-progress-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e8d9ff;
}

.hiw-progress-dots .hiw-active {
    background: #b376ff;
}

.hiw-mobile-desc {
    display: none;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.hiw-mobile-desc p {
    font-size: 16px;
    color: #4b3d68;
    line-height: 1.6;
}

.hiw-mobile-arrows {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    justify-content: space-between;
    padding: 0 15px;
}

.hiw-mobile-arrow {
    background: #887692;
    border: none;
    color: white;
    font-size: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hiw-mobile-arrow:hover {
    background: #361f4a;
}

.hiw-static-cta-desktop {
    position: absolute;
    left: 125px;
    bottom: 75px;
}

.hiw-static-cta {
    text-align: center;
    margin-top: 40px;
}

@media screen and (min-width: 1270px) {
	.hiw-static-cta-desktop {
		position: absolute;
		left: 125px;
		bottom: 75px;
	}
}

@media screen and (max-width: 1270px) and (min-width: 1024px) {
	.hiw-static-cta-desktop {
		position: absolute;
		left: 0;
		bottom: 75px;
	}
}



@media (max-width: 1023px) {
    .hiw-static-cta-desktop {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hiw-static-cta {
        display: none;
    }
}

@media screen and (max-width: 1400px) and (min-width: 1151px) {
    .hiw-text h2 {
        font-size: 60px !important;
    }
    .hiw-text h3 {
        font-size: 36px !important;
    }
    .hiw-text {
        padding-right: 5vw !important;
    }
}

@media screen and (max-width: 1150px) and (min-width: 981px) {
    .hiw-text h2 {
        font-size: 50px !important;
    }
    .hiw-text h3 {
        font-size: 32px !important;
    }
    .hiw-text {
        padding-right: 3vw !important;
    }
}

@media screen and (max-width: 980px) {
    .hiw-section {
        flex-direction: column;
        padding: 40px 0;
    }
    .hiw-text {
        padding-right: 0;
        margin-top: 0;
        margin-bottom: -90px;
    }
    .hiw-text h2 {
        font-size: 60px;
        text-align: center;
    }
    .hiw-image {
        width: 100%;
        max-width: 340px;
        height: 500px;
        bottom: -40px;
        margin: 20px auto 0;
        position: relative;
    }
    .hiw-arrow {
        display: none;
    }
    .hiw-mobile-arrows {
        display: flex;
    }
    #hiw-mobile-prev {
        position: absolute;
        left: -20px;
    }
    #hiw-mobile-next {
        position: absolute;
        right: -35px;
    }
    .hiw-slider-controls {
        padding: 8px;
        width: 95%;
    }
    .hiw-text p {
        display: none;
    }
    .hiw-mobile-desc {
        display: block;
    }
    .hiw-step-number {
        font-size: 55px;
        transform: translateY(-5%);
    }
    .hiw-step-wrapper h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 500px) {
    .hiw-text h2 {
        font-size: 30px;
        text-align: center;
    }
    .hiw-step-number {
        font-size: 50px;
    }
    .hiw-step-wrapper h3 {
        font-size: 22px;
        text-align: left;
    }
    .hiw-mobile-arrows {
        padding: 0 10px;
    }
    .hiw-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.colors__def_container h1 {
    font-size: 48px;
    font-weight: 700;
    color: #3b2164;
    margin-bottom: 60px;
}

.colors__def_container p {
    max-width: 800px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
}

.colors__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4vw;
    position: relative;
}

.colors__def_container .color__wrap {
    position: relative;
    width: 250px;
    cursor: pointer;
}

@media screen and (max-width: 1250px) and (min-width: 981px) {
    .colors__container {
        gap: 2vw !important;
    }
    .colors__def_container .color__wrap {
        position: relative;
        width: 210px;
        cursor: pointer;
    }
}

.colors__def_container .color__wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.colors__def_container .color__wrap img.color__hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.colors__def_container .color__wrap:hover img.color__hover {
    opacity: 1;
}

.colors__def_container .color__wrap:hover img.color__base {
    opacity: 0;
}

.colors__def_container .color__card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    width: 80vw;
    max-width: 550px;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.colors__def_container .color__card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.colors__def_container .color__card h2 {
    margin: 0 0 10px;
}

.colors__def_container .color__card p {
    font-size: 16px;
    line-height: 1.4em;
    font-weight: 500;
    text-align: left;
}

.colors__def_container .color__traits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.colors__def_container .color__trait {
    background: #fff;
    color: #361f4a;
    border-radius: 8px;
    text-align: right;
    padding: 10px 20px;
    font-weight: 600;
    position: relative;
}

.colors__def_container .color__trait::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}

.color__card--blue .color__trait::before {
    background-color: #2c4aad;
    border-radius: 50%;
}

.color__card--red .color__trait::before {
    background-color: #e83c49;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.color__card--green .color__trait::before {
    background-color: #05a87d;
    border-radius: 2px;
}

.color__card--yellow .color__trait::before {
    background-color: #ffd800;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.colors__def_container .color__card--right {
    left: 320px;
}

.colors__def_container .color__card--left {
    right: 320px;
}

.colors__def_container .color__card--green {
    background-color: #05a87d;
}

.colors__def_container .color__card--red {
    background-color: #e83c49;
}

.colors__def_container .color__card--blue {
    background-color: #2c4aad;
}

.colors__def_container .color__card--yellow {
    background-color: #ffd800;
    color: #361f4a;
}

.colors__def_container .color__card--yellow p {
    color: #361f4a;
}

.color__card .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.color__card--yellow .close-btn {
    color: #361f4a;
}

.color__wrap:nth-child(4) img {
    transform: scale(0.9);
}

@media screen and (max-width: 980px) {
    .colors__container {
        gap: 20px;
    }
    .colors__def_container .color__wrap {
        width: calc(50% - 10px);
    }
    .colors__def_container .color__card {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.95);
        width: 80%;
        max-width: 600px;
        z-index: 100;
    }
    .colors__def_container .color__card.active {
        transform: translate(-50%, -50%) scale(1);
    }
    .colors__def_container p {
        max-width: 90%;
        font-size: 15px;
    }
    .color__wrap:nth-child(2) img,
    .color__wrap:nth-child(3) img {
        transform: scaleX(-1);
    }
}
