@font-face {
    font-family: 'reppy-semibold';
    src: url('/fonts/reppy-semibold.woff2') format('woff2'), url('/fonts/reppy-semibold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'reppy';
    src: url('/fonts/reppy-Regular.woff2') format('woff2'), url('/fonts/reppy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.fs-7 {
    font-size: 0.85rem !important;
}

.daylight {
    color: #B4B8D9;
}

.purpleDot {
    color: #7226E1;
}

body {
    font-family: reppy;
}

.btn-secondary {
    color:#ffffff;
}

.link-unstyled, .link-unstyled:link, .link-unstyled:visited {
    color: inherit;
    text-decoration: inherit;
}

/* Gradient Background */
.gradient-background {
    background: rgb(228,96,228);
    background: linear-gradient(106deg, rgba(228,96,228,0.05) 0%, rgba(188,247,212,0.18) 47%, rgba(167,89,255,0.1) 100%);
    min-height: 100vh;
}

.gradient-text {
    background: linear-gradient(to bottom, rgba(114, 38, 225, 1) 0%, rgba(180, 40, 158, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main {
    background-color: white;
    border-radius: 21px;
    padding: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
}

footer {   
    overflow: hidden;
}

.footer-bubble {
    z-index: -1;
    transform-origin: 50% 0;
    object-fit: fill;
    flex-direction: column;
    align-items: stretch;
    display: block;
    position: relative;
}

.footer-image {
    object-fit: fill;
    transform-style: preserve-3d;
    width: 100%;
    max-width: none;
    height: 8rem;
    transform: scale3d(1.2, 1, 1);
}

#footerContent {
    background-color: #7226E1;
    color: white;
    padding-bottom: 60px;
}

.nav-link {
    font-family: reppy-semibold;
}

.nav-item{    
    margin: 6px;
}

html {
  font-size: 14px;
}

#navItemContainer .btn {
    font-size: 18px;
}

#navItemContainer {
    background-color: #ffffff;
    font-size: 18px;
}
#navItemContainer.scrolled {
    background-color: #ffffff;
}

header.sticky-top {
    height: 58.75px;
    background-color: #ffffff;
    transition: height 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
}
header.sticky-top.scrolled {
    background-color: #ffffff;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff; /* Primary color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Make the navbar adapt to the header's height */
header .navbar {
    height: 100%; /* Matches the height of the header */
    display: flex;
    align-items: center; /* Center-align navbar items vertically */
    transition: height 0.3s ease;
}

/* Adjust the logo size proportionally */
header .navbar-brand img, #reppyIcon {
    max-height: 35px; /* Adjust logo size relative to navbar height */
    transition: max-height 0.3s ease;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.rounded42 {
    border-radius: 21px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

#contextMenu {
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    padding: 5px 0;
}

#contextMenu .dropdown-item {
    padding: 5px 10px;
    cursor: pointer;
}

#contextMenu .dropdown-item:hover {
    background-color: #f8f9fa;
}

@media (min-width: 992px) {
    /* Initial header styles */
    header.sticky-top {
        height: 125px; /* Initial height */
        background-color: transparent;
    }


    header.sticky-top.scrolled {
        height: 62.5px; 
        background-color: #ffffff;
    }

    .rounded42 {
        border-radius: 42px;
    }

    #navItemContainer, #navItemContainer.scrolled {
        background-color: transparent;
        font-size:16px;
    }

    #navItemContainer .btn {
        font-size: 16px;
    }

    header .navbar-brand img, #reppyIcon {
        max-height: 35px;
    }

    header .navbar-brand img.scrolled, #reppyIcon.scrolled {
        max-height: 30px;
    }

    main {
        border-radius: 42px;        
        padding: 24px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .footer-image {
        height: 15.4rem;
    }
    
    .industries-dropdown{
        min-width: 500px;
    }
}

.btn-tertiary {
    color: #7226E1; /* Text color matches border */
    background-color: #fff; /* White background */
    border-color: #7226E1; /* Border color */
    
}

    .btn-tertiary:hover {
        color: #fff; /* White text on hover */
        background-color: #8B57EC; /* Lighter purple background */
        border-color: #8149E6; /* Lighter border color */
    }

    .btn-check:focus + .btn-tertiary, .btn-tertiary:focus {
        color: #7226E1; /* Text color remains purple */
        background-color: #8B57EC; /* Lighter purple background */
        border-color: #8149E6; /* Matching lighter border */
        box-shadow: 0 0 0 0.25rem rgba(139, 87, 236, 0.5); /* RGBA updated for new lighter purple */
    }

    .btn-check:checked + .btn-tertiary,
    .btn-check:active + .btn-tertiary,
    .btn-tertiary:active,
    .btn-tertiary.active,
    .show > .btn-tertiary.dropdown-toggle {
        color: #fff; /* White text */
        background-color: #8149E6; /* Slightly darker than hover */
        border-color: #783EE1; /* Slightly darker border */
    }

        .btn-check:checked + .btn-tertiary:focus,
        .btn-check:active + .btn-tertiary:focus,
        .btn-tertiary:active:focus,
        .btn-tertiary.active:focus,
        .show > .btn-tertiary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(129, 73, 230, 0.5); /* RGBA matches darker hover variant */
        }

    .btn-tertiary:disabled,
    .btn-tertiary.disabled {
        color: #7226E1; /* Text remains purple */
        background-color: #fff; /* Disabled buttons retain white background */
        border-color: #7226E1; /* Border color remains */
    }

/* General Dropdown Menu Styling for Desktop */
.reppy-dropdown {
    border-radius: 30px; /* Rounded corners */
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 8px 0; /* Add padding around items */
    margin: 0; /* Remove default margin */
    width: 350px; /* Dropdown width for desktop */
    border: none; /* Remove outline or border */
    position: relative; /* Ensures precise control */
}

/* Dropdown Item Styling */
.dropdown-item {
    display: flex; /* Flexbox layout for image and text */
    align-items: center; /* Vertically align items */
    padding: 12px 12px;
    gap: 12px; /* Space between image and text */
}

    .dropdown-item img {
        width: 40px;
        height: 40px;
        flex-shrink: 0; /* Prevent image from shrinking */
    }

    .dropdown-item div {
        display: flex;
        flex-direction: column; /* Stack heading and description vertically */
    }

    .dropdown-item strong {
        font-size: 1rem; /* Heading font size */
        color: #000; /* Black heading text */
        margin-bottom: 4px; /* Space between heading and description */
    }

    .dropdown-item small {
        font-size: 0.875rem; /* Description font size */
        color: #6c757d; /* Muted color for description */
    }

.dropdown-item {
    transition: all 0.1s ease-in-out;
    position: relative;

}

    .dropdown-item:hover {
        background-color: rgba(240, 239, 245, 0.5);
        border-radius: 10px; /* Rounded corners on hover */
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05); /* Adjust shadow size */
        transform: scale(1.01); /* Slightly enlarges the item without shifting */
    }



/* Divider Between Items - Mobile View */
.dropdown-item-container {
    border-bottom: 1px solid #ddd; /* Divider between items */
}

    .dropdown-item-container:last-child {
        border-bottom: none; /* Remove last item divider */
    }

/* Desktop-specific adjustment for dropdown position */
@media (min-width: 992px) {
    .reppy-dropdown[data-bs-popper] {
        top: 45px; /* Move dropdown slightly lower */
    }
    .industries-dropdown[data-bs-popper]{
        left: -150px;
    }    
  
}

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .reppy-dropdown {
        position: static; /* Inline with navigation bar */
        border-radius: 0; /* Remove rounded corners */
        box-shadow: none; /* Remove shadow */
        background-color: transparent; /* Match navbar background */
        width: 100%; /* Full width for mobile */
    }

    #signInBtn, #registerBtn, #signOutBtn {
        width: 92%;
        margin-left: 4%;
        margin-right: 4%;
    }

    .dropdown-item-container {
        border-bottom: 1px solid #ddd; /* Keep dividers on mobile */
    }

    .dropdown-item {
        padding: 10px 0; /* Adjust padding for mobile */
    }

        .dropdown-item img {
            width: 36px;
            height: 36px; /* Smaller image size */
        }

        .dropdown-item div {
            margin-left: 4px; /* Space between image and text */
        }
}

@media (max-width: 991px) {
    /* Existing reppy-dropdown styles remain for Solutions dropdown */

    /* Industries Dropdown: reduce top/bottom padding */
    .industries-dropdown .dropdown-item {
        padding: 5px 0; /* Less vertical padding than Solutions */
        font-size: 0.75rem; /* Smaller text for mobile */
        display: flex;
        align-items: center;
        gap: 6px; /* Adjust as needed */
    }
        /* Make sure the container holding the heading is also centered */
        .industries-dropdown .dropdown-item div {
            display: flex;
            align-items: center;
        }

        /* (Optional) Adjust the icon size for mobile if desired */
        .industries-dropdown .dropdown-item img {
            width: 32px;
            height: 32px;
        }
        /* Adjust icon size for better spacing */
        .industries-dropdown .dropdown-item img {
            width: 30px; /* Reduce icon size */
            height: 30px;
        }
}

/* Styles for Facebook */
.btn-facebook {
    background-color: #1877F2;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
}

/* Styles for Google */
.btn-google {
    background-color: white;
    color: #757575;
    border: 1px solid #DADCE0;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;    
}

.provider-logo {
    height: 20px;
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
}


/* Styles for Microsoft */
.btn-microsoft {
    background-color: #F25022;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
}

       