:root {
    --rba-yellow: #ffb901;
    --rba-navy: #1f3b67;
    --dark-orange: #ff4800;
    --navy: #282669;
    --white: #ffffff;
    --light-bg: #f4f4fd;
    --border: #e2e8f0;
    --text-gray: #64748b;
    --subtle-gray: #D0D0D0;
    --weird-gray: #383839;
}

body {
    font-family: "Aptos", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--rba-navy);
}

p {
    color: var(--rba-navy);
}

.group:hover img {
    transform: scale(1.05);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--rba-navy);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

video {
    object-fit: cover;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: none;
    border-color: #000;
}

a {
    position: relative;
    text-decoration: none;
}

a.underline-effect::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

a.underline-effect:hover::after {
    width: 100%;
}

.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid #000;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

*:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-40px);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes ping {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s;
}

.animate-ping-3 {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) 3;
}

.slide {
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide:not(.active) {
    opacity: 0;
}

.jarallax-img {
    max-height: 350px;
}

.casestudy-title {
    font-size: 16px;
    background-color: #f67910;
}

html {
    scroll-behavior: smooth;
}

.category-nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background-color: white;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-nav-link.text-white::before,
.category-nav-link:hover::before {
    height: 60%;
}

.faq-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.faq-content ul,
.faq-content ol {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-content ul {
    list-style-type: disc;
}

.faq-content ol {
    list-style-type: decimal;
}

.faq-content li {
    margin-bottom: 0.5rem;
}

.faq-content a {
    text-decoration: underline;
    transition: opacity 0.2s;
}

.faq-content a:hover {
    opacity: 0.7;
}

.faq-content strong {
    font-weight: 600;
}

.faq-trigger:hover {
    transform: translateX(4px);
}

.faq-trigger[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1023px) {
    .category-nav-link {
        display: inline-block;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-left-width: 1px !important;
    }
    .category-nav-link::before {
        display: none;
    }
    nav.space-y-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header h1 {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-header p {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
    opacity: 0;
}

.page-header nav {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.faq-trigger.loading .faq-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.faq-trigger:focus,
.category-nav-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

@media print {
    .category-nav-link,
    .faq-icon {
        display: none;
    }
    .faq-content {
        max-height: none !important;
        overflow: visible !important;
    }
    .faq-trigger {
        page-break-inside: avoid;
    }
}

.star-btn.active svg,
.star-btn:hover svg,
.star-btn:hover ~ .star-btn svg {
    fill: currentColor;
}

.star-btn.active {
    color: var(--rba-navy);
}

.star-btn:hover {
    color: #9ca3af;
}

@keyframes pulse-error {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.star-rating.error .star-btn {
    animation: pulse-error 1.5s ease-in-out infinite;
}

.login-height {
    min-height: 76vh;
}

.page-height {
    min-height: 90vh;
}

.options-center {
    position: absolute;
    width: 50%;
}
.options-center h1 {
    color: #000000;
    font-size: 43px;
    text-align: center;
    margin-bottom: 0.1rem;
    font-weight: 600;
}
.options-center .other-options {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.options-center p {
    text-align: center;
}

.options-center .registration-row {
    margin-bottom: 20px;
}

.text-spacing {
    margin: 6rem;
}

.signin-icon {
    display: block;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
}

.signin-avatar {
    background-image: url(/assets/front/svgs/avatars.svg);
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 100px;
}

.login-graphic {
    background-image: url(/assets/front/svgs/login_graphic.svg);
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    height: 95px;
}

.btn-signin-google {
    background: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
    text-align: left;
    padding: 0.1rem 1rem;
    padding-top: 0.5rem;
    min-width: 35%;
    --bs-btn-border-radius: 0rem;
    border-radius: 0;
    padding-left: 4rem;
}

.signin-button-icon {
    display: block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-flex;
}

.signin-google-icon {
    background-image: url(/assets/front/svgs/Google.svg);
    margin-left: auto;
    margin-right: auto;
}

.signin-microsoft-icon {
    background-image: url(/assets/front/svgs/Microsoft.svg);
    margin-left: auto;
    margin-right: auto;
}

.btn-signin-google p {
    display: inline-flex;
    margin-bottom: 0;
    margin-left: 10px;
    top: 5px;
    position: absolute;
    font-size: 20px;
}

.notification-dialog .noti-header {
  padding-left: 10%;
  padding-right: 10%;
  border-bottom: 2px solid var(--rba-navy);
}
.notification-dialog .noti-header h1 {
  font-size: 28px;
  padding-bottom: 10px;
}

.notification-dialog .noti-content {
  padding-bottom: 2%;
  text-align: center;
}

.notification-dialog .noti-text {
  padding-top: 4%;
  padding-bottom: 4%;
}

.btn-modal {
  background: var(--rba-navy);
  border: 2px solid var(--rba-navy);
  color: #ffffff;
  text-align: left;
  padding: 0.375rem 0.75rem;
  width: inherit;
  --bs-btn-border-radius: 0rem;
  width: 20%;
}
.btn-modal:hover {
  background: var(--rba-navy);
  border: 2px solid var(--rba-navy);
  color: #ffffff;
}

@media screen and (max-width: 1530px) {
    .text-spacing {
        margin: 0;
    }
    .options-center .other-options {
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 0;
        font-weight: 600;
    }
    .signin-icon {
        height: 85px;
    }
    .btn-signin-google {
        min-width: 60%;
    }
    .btn-signin-google p {
        display: inline-flex;
        margin-bottom: 0;
        margin-left: 20px;
    }
    .login-graphic {
        width: 90%;
    }
}

@media screen and (max-width: 1440px) {
    .login-height {
        min-height: 70vh;
    }
}

@media screen and (max-width: 1360px) {
    .login-height {
        min-height: 64vh;
    }
}

@media screen and (max-width: 840px) {
    .options-center {
        position: absolute;
        width: 100%;
    }

    .btn-signin-google {
        min-width: 85%;
    }
}

/**
 * custom re-usable tailwind classes overwritten by bootstrap
 *
 * aliases:
 * vp: vertical padding   (padding top + bottom)
 * hp: horizontal padding (padding left + right)
 * vm: vertical margin    (margin top + bottom)
 * hm: horizontal margin  (margin left + right)
 * bm: bottom margin
 * tm: top margin
 */

/* ── Vertical Padding ────────────────────────────────────── */
.vp-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.vp-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.vp-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.vp-4{padding-top:1rem!important;padding-bottom:1rem!important}.vp-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.vp-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.vp-8{padding-top:2rem!important;padding-bottom:2rem!important}.vp-10{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.vp-12{padding-top:3rem!important;padding-bottom:3rem!important}.vp-16{padding-top:4rem!important;padding-bottom:4rem!important}

/* ── Horizontal Padding ──────────────────────────────────── */
.hp-1{padding-left:.25rem!important;padding-right:.25rem!important}.hp-2{padding-left:.5rem!important;padding-right:.5rem!important}.hp-3{padding-left:.75rem!important;padding-right:.75rem!important}.hp-4{padding-left:1rem!important;padding-right:1rem!important}.hp-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.hp-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.hp-8{padding-left:2rem!important;padding-right:2rem!important}.hp-10{padding-left:2.5rem!important;padding-right:2.5rem!important}.hp-12{padding-left:3rem!important;padding-right:3rem!important}.hp-16{padding-left:4rem!important;padding-right:4rem!important}

/* ── Vertical Margin ─────────────────────────────────────── */
.vm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.vm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.vm-3{margin-top:.75rem!important;margin-bottom:.75rem!important}.vm-4{margin-top:1rem!important;margin-bottom:1rem!important}.vm-5{margin-top:1.25rem!important;margin-bottom:1.25rem!important}.vm-6{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.vm-8{margin-top:2rem!important;margin-bottom:2rem!important}.vm-10{margin-top:2.5rem!important;margin-bottom:2.5rem!important}.vm-12{margin-top:3rem!important;margin-bottom:3rem!important}.vm-16{margin-top:4rem!important;margin-bottom:4rem!important}

/* ── Horizontal Margin ───────────────────────────────────── */
.hm-1{margin-left:.25rem!important;margin-right:.25rem!important}.hm-2{margin-left:.5rem!important;margin-right:.5rem!important}.hm-3{margin-left:.75rem!important;margin-right:.75rem!important}.hm-4{margin-left:1rem!important;margin-right:1rem!important}.hm-5{margin-left:1.25rem!important;margin-right:1.25rem!important}.hm-6{margin-left:1.5rem!important;margin-right:1.5rem!important}.hm-8{margin-left:2rem!important;margin-right:2rem!important}.hm-10{margin-left:2.5rem!important;margin-right:2.5rem!important}.hm-12{margin-left:3rem!important;margin-right:3rem!important}.hm-16{margin-left:4rem!important;margin-right:4rem!important}

/* ── Bottom Margin ───────────────────────────────────────── */
.bm-1{margin-bottom:.25rem!important}.bm-2{margin-bottom:.5rem!important}.bm-3{margin-bottom:.75rem!important}.bm-4{margin-bottom:1rem!important}.bm-5{margin-bottom:1.25rem!important}.bm-6{margin-bottom:1.5rem!important}.bm-8{margin-bottom:2rem!important}.bm-10{margin-bottom:2.5rem!important}.bm-12{margin-bottom:3rem!important}.bm-16{margin-bottom:4rem!important}

/* ── Top Margin ──────────────────────────────────────────── */
.tm-1{margin-top:.25rem!important}.tm-2{margin-top:.5rem!important}.tm-3{margin-top:.75rem!important}.tm-4{margin-top:1rem!important}.tm-5{margin-top:1.25rem!important}.tm-6{margin-top:1.5rem!important}.tm-8{margin-top:2rem!important}.tm-10{margin-top:2.5rem!important}.tm-12{margin-top:3rem!important}.tm-16{margin-top:4rem!important}

.yellow-text{color:var(--rba-yellow)}.yellow-bg{background:var(--rba-yellow)}.blue-text{color:var(--rba-navy)}.blue-bg{background:var(--rba-navy)}.subtle-gray-text{color:var(--subtle-gray)}.subtle-gray-bg{background:var(--subtle-gray)}.weird-gray-text{color:var(--weird-gray);}.weird-gray-bg{background:var(--weird-gray);}
.tw-gap-1{gap:.25rem!important}.tw-gap-2{gap:.5rem!important}.tw-gap-3{gap:.75rem!important}.tw-gap-4{gap:1rem!important}.tw-gap-5{gap:1.25rem!important}.tw-gap-6{gap:1.5rem!important}.tw-gap-7{gap:1.75rem!important}.tw-gap-8{gap:2rem!important}


.blue-button-rounded-full{background-color:var(--rba-navy);color:var(--white);padding:.625rem 1.5rem;border-radius:9999px;font-size:.875rem;font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:all .2s ease}.blue-button-rounded-full:hover{background-color:var(--rba-yellow);color:var(--rba-navy);box-shadow:0 4px 6px rgba(0,0,0,.1)}
.yellow-button-rounded-full{background-color:var(--rba-yellow);color:var(--rba-navy);padding:.625rem 1.5rem;border-radius:9999px;font-size:.875rem;font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:all .2s ease}.yellow-button-rounded-full:hover{background-color:var(--rba-navy);color:var(--white);box-shadow:0 4px 6px rgba(0,0,0,.1)}
.secondary-yellow-button{background-color:var(--rba-yellow);color:var(--rba-navy);font-size:.875rem;font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:all .2s ease;font-size:.875rem;line-height:1.25rem;padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;padding-right:.5rem;border-radius:.375rem}.secondary-yellow-button:hover{background-color:var(--rba-navy);color:var(--white);box-shadow:0 4px 6px rgba(0,0,0,.1)}
.color-primary-blue{color:var(--rba-navy)}.color-primary-blue:hover{color:#162a4a}.color-primary-yellow{color:var(--rba-yellow)}

