/********** Template CSS **********/
:root {
    --primary: #005b8e;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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 {
    transition: .5s;
}

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

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    background-color: white !important;
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.nav-bar.sticky-top .navbar-nav .nav-link {
    color: #000000;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

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

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold !important;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #85bf42;
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        color: black;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {

    font-weight: 500;
}

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

    }

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


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

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

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

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

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

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

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


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

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

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

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.cta-loop-item-wrapper img {
    width: 150px;
    height: 75px;
    flex-shrink: 0;
    object-fit: contain;
    cursor: pointer;
}


.cta-loop {
    width: 100%;
    max-width: 1440px;
    z-index: 999;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    gap: 15px;
    padding-top: 28px;
    padding-bottom: 28px;
    margin-top: 20px;
}

.cta-loop-wrapper {
    grid-column-gap: 20px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
    display: flex;
    animation: scroll-left 175s linear infinite;
    flex-shrink: 0;
}

.cta-loop-item-wrapper {
    grid-column-gap: 40px;
    flex-direction: row;
    flex: none;
    flex-wrap: nowrap;
    /* prevents logos from dropping to next line */
    white-space: nowrap;
    /* prevents line breaks */
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

.cta-loop:hover .cta-loop-wrapper {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.logo-wrapper {
    position: relative;
    /* <— THIS is crucial for tooltip positioning */
    display: inline-block;
}


.logo-tooltip {
    position: absolute;
    bottom: 100%;
    /* show above image */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Show tooltip when hovering */
.logo-wrapper:hover .logo-tooltip {
    opacity: 1;
}


.cta-loop-wrapper-expand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* spacing between logo containers */
    padding: 0 20px;
}

.cta-loop-item-wrapper-expand {
    display: flex;
    align-items: center;
    gap: 75px;
    /* spacing between logos */
}

.logo-item-expand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item-expand img {
    height: 80px;
    /* fixed height */
    width: auto;
    /* keep aspect ratio */
    object-fit: contain;
}

@media (max-width: 768px) {
    .cta-loop-item-wrapper-expand {
        display: flex;
        align-items: center;
        gap: 20px;
        /* spacing between logos */
    }
}

@media (max-width: 768px) {
    .date-break {
        display: block;
    }
}

.pricing-table-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-table-wrapper h2 {
    color: #005b8e;
    font-size: 1.5em;
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    color: #333;
}

.pricing-table thead {
    background-color: #005b8e;
    color: #ffffff;
}

.pricing-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 400;
    font-size: 1em;
    border: 1px solid #ddd;
    color: #ffffff;
}

.pricing-table th:first-child {
    text-align: left;
    font-weight: 600;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.pricing-table tbody tr:last-child {
    border-bottom: 2px solid #85bf42;
}

.pricing-table td {
    padding: 1rem;
    text-align: center;
    font-size: 1em;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 400;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    .pricing-table-wrapper {
        padding: 1rem;
        overflow-x: auto;
    }

    .pricing-table {
        font-size: 0.9em;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    .pricing-table {
        font-size: 0.8em;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.25rem;
    }
}

.agenda-container {
    max-width: 1440px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.agenda-header {
    background-color: #005b8e;
    color: white;
    padding: 32px;
    text-align: center;
}

.agenda-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.agenda-header p {
    font-size: 16px;
    opacity: 0.9;
}

.agenda-table {
    width: 100%;
}

.agenda-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.agenda-row:hover {
    background-color: #f8f9fa;
}

.agenda-row:last-child {
    border-bottom: none;
}

.time-cell {
    padding: 24px;
    background-color: #f1f3f5;
    border-right: 3px solid #85bf42;
    font-weight: 600;
    color: #005b8e;
    font-size: 16px;
}

.session-cell {
    padding: 24px 32px;
}

.session-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.session-description {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 12px;
}

.speaker-info {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.speaker {
    display: flex;
    align-items: center;
    gap: 16px;
}

.speaker-text {
    display: flex;
    flex-direction: column;
}

.speaker-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #005b8e;
    flex-shrink: 0;
}

.speaker-name {
    font-weight: 700;
    color: #005b8e;
}

.speaker-title {
    font-weight: 600;
    color: rgb(108, 117, 125);
    font-size: 14px;
}

@media (max-width: 768px) {
    .agenda-row {
        grid-template-columns: 1fr;
    }

    .time-cell {
        border-right: none;
        border-bottom: 2px solid #85bf42;
        padding: 16px 24px;
    }

    .session-cell {
        padding: 16px 24px;
    }

    .speaker-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }
}

.team-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-item .img-wrapper {
    height: 300px;
    /* change height if needed */

}

.team-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-item .text-box {
    flex-grow: 1;
    /* Make all text boxes same height */
}