@import "variables.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== SABRE-STYLE HEADER ========== */
.sabre-header {
    background-color: #ede8dd;
    border-bottom: 1px solid #d6d0c4;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.sabre-header--scrolled {
    background-color: #ede8dd;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.sabre-nav {
    height: 64px;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 2rem;
}

.sabre-nav__logo img {
    transition: opacity 0.2s;
}

.sabre-nav__logo:hover img {
    opacity: 0.8;
}

.sabre-nav__link {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111111;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.sabre-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background-color: #111111;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: left;
}

.sabre-nav__link:hover {
    color: #111111;
}

.sabre-nav__link:hover::after {
    transform: scaleX(1);
}

.sabre-nav__link.active {
    color: #111111;
    font-weight: 700;
}

.sabre-nav__link.active::after {
    transform: scaleX(1);
}

.sabre-nav__cta {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111111;
    border: 2px solid #111111;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.sabre-nav__cta:hover {
    background-color: #111111;
    color: #ffffff;
}
.sabre-nav__cta .sabre-nav__arrow {
    display: inline-block;
    transition: transform 0.2s;
}
.sabre-nav__cta:hover .sabre-nav__arrow {
    transform: translateX(3px);
}

@media (min-width: 1024px) {
    .sabre-nav__cta {
        display: inline-flex;
    }
}

.sabre-nav__hamburger {
    color: #111111;
    font-size: 1.25rem;
}

/* ========== MOBILE MENU ========== */
.sabre-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #ede8dd;
    height: 100vh;
    z-index: 100;
    flex-direction: column;
    overflow-y: auto;
}

.sabre-mobile-menu.is-open {
    display: flex;
}

/* Top bar */
.sabre-mobile-menu__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #ccc8be;
}

.sabre-mobile-menu__close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #111111;
    line-height: 1;
    padding: 0.25rem;
}

/* Search */
.sabre-mobile-menu__search-wrap {
    position: relative;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #ccc8be;
}

.sabre-mobile-menu__search {
    width: 100%;
    background: transparent;
    border: 1px solid #aaa89e;
    padding: 0.65rem 2.75rem 0.65rem 1rem;
    font-size: 0.95rem;
    color: #111;
    outline: none;
    border-radius: 2px;
}

.sabre-mobile-menu__search::placeholder {
    color: #888;
}

.sabre-mobile-menu__search-icon {
    position: absolute;
    right: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 0.95rem;
}

/* Nav items */
.sabre-mobile-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sabre-mobile-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    border-bottom: 1px solid #ccc8be;
    transition: background-color 0.15s;
}

.sabre-mobile-menu__item:hover {
    background-color: #e0dace;
}

.sabre-mobile-menu__item i {
    font-size: 0.85rem;
    color: #555;
}

/* Footer CTA */
.sabre-mobile-menu__footer {
    padding: 1.5rem;
}

.sabre-mobile-menu__cta-btn {
    display: block;
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    border-radius: 2px;
}

.sabre-mobile-menu__cta-btn:hover {
    background-color: #333333;
}
/* ========================================= */

/* ========== LET'S GET GOING SECTION ========== */
.lgg-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    overflow: hidden;
    background: transparent;
    padding: 5rem 0;
}

.lgg-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background-color: #ede8dd;
    border-radius: 20px;
    will-change: width, border-radius;
    z-index: 0;
}

.lgg-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
}

.lgg-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: #111111;
    letter-spacing: -0.02em;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.lgg-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================= */

/* ========== SABRE FOOTER ========== */
.sabre-footer {
    background-color: rgb(226 85 60);
    color: #ffffff;
}

.sabre-footer__top {
    padding: 3.5rem 0 2.5rem;
}

.sabre-footer__layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .sabre-footer__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Brand column */
.sabre-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sabre-footer__logo {
    height: 32px;
    width: auto;
    filter: none;
}

.sabre-footer__social-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #111111;
    margin-top: 0.5rem;
}

.sabre-footer__tagline {
    font-size: 0.82rem;
    line-height: 1.6;
}

.sabre-footer__social {
    display: flex;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.sabre-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0,0,0,0.4);
    color: #111111;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.2s, border-color 0.2s;
    border-radius: 2px;
}

.sabre-footer__social a:hover {
    background-color: rgba(0,0,0,0.12);
    border-color: #111111;
}

/* Office columns */
.sabre-footer__offices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-left: 1px solid rgba(0,0,0,0.2);
    padding-left: 2.5rem;
}

@media (max-width: 768px) {
    .sabre-footer__offices {
        grid-template-columns: 1fr;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0,0,0,0.2);
        padding-top: 1.5rem;
    }
}

.sabre-footer__col-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #111111;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0,0,0,0.25);
}

.sabre-footer__col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #111111;
    margin-bottom: 1rem;
}

.sabre-footer__col-list i {
    width: 14px;
    color: #111111;
    margin-right: 4px;
}

.sabre-footer__col-indent {
    padding-left: 1.1rem;
}

.sabre-footer__map {
    margin-top: 0.75rem;
    opacity: 0.88;
}

/* Bottom bar */
.sabre-footer__bottom {
    border-top: 1px solid rgba(0,0,0,0.2);
    padding: 1.25rem 0;
}

.sabre-footer__bottom-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sabre-footer__bottom-logo {
    height: 22px;
    filter: none;
}

.sabre-footer__bottom p {
    font-size: 0.78rem;
}
/* =================================== */

.table-container {
    padding: 0 10%;
    margin: 40px auto 0;
}

.heading1 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: rgb(var(--color-sabre) / var(--tw-bg-opacity));
    margin-bottom: 10px;
}

.heading2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: rgb(var(--color-gray-700) / var(--tw-text-opacity));
    margin-bottom: 10px;
}

.table {
    background-color: rgb(var(--color-sabre) / var(--tw-bg-opacity));
}

.table thead tr th {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.35px;
    color: rgb(var(--color-white) / var(--tw-text-opacity));
    opacity: 1;
    padding: 12px;
    vertical-align: top;
    border: 1px solid rgb(var(--color-border-light) / 0.52);
}

.table tbody tr td {
    font-size: 14px;
    letter-spacing: 0.35px;
    font-weight: normal;
    color: rgb(var(--color-gray-100) / var(--tw-text-opacity));
    background-color: rgb(var(--color-muted) / var(--tw-bg-opacity));
    padding: 8px;
    border: 1px solid rgb(var(--color-border-light) / 0.52);
}

.table .text_open {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.35px;
    color: rgb(var(--color-sabre) / var(--tw-bg-opacity));
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgb(var(--color-backtotop-start) / var(--tw-bg-opacity)), rgb(var(--color-sabre) / var(--tw-bg-opacity)));
    color: white;
    border: none;
    outline: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgb(var(--color-black) / 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgb(var(--color-backtotop-start) / var(--tw-bg-opacity)), rgb(var(--color-sabre) / var(--tw-bg-opacity)));
}

/* Industry Cards Section */
.industry-card {
    background-color: #ede8dd;
    flex-shrink: 0;
    width: 220px;
    height: 320px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #111;
    transition: box-shadow 0.3s, transform 0.3s;
}

.industry-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.industry-card .card-title {
    font-weight: 600;
    font-size: 1rem;
    color: #111;
}

.industry-card .card-icon {
    font-size: 4.5rem;
    color: #111;
}

.industry-card .card-arrow {
    font-size: 1.25rem;
    color: #111;
    opacity: 0;
    transition: opacity 0.2s;
}

.industry-card:hover .card-arrow {
    opacity: 1;
}

.industry-carousel-wrap {
    overflow: hidden;
}

.industry-cards-scroll {
    display: flex;
    gap: 1rem;
    will-change: transform;
}

/* ========== OUR PRODUCTS CAROUSEL ========== */
.products-section {   
    padding: 5rem 0 3rem;
}

.products-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.products-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: #111111;
    letter-spacing: -0.01em;
}

.products-all-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #111111;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}
.products-all-link:hover { opacity: 0.6; }

.products-carousel-wrap {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.products-card {
    flex-shrink: 0;
    width: calc(25% - 1.125rem);
    display: flex;
    flex-direction: column;
}

.products-card__img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.products-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.products-card:hover .products-card__img-wrap img {
    transform: scale(1.04);
}

.products-card__body {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.products-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.products-card__desc {
    font-size: 0.875rem;
    color: #555555;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.products-card__link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #111111;
    text-decoration: none;
    border-bottom: 1.5px solid #111111;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: opacity 0.2s;
}
.products-card__link:hover { opacity: 0.5; }

.products-footer {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.products-progress-wrap {
    flex: 1;
    height: 2px;
    background: #dddddd;
    border-radius: 2px;
    overflow: hidden;
}

.products-progress-bar {
    height: 100%;
    width: 0%;
    background: #111111;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.products-nav {
    display: flex;
    gap: 0.5rem;
}

.products-nav__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #111111;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.products-nav__btn:hover { background: #333333; }

@media (max-width: 1024px) {
    .products-card { width: calc(33.333% - 1rem); }
}
@media (max-width: 768px) {
    .products-card { width: calc(80% - 0.75rem); }
}

/* ========== SABRE STYLE BUTTON ========== */
.sabre-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #111111;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.sabre-btn:hover {
    background-color: #333333;
    transform: translateY(-1px);
}
.sabre-btn .sabre-btn__arrow {
    font-size: 1rem;
    transition: transform 0.2s;
}
.sabre-btn:hover .sabre-btn__arrow {
    transform: translateX(3px);
}
/* ========================================= */
/* ============================================ */

@media (max-width: 768px) {
    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 15px;
    }

    .table tbody tr td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: 600;
        font-size: 14px;
        text-align: left;
    }
}