/********** Template CSS **********/

:root {
    --bs-primary: #681097;
    --bs-primary-hover: #8424B6;
    --bs-secondary: #F2A53B;
    --bs-accent: #F8C51C;
    --bs-dark: #29003A;
    --bs-light: #FCF8FD;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
.sticky-top {
    top: 0;
    transition: .3s;
    z-index: 1020;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--bs-dark);
}

.brand-lockup:hover {
    color: var(--bs-primary);
}

.brand-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    /* Crop the supplied lockup to the symbol only; its baseline is not part of the header mark. */
    background: url(../img/officiallogo.jpeg) center top / 175% auto no-repeat;
}

.brand-name {
    max-width: 112px;
    font-family: "Red Rose", cursive;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.navbar .navbar-nav .nav-link {
    margin-right: 16px;
    padding: 15px 0;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    margin-left: 7px;
    vertical-align: 3px;
    transition: transform .2s ease;
}

.navbar .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

.navbar .nav-link-button {
    width: auto;
    border: 0;
    background: transparent;
    text-align: left;
}

.navbar .dropdown-menu {
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(41, 0, 58, .08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(41, 0, 58, .12);
}

.navbar .dropdown-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    color: var(--bs-dark);
    font-weight: 500;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    color: var(--bs-primary);
    background: rgba(104, 16, 151, .08);
}

.navbar .header-cta {
    padding: 11px 22px;
    border-radius: 50rem;
    white-space: nowrap;
}

.navbar .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
}

.navbar .nav-link:focus-visible,
.navbar .dropdown-item:focus-visible,
.navbar .header-cta:focus-visible,
.navbar .navbar-brand:focus-visible,
.navbar .navbar-toggler:focus-visible {
    outline: 3px solid rgba(242, 165, 59, .65);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .brand-mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-name {
        max-width: 98px;
        font-size: 13px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        min-height: 44px;
        padding: 10px 4px;
    }

    .navbar .navbar-nav {
        margin-top: 12px;
        padding-top: 8px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar .nav-link-button,
    .navbar .header-cta {
        width: 100%;
    }

    .navbar .dropdown-menu {
        margin: 0 0 6px;
        padding: 0 0 4px 12px;
        border: 0;
        box-shadow: none;
    }

    .navbar .dropdown-item {
        min-height: 44px;
    }

    .navbar .header-cta {
        margin-top: 10px;
        margin-bottom: 6px;
        padding: 12px 20px;
    }
}

@media (min-width: 992px) {
    .navbar {
        height: 75px;
    }

    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
        top: calc(100% - 8px);
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(41, 0, 58, .35);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(41, 0, 58, .38), rgba(41, 0, 58, .38)), url(../img/IMG_5128.JPG) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}


/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}


/*** Moments in Action ***/
.moments-section {
    position: relative;
    overflow: hidden;
    background: var(--bs-dark);
}

.moments-section::before {
    position: absolute;
    top: -180px;
    right: -180px;
    width: 420px;
    height: 420px;
    content: '';
    border: 1px solid rgba(242, 165, 59, .22);
    border-radius: 50%;
}

.moments-heading,
.moments-grid {
    position: relative;
}

.moments-kicker {
    color: var(--bs-secondary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.moments-intro {
    color: rgba(255, 255, 255, .74);
    line-height: 1.75;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 1rem;
}

.moments-item {
    position: relative;
    grid-column: span 4;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: #180022;
}

.moments-item-feature {
    grid-column: span 7;
    grid-row: span 2;
}

.moments-item-beading,
.moments-item-demonstration {
    grid-column: span 5;
}

.moments-item::after {
    position: absolute;
    inset: 35% 0 0;
    content: '';
    background: linear-gradient(transparent, rgba(24, 0, 34, .88));
    pointer-events: none;
}

.moments-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.moments-item:hover img {
    transform: scale(1.025);
}

.moments-item figcaption {
    position: absolute;
    right: 1.25rem;
    bottom: 1.1rem;
    left: 1.25rem;
    z-index: 1;
    color: var(--bs-white);
    font-family: "Red Rose", serif;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .moments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
    }

    .moments-item,
    .moments-item-beading,
    .moments-item-demonstration {
        grid-column: span 1;
    }

    .moments-item-feature {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 575.98px) {
    .moments-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .moments-item,
    .moments-item-feature,
    .moments-item-beading,
    .moments-item-demonstration {
        grid-column: 1;
        grid-row: span 1;
    }

    .moments-item-feature {
        min-height: 340px;
    }
}


/*** Team ***/
.container-team {
    position: relative;
    overflow: hidden;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-section-heading {
    max-width: 720px;
}

.team-kicker {
    color: var(--bs-secondary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.founder-feature {
    padding: 1rem;
    border: 1px solid rgba(41, 0, 58, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 50px rgba(41, 0, 58, .08);
}

.founder-photo {
    min-height: 420px;
    max-height: 560px;
    object-fit: cover;
    object-position: center top;
}

.founder-role {
    color: var(--bs-secondary);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-item {
    background: var(--bs-white);
    border: 1px solid rgba(41, 0, 58, .08);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(41, 0, 58, .06);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.team-item:hover,
.team-item:focus-within {
    border-color: rgba(104, 16, 151, .18);
    box-shadow: 0 18px 44px rgba(41, 0, 58, .12);
    transform: translateY(-4px);
}

.team-photo {
    height: 320px;
    object-fit: cover;
    object-position: center top;
}

.team-item .text-center span {
    display: block;
    color: #6F6374;
    line-height: 1.45;
}

.team-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .85rem;
    color: var(--bs-primary);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.team-profile-link::after {
    content: '\2192';
    margin-left: .45rem;
    transition: transform .2s ease;
}

.team-profile-link:hover {
    color: var(--bs-primary-hover);
    text-decoration: underline;
}

.team-profile-link:hover::after {
    transform: translateX(.2rem);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social,
.team-item:focus-within .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn,
.team-item:focus-within .team-social .btn {
    opacity: 1;
}

.team-social .btn:focus-visible {
    outline: 3px solid rgba(242, 165, 59, .65);
    outline-offset: 3px;
}

.team-profiles {
    max-width: 1120px;
    margin-inline: auto;
}

.team-profiles-header {
    position: relative;
    padding-top: 1.5rem;
}

.team-profiles-header::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 3px;
    content: '';
    background: var(--bs-secondary);
    transform: translateX(-50%);
}

.team-profile-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0;
    scroll-margin-top: 110px;
    overflow: hidden;
    border: 1px solid rgba(41, 0, 58, .1);
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 16px 40px rgba(41, 0, 58, .08);
}

.team-profile-panel:target {
    border-color: rgba(104, 16, 151, .45);
    box-shadow: 0 20px 48px rgba(41, 0, 58, .14);
}

.team-profile-media {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--bs-light);
}

.team-profile-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    object-position: center top;
}

.team-profile-meta {
    grid-column: 2;
    grid-row: 1;
    padding: 2.25rem 2.5rem 1rem;
}

.team-profile-meta span {
    display: block;
    margin-bottom: .75rem;
    color: var(--bs-secondary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-profile-meta h3 {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 2.4vw, 2.2rem);
    line-height: 1.2;
}

.team-profile-copy {
    grid-column: 2;
    grid-row: 2;
    max-width: 78ch;
    padding: 0 2.5rem 2.25rem;
    color: #584e5c;
    line-height: 1.78;
}

.team-profile-copy p {
    margin-bottom: 1rem;
}

.team-profile-copy p:last-child {
    margin-bottom: 0;
}

.team-profile-link:focus-visible,
.team-profile-panel:focus-within {
    outline: 3px solid rgba(242, 165, 59, .65);
    outline-offset: 3px;
}

@media (min-width: 992px) {
    .team-profile-panel:nth-of-type(even) {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
    }

    .team-profile-panel:nth-of-type(even) .team-profile-media {
        grid-column: 2;
    }

    .team-profile-panel:nth-of-type(even) .team-profile-meta,
    .team-profile-panel:nth-of-type(even) .team-profile-copy {
        grid-column: 1;
    }
}

@media (max-width: 767.98px) {
    .founder-photo {
        min-height: 340px;
        max-height: 460px;
    }

    .team-profile-panel {
        grid-template-columns: 1fr;
        grid-template-rows: 300px auto auto;
    }

    .team-profile-media {
        grid-column: 1;
        grid-row: 1;
    }

    .team-profile-media img {
        min-height: 300px;
    }

    .team-profile-meta {
        grid-column: 1;
        grid-row: 2;
        padding: 1.5rem 1.5rem .85rem;
    }

    .team-profile-copy {
        grid-column: 1;
        grid-row: 3;
        padding: 0 1.5rem 1.5rem;
    }
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(41, 0, 58, .94), rgba(41, 0, 58, .94)), url(../img/IMG_5146.JPG) center center no-repeat;
    background-size: cover;
}

.support-footer {
    color: rgba(255, 255, 255, .74) !important;
}

.support-footer h2 {
    max-width: 740px;
}

.support-eyebrow {
    color: var(--bs-secondary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.support-details {
    border-left: 1px solid rgba(255, 255, 255, .18);
    padding-left: 2rem;
}

.support-details p {
    margin-bottom: .75rem;
}

.support-details i {
    color: var(--bs-secondary);
}

.support-footer a.text-white-50 {
    color: rgba(255, 255, 255, .8) !important;
}

.support-footer a.text-white-50:hover {
    color: var(--bs-secondary) !important;
}

.footer-contact-list {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.copyright {
    border-top: none;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-secondary);
}

@media (max-width: 991.98px) {
    .support-details {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
        padding-left: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .footer-support-actions .btn {
        width: 100%;
    }
}

/* Force Bootstrap utilities to use variables */
.text-dark { color: var(--bs-dark) !important; }
.bg-dark { background-color: var(--bs-dark) !important; }
.text-light { color: var(--bs-light) !important; }
.bg-light { background-color: var(--bs-light) !important; }
.text-primary { color: var(--bs-primary) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: var(--bs-primary-hover) !important;
    border-color: var(--bs-primary-hover) !important;
}
.btn-outline-primary {
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}
.btn-outline-primary:hover {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}
.text-secondary { color: var(--bs-secondary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.btn-secondary {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: var(--bs-dark) !important;
}

body {
    color: #6F6374;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--bs-dark);
}
