/********** Template CSS **********/
:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

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


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.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;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, .8);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #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 {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

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

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-name-link {
    color: var(--dark);
}

.team-name-link:hover {
    color: var(--primary);
}

.team-profile-hero {
    background: #FFFFFF;
}

.team-profile-photo {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
    margin-right: 48px;
}

.team-profile-photo::after {
    position: absolute;
    content: "";
    inset: auto 0 0 0;
    height: 6px;
    background: var(--primary);
}

.team-profile-photo img {
    width: 100%;
    aspect-ratio: 523 / 461;
    object-fit: cover;
    object-position: center top;
}

.team-profile-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-profile-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
}

.team-details-info h3 {
    font-size: 36px;
    margin-bottom: 8px;
}

.details-info {
    padding: 0;
    margin-bottom: 24px;
    list-style: none;
}

.details-info li {
    display: block;
    margin-bottom: 18px;
    color: #555555;
    font-size: 17px;
    line-height: 1.4;
}

.details-info li strong {
    color: var(--dark);
}

.team-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.team-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--primary);
    background: #FFFFFF;
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 18px;
    transition: .3s;
}

.team-social-links a:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-detail-panel {
    background: var(--light);
    padding: 60px 58px;
}

.team-detail-panel h3 {
    margin-bottom: 40px;
    font-size: 42px;
}

.experience-item {
    padding-bottom: 36px;
    margin-bottom: 36px;
}

.experience-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.experience-item p {
    margin-bottom: 0;
    color: #666666;
    font-size: 18px;
    line-height: 1.85;
}

.experience-item h5 {
    margin-bottom: 8px;
    font-size: 21px;
}

.experience-item span {
    display: block;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
}

.team-skill {
    margin-bottom: 36px;
}

.team-skill:last-child {
    margin-bottom: 0;
}

.team-skill .progress {
    height: 7px;
    margin-top: 18px;
    background: #d6e4ff;
    border-radius: 10px;
}

.team-skill .progress-bar {
    background: var(--primary);
    border-radius: 10px;
}

.team-skill span,
.team-skill strong {
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
}

.page-header-subtitle {
    max-width: 740px;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.7;
}

#treyImpactSection[hidden],
#treyCloseSection[hidden],
#projectVisualSection[hidden],
#treyPortfolioNav[hidden],
#pageHeaderSubtitle[hidden] {
    display: none !important;
}

.profile-page .team-profile-hero {
    position: relative;
    padding: 58px;
    background: var(--dark);
    overflow: hidden;
}

.profile-page .team-profile-hero::before {
    position: absolute;
    content: "";
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border: 70px solid rgba(255, 111, 15, .16);
    border-radius: 50%;
}

.profile-page .team-profile-hero::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 42%;
    height: 8px;
    background: var(--primary);
}

.profile-page .team-profile-photo {
    margin-right: 28px;
    background: rgba(255, 255, 255, .08);
}

.profile-page .team-profile-photo::after {
    height: 0;
}

.profile-page .team-profile-photo img {
    aspect-ratio: 4 / 5;
    filter: saturate(.94) contrast(1.04);
}

.profile-page .team-details-info {
    position: relative;
    z-index: 1;
}

.profile-page .team-details-info h3 {
    color: #FFFFFF;
    font-size: 56px;
    line-height: 1;
}

.profile-page .team-profile-role {
    font-size: 20px;
}

.profile-page .team-profile-bio {
    max-width: 650px;
    color: rgba(255, 255, 255, .76);
    font-size: 18px;
}

.profile-page .details-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-page .details-info li {
    margin-bottom: 0;
    padding: 16px;
    color: rgba(255, 255, 255, .76);
    background: rgba(255, 255, 255, .07);
}

.profile-page .details-info li strong {
    color: #FFFFFF;
}

.profile-page .details-info a {
    color: var(--primary);
}

.profile-page .team-social-links a {
    background: transparent;
}

.trey-portfolio-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--secondary);
}

.trey-portfolio-nav a {
    padding: 20px 22px;
    color: var(--dark);
    font-weight: 800;
    text-align: center;
    border-right: 1px solid rgba(255, 111, 15, .18);
    transition: .3s;
}

.trey-portfolio-nav a:last-child {
    border-right: 0;
}

.trey-portfolio-nav a:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.trey-impact-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 34px;
    padding: 52px;
    background: var(--secondary);
}

.trey-impact-heading h2 {
    margin-bottom: 22px;
    color: var(--dark);
    font-size: 46px;
    line-height: 1.14;
}

.trey-impact-heading p {
    max-width: 620px;
    margin-bottom: 0;
    color: #666666;
    font-size: 18px;
    line-height: 1.8;
}

.trey-impact-grid {
    display: grid;
    gap: 16px;
}

.trey-impact-card {
    padding: 28px;
    background: #FFFFFF;
    border-left: 4px solid var(--primary);
}

.trey-impact-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.trey-impact-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 24px;
}

.trey-impact-card p {
    margin-bottom: 0;
    color: #666666;
    line-height: 1.7;
}

.profile-page .team-detail-panel {
    position: relative;
    overflow: hidden;
}

.profile-page .team-detail-panel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 120px;
    height: 5px;
    background: var(--primary);
}

.project-visual-section {
    padding: 56px;
    background: var(--dark);
    overflow: hidden;
}

.project-showcase-intro {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
    gap: 48px;
    align-items: stretch;
}

.project-showcase-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-showcase-copy h2,
.project-visual-section h2 {
    color: #FFFFFF;
    font-size: 48px;
    line-height: 1.15;
}

.project-showcase-copy p,
.project-showcase-toolbar p {
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.8;
}

.project-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.project-stat-grid div {
    min-height: 118px;
    padding: 22px 18px;
    background: rgba(255, 255, 255, .07);
    border-top: 3px solid var(--primary);
}

.project-stat-grid strong,
.project-stat-grid span {
    display: block;
}

.project-stat-grid strong {
    margin-bottom: 10px;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1.1;
}

.project-stat-grid span {
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    line-height: 1.45;
}

.project-featured-card {
    position: relative;
    width: 100%;
    min-height: 430px;
    padding: 0;
    text-align: left;
    background: #FFFFFF;
    border: 0;
    overflow: hidden;
}

.project-featured-card::after {
    position: absolute;
    content: "";
    inset: auto 0 0 0;
    height: 8px;
    background: var(--primary);
}

.project-featured-card img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: .45s;
}

.project-featured-card:hover img {
    transform: scale(1.03);
}

.project-featured-card span,
.project-featured-card strong {
    position: absolute;
    left: 30px;
    right: 30px;
    z-index: 1;
}

.project-featured-card span {
    bottom: 86px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-featured-card strong {
    bottom: 34px;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1.2;
}

.project-featured-card::before {
    position: absolute;
    content: "";
    inset: 42% 0 0 0;
    background: linear-gradient(180deg, rgba(0, 29, 35, 0), rgba(0, 29, 35, .92));
    z-index: 1;
}

.project-showcase-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    margin-bottom: 22px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.project-carousel-actions {
    display: flex;
    gap: 10px;
}

.project-carousel-window {
    overflow: hidden;
}

.project-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.project-carousel-track::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 0;
    padding: 0 0 20px;
    text-align: left;
    background: #FFFFFF;
    border: 0;
    scroll-snap-align: start;
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 18px;
    background: #FFFFFF;
}

.project-card span,
.project-card strong,
.project-card small,
.project-card em {
    display: block;
    margin-left: 20px;
    margin-right: 20px;
}

.project-card span {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-card strong {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 19px;
    line-height: 1.25;
}

.project-card small {
    color: #666666;
    font-size: 14px;
    line-height: 1.55;
}

.project-card em {
    margin-top: 16px;
    color: var(--dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.project-modal-open {
    overflow: hidden;
}

.project-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 29, 35, .82);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 99999;
}

.project-modal.show {
    opacity: 1;
    visibility: visible;
}

.project-modal-shell {
    width: min(1080px, 100%);
    max-height: calc(100vh - 60px);
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    background: #FFFFFF;
    overflow: hidden;
}

.project-modal-view {
    overflow: hidden;
    background: var(--light);
}

.project-modal-track {
    display: flex;
    height: 100%;
    transition: transform .55s ease;
}

.project-modal-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.project-modal-slide img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #FFFFFF;
}

.project-modal-content {
    padding: 54px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-modal-content > p:first-child {
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.project-modal-content h3 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: 34px;
}

.project-modal-content p {
    color: #666666;
    line-height: 1.8;
}

.project-modal-details {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.project-modal-details div {
    padding: 18px;
    background: var(--light);
    border-left: 3px solid var(--primary);
}

.project-modal-details span {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-modal-details p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
}

.project-modal-controls {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.project-modal-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    color: #FFFFFF;
    background: var(--primary);
    border: 0;
    border-radius: 50%;
    z-index: 1;
}

.trey-close-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 44px;
    background: var(--secondary);
}

.trey-close-section > div > span {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.trey-close-section h2 {
    max-width: 850px;
    margin-bottom: 0;
    color: var(--dark);
    font-size: 34px;
    line-height: 1.25;
}

.profile-insight-grid,
.profile-action-row {
    display: none;
}

.profile-page {
    background:
        radial-gradient(circle at top left, rgba(255, 111, 15, .08), transparent 34rem),
        linear-gradient(180deg, #fffaf6 0%, #FFFFFF 34rem);
}

.profile-page .container-xxl > .container {
    max-width: 1180px;
}

#profileHero,
#treyImpactSection,
#projectVisualSection,
#treyCloseSection,
#memberExperienceSection,
#memberSkillsSection {
    scroll-margin-top: 150px;
}

.page-header-subtitle {
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.75;
}

.profile-page .team-profile-hero {
    margin-top: -36px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 29, 35, .22);
}

.profile-page .team-profile-hero::before {
    border-color: rgba(255, 111, 15, .12);
}

.profile-page .team-profile-hero::after {
    left: 58px;
    bottom: 36px;
    width: 120px;
    height: 4px;
    border-radius: 999px;
}

.profile-page .team-profile-photo {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
}

.profile-page .team-profile-photo img {
    border-radius: 20px;
}

.profile-insight-grid {
    margin: 28px 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.profile-page .profile-insight-grid {
    display: grid;
}

.profile-insight-grid div {
    padding: 15px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 18px;
}

.profile-insight-grid span,
.profile-insight-grid strong {
    display: block;
}

.profile-insight-grid span {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-insight-grid strong {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.3;
}

.profile-action-row {
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 28px;
}

.profile-page .profile-action-row {
    display: flex;
}

.profile-page .profile-action-row .btn {
    border-radius: 999px;
}

.profile-page .team-profile-bio {
    margin-bottom: 0 !important;
}

.profile-page .details-info {
    margin-top: 28px;
}

.profile-page .details-info li {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
}

.profile-page .team-social-links {
    gap: 10px;
    margin-top: 0;
}

.profile-page .team-social-links a {
    width: 44px;
    height: 44px;
    border-width: 1px;
    border-radius: 14px;
    box-shadow: none;
}

.profile-page .team-social-links a:hover {
    transform: translateY(-2px);
}

.trey-portfolio-nav {
    position: sticky;
    top: 96px;
    z-index: 10;
    padding: 8px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 111, 15, .16);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(0, 29, 35, .1);
    backdrop-filter: blur(16px);
}

.trey-portfolio-nav a {
    padding: 14px 18px;
    border-right: 0;
    border-radius: 999px;
}

.trey-portfolio-nav a:hover {
    box-shadow: 0 12px 28px rgba(255, 111, 15, .24);
}

.trey-impact-section {
    border: 1px solid rgba(255, 111, 15, .16);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(0, 29, 35, .08);
}

.trey-impact-card {
    position: relative;
    border-left: 0;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0, 29, 35, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.trey-impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(0, 29, 35, .12);
}

.trey-impact-card::before {
    position: absolute;
    content: "";
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 111, 15, .12);
    border-radius: 16px;
}

.profile-page .team-detail-panel {
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 29, 35, .07);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(0, 29, 35, .08);
}

.profile-page .team-detail-panel::before {
    top: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: rgba(255, 111, 15, .1);
    border-radius: 18px;
}

.profile-page .team-detail-panel h3 {
    margin-bottom: 28px;
    font-size: 31px;
}

.profile-page .experience-item {
    position: relative;
    padding: 24px 0 24px 28px;
    margin-bottom: 0;
    border-left: 2px solid rgba(255, 111, 15, .18);
}

.profile-page .experience-item::before {
    position: absolute;
    content: "";
    top: 31px;
    left: -8px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 111, 15, .16);
}

.profile-page .experience-item h5 {
    font-size: 19px;
}

.profile-page .experience-item span {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-page .experience-item p {
    font-size: 16px;
    line-height: 1.75;
}

.profile-page .team-skill-list {
    display: grid;
    gap: 16px;
}

.profile-page .team-skill {
    margin-bottom: 0;
    padding: 20px;
    background: var(--light);
    border: 1px solid rgba(0, 29, 35, .06);
    border-radius: 22px;
}

.profile-page .team-skill .progress {
    height: 10px;
    margin-top: 15px;
    background: rgba(255, 111, 15, .13);
}

.profile-page .team-skill .progress-bar {
    background: linear-gradient(90deg, var(--primary), #ff9b55);
}

.project-visual-section {
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 29, 35, .22);
}

.project-showcase-intro {
    gap: 34px;
}

.project-showcase-copy {
    padding: 10px 0;
}

.project-stat-grid div {
    border-top: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.project-featured-card {
    min-height: 460px;
    border-radius: 28px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .28);
}

.project-featured-card::after {
    left: 30px;
    right: 30px;
    bottom: 24px;
    height: 4px;
    border-radius: 999px;
}

.project-featured-card img {
    min-height: 460px;
}

.project-featured-card span {
    bottom: 104px;
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    color: #FFFFFF;
    background: rgba(255, 111, 15, .94);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(255, 111, 15, .18);
}

.project-featured-card strong {
    bottom: 48px;
    max-width: 560px;
}

.project-showcase-toolbar {
    padding: 24px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
}

.project-carousel-actions .btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.project-carousel-track {
    padding: 6px 4px 12px;
}

.project-card {
    padding: 12px 12px 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    box-shadow: 0 20px 52px rgba(0, 0, 0, .16);
}

.project-card:hover,
.project-card.active {
    transform: translateY(-5px);
    border-color: rgba(255, 111, 15, .72);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .25);
}

.project-card.active {
    outline: 3px solid rgba(255, 111, 15, .16);
}

.project-card .project-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0 0 18px;
    border-radius: 18px;
}

.project-card .project-card-media::after {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(0, 29, 35, .38));
}

.project-card img {
    margin-bottom: 0;
    transition: transform .35s ease;
}

.project-card:hover img,
.project-card.active img {
    transform: scale(1.04);
}

.project-card .project-card-category {
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 10px;
    color: var(--primary);
    background: rgba(255, 111, 15, .1);
    border-radius: 999px;
    font-size: 12px;
}

.project-card strong {
    font-size: 20px;
}

.project-card small {
    min-height: 88px;
}

.project-card .project-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 20px 0;
}

.project-card em {
    margin: 0;
    padding: 6px 9px;
    color: rgba(0, 29, 35, .72);
    background: var(--light);
    border-radius: 999px;
    font-size: 11px;
}

.project-modal {
    backdrop-filter: blur(12px);
}

.project-modal-shell {
    border-radius: 30px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, .32);
}

.project-modal-view {
    background:
        radial-gradient(circle at top left, rgba(255, 111, 15, .12), transparent 22rem),
        var(--light);
}

.project-modal-slide img {
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 29, 35, .14);
}

.project-modal-content {
    background: #FFFFFF;
}

.project-modal-details div {
    border-left: 0;
    border-radius: 18px;
}

.project-modal-controls .btn {
    border-radius: 999px;
}

.trey-close-section {
    border: 1px solid rgba(255, 111, 15, .16);
    border-radius: 30px;
    box-shadow: 0 24px 65px rgba(0, 29, 35, .08);
}

.trey-close-section .btn {
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-page .container-xxl {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.profile-page .container-xxl > .container {
    max-width: 1040px;
}

.page-header-subtitle {
    max-width: 650px;
    font-size: 15px;
}

.profile-page .team-profile-hero {
    padding: 46px;
    border-radius: 22px;
}

.profile-page .team-profile-hero::after {
    left: 46px;
    bottom: 28px;
    width: 96px;
}

.profile-page .team-profile-photo {
    padding: 9px;
    border-radius: 20px;
}

.profile-page .team-profile-photo img {
    border-radius: 14px;
}

.profile-page .team-details-info h3 {
    font-size: 45px;
}

.profile-page .team-profile-role {
    margin-bottom: 14px;
    font-size: 16px;
}

.profile-page .team-profile-bio {
    font-size: 15px;
    line-height: 1.7;
}

.profile-insight-grid {
    margin: 22px 0;
    gap: 10px;
}

.profile-insight-grid div {
    padding: 12px;
    border-radius: 13px;
}

.profile-insight-grid span {
    font-size: 10px;
}

.profile-insight-grid strong {
    font-size: 12px;
}

.profile-page .details-info {
    gap: 11px;
    margin-top: 22px;
}

.profile-page .details-info li {
    padding: 13px;
    border-radius: 13px;
    font-size: 13px;
}

.profile-action-row {
    margin: 19px 0 22px;
}

.profile-page .profile-action-row .btn {
    padding: 10px 18px !important;
    font-size: 13px;
}

.profile-page .team-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 15px;
}

.trey-portfolio-nav {
    top: 84px;
    padding: 6px;
    border-radius: 18px;
}

.trey-portfolio-nav a {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.trey-impact-section {
    gap: 27px;
    padding: 42px;
    border-radius: 22px;
}

.trey-impact-heading h2 {
    font-size: 37px;
}

.trey-impact-heading p {
    font-size: 15px;
}

.trey-impact-grid {
    gap: 13px;
}

.trey-impact-card {
    padding: 22px;
    border-radius: 16px;
}

.trey-impact-card::before {
    top: 19px;
    right: 19px;
    width: 35px;
    height: 35px;
    border-radius: 11px;
}

.trey-impact-card span {
    font-size: 11px;
}

.trey-impact-card h3 {
    font-size: 19px;
}

.trey-impact-card p {
    font-size: 14px;
}

.profile-page .team-detail-panel {
    padding: 32px;
    border-radius: 20px;
}

.profile-page .team-detail-panel::before {
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
}

.profile-page .team-detail-panel h3 {
    margin-bottom: 22px;
    font-size: 25px;
}

.profile-page .experience-item {
    padding: 19px 0 19px 22px;
}

.profile-page .experience-item h5 {
    font-size: 16px;
}

.profile-page .experience-item span {
    font-size: 11px;
}

.profile-page .experience-item p {
    font-size: 14px;
}

.profile-page .team-skill-list {
    gap: 13px;
}

.profile-page .team-skill {
    padding: 16px;
    border-radius: 16px;
}

.profile-page .team-skill span,
.profile-page .team-skill strong {
    font-size: 14px;
}

.profile-page .team-skill .progress {
    height: 8px;
    margin-top: 12px;
}

.project-visual-section {
    padding: 45px;
    border-radius: 24px;
}

.project-showcase-intro {
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
    gap: 27px;
}

.project-showcase-copy h2,
.project-visual-section h2 {
    font-size: 38px;
}

.project-showcase-copy p,
.project-showcase-toolbar p {
    font-size: 14px;
}

.project-stat-grid {
    gap: 11px;
    margin-top: 27px;
}

.project-stat-grid div {
    min-height: 94px;
    padding: 18px 14px;
    border-radius: 16px;
}

.project-stat-grid strong {
    font-size: 24px;
}

.project-stat-grid span {
    font-size: 12px;
}

.project-featured-card {
    min-height: 368px;
    border-radius: 20px;
}

.project-featured-card img {
    min-height: 368px;
}

.project-featured-card::after {
    left: 24px;
    right: 24px;
    bottom: 19px;
}

.project-featured-card span {
    bottom: 83px;
    padding: 7px 10px;
    font-size: 11px;
}

.project-featured-card strong {
    left: 24px;
    right: 24px;
    bottom: 38px;
    font-size: 24px;
}

.project-showcase-toolbar {
    margin-top: 34px;
    margin-bottom: 18px;
    padding: 19px;
    border-radius: 18px;
}

.project-carousel-actions .btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.project-carousel-track {
    gap: 14px;
}

.project-card {
    flex-basis: calc((100% - 28px) / 3);
    padding: 9px 9px 16px;
    border-radius: 17px;
}

.project-card .project-card-media {
    margin-bottom: 14px;
    border-radius: 12px;
}

.project-card .project-card-category {
    margin-bottom: 10px;
    padding: 6px 8px;
    font-size: 10px;
}

.project-card span,
.project-card strong,
.project-card small,
.project-card em {
    margin-left: 16px;
    margin-right: 16px;
}

.project-card strong {
    font-size: 16px;
}

.project-card small {
    min-height: 70px;
    font-size: 12px;
}

.project-card .project-tag-row {
    gap: 6px;
    margin: 14px 16px 0;
}

.project-card em {
    padding: 5px 7px;
    font-size: 10px;
}

.project-modal-shell {
    width: min(960px, 100%);
    border-radius: 22px;
}

.project-modal-content {
    padding: 43px 37px;
}

.project-modal-content > p:first-child {
    font-size: 13px;
}

.project-modal-content h3 {
    font-size: 27px;
}

.project-modal-content p,
.project-modal-details p {
    font-size: 14px;
}

.project-modal-details div {
    padding: 14px;
    border-radius: 13px;
}

.project-modal-slide img {
    border-radius: 16px;
}

.trey-close-section {
    padding: 35px;
    border-radius: 22px;
}

.trey-close-section h2 {
    font-size: 27px;
}

@media (max-width: 575.98px) {
    .team-detail-panel {
        padding: 32px 24px;
    }

    .team-detail-panel h3 {
        font-size: 34px;
    }

    .team-details-info h3 {
        font-size: 30px;
    }

    .project-visual-section h2,
    .team-detail-panel h3 {
        font-size: 32px;
    }

    .project-visual-section {
        padding: 30px 20px;
    }

    .profile-page .team-profile-hero,
    .trey-impact-section,
    .trey-close-section {
        padding: 30px 22px;
    }

    .profile-page .team-details-info h3 {
        font-size: 40px;
    }

    .project-stat-grid {
        grid-template-columns: 1fr;
    }

    .profile-page .profile-insight-grid {
        grid-template-columns: 1fr;
    }

    .profile-page .profile-action-row .btn {
        width: 100%;
        justify-content: center;
    }

    .project-modal {
        padding: 16px;
    }

    .project-modal-content {
        padding: 28px 24px;
    }
}

@media (max-width: 991.98px) {
    #profileHero,
    #treyImpactSection,
    #projectVisualSection,
    #treyCloseSection,
    #memberExperienceSection,
    #memberSkillsSection {
        scroll-margin-top: 78px;
    }

    .team-profile-photo {
        margin-right: 0;
    }

    .profile-page .details-info,
    .trey-impact-section,
    .trey-portfolio-nav {
        grid-template-columns: 1fr;
    }

    .trey-portfolio-nav a {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 111, 15, .18);
    }

    .trey-portfolio-nav {
        position: static;
        margin-top: 24px !important;
        border-radius: 18px;
        box-shadow: 0 16px 44px rgba(0, 29, 35, .08);
    }

    .trey-portfolio-nav a {
        border-radius: 12px;
    }

    .trey-close-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-showcase-intro {
        grid-template-columns: 1fr;
    }

    .project-showcase-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-featured-card,
    .project-featured-card img {
        min-height: 320px;
    }

    .project-card {
        flex-basis: 82%;
    }

    .project-modal-shell {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .project-modal-slide {
        padding: 22px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .project-showcase-intro {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

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

.footer .copyright a:hover {
    color: var(--primary);
}
