
/* Define color scheme variables at root level */
:root {
    --gc-primary-blue: #0072DE;
    --gc-secondary-blue: #009CF5;
    --gc-tertiary-blue: #2044BF;
    --gc-accent-blue: #00E6FF;
    --gc-dark-blue: #052473;

    --gc-black: #272C31;
    --gc-grey-text: #626F7C;
    --gc-grey700: #818B96;
    --gc-grey600: #B0B7DB;
    --gc-grey400: #D7D7DA;
}

body {
    font-size: 16px; 
    font-family: 'Montserrat', sans-serif; 
    background-color: white;
}

/* Media query for desktop */
@media (min-width: 768px) {
    body {
        font-size: 16px; /* Font size for desktop */
    }
}

/* For testing */
.gc-bg-primary {
    background-color: var(--gc-primary-blue);
}
.gc-bg-secondary {
    background-color: var(--gc-secondary-blue);
}
.gc-bg-tertiary {
    background-color: var(--gc-tertiary-blue);
}
.gc-bg-accent-blue {
    background-color: var(--gc-accent-blue);
}
.gc-bg-dark-blue {
    background-color: var(--gc-dark-blue);
}
.gc-bg-black {
    background-color: var(--gc-black);
}
.gc-bg-grey-text {
    background-color: var(--gc-grey-text);
}
.gc-bg-grey700 {
    background-color: var(--gc-grey700);
}
.gc-bg-grey600 {
    background-color: var(--gc-grey600);
}
.gc-bg-grey400 {
    background-color: var(--gc-grey400);
}


.gc-primary {
    color: var(--gc-primary-blue);
}
.gc-secondary {
    color: var(--gc-secondary-blue);
}
.gc-tertiary {
    color: var(--gc-tertiary-blue);
}
.gc-accent-blue {
    color: var(--gc-accent-blue);
}
.gc-dark-blue {
    color: var(--gc-dark-blue);
}
.gc-black {
    color: var(--gc-black);
}
.gc-grey-text {
    color: var(--gc-grey-text);
}
.gc-grey700 {
    color: var(--gc-grey700);
}
.gc-grey600 {
    color: var(--gc-grey600);
}
.gc-grey400 {
    color: var(--gc-grey400);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.top-bar {
    height: 20px;
    /*background: linear-gradient(90deg, var(--gc-tertiary-blue), var(--gc-accent-blue));*/
    background-image: linear-gradient(90deg, rgba(32, 68, 191, 1) 0%, rgba(0, 156, 245, 1) 50%, rgba(0, 245, 241, 1) 100%);
}

#brand {
    min-height: 60px;
    height: 60px;
    user-select: none; /* Prevent text selection */
    -webkit-user-drag: none; /* Disable dragging in WebKit browsers */
    pointer-events: none; /* Ignore pointer events */
}


.logout-class {
    height: 50px !important;
    min-height: 50px;
}

/* Customize the dropdown for different screen sizes */
.dropdown-menu {
    border-radius: 12px;
    background-color: #6f6f6f;
    border: none;
    padding: 15px;
    max-height: 80vh; /* Max height of 80% of the viewport */
    overflow-y: auto; /* Enable vertical scrolling within the dropdown */
}


@media (min-width: 576px) { /* Extra small screens */
    .dropdown-products {
        width: 300px;
    }
}

@media (min-width: 768px) { /* Small screens (tablets) */
    .dropdown-products {
        width: 475px;
    }
}

@media (min-width: 992px) { /* Medium screens (desktops) */
    .dropdown-products {
        width: 475px; 
    }
}

@media (min-width: 1200px) { /* Large screens (large desktops) */
    .dropdown-products {
        width: 475px;
    }
}

@media (min-width: 1400px) { /* Extra-large screens */
    .dropdown-products {
        width: 500px; 
    }
}

.main-nav-item {
    --bs-nav-link-hover-color: var(--gc-secondary-blue);
}
.main-nav-item:hover {
    font-weight: bold;
}

#navbarNav ul li {
    font-size: 18px;
}

#navbarNav ul li a {
    font-size: 18px;
}

/* Hover effect for product cards */
.dropdown-item:hover {
    background-color: #e6f0ff; /* Light blue on hover */
}

/* Ensure that text wraps inside the dropdown items */
.dropdown-item strong {
    white-space: normal;
    word-wrap: break-word; /* Ensure text wraps */
}

.dropdown-item p {
    white-space: normal;
    word-wrap: break-word;
}

/* Style each dropdown item */
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    flex-wrap: wrap; /* Allow wrapping */
    overflow: hidden; /* Prevent overflow */
    text-overflow: ellipsis; /* Add ellipsis if the text is too long */
}


.dropdown-item:hover {
    background-color: #e6f0ff;
}

/* Icon and text alignment */
.dropdown-item i {
    font-size: 24px;
    margin-right: 10px;
    color: #0072DE;
    flex-shrink: 0; /* Ensure the icon doesn't shrink when text wraps */
}

.dropdown-item strong {
    font-size: 16px;
    display: block;
    white-space: normal; /* Ensure text wraps */
    word-wrap: break-word; /* Allow breaking words if necessary */
    flex-grow: 1; /* Ensure text takes the remaining space */
}

.dropdown-item p {
    font-size: 12px;
    margin: 0;
    color: #666;
    white-space: normal; /* Ensure text wraps */
    word-wrap: break-word; /* Ensure words break as needed */
}

/* Ensure responsive behavior */
@media (max-width: 768px) {
    .dropdown-products {
        min-width: 100%; /* Make the dropdown take full width on mobile */
        grid-template-columns: 1fr; /* Stack items in a single column on mobile */
        max-height: 70vh; /* Adjust max height for smaller screens */
        overflow-x: auto; /* Add horizontal scrollbar on mobile if needed */
    }
}

@media only screen and (max-width: 574px) {
    .footer-top {
        text-align: center;
    }
}

a:hover {
    color: rgb(255, 166, 0);
}

footer .footer-top {
    background: linear-gradient(90deg, var(--gc-dark-blue), var(--gc-tertiary-blue));
}

footer .footer-bottom {
    background-color: var(--gc-dark-blue); /* Dark background for footer */
}

footer .footer-bottom {
    border-top-width: 1px;
    border-top-style: solid;
}

/* Custom styles for the footer */
footer .social-links a {
    font-size: 20px;
}

footer h5 {
    font-size: 24px;
}

footer a {
    text-decoration: none;
    color: white;
}

/* Adjust image size in footer */
footer img {
    max-width: 160px;
}


.whatsappbox {
    width: 50px;
    height: 50px;
    text-indent: -9999px;
    background-image: url('../images/whatsapp_icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
    position: fixed;
    bottom: 5%;
    right: 20px;
    z-index: 1000;
}
