@import url('fonts.css');
@import url('variables.css');

/* General title styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 1.5rem auto;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
    font-weight: 400;
}

h6 {
    font-size: 1rem;
    font-weight: 400;
}

p {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 1rem auto;
}

#section-nav .elementskit-section-title-wraper p {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 1rem auto;
}

.wp-block-group.has-primary-background-color p {
    color: aliceblue;
}

h1.alt, h2.alt, h3.alt, h4.alt, h5.alt, h6.alt {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: normal;  
}

h1.alt-bold, h2.alt-bold, h3.alt-bold, h4.alt-bold, h5.alt-bold, h6.alt-bold {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 700; 
}

h1.alt-light, h2.alt-light, h3.alt-light, h4.alt-light, h5.alt-light, h6.alt-light {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 300; 
}

h1.alt-medium, h2.alt-medium, h3.alt-medium, h4.alt-medium, h5.alt-medium, h6.alt-medium {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 500; 
}

h1.alt-semi-bold, h2.alt-semi-bold, h3.alt-semi-bold, h4.alt-semi-bold, h5.alt-semi-bold, h6.alt-semi-bold {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 600; 
}

h1.alt-bold, h2.alt-bold, h3.alt-bold, h4.alt-bold, h5.alt-bold, h6.alt-bold {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 700;
}

h1.alt-extra-bold, h2.alt-extra-bold, h3.alt-extra-bold, h4.alt-extra-bold, h5.alt-extra-bold, h6.alt-extra-bold {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 800; 
}

h1.alt-black, h2.alt-black, h3.alt-black, h4.alt-black, h5.alt-black, h6.alt-black {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 900; 
}


.page-title.text-center h1,
.page-title.text-center h2, 
.page-title.text-center h3, 
.page-title.text-center h4, 
.page-title.text-center h5,
.page-title.text-center h6,
.section-title.text-center h1,
.section-title.text-center h2,
.section-title.text-center h3,
.section-title.text-center h4,
.section-title.text-center h5,
.section-title.text-center h6 {
    text-align: center;
}

.page-title.text-center .elementskit-border-divider,
.section-title.text-center .elementskit-border-divider{
    margin: auto;
}

.page-title :has(h1),
.section-title :has(h1) {
    margin-top: clamp(2rem, 2vw + 1rem, 4rem);
    margin-bottom: 3rem;
}

.page-title :has(h2),
.section-title :has(h2) {
    margin: clamp(2rem, 2vw + 1rem, 4rem) 0;
}

.page-title :has(h3),
.section-title :has(h3) {
    margin-bottom: 1.5rem;
}

.page-title :has(h4),
.page-title :has(h5),
.page-title :has(h6),
.section-title :has(h4),
.section-title :has(h5),
.section-title :has(h6) {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

body.home .section-title {
    font-family: 'MontserratAlt1', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary-color);
}

body.home .section-title.dark {
    color: var(--tertiary-color);
}

.page-title h1.elementskit-section-title,
.section-title h1.elementskit-section-title {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}


.section-title h2.elementskit-section-title {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title h3.elementskit-section-title,
.section-title h3.elementor-heading-title  {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color--100);
    font-size: clamp(3rem, 1vw + 1rem, 4rem);
    margin: clamp(3rem, 8vw, 10rem);
}

.page-title h1,
.section-title h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

.page-title .elementskit-section-title span {
    font-size: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 2vw + 1rem, 2.5rem);
}

.section-title h3 {
    font-size: clamp(1.5rem, 1vw + 1rem, 3rem);
}

#section-nav .elementskit-section-title {
    font-family: 'MontserratAlt1', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 2vw + 1rem, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
}

#section-nav .elementor-widget-template {
    width: 100%;
}

.elementskit-section-title span {
    color: transparent;
    position: relative;
    font-weight: 400;
    color: #e07457 !important;
    background: -webkit-linear-gradient(180deg, #fbd481 -20%, 
    #e07457 10%, 
    #b84525 180%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.elementskit-section-title span span::before {
    content: attr(data-text); /* First duplicate text */
    position: absolute;
    top: -40px; /* Adjust position for the second step */
    right: -2px; /* Offset horizontally */
    color: transparent; /* Transparent text */
    -webkit-text-stroke: 1px #e07457; /* Border around text */
    font-family: inherit; /* Match the original font */
    font-size: inherit; /* Match the original size */
    font-weight: 400; /* Match the original weight */
    z-index: 0; /* Place behind the original text */
    opacity: 0.09;
}

.elementskit-section-title span span::after {
    content: attr(data-text); /* Second duplicate text */
    position: absolute;
    top: -20px; /* Adjust position for the second step */
    right: -2px; /* Offset horizontally */
    color: transparent; /* Transparent text */
    -webkit-text-stroke: 1px #b84525; /* Border around text */
    font-family: inherit; /* Match the original font */
    font-size: inherit; /* Match the original size */
    font-weight: 400; /* Match the original weight */
    z-index: 0; /* Place behind the original text */
    opacity: 0.18;
}

.section-title.lead-title span::after {
    content: attr(data-text);
    position: absolute;
    top: 10%;
    right: 0;
    color: transparent;
    -webkit-text-stroke: 1px #b84525;
    font-family: 'MontserratAlt1', sans-serif;
    font-size: clamp(7rem, 10vw + 3rem, 20rem);
    font-weight: 700;
    z-index: 0;
    opacity: 0.12;
    text-transform: capitalize;
}

@media (max-width: 1024px) {
    .elementskit-section-title span span::before {
        top: -10px; 
        right: 20px; 
        opacity: 0.14;
        z-index: 0;
    }
    .elementskit-section-title span span::after {
        top: 10px; 
        right: 10px; 
        opacity: 0.07;
        z-index: 0;
    }
}
header {
    top: 0px;
    margin-top: 0;
}

body.home .header-background {
    background: url('/wp-content/themes/lativ/assets/images/backgrounds/header.svg') no-repeat center bottom;
    background-size: cover;
    padding-top: 0px !important;
    position: sticky;
    z-index: 10;
    width: 100vw;
    height: 50px;
    object-fit: cover;
    left: 0;
    top: 0;
} 

body.page .wp-site-blocks:has(header) .wp-block-group.is-layout-flow.is-position-sticky {
    background: url('/wp-content/themes/lativ/assets/images/backgrounds/header.svg') no-repeat center bottom;
    background-size: cover;
    padding-top: 40px !important;
}



/* Divider */
.page .ekit-wid-con .elementskit-border-divider {
    height: 4px;
    width: 30px;
    background: linear-gradient(37deg, #f6d365 10%, #fda085 50%);
    border-radius: 2px;
    position: relative;
    margin-left: 27px;
}

.page .ekit-wid-con .elementskit-border-divider::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 0;
    display: inline-block;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f6d365, #fda085); /* Match bar gradient */
    box-shadow: 
        9px 0 0 0 #f6d365,
        18px 0 0 0 #fda085;
} 
 
.page .ekit-wid-con .elementskit-border-divider::after{
    content: url('/wp-content/themes/lativ/assets/images/rocket.svg');
    position: absolute;
    right: -65px; /* Adjust position */
    top: -13px;
    width: 40px;
    height: 30px;
    display: inline-block;
    transform: rotate(90deg); 
}

.img-tooltip.tooltip {
    background-color: aliceblue;
    margin-top: 20px;
    border-radius: 20px;
    width: 100%;
    box-shadow: 2px 3px 100px 4px #00000034;
    transition: all ease-out 200ms;
}
.img-tooltip.tooltip::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="aliceblue"><path d="M12 0L24 12H0L12 0Z"/></svg>');
    position: absolute;
    top: -10px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 20px;
    height: 20px;
}
.img-tooltip.tooltip p{
    padding: 0 1rem;
}

@media (max-width: 780px) {
    .img-tooltip.tooltip {
        width: 130px;
        margin-top: 0;
        position: absolute;
        top: 30px;
        left: 40px;
    }

    .img-tooltip.tooltip::after {
        top: 50%;
        left: auto;
        right: -10px; 
        transform: translateY(-50%); 
    }
}