:root {
    --theme-primary: #3B5998;
    --theme-secondary: #f0a721;
    --theme-font: "Fira Sans", sans-serif;
    --background-grey: #f5f5ff;
    --text-color: #727272;
    --text-color-light: #c7c7c7;
    --header-height: 90px;
    --sticky-offset: calc(90px + 10px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: var(--theme-font);
    font-weight: 400;
}


a {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding-left: 0;
}

a,
span,
label {
    display: inline-block;
}

[class*="heading-"] {
    font-weight: 600;
}

.heading-sm {
    font-size: 18px;
}

.heading-md {
    font-size: clamp(18px, 4vw, 24px);
}

.heading-lg {
    font-size: clamp(20px, 4vw, 28px);
}


.heading-section {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--theme-primary);
}


.text-sm,
.text-base {
    font-size: 16px;
}

.text-md {
    font-size: 18px;
}

.text-lg {
    font-size: 20px;
}

.text-xl {
    font-size: 24px;
}

.highlight-text {
    color: var(--theme-secondary);
}


input.no-arrow {
    -moz-appearance: textfield;
}

input.no-arrow::-webkit-inner-spin-button,
input.no-arrow::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.no-arrow::-webkit-inner-spin-button:hover,
input.no-arrow::-webkit-outer-spin-button:hover {
    background-color: #e6e6e6;
    cursor: default;
}

.menu-toggle-btn {
    background-color: var(--theme-primary);
    color: #fff;
    border-radius: 8px;
    padding: 0.35rem 1rem;
    font-size: 22px;
}

.main-btn {
    background-color: var(--theme-primary);
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;

    &.outlined {
        border: 1px solid var(--theme-primary);
        color: var(--theme-primary);
        background-color: transparent;

        &:hover {
            background-color: var(--theme-primary);
            color: #fff;
            border-color: transparent;
        }
    }

    &:hover {
        background-color: #5178ce;
        outline: 1px solid #c7c7c7;
        outline-offset: 2px;
        transition: all 0.35s ease;


    }
}

.main-btn.bg-alt,
.main-btn-secondary {
    background-color: var(--theme-secondary);
    color: #000;
}

.text-gray {
    color: gray;
}

.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-1 {
    -webkit-line-clamp: 1;
}

.clamp-2 {
    -webkit-line-clamp: 2;
}

.clamp-3 {
    -webkit-line-clamp: 3;
}

.clamp-4 {
    -webkit-line-clamp: 4;
}

.spacing-top {
    padding-top: 70px;
}

.spacing-bot {
    padding-bottom: 70px;
}

.spacing-y {
    padding: 70px 0;
}

.spacing-xy {
    padding: 60px 70px;
}

textarea.resize-none {
    resize: none;
}

.fw-8 {
    font-weight: 800;
}

.fs-base {
    font-size: 16px;
}

.rounded-8 {
    border-radius: 8px;
}

.img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.descriptions {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;

    & img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0.5rem auto;
    }

    & table {
        width: 100%;
        border-collapse: collapse;
    }

    & iframe {
        max-width: 100%;
        height: auto;
        display: block;
    }
}


.img-container {
    position: relative;
    overflow: hidden;
}

.list-group-image {
    max-width: 80px;
}

.ratio-54 {
    aspect-ratio: 5/4;
}

.ratio-53 {
    aspect-ratio: 5/3;
}


@media(max-width: 992px) {
    .ratio-sm-45 {
        aspect-ratio: 4/5 !important;
    }
}

.ratio-45 {
    aspect-ratio: 4/5;
}

.ratio-11 {
    aspect-ratio: 1/1;
}

.hvr-zoom img {
    transition: all 0.3s ease;
}

.hvr-zoom:hover img {
    transform: scale(1.01);
}

.logo-img {
    max-width: 100px;
    max-height: 90px;
    margin-top: -10px;
    z-index: -1;
    border-radius: 0 0 10px 10px;
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.bg-secondary {
    background-color: var(--theme-secondary) !important;
}

.text-primary {
    color: var(--theme-primary) !important;
}

.text-secondary {
    color: var(--theme-secondary) !important;
}

.text-link {
    color: #0d6efd;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    & .icon {
        transition: all 0.4s ease;

    }

    &:hover .icon {
        padding-left: 4px;
    }
}



.topbar {
    transition: transform 0.3s ease-in;
    position: relative;
}

.topbar.hide {
    display: none !important;
}

.pseudo-overlay {
    position: relative;
}


.pseudo-overlay::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.45);
}


.social-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.social-icons a {
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--theme-secondary);
        color: #fff;
    }
}

.footer-social-icons a {
    background-color: #fff;
    border-radius: unset;
    color: var(--theme-primary);
}

.social-icons i {
    font-size: 18px;

}

.test-icons {
    font-size: 56px;
    color: var(--theme-primary);
    transition: all 0.3s ease;

}

.root-nav .nav-item {
    font-weight: 500;
    color: #fff;
    border-radius: 8px;
    transition: all 0.1s;
    position: relative;
    padding: 0 1rem;

    & .nav-link {
        padding: 0;
        position: relative;
        transition: all 0.4s ease;


        &:after {
            position: absolute;
            content: "";
            bottom: -4px;
            width: 0;
            height: 2px;
            margin: 0 !important;
            left: 0;
            background-color: #fff;
            transition: all 0.4s ease;

        }

        &:hover:after {
            width: 90%;

        }
    }

    &.active {
        font-weight: 600;
    }

    & a {
        color: inherit;
        transition: unset !important;
    }

    &:hover .dropdown-menu {
        display: block;
    }

}

.root-nav-links .dropdown-item:hover {
    background-color: var(--theme-secondary);
    color: #fff;
}

.root-nav.scrolled {
    background-color: #f5f5f5;

    & .nav-item {
        color: #000;
    }

    & .nav-link {
        &:after {
            background-color: var(--theme-secondary);
        }
    }

    & .nav-item.active {
        color: var(--theme-primary);
        font-weight: 600;
    }

    & .logo-img {
        height: 60px !important;
        margin-top: unset;
        border-radius: 50%;
    }
}

header:has(.root-nav.scrolled) {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}


.foot-col-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

/**Banner  of the hero section */

/* Wrapper sets height relative to viewport */
.banner-hero-wrapper {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
}

.vh-50 {
    height: 50vh;
}

.vh-60 {
    height: 60vh;
}

.vh-70 {
    height: 70vh;
}

/* Image & Video Styling */
.banner-media {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.section-bg-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}


.content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .banner-caption {
        padding: 1rem;
        font-size: 0.9rem;
        bottom: 5%;
    }
}

.map-section iframe {
    display: block;
    margin-bottom: 0 !important;
}


.map-section.shadow-custom {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.custom-indicators button {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50% !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: none !important;

    &.active {
        outline: 4px solid #fff !important;
    }
}



.after-style {
    position: relative;
    display: inline-block;
}

.after-style::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: -4px;
    background-color: var(--theme-secondary);
    height: 2px;
    width: 60%;
}

.blog-card {
    transition: transform 0.3s ease;
    box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 12px;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.abs-blog-date {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 1;
}

.blog-card .card-body {
    padding: 1rem;
}

.blog-card .card-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.blog-card .card-footer {
    font-size: 0.85rem;
    color: var(--text-color-light);
}


.modal-body h5 {
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}


.foot-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.foot-nav a {
    display: inline-block;
    margin-bottom: 6px;
    color: #c7c7c7;
    transition: all 0.3s ease;

    &:hover {
        color: #fff;
    }
}


.modern-frame {
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.featured-blog-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-blog-overlay {
    background: rgba(0, 0, 0, 0.35);
    /* semi-transparent glass effect */
    backdrop-filter: blur(2px);
    border-radius: 0 0 16px 16px;
    transition: background 0.3s;
}

.featured-blog-card:hover .featured-blog-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;

    &:hover {
        transition: all 0.3s ease-in;
        outline: 2px solid var(--theme-primary);
    }
}

.abs-service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 255, 180, 0.3) inset;
}

.form-ui .form-control:focus {
    box-shadow: none;
}


.owl-carousel .owl-stage {
    display: flex;
}


.owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.5rem
}

.owl-dots .owl-dot {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px !important;
    height: 14px !important;
    background-color: transparent !important;
    border: 1px solid #c7c7c7 !important;
    color: #fff !important;
    border-radius: 50% !important;

    &.active {
        background-color: var(--theme-primary) !important;
        border-color: var(--theme-primary) !important;
    }
}


.custom-tabs {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap !important;
    max-width: 100%;
    overflow-x: auto;
    border: 0;
}

.custom-tabs .nav-link {
    background-color: #f0f0f0;
    border-radius: 8px;
    color: #333;
    padding: 0.75rem 1rem;
    white-space: nowrap;

    &.active {
        background-color: var(--theme-primary);
        color:
            #fff;
    }

}

.team-bg {
    background-color: #f1f1f1;

}


.team-card .team-icon {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-primary);
    color: #fff;
    padding: 6px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
    transition: all 0.3s ease;

    &:hover {
        box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
        background-color: var(--theme-secondary);
        color: #fff;
    }
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 1rem;
    color: #666;
}


.abs-event-info {
    position: absolute;
    top: -40px;
    right: 16px;
    z-index: 2;
    display: flex;
    gap: 6px;
}


.abs-blog-time {
    position: absolute;
    top: -40px;
    right: 8px;
    z-index: 2;
    background-color: transparent;

}

.abs-date {
    background-color: var(--theme-primary);
    box-shadow: rgba(245, 237, 237, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    color: #fff;
    padding: 8px 12px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    border-radius: 6px;

    & .date {
        font-size: 1.5rem;
        font-weight: bold;
    }

    & .month {
        font-size: 1rem;
        text-transform: uppercase;
    }
}

.event-line {
    border-left: 4px solid var(--theme-primary);
    padding-left: 20px;
}

.blink-event-info-text {
    border: 1px solid var(--theme-primary);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;

}


.event-active-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 14px;
    height: 14px;
    outline: 2px solid rgb(105, 250, 105);
    outline-offset: 2px;
    background-color: rgb(35, 180, 35);
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(248, 226, 226, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(243, 230, 230, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
    }
}