body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif, arial;
}

* {
    font-family: sans-serif;
}
/* 
.logo-img {
    position: absolute ;
    left: 20px;
    height: clamp(1rem, 1.7vw, 2.7rem);
    margin-top: -14px;
    margin-left: 1.6rem;
}

.help {
    position: absolute;
    right: 3rem;
    height: 1.8rem;
    font-size: clamp(0.9rem, 1.15vw, 1.1rem);
    font-weight: bold;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #ffffff;
    color: #002677;
    padding: 4px 20px;
    box-shadow: 0 4px 35px 0 rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.19)
}

.heading {
    margin: 0;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    color: #002677;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
} */

.header {
    width: 100%;
    background-color: #fff;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    flex-wrap: wrap;
}
.logo-container {
    flex: 1 1 9.375rem;
    min-width: 6.25rem;
}
.logo-img {
    height: clamp(1rem, 1.5vw,1.6rem);
    width: auto;
}
.heading-container {
    flex: 2 1 18.75rem;
    text-align: center;
}
.heading {
    font-size: clamp(1.2rem, 2.0vw, 1.6rem);
    font-weight: bold;
    color: #002677;
}
.actions-container {
    flex: 1 1 9.375rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.3125rem;
    min-width: 7.5rem;
}
.help {
    text-decoration: none;
    padding: 0.3125rem;
}
.help b {
    font-weight: 600;
}
.separator {
    color: #666;
}

@media (max-width: 48rem) {
    .header-container {
        padding: 0.5rem 0.9375rem;
    }
    .logo-img {
        max-height: 2.5rem;
    }
}

@media (max-width: 36rem) {
    .header-container {
        justify-content: center;
    }
    .logo-container, .heading-container, .actions-container {
        flex: 0 0 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 0.3125rem;
    }
}

.small_design-ribbon{
    background-color: #D9F6FA;
    height : 6px;
} 

.navbar {
    padding: 0px;
    /* box-shadow: 0px 4px 6px #0000001a; */
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.19)

}
.nav-item {
    padding: 0px 3px;
}   
.feeback-link {
    color: black;
    cursor: pointer;
    text-decoration: none;
}
.feeback-link:hover {
    text-decoration: underline;
}
.custom-bgcolor {
    background-color: #FAF8F2 !important;
}

.container-fluid {
    padding-left: 1.7rem;
}

.moto {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #dbffff;
    margin: 0rem 3rem 1.5rem;
}

.moto-text {
    font-size: clamp(1.2rem, 2.2vw, 2.2rem);
    font-weight: bolder;
    color: #002677;
    flex: 1;
    padding-right: 1rem;
    text-align: left;
    margin-top: 3.5rem;
    user-select: none;
    font-family: sans-serif;

}
.top-moto-text {
    display: block;
}
.bottom-moto-text {
    display: block;
}
.moto-image {
    user-select: none;

}

.moto-image img {
    width: clamp(10rem, 38vw, 38rem);
    height: auto;
    user-select: none;
    margin-top: 1.5rem;
}

.spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.feedback-link {
    transition: transform 0.4s ease-in-out;
    display: inline-block;
}

.feedback-link:active {
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    transform: translateY(1px);
}

.key-visualization {
    transition: transform 0.4s ease-in-out;
}

.key-visualization:active {
    /* transform: scale(0.9); */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    padding: 0;
    transition: transform 0.4s ease-in-out;
}


button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.arrow-up {
    transform: rotate(180deg);
}

.front {
    position: relative;
    width: clamp(13rem, 20.8vw, 40rem);
    height: clamp(3rem, 27vh, 6rem);
    border-radius: 0.7rem;
    background-color: #000080;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.back {
    position: relative;
    width: clamp(13rem, 20.8vw, 40rem);
    height: clamp(3rem, 27vh, 6rem);
    border-radius: 0.7rem;
    background-color: #FAF8F2;
    box-shadow: 0 4px 8px 0 #00000033, 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 45px 3px 10px;
}
.fold-clickable-back {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    pointer-events: none;
    user-select: none;
}
.fold-clickable-back {
    transition-duration: 0.3s;
    border-bottom: 28px solid #000080;
    border-right: 28px solid #e1e1e1;
    border-bottom-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
    cursor: pointer;
    pointer-events: auto;
}

.front-text {
    color: aliceblue;
    font-size: clamp(0.1rem, 1.2vw, 1.5rem);
    font-family: sans-serif;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
}

.back-text {
    color: #000080;
    /* margin: 15px 0; */
    font-size: clamp(0.7rem, 0.9vw, 1.6rem);
    font-family: sans-serif;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: sans-serif;

}

.fold-clickable-front {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    pointer-events: none;
    user-select: none;
}

.front:hover .fold-clickable-front {
    transition-duration: 0.2s;
    border-bottom: 28px solid #FAF8F2;
    border-right: 28px solid #e1e1e1;
    border-bottom-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
    cursor: pointer;
    pointer-events: auto;
}
.category {
    display: flex; 
    flex-direction: column;
}
.category-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1vw, 1rem);
    flex-direction: row;
    margin: -0.5rem 3rem 0;
    padding-bottom: 1rem;
    background-color: #dbffff;
}

.circle {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.up-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid black;
    position: absolute;
    transition: transform 0.3s;
    margin-top: -2px;
}
.down-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid black;
    position: absolute;
    transition: transform 0.3s;
    margin-top: 2px;
}
.circle.active .arrow {
    transform: rotate(180deg);
}

.drop-down-list-dash {
    transition: max-height 0.5s ease;
}


.dropdown-menu li {
    background-color: #FAF8F2;
    font-family: sans-serif;

}

.category-list-item {
    border: 1px solid black;
    font-family: sans-serif;
}

.dropdown-item:hover {
    background-color: #002677;
    color: white;
    font-weight: normal;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
}

.dropdown-item {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    padding: 0.1rem 0.5rem;
    line-height: 1.2;
}

.dropdown-inactive {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
    color: #6c757d;
}


.category-list-item {
    background-color: #FAF8F2;
    font-family: sans-serif;
    /* border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0; */
    cursor: pointer;
}



.category-list-item {
    /* text-decoration: underline;
    text-decoration-color: orange;
    text-decoration-thickness: 2px; */
    color: #002677;
    font-size: clamp(0.7rem, 0.95vw, 0.95rem);
        width: clamp(15rem, 20vw, 24.5rem);
    /* max-width: clamp(14rem, 20vw, 20rem);  */
}

.category-list-item:hover {
    text-decoration: underline;
    text-decoration-color: #FF612B;
    text-decoration-thickness: 0.15rem;
    color: #000080;
    font-size: clamp(0.7rem, 1.13vw, 1rem);
    font-weight: bold;
}

#send-button {
    background-color: #002677;
}

#send-button:hover {
    background-color: #0909ce;
}

#send-button:active {
    background-color: #0909ce;
    /* box-shadow: 0px 4px 10px rgba(0,0,0,0.2); */
    padding: 8px 15px;
    transition: transform 0.4s ease-in-out;
}

.list-group {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav-thing {
    color: #000000;
    font-size: clamp(0.8rem, 1.1vw, 1.1rem);
}

.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
    font-weight: bolder;
    color: #000080;
    text-align: center;
    width: 100%;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-family: sans-serif;
}

.modal-body {
    background-color: #f2f2f2;
}


/* .dots-container .dot:last-child {
    display: none;
} */

.feedback-label {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #000080;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
        
.hr-line {
    margin: 0.6rem;
    color: inherit;
    border: 0;
    /* border-top: var(--bs-border-width) solid; */
    opacity: .25;
}

.nav-items-style {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: bold;
    color: #000000;
}

   
.new-upcoming{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap; /* Prevent wrapping to keep items on same line */
    gap: clamp(1rem, 2vw, 2rem); /* Responsive gap */
    width: 100%; /* Take full width */
    max-width: 1450px; /* Reduced max width for better control */
    margin: 0 auto; /* Center the container */
    padding: 0 1rem; /* Use padding instead of large margins */
}

.whats-new-carousel, .upcoming-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid black;
    padding: 5px;
    border-radius: 14px;
    background-color: #FAF8F2;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 50%; /* Equal width */
    min-width: 0; /* Remove min-width to allow proper shrinking */
    max-width: none; /* Remove max-width constraint */
    flex: 1; /* Equal flex growth */
}

a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-family: sans-serif;

}

.bell-img, .calender-img {
    width: clamp(1rem, 8vh, 1.8rem);
    height: auto;
}

.carousel-container {
    display: flex;
    background-color: #ffffff;
    border: 1px solid black;
    border-radius: 10px;
    margin: 0rem 0.5rem;
    width: 95%; /* Control container width */
    position: relative; /* Enable absolute positioning of buttons */
}

/* Carousel Wrapper - Pure Flexbox Approach */
.carousel-upcoming, .carousel-whats-new {
    width: 100%;
    height: auto;
    min-height: clamp(9rem, 9vw, 10rem);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
}

/* Flexbox carousel track */
.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Box styles - Pure Flexbox approach */
.carousel-box {
    flex: 0 0 100%; /* Each box takes full width */
    min-height: clamp(8rem, 9vw, 12rem);
    max-height: 15rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    text-decoration: none;
    padding: 0.5rem;
    box-sizing: border-box;
    color: #333;
}

/* Buttons - Bootstrap-like styling */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

#left-btn {
    left: 10px;
}

#right-btn {
    right: 10px;
}

/* Show buttons on hover - Bootstrap behavior */
.carousel-container:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
}

.sub-heading-carousel {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    z-index: 1;
    color: #000080;
    text-decoration: underline;
    text-decoration-color: #FF612B;
    text-decoration-thickness: 0.15rem;
    user-select: none;

}

.sub-desc-carousel {
    color: #000080;
    text-align: left;
    color: black;
    font-weight: normal;
    user-select: none;
    font-size: clamp(0.8rem, 1vw, 1rem);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-height: 8rem; /* Limit description height */
    overflow: hidden; /* Hide overflow */
}

.sub-desc-carousel > div {
    flex: 1;
    max-height: 7rem;
    overflow-y: auto; /* Add scrollbar if needed */
    padding-right: 0.5rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    word-wrap: break-word;
    hyphens: auto;
}

/* Custom scrollbar for description */
.sub-desc-carousel > div::-webkit-scrollbar {
    width: 4px;
}

.sub-desc-carousel > div::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.sub-desc-carousel > div::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.sub-desc-carousel > div::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sub-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    user-select: none;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
}

.carousel-img{
    height: auto;
    width: clamp(3rem, 8vw, 5rem);
}

.cont-dashboards {
    display: flex; 
    justify-content: center; 
    margin: 2rem;
}

.dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    margin: -1.5rem 0 1rem;
}

.dot {
    width: 14px;
    height: 3px;
    margin: 0.3rem 5px;
    background-color: gray;
    transition: all 0.3s ease-in-out;
    user-select: none;
    cursor: pointer;
}

.dot.active {
    width: 14px;
    height: 5px;
    background-color: black;
    user-select: none;

}

.carousel-heading {
    /* display: flex; */
    font-size: clamp(1rem, 1.3vw, 1.4rem);;
    text-align: center;
    /* align-items: center; */
}

/* Media query to switch to stacked layout when viewport gets too narrow */
@media (max-width: 650px) { /* Lower breakpoint for smaller screens */
    .new-upcoming {
        flex-direction: column;
        gap: 2rem;
    }
    
    .whats-new-carousel, .upcoming-carousel {
        width: 100%; /* Full width when stacked */
        max-width: 600px; /* Still cap the maximum width */
    }

    /* Mobile optimizations for Flexbox carousel */
    .carousel-box {
        min-height: clamp(10rem, 12vw, 14rem);
        padding: 1rem;
    }

    .sub-desc-carousel {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sub-desc-carousel > div {
        max-height: 6rem;
        font-size: clamp(0.8rem, 3vw, 1rem);
    }

    .carousel-img {
        width: clamp(2rem, 6vw, 3rem);
        margin-top: 0.5rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .dot {
        width: 12px;
        height: 4px;
    }

    .dot.active {
        width: 12px;
        height: 6px;
    }
}









