/* Import Link Main Style */

@import url(../css/base/fonts.css);
@import url(../css/base/reset.css);
@import url(../css/base/tools.css);
@import url(../css/base/variables.css);
@import url(../css/components/main-header.css);
@import url(../css/components/main-footer.css);
@import url(../css/components/navigation-bar.css);

/* Main Styles */

.text-heading-site {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 60px auto;
    margin-top: 0;
    gap: 15px;
    position: relative;
    padding-top: 10px;
}

.text-heading-site .heading-site-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    background: #E12528;
    border-radius: 50%;
    position: relative;
    margin-bottom: 15px;
}

.text-heading-site .heading-site-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E125281A;
    animation: pulseEffect 1.8s ease-out infinite;
}

@keyframes pulseEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.5;
    }
}

.text-heading-site .heading-site-title {
    font-size: clamp(24px , 4vw , 28px); 
    color: #223558;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.text-heading-site .heading-site-subtitle {
    font-size: clamp(14px , 3vw , 16px);
    color: #88A0B7;
    width: 100%;
    max-width: 720px;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: center;
    text-align-last: center;
    font-weight: 600;
    line-height: 35px !important;
}

.text-heading-site .heading-site-link {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #223558;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    padding: 16px;
    border-radius: 15px;
}

/* Site Button Hover Effect */

@property --a {
    syntax: "<percentage>";
    initial-value: 0%;
    inherits: true;
}

.site-button ,
.site-button-res {
    --a: 0%;
    --x: 50;
    --y: 50;
    --button: #223558;
    background: transparent;
    color: #fff;
    font-size: clamp(14px , 2vw , 16px);
    position: relative;
    padding: 45px 30px;
    transition: --a .5s ease-in-out;
    isolation: isolate;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "YekanBakh";
    margin-inline: auto;
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    text-wrap: nowrap;
}

.site-button:hover ,
.site-button-res:hover {
    --a: 100%;
}

.site-button::before ,
.site-button-res::before {
    content: "";
    position: absolute;
    inset: 0em;
    filter: blur(12px) url(#goo); 
    background-image:
        linear-gradient(0deg, #223558, #223558),
        radial-gradient(
            40% 70% at calc(var(--x) * 1%) calc(var(--y) * 1%),
            rgba(34, 53, 88, var(--a)) 0%,
            transparent 90%
    );
    background-clip: content-box, border-box;
    padding: 24px 10px;
    z-index: -1;
    border: inherit;
}

/* Site Link Hover Effect */

.link {
    position: relative;
    z-index: 0;
    padding-bottom: 8px;
}

.link::before,
.link::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.link::before {
    content: '';
}

.link--dia::before,
.link--dia::after {
    opacity: 0;
    transform-origin: 50% 0%;
    transform: translate3d(0, 3px, 0);
    transition-property: transform, opacity;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.8, 1);
}

.link--dia:hover::before,
.link--dia:hover::after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-timing-function: cubic-bezier(0.2, 0, 0.3, 1);
}

.link--dia::after {
    content: '';
    top: calc(100% + 4px);
    width: 70%;
    left: 15%;
}

.link--dia::before,
.link--dia:hover::after {
    transition-delay: 0.1s;
}

.link--dia:hover::before {
    transition-delay: 0s;
}

/* All Media Queris Main Styles */

@media screen and (max-width: 992px) {
    .text-heading-site {
        margin-bottom: 30px;
    }
}