html {
    scroll-behavior: smooth;
}

/* Base styles */
body {
    font-family: 'Raleway', sans-serif;
    color: #021C37;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Accessibility focus styles */
:focus-visible {
    outline: 3px solid #02529C;
    outline-offset: 3px;
}

/* Visually Hidden class for screen reader text */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Logo Design */
.navbar-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.02);
}

/* Navbar styling */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    background-color: #ffffff !important;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.navbar-scrolled {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(2, 28, 55, 0.08);
    border-bottom: 1px solid rgba(2, 82, 156, 0.08);
}

@media (min-width: 992px) {
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    .navbar-nav .nav-link {
        white-space: nowrap !important;
    }
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 700;
    color: #021C37 !important;
    padding: 8px 12px !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #D71B16 !important;
    /* Secondary hover color */
}

/* Section Title & Hero Title Typography for Desktop / Webview */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.4rem !important;
        line-height: 1.15 !important;
    }

    .section-title,
    h2.section-title,
    .journey-main-title,
    .grow-together-title,
    .global-title,
    .breadcrumb-title {
        font-size: 50px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }
}

.career-hero-subtitle {
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Custom Dropdown Chevron */
.navbar-nav .dropdown-toggle::after {
    border: none;
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

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

/* Premium Desktop Hover Dropdown Menu with transition */
@media (min-width: 992px) {
    .navbar-nav .dropdown {
        position: relative;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 340px !important;
        background-color: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        border-radius: 12px;
        padding: 12px 0 !important;
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        pointer-events: none;
        margin-top: 0 !important;
        z-index: 1000;
    }

    .navbar-nav .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        white-space: nowrap !important;
    }
}

/* Dropdown Item Styling: padding & semibold weight */
.dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #021C37;
    transition: all 0.25s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(2, 82, 156, 0.06) !important;
    color: #2076B9 !important;
    padding-left: 32px !important;
}

/* Custom Hamburger Toggler (Two horizontal lines resembling equal sign) */
.navbar-toggler {
    padding: 0 !important;
    width: 26px;
    height: 18px;
    border: none !important;
    background: transparent;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #021C37;
    /* top bar */
    border-radius: 1px;
    position: relative;
    background-image: none !important;
    /* remove bootstrap default icon */
}

/* Second bar */
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #021C37;
    border-radius: 1px;
    top: 7px;
    /* space between bars */
}

/* Navbar Close Button (X icon) */
.navbar-close-btn {
    position: absolute;
    top: 13px;
    right: 24px;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.navbar-close-btn i {
    display: none !important;
}

.navbar-close-btn::before,
.navbar-close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1.5px;
    background-color: #021C37;
    transition: background-color 0.3s ease;
}

.navbar-close-btn::before {
    transform: rotate(45deg);
}

.navbar-close-btn::after {
    transform: rotate(-45deg);
}

.navbar-close-btn:hover::before,
.navbar-close-btn:hover::after {
    background-color: #D71B16;
}

.navbar-close-btn:hover {
    transform: rotate(90deg);
}

@media (min-width: 992px) {
    .navbar-close-btn {
        display: none !important;
    }

    .navbar-toggler {
        display: none !important;
    }

    .navbar .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-grow: 1;
        visibility: visible !important;
    }
}

/* Contact Button */
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D71B16;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 7px 7px 7px 24px;
    min-height: 48px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-sizing: border-box;
}

.btn-contact:hover {
    background-color: #b81612;
    transform: translateY(-2px);
}

.btn-contact .arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #D5D92F;
    border-radius: 50%;
    margin-left: 15px;
    color: #1E1E1E;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-contact:hover .arrow-circle {
    background-color: #e5eb2a;
}

.btn-contact .arrow-circle i {
    transform: rotate(45deg);
    /* Point up-right by default */
    transition: transform 0.3s ease;
}

.btn-contact:hover .arrow-circle i {
    transform: translateY(0px) rotate(90deg);
}

/* Hero Section (Sticky Background Video) */
.hero-section {
    position: relative;
    height: calc(100vh - 82px);
    width: 100%;
    overflow: hidden;
    background-color: #000000;
    background-image: url('https://img.youtube.com/vi/W6bHSej52zs/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 992px) {
    .hero-section {
        position: sticky;
        top: 0;
        z-index: 0;
    }
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Cover the container fully */
.video-bg-container .bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Black overlay */
    z-index: 2;
}

.z-index-3 {
    z-index: 3;
}

.hero-content {
    max-width: 1100px;
    padding-left: 15px;
    will-change: transform, opacity;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-title {
    font-size: 3.4rem !important;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.3s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Universal Section Overlay & Matching Background Color (#ffffff) */
.people-strategy-section,
.support-journey-section,
.global-clients-section,
.success-stories-section,
.clients-section,
.testimonials-section,
.associations-section,
.case-studies-section {
    position: relative;
    z-index: 1;
    background-color: #ffffff !important;
}

/* Index 1 (People + Strategy Section) Overlay */
.people-strategy-section {
    margin-top: -40px;
    border-radius: 35px 35px 0 0;
    padding: 60px 0 50px 0;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.1);
}

h2 {
    line-height: 1.1;
}

.section-title {
    font-size: 50px;
    font-weight: 600;
    color: #021C37;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4A5568;
    margin-bottom: 0px;
    font-weight: 500;
    text-align: justify;
}

/* Stats Highlight Box */
.stats-box {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #D5D92F 0%, rgba(213, 217, 47, 0.05) 100%);
    border-radius: 12px;
    padding: 16px 24px;
    max-width: 640px;
}

.stats-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 25px;
    line-height: 1;
}

.stats-number {
    font-size: 65px;
    font-weight: 600;
    color: #021C37;
}

.plus-sign {
    color: #1C5996;
}

.stats-label {
    font-size: 22px;
    font-weight: 400;
    color: #021C37;
    text-transform: none;
    letter-spacing: 0px;
    margin-top: 4px;
}

.stats-text {
    font-size: 36px;
    font-weight: 500;
    color: #021C37;
    line-height: 40px;
}

/* Primary CTA Button (Explore Our Approach) */
.btn-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #02529C;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 17px;
    padding: 6px 6px 6px 32px;
    min-height: 50px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1.5px solid #02529C;
    box-sizing: border-box;
}

.btn-explore:hover {
    background-color: #013e78;
    border-color: #013e78;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 82, 156, 0.15);
}

.btn-explore .arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #D5D92F;
    border-radius: 50%;
    margin-left: 18px;
    color: #1E1E1E;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-explore:hover .arrow-circle {
    background-color: #e5eb2a;
}

.btn-explore .arrow-circle i {
    transform: rotate(45deg);
    /* Point diagonal by default */
    transition: transform 0.3s ease;
}

/* Primary CTA Button (Explore Our Approach) */
.btn-explore:hover .arrow-circle i {
    transform: translateY(0px) rotate(90deg);
}

/* Secondary CTA Button (Connect With Us) */
.btn-connect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #02529C !important;
    font-weight: 500;
    font-size: 17px;
    padding: 12px 32px;
    min-height: 50px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1.5px solid #02529C;
    box-sizing: border-box;
}

.btn-connect:hover {
    background-color: rgba(2, 82, 156, 0.05);
    border-color: #013e78;
    color: #013e78 !important;
    transform: translateY(-2px);
}

/* Section Image Styling */
.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/* Universal Responsive Side Padding across All Pages */
@media (min-width: 768px) and (max-width: 1024px) {
    .container-fluid {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .container-fluid {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        max-width: 1200px;
    }
}

@media (min-width: 1281px) and (max-width: 1536px) {
    .container-fluid {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }

    .container {
        padding-left: 2.25rem !important;
        padding-right: 2.25rem !important;
        max-width: 1280px;
    }
}

@media (min-width: 1537px) {
    .container-fluid {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }

    .container {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
        max-width: 1360px;
    }
}

@media (max-width: 767px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .breadcrumb-banner,
    .breadcrumb-section,
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .careers-hero-wrapper,
    section.careers-hero-wrapper,
    .clients-section,
    .case-studies-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .container {
        --bs-gutter-x: 1.5rem;
        --gutter-x: 1.5rem;
    }

    .clients-bg-box,
    .team-bg-box {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .clients-bg-box .container,
    .team-bg-box .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .clients-left-col,
    .clients-right-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .clients-bg-box,
    .case-studies-bg-box,
    .foundation-bg-box,
    .team-bg-box {
        border-radius: 16px !important;
    }
}

@media (max-width: 767px) {
    .clients-bg-box {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
        text-align: center;
    }

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

    .btn-contact {
        margin-top: 15px;
    }

    .hero-title {
        font-size: 2.4rem !important;
        line-height: 1.25 !important;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .people-strategy-section {
        margin-top: 0;
        padding: 60px 0;
    }

    h1,
    h2,
    h2.section-title,
    .section-title,
    .journey-main-title,
    .grow-together-title,
    .global-title,
    .breadcrumb-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    .section-image {
        margin-top: 40px;
    }

    .stats-number {
        font-size: 53px;
    }

    .stats-box .stats-text {
        font-size: 25px;
        line-height: 30px;
    }
}

/* Support Journey Section */
.support-journey-section {
    padding: 30px 0;
    /* background-color: #f9f9f9; */
}

.journey-main-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 50px;
    text-align: center;
    margin-bottom: 60px;
    color: #021C37;
}

.journey-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.journey-card {
    border-radius: 20px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

/* Outer card padding adjustments: Card 1 (left: 0, right: 24px), Card 2 (24px padding), Card 3 (same left padding 24px as Card 2, right: 0) */
@media (min-width: 992px) {
    .journey-col:nth-child(1) .journey-card {
        padding-left: 0;
        padding-right: 24px;
        margin-left: 0;
    }

    .journey-col:nth-child(3) .journey-card {
        padding-left: 24px;
        padding-right: 0;
        margin-right: 0;
    }
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: none !important;
}

.journey-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 24px;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.journey-icon {
    max-height: 129px;
    height: auto;
    width: auto;
    margin-bottom: 0;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

/* Clean image hover transition: scale & float without shadow */
.journey-card:hover .journey-icon,
.journey-icon:hover {
    transform: translateY(-10px) scale(1.15) rotate(-2deg);
    filter: none !important;
}

.journey-col:nth-child(2) .journey-card:hover .journey-icon {
    transform: translateY(-10px) scale(1.15) rotate(2deg);
    filter: none !important;
}

.journey-col:nth-child(3) .journey-card:hover .journey-icon {
    transform: translateY(-10px) scale(1.15) rotate(-1deg);
    filter: none !important;
}

.journey-card-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: #021C37;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.journey-card:hover .journey-card-title {
    color: #02529C;
}

.journey-card-desc {
    color: #1E1E1E;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.journey-link {
    font-weight: 650;
    color: #1E1E1E;
    text-decoration: none;
    position: relative;
}

.journey-link i {
    margin-left: 6px;
    transition: transform 0.2s;
}

.journey-link:hover i {
    transform: translateX(4px);
}

/* Vertical dividers between columns with top and bottom fade gradient */
@media (min-width: 992px) {
    .journey-col:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 1px;
        background: linear-gradient(180deg, rgba(204, 204, 204, 0) 0%, rgba(204, 204, 204, 0.85) 20%, rgba(204, 204, 204, 0.85) 80%, rgba(204, 204, 204, 0) 100%);
        transform: translateX(50%);
    }
}

/* Footer Section Styles */
.site-footer {
    background-color: #ffffff;
    background-image: url('../images/common/footer-bg.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto;
    padding-top: 80px;
    position: relative;
    border-top: 1px solid #f1f3f5;
}

.footer-logo img {
    height: 110px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.02);
}

.contact-details p {
    color: #4A5568;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.contact-details .phone {
    font-weight: 700;
    color: #021C37;
    font-size: 17px;
}

.contact-details .email a {
    color: #021C37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details .email a:hover {
    color: #D71B16;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(2, 28, 55, 0.05);
    color: #021C37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #D71B16;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 22px;
    font-weight: 700;
    color: #021C37;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #02529C;
}

.footer-nav {
    line-height: 1.9;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #1E1E1E;
    text-decoration: none;
    font-weight: 550;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #D71B16;
    transform: translateX(5px);
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #021C37;
    padding: 24px 0;
    margin-top: 60px;
    position: relative;
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #D71B16;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(215, 27, 22, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #02529C;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 6px 15px rgba(2, 82, 156, 0.4);
    color: #ffffff;
}

/* Footer Responsive styles */
@media (max-width: 991px) {
    .site-footer {
        background-size: 260px;
        padding-top: 60px;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .site-footer {
        background-image: none;
        /* Hide background image on tiny viewports to keep text clear */
        padding-top: 50px;
    }

    .footer-heading {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-logo img {
        margin: 0 auto !important;
    }

    .site-footer .social-links {
        justify-content: center !important;
    }

    .site-footer .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Global Clients Section Styles */
.global-clients-section {
    background: linear-gradient(135deg, #78B5F1 0%, #023364 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.global-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.global-desc {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 560px;
}

.globe-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.globe-image {
    max-height: 460px;
    width: auto;
    object-fit: contain;
    animation: floatGlobe 6s ease-in-out infinite;
}

@keyframes floatGlobe {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Global Clients Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
        text-align: center;
    }

    .dropdown-menu {
        padding: 12px 16px !important;
        background-color: #f8fafc !important;
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
        margin-top: 8px !important;
    }

    .dropdown-menu .dropdown-item {
        font-size: 18px !important;
        font-weight: 600 !important;
        padding: 12px 20px !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }

    .global-clients-section {
        padding: 70px 0;
        text-align: center;
    }

    .global-clients-section .text-start {
        text-align: center !important;
    }

    .global-title {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .global-desc {
        margin: 0 auto 30px auto;
        font-size: 16px;
    }

    .globe-image {
        max-height: 340px;
    }
}

@media (max-width: 575px) {
    .global-title {
        font-size: 30px;
    }

    .globe-image {
        max-height: 280px;
    }
}

/* Success Stories Section styling */
.success-stories-section {
    background-color: #ffffff;
    padding: 40px 0;
}

.success-swiper {
    position: relative;
    padding-bottom: 45px !important;
}

.success-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.video-thumbnail-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: #000000;
    aspect-ratio: 16 / 9;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.success-card:hover .video-thumbnail {
    transform: scale(1.05);
    opacity: 1;
}

/* Play button overlay */
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(215, 27, 22, 0.9);
    /* YouTube Red */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-thumbnail-container:hover .play-btn-overlay {
    background-color: #D71B16;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Info container below thumbnail */
.success-client-info {
    padding: 24px;
    background-color: #ffffff;
    flex-grow: 1;
}

.client-logo-wrapper {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #f1f3f5;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-right: 16px;
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-details {
    flex-grow: 1;
}

.client-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #021C37;
    margin-bottom: 6px;
    line-height: 1.3;
}

.client-title {
    font-size: 0.85rem;
    color: #4A5568;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Swiper navigation buttons matching Gateways theme */
.success-swiper .swiper-button-next,
.success-swiper .swiper-button-prev {
    color: #02529C !important;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    top: auto;
    bottom: 0px;
    margin-top: 0;
    transition: all 0.3s ease;
}

.success-swiper .swiper-button-next:after,
.success-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: 800;
}

.success-swiper .swiper-button-next {
    right: 35%;
}

.success-swiper .swiper-button-prev {
    left: 35%;
}

.success-swiper .swiper-button-next:hover,
.success-swiper .swiper-button-prev:hover {
    background-color: #D5D92F;
    color: #021C37 !important;
    box-shadow: 0 6px 15px rgba(213, 217, 47, 0.4);
}

.success-swiper .swiper-pagination-bullet-active {
    background: #02529C !important;
}

.success-swiper .swiper-pagination {
    bottom: 5px !important;
}

/* Responsive Swiper button positions */
@media (max-width: 991px) {

    .success-swiper .swiper-button-next,
    .success-swiper .swiper-button-prev {
        display: none !important;
    }
}

/* Custom Video Popup Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(2, 28, 55, 0.96);
    backdrop-filter: blur(12px);
    z-index: 99998;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    z-index: 100000;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border-radius: 16px;
}

.video-modal.show .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2003;
}

.video-modal-close:hover {
    color: #D5D92F;
    transform: rotate(90deg);
}

.video-modal iframe,
#playerContainer,
#playerContainer iframe {
    border-radius: 16px;
    border: none;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

/* Our Clients Section */
.clients-section {
    background-color: #ffffff;
    padding: 0px 0 50px 0;
}

.clients-bg-box {
    background-color: #E3F0FF;
    border-radius: 24px;
    padding: 30px 0px;
    overflow: hidden;
}

.bx-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 500px !important;
    height: 500px !important;
    background-image: url('../images/common/bx-pattern.webp');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1 !important;
    pointer-events: none;
    z-index: 1;
}

.clients-subheading {
    font-size: 24px;
    font-weight: 700;
    color: #021C37;
    line-height: 1.4;
}

.clients-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4A5568;
    text-align: justify;
}

/* Gradient Detail Card */
.client-detail-card {
    background: linear-gradient(180deg, #78B5F1 0%, #023364 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(2, 51, 100, 0.15);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.detail-logo-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.detail-logo {
    max-height: 44px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    display: block;
}

.detail-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.detail-desc {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
    flex-grow: 1;
}

.detail-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.detail-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

/* Logos Swiper Slider */
.clients-swiper {
    padding: 15px 0 !important;
}

.client-logo-card {
    background-color: #ffffff;
    border: 1px solid rgba(2, 28, 55, 0.1);
    border-radius: 12px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.slider-client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 28, 55, 0.08);
}

.client-logo-card:hover .slider-client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Active Slide logo style (white background, blue border, no grayscale) */
.swiper-slide.active-client .client-logo-card {
    background-color: #ffffff !important;
    border: 1px solid #02529C !important;
    box-shadow: 0 8px 25px rgba(2, 82, 156, 0.2);
    transform: translateY(-3px);
}

.swiper-slide.active-client .slider-client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Adjust mobile layout styling */
@media (max-width: 991px) {
    .clients-bg-box {
        padding: 50px 30px;
    }

    .client-detail-card {
        min-height: auto;
        margin-top: 20px;
    }

    .bx-pattern-overlay {
        width: 200px;
        height: 200px;
    }

    /* Mobile full-screen navigation overlay */
    .navbar-collapse.collapse,
    .navbar-collapse.collapsing {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh !important;
        background-color: #ffffff;
        z-index: 1050;
        flex-direction: column;
        padding: 40px 24px 30px 24px !important;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        visibility: hidden;
    }

    .navbar-collapse.show {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    .navbar-collapse.collapsing {
        visibility: visible !important;
    }

    .mobile-menu-logo {
        margin-top: -30px;
        margin-bottom: 20px;
        width: 100%;
    }

    .mobile-menu-logo img {
        height: 50px;
        width: auto;
        display: block;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        align-items: flex-start !important;
        margin-bottom: auto;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
        margin-bottom: 0;
        padding: 12px 0;
        border-bottom: 1px solid rgba(2, 28, 55, 0.08);
        /* Separator line */
    }

    .navbar-nav .nav-link {
        font-size: 20px;
        font-weight: 700;
        display: block;
        padding: 6px 0 !important;
        width: 100%;
    }

    .navbar-nav .dropdown-menu {
        text-align: left;
        background-color: #f8f9fa;
        margin-top: 10px !important;
        border-radius: 8px;
        width: 100%;
        padding-left: 15px !important;
    }

    /* Contact button full-width at the bottom */
    .navbar-collapse .mt-3 {
        margin-top: auto !important;
        width: 100%;
        padding-top: 20px;
    }

    .navbar-collapse .btn-contact {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 14px 24px !important;
        font-size: 18px;
        border-radius: 12px;
        text-align: center;
        box-sizing: border-box;
    }

    .navbar-collapse .btn-contact .arrow-circle {
        margin-left: auto;
    }

    body {
        padding-top: 66px !important;
    }

    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        padding-top: 0.5rem !important;
        /* py-2 */
        padding-bottom: 0.5rem !important;
        /* py-2 */
    }
}

@media (min-width: 576px) and (max-width: 991px) {

    .navbar-collapse.collapse,
    .navbar-collapse.collapsing {
        width: 380px;
        box-shadow: -5px 0 25px rgba(2, 28, 55, 0.15);
        border-left: 1px solid rgba(2, 28, 55, 0.08);
    }
}

/* Testimonials Section Styling */
.testimonials-section {
    background-color: #ffffff;
    padding: 0px 0;
}

.testimonials-swiper {
    padding-bottom: 50px !important;
}

.testimonial-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.testimonial-card:hover {
    background-color: #2076B9 !important;
    border-color: #2076B9 !important;
    box-shadow: 0 15px 35px rgba(32, 118, 185, 0.2);
    transform: translateY(-5px);
}

.quote-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(2, 82, 156, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #02529C;
    transition: all 0.3s ease;
    background-color: transparent;
}

.testimonial-card:hover .quote-icon-wrapper {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4A5568;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.testimonial-card:hover .testimonial-text {
    color: #ffffff !important;
}

.testimonial-divider {
    border: 0;
    border-top: 1px solid #dee2e6;
    margin: 0;
    opacity: 1;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .testimonial-divider {
    border-top-color: rgba(255, 255, 255, 0.2) !important;
}

.testimonial-author {
    margin-top: auto;
}

.author-logo-box {
    width: 80px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid #f1f3f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.author-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #021C37;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-name {
    color: #ffffff !important;
}

.author-title {
    font-size: 13px;
    color: #718096;
    margin-bottom: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-title {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Custom Swiper Dots Pagination for Testimonials */
.testimonials-swiper .swiper-pagination-bullet {
    background: #718096 !important;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: #02529C !important;
    opacity: 1;
    width: 18px;
    border-radius: 5px;
}

/* Testimonials Swiper container styling to allow overflow only on the right */
.testimonials-section {
    overflow: hidden;
    /* Prevent page horizontal scrollbar */
    position: relative;
}

.testimonials-swiper {
    overflow: visible !important;
    /* Allow slides to peek out beyond the container */
    position: relative;
    padding-bottom: 50px !important;
    clip-path: inset(-50px -100vw -50px 0);
    /* Clip left edge overflow at 0, while allowing right edge overflow to be visible */
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonials-swiper .swiper-pagination {
    bottom: 0px !important;
}

/* Hide pagination bullets after the first 4 (since we duplicated slides to support seamless looping) */
.testimonials-swiper .swiper-pagination-bullet:nth-child(n+5) {
    display: none !important;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .quote-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 16px;
        margin-bottom: 12px !important;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px !important;
    }

    .testimonial-divider {
        margin-bottom: 16px !important;
    }

    .author-logo-box {
        width: 68px;
        height: 42px;
        padding: 4px;
        margin-right: 12px;
    }

    .author-name {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .author-title {
        font-size: 12px;
        line-height: 1.3;
    }

    .testimonials-swiper {
        clip-path: none;
        overflow: hidden !important;
    }
}

/* Our Associations Section */
.associations-section {
    background-color: #ffffff;
    padding: 20px 0;
}

.associations-text {
    font-size: 16px;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 20px;
}

.associations-text strong {
    color: #021C37;
    font-weight: 700;
}

.associations-img-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.associations-img {
    max-width: 100%;
    height: auto;
}

.associations-img-wrapper,
.globe-image-wrapper,
.framework-img-container {
    transition: transform 0.3s ease;
}

.associations-img-wrapper:hover,
.globe-image-wrapper:hover,
.framework-img-container:hover {
    transform: translateY(-6px) !important;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float,
.section-image,
.framework-img,
.globe-image,
.associations-img {
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
    will-change: transform;
}

.animate-float:hover,
.section-image:hover,
.framework-img:hover,
.globe-image:hover,
.associations-img:hover,
.associations-img-wrapper:hover img,
.globe-image-wrapper:hover img,
.framework-img-container:hover img {
    animation: none !important;
    transform: translateY(-6px) !important;
    transition: transform 0.3s ease !important;
}

@media (max-width: 991px) {
    .associations-section {
        padding: 60px 0;
    }

    .associations-left {
        text-align: center;
    }

    .associations-text {
        text-align: left;
    }

    .associations-right {
        margin-top: 30px;
    }
}

/* Case Studies Section */
.case-studies-section {
    padding: 0px 0 10px 0;
    /* Add top/bottom spacing to buffer between Associations and Footer */
}

.case-studies-bg-box {
    background-color: #E3F0FF;
    border-radius: 24px;
    padding: 60px 40px;
    overflow: hidden;
}

/* View All button styling */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    background-color: #2076B9;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 8px 8px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-view-all:hover {
    background-color: #023364;
    box-shadow: 0 4px 15px rgba(32, 118, 185, 0.3);
}

.btn-view-all .arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D5D92F;
    color: #021C37;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.btn-view-all .arrow-circle i {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-view-all:hover .arrow-circle i {
    transform: rotate(90deg);
}

/* Cards styling */
.case-study-card {
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-study-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 370 / 240;
    width: 100%;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.case-study-card:hover .case-study-img {
    transform: scale(1.05);
}

/* Date tag on image */
.case-study-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #D71B16;
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(215, 27, 22, 0.3);
}

.case-study-date .day {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.case-study-date .month {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.case-study-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #021C37;
    margin-top: 20px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.case-study-card:hover .case-study-card-title {
    color: #2076B9;
}

.case-study-card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #718096;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .case-studies-bg-box {
        padding: 40px 20px;
    }

    .btn-view-all {
        font-size: 14px;
        padding: 8px 8px 8px 22px;
        display: inline-flex;
        align-items: center;
    }

    .btn-view-all.w-full {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 10px 12px 10px 24px !important;
        font-size: 15px !important;
        box-sizing: border-box !important;
    }

    .btn-view-all.w-full .arrow-circle {
        margin-left: 14px !important;
    }

    .btn-view-all .arrow-circle {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }

    #drawerName,
    .client-drawer-title,
    .client-logo-title,
    .client-card-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .case-study-card-title {
        font-size: 18px;
        margin-top: 15px;
    }
}

/* Floating WhatsApp Widget */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1900;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-floating:hover {
    transform: scale(1.08);
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Tooltip bubble appearing on the right of the icon */
.whatsapp-tooltip {
    position: absolute;
    left: 72px;
    /* Position to the right of the 60px icon plus spacing */
    background-color: #ffffff;
    color: #0C2F52;
    /* WhatsApp brand green color */
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Tooltip arrow pointing to the left */
.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

/* Hover trigger to display tooltip */
.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 575px) {
    .whatsapp-floating {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }

    .whatsapp-tooltip {
        left: 62px;
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* About Us Page Custom Styles */
/* Breadcrumb Banner Section */
.breadcrumb-section {
    padding: 30px 0;
}

.breadcrumb-banner {
    background-color: #2076B9;
    border-radius: 20px;
    padding: 70px 20px;
    overflow: hidden;
}

.breadcrumb-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/breadcrumb-pattern.png');
    background-repeat: repeat;
    background-size: contain;
    opacity: 1.50;
    z-index: 1;
    pointer-events: none;
}

.breadcrumb-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/breadcrumb-gradient.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}

.breadcrumb-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.breadcrumb-links {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-links a:hover {
    color: #ffffff;
}

.breadcrumb-links .current {
    color: #ffffff;
}

@media (max-width: 767px) {
    .breadcrumb-banner {
        padding: 50px 15px;
        border-radius: 16px;
    }

    .breadcrumb-title {
        font-size: 2rem !important;
    }

    .breadcrumb-links {
        font-size: 14px;
    }
}

/* Grow Together Section */
.grow-together-section {
    background-color: #ffffff;
    background-image: url('../images/common/breadcrumb-gradient.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 550px auto;
    position: relative;
    overflow: hidden;
}

/* Video Thumbnail with YouTube Red Play Button */
.video-thumbnail-wrapper {
    background-color: #0c0c0c;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 440px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 5;
}

.video-thumbnail-wrapper:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
}

.youtube-play-btn {
    font-size: 90px;
    color: #ff0000;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.grow-together-title {
    font-size: 50px;
    font-weight: 600;
    color: #021C37;
    line-height: 1.25;
}

.grow-together-title .text-brand-blue {
    color: #2076B9;
}

/* Primary CTA Button (Talk to an Advisor) */
.btn-talk {
    display: inline-flex;
    align-items: center;
    background-color: #02529C;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 17px;
    padding: 12px 12px 12px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: 0 4px 15px rgba(2, 82, 156, 0.15);
}

.btn-talk:hover {
    background-color: #013e78;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 82, 156, 0.25);
}

.btn-talk .arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #D5D92F;
    border-radius: 50%;
    margin-left: 20px;
    color: #1E1E1E;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-talk .arrow-circle i {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.btn-talk:hover .arrow-circle i {
    transform: rotate(90deg);
}

/* Secondary CTA Button (Explore Our Services) */
.btn-explore-services {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #a0aec0;
    color: #021C37 !important;
    background-color: transparent;
    font-weight: 600;
    font-size: 17px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-explore-services:hover {
    border-color: #02529C;
    background-color: rgba(2, 82, 156, 0.04);
    color: #02529C !important;
}

@media (max-width: 991px) {
    .video-thumbnail-wrapper {
        height: 320px;
    }

    .grow-together-title {
        font-size: 34px;
        text-align: left;
    }

    .grow-together-text {
        text-align: left;
    }

    .grow-together-section .d-flex {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {

    .grow-together-buttons .btn-talk,
    .grow-together-buttons .btn-explore-services,
    .btn-talk,
    .btn-explore,
    .btn-connect,
    .btn-contact,
    .btn-career-explore {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        position: relative !important;
        padding-left: 20px !important;
        padding-right: 52px !important;
        min-height: 48px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        border-radius: 50px !important;
        box-sizing: border-box !important;
    }

    .btn-talk,
    .btn-explore {
        padding-left: 20px !important;
        padding-right: 52px !important;
    }

    .btn-talk .arrow-circle,
    .btn-explore .arrow-circle,
    .btn-contact .arrow-circle,
    .btn-career-explore .arrow-circle {
        position: absolute !important;
        right: 7px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-left: 0 !important;
    }
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: #ffffff;
}

.vision-mission-img {
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.mission-icon-box {
    font-size: 24px;
    color: #2076B9;
    line-height: 1;
    margin-top: 1px;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4A5568;
    font-weight: 500;
}

/* Core Values Section */
.core-values-section {
    background-color: #ffffff;
}

.value-item {
    transition: transform 0.3s ease;
}

.value-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.value-item:hover .value-icon {
    transform: scale(1.08);
}

.value-title {
    font-size: 24px;
    font-weight: 600;
    color: #021C37;
}

.value-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4A5568;
    font-weight: 500;
}

.value-desc strong {
    font-weight: 700;
    color: #021C37;
}

@media (min-width: 992px) {
    .value-col-left {
        border-right: 1px solid #e2e8f0;
        padding-right: 4rem !important;
    }

    .value-col-right {
        padding-left: 4rem !important;
    }
}

@media (max-width: 991px) {
    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-title {
        font-size: 20px;
    }
}


.approach-subheading {
    font-size: 24px;
    font-weight: 600;
    color: #021C37;
    letter-spacing: -0.5px;
}

.approach-section .text-blue {
    color: #2076B9;
    font-weight: 900;
}

.approach-section .text-red {
    color: #D71B16;
    font-weight: 900;
}

.approach-section .text-yellow {
    color: #D5D92F;
    font-weight: 900;
}

.section-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    opacity: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.framework-img-container {
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.framework-img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: transform 0.3s ease;
}

.max-width-800 {
    max-width: 800px;
}

@media (max-width: 767px) {
    .framework-img-container {
        padding: 15px;
        border-radius: 16px;
    }

    .approach-subheading {
        font-size: 20px;
    }
}

/* Foundation of Family, Business & Ownership Section */
.foundation-section {
    background-color: #ffffff;
}

.foundation-bg-box {
    background-color: #E3F0FF;
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.role-heading {
    font-size: 22px;
    font-weight: 600;
    color: #021C37;
}

.role-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.role-list .d-flex:hover .role-icon {
    transform: scale(1.1);
}

.role-text {
    font-size: 18px;
    font-weight: 500;
    color: #021C37;
    line-height: 1.4;
}

.border-bottom-light {
    border-bottom: 1px solid rgba(2, 28, 55, 0.08);
}

@media (max-width: 991px) {
    .foundation-bg-box {
        padding: 40px 20px;
    }

    .role-heading {
        font-size: 18px;
        text-align: center;
    }

    .role-text {
        font-size: 15px;
    }
}

/* Our Services Section */
.services-section {
    background-color: #ffffff;
}

.service-card {
    transition: all 0.3s ease;
}

.service-tag {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #1C5996;
    color: #1C5996;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Hover effect: active class or hover card updates tag background color */
.service-tag.active,
.service-card:hover .service-tag,
.service-tag:hover {
    background-color: #1C5996 !important;
    color: #ffffff !important;
    border-color: #1C5996 !important;
}

.service-card-title {
    font-size: 26px;
    font-weight: 600;
    color: #021C37;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.service-card-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4A5568;
    font-weight: 500;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #021C37;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #1C5996;
}

.read-more-link:hover i {
    transform: translateX(4px);
}

.service-footer-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #021C37;
    letter-spacing: -0.2px;
}

@media (min-width: 992px) {
    .service-col-left {
        border-right: 1px solid rgba(2, 28, 55, 0.08);
        padding-right: 3.5rem !important;
    }

    .service-col-center {
        border-right: 1px solid rgba(2, 28, 55, 0.08);
        padding-left: 3.5rem !important;
        padding-right: 3.5rem !important;
    }

    .service-col-right {
        padding-left: 3.5rem !important;
    }
}

@media (max-width: 991px) {
    .service-card-title {
        font-size: 22px;
    }

    .service-footer-text {
        text-align: center;
        font-size: 1rem;
    }
}

/* Our Team Section */
.team-section {
    background-color: #ffffff;
}

.team-bg-box {
    background: linear-gradient(to bottom, #2076B9, #0E3553);
    border-radius: 24px;
    padding: 80px 60px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.profile-card {
    color: #ffffff !important;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-img-wrapper {
    position: relative;
    border-radius: 4px;
    background-color: #0E3553;
}

.profile-img {
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.profile-card:hover .profile-img {
    filter: grayscale(0%);
}

.linkedin-icon-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #2076B9;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.linkedin-icon-overlay:hover {
    background-color: #0077b5;
    /* LinkedIn signature blue */
}

.profile-card:hover .linkedin-icon-overlay {
    opacity: 1;
    transform: translateY(0);
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s ease;
}

.profile-card:hover .profile-name {
    color: #D5D92F;
    /* Yellow brand accent */
}

.profile-role {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

@media (max-width: 991px) {
    .team-bg-box {
        padding: 50px 30px;
    }

    .profile-name {
        font-size: 16px;
    }
}

/* Custom Dropdown Styling */
.dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    font-size: 14.5px;
    font-weight: 500;
    color: #021C37;
    padding: 10px 20px;
    transition: color 0.2s ease;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: transparent !important;
    color: #2076B9 !important;
}

/* Custom Dropdown Toggle for Non-Bootstrap mobile dropdowns */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        display: none;
    }

    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
}

/* ==========================================================================
   Careers Page Custom Hero & Slider Styles
   ========================================================================== */

.career-hero-section {
    background-color: #1C5996;
    border-radius: 0;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.career-hero-section .career-icon {
    position: relative;
    z-index: 10;
}

.career-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/careers/career-bg-pattern.png');
    background-repeat: repeat;
    background-size: contain;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.career-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/breadcrumb-gradient.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}

.btn-career-explore {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff !important;
    font-weight: 550;
    font-size: 18px;
    padding: 12px 52px 12px 32px;
    min-height: 52px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1.5px solid #ffffff;
    box-sizing: border-box;
}

.btn-career-explore:hover {
    background-color: #ffffff;
    color: #02529C !important;
    transform: translateY(-2px);
}

.btn-career-explore .arrow-circle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #D5D92F;
    border-radius: 50%;
    color: #1E1E1E;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-career-explore:hover .arrow-circle {
    background-color: #e5eb2a;
}

.btn-career-explore .arrow-circle i {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.btn-career-explore:hover .arrow-circle i {
    transform: rotate(90deg);
}

.btn-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff !important;
    font-weight: 550;
    font-size: 18px;
    padding: 12px 32px;
    min-height: 52px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1.5px solid #ffffff;
    box-sizing: border-box;
}

.btn-join:hover {
    background-color: #ffffff;
    color: #02529C !important;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .career-icon {
        display: none !important;
    }

    .btn-career-explore,
    .btn-join {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        font-size: 18px !important;
    }
}

/* Swiper slider continuous autoplay marquee */
.career-swiper {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
}

.career-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.career-swiper .swiper-slide {
    width: auto !important;
}

.career-swiper-img {
    height: 260px;
    width: auto;
    max-width: none !important;
    object-fit: cover;
    border-radius: 10px;
}

/* Accordion Apply Button */
.btn-career-apply {
    display: inline-flex;
    align-items: center;
    background-color: #02529C;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}

.btn-career-apply:hover {
    background-color: #021C37;
    transform: translateY(-2px);
}

.btn-career-apply .arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #D5D92F;
    border-radius: 50%;
    margin-left: 14px;
    color: #1E1E1E;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-career-apply:hover .arrow-circle {
    background-color: #e5eb2a;
}

.btn-career-apply .arrow-circle i {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.btn-career-apply:hover .arrow-circle i {
    transform: rotate(90deg);
}

/* Bottom Gallery Swiper Styles */
.career-gallery-swiper .swiper-wrapper {
    transition-timing-function: ease-out;
}

.career-gallery-swiper .swiper-slide {
    width: auto !important;
}

.career-gallery-img {
    height: 380px;
    width: auto;
    max-width: none !important;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (min-width: 1200px) {
    .career-gallery-img {
        height: 480px;
    }
}

.career-gallery-img:hover {
    transform: scale(1.02);
}

/* Lightbox Popup Overlay Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 28, 55, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.show {
    opacity: 1;
}

.lightbox-content-wrapper {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content-wrapper img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.show .lightbox-content-wrapper img {
    transform: scale(1);
}

/* Lightbox Navigation Buttons */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10010;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #D5D92F;
}

.lightbox-close {
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 32px;
}

.lightbox-prev {
    left: 40px;
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.lightbox-next {
    right: 40px;
    width: 60px;
    height: 60px;
    font-size: 24px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .lightbox-next {
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .career-gallery-img {
        height: 250px;
    }
}

/* ==========================================
   Checklist Item Interactive Hover Effects
   ========================================== */
.checklist-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 10px;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
}

.checklist-item:hover {
    background-color: rgba(2, 82, 156, 0.06) !important;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(2, 82, 156, 0.08);
}

.checklist-item .check-icon,
.checklist-item span:first-child {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.checklist-item:hover .check-icon,
.checklist-item:hover span:first-child {
    transform: scale(1.2);
    color: #02529C !important;
}

.checklist-item .check-text,
.checklist-item span:last-child {
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.checklist-item:hover .check-text,
.checklist-item:hover span:last-child {
    color: #021C37 !important;
    font-weight: 700 !important;
}

/* Universal Scroll Reveal & Popup Animation Effects */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays for cascading popup reveals */
.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

/* Rich Text Editor Frontend Rendering Styles */
.rich-text-content strong,
.rich-text-content b {
    font-weight: 700 !important;
}

.rich-text-content em,
.rich-text-content i {
    font-style: italic !important;
}

.rich-text-content s,
.rich-text-content strike {
    text-decoration: line-through !important;
}

.rich-text-content u {
    text-decoration: underline !important;
}

.rich-text-content h1 {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: #021c37 !important;
}

.rich-text-content h2 {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
    font-weight: 700 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    color: #021c37 !important;
}

.rich-text-content h3 {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
    font-weight: 700 !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    color: #021c37 !important;
}

.rich-text-content ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.rich-text-content ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.rich-text-content li {
    margin-bottom: 0.25rem !important;
}

.rich-text-content blockquote {
    border-left: 4px solid #2076b9 !important;
    padding-left: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    font-style: italic !important;
    color: #4b5563 !important;
}

.rich-text-content p {
    margin-bottom: 1rem !important;
}

.rich-text-content p:last-child {
    margin-bottom: 0 !important;
}