@font-face {
    font-family: Avenir;
    src: url(/fonts/avenir/AvenirLTStd-Roman.otf);
}
@font-face {
    font-family: Avenir-Black;
    src: url(/fonts/avenir/AvenirLTStd-Black.otf);
}
@font-face {
    font-family: Avenir-Medium;
    src: url(/fonts/avenir/AvenirLTStd-Medium.otf);
}
@font-face {
    font-family: Avenir-Book;
    src: url(/fonts/avenir/AvenirLTStd-Book.otf);
}
@font-face {
    font-family: segoeui;
    src: url(/fonts/segoe/segoeuigis.ttf);
}
@font-face {
    font-family: "segoe-bold";
    src: url("/fonts/segoe/Segoe UI Bold.woff") format("woff");
    font-style: normal;
}

:root {
    --font-default: Avenir;
    --font-light: Avenir;
    --font-book: Avenir-Book;
    --font-heavy: segoe-bold;
    --font-medium: Avenir-Medium;
    --color-primary: #e50914;
}
html,
body {
    font-family: var(--font-default);
    background-color: #000000;
    color: #ffffff;
}


* {
    box-sizing: border-box;
}

.color-teritiary {
    color: #898989;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

.option-wrapper {

    display: flex;
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    width: 100%;
}

.option-wrapper a {
    background: #3E3E3E;
    padding: 5px 7px;
    border-radius: 15px;
    font-size: larger;
}

.option-wrapper a:hover {
    background: #252525;
    padding: 5px 7px;
    border-radius: 15px;
    cursor: pointer;
}

.option-selected {
    background: white !important;
    color: #252525 !important;
}

.location-select {
    opacity: 1;
    padding: 5px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #0000001A;
    border-radius: 17px;
    border: 1px solid #f0f4f4;
    padding: 5px;
}

.filter-container {
    opacity: 1;
    padding: 5px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #0000001A;
    border-radius: 17px;
    border: 1px solid #f0f4f4;

}

#filterToggleBtn:focus {
    outline: none;
}


.slide {
    position: absolute;
    top: 0;
    height: 4px;
    background: #747474;
    left: 9px;
    right: px;
}

.slider-div {
    opacity: 1;
    padding: 5px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #0000001A;
    border-radius: 17px;
    border: 1px solid #f0f4f4;
    padding: 5px;
}

.range-slide {
    position: relative;
    height: 4px;
    width: 100%;
}

.line-slider {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background-color: #BF2828;
}

.thumb {
    position: absolute;
    z-index: 2;
    text-align: left;
    border: 1px solid #BF2828;
    background-color: #BF2828;
    border-radius: 50%;
    outline: none;
    top: -7px;
    height: 18px;
    width: 18px;
    margin-left: -9px;
}

.filter-container input {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    pointer-events: none;
    z-index: 3;
    height: 3px;
    top: 0;
    width: 100%;
    opacity: 0;
    margin: 0;
}

.filter-container input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: all;
    border-radius: 50%;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.rangeText-div {
    margin: 10px;
    display: flex;
    justify-content: space-between;
}

.button-secondary {
    color: #BF2828;
    border: 1px solid #BF2828;
    background: #1C1C1F;
    border-radius: 13px;
}

.button-secondary:hover {
    color: #1C1C1F;
    border: 1px solid #1C1C1F;
    background: #BF2828;
}

.filter-h {
    min-height: 56px;
}

.filter-container {
    position: relative;
    z-index: 1;
}

#qualificationSelect {
    position: relative;
    z-index: 2;
}

.filter-h {
    overflow: visible !important;
}

.col-6,
.col-lg-3 {
    overflow: visible;
}

/* Responsive filter improvements */
@media only screen and (max-width: 600px) {
    .filter-h {
        min-height: 48px;
    }
    
    .filter-select {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .rangeText-div {
        font-size: 13px;
    }
    
    .color-teritiary {
        font-size: 14px;
    }
}

.highlight-box {
    animation: pulseHighlight 1.5s infinite;
    transition: transform 0.3s ease;
}

.row-gap {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
}

@keyframes pulseHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(190, 220, 121, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: none !important;
}


.select2-container .select2-dropdown {
    background-color: #ffffff;
    color: black;
}

.select2-container .select2-results__option {
    color: black;
}

.select2-container .select2-results__option--highlighted[aria-selected] {
    background-color: #e0e0e0;
    color: black;
}

.select2-container .select2-search--dropdown .select2-search__field {
    border: none;
    background-color: #ffffff;
    color: black;
    outline: none;
}

.select2-container .select2-search--dropdown .select2-search__field:focus {
    outline: none;
}

.select2-container--default .select2-results__option[aria-selected='true'] {
    background-color: #cccccc;
    color: black;
}

/* Filter Section Toggle Styles */
.filter-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    margin-top: 0;
}

.filter-section.show {
    max-height: 1000px;
    opacity: 1;
    margin-top: 2rem;
}

.filter-toggle-btn {
    background: #BF2828;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 6px rgba(191, 40, 40, 0.3);
}

.filter-toggle-btn:hover {
    background: #a02222;
    transform: translateY(-2px);
    box-shadow: 0px 5px 10px rgba(191, 40, 40, 0.4);
}

.filter-toggle-btn:active {
    transform: translateY(0);
}

.filter-toggle-btn::after {
    content: "▼";
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.filter-toggle-btn.active::after {
    transform: rotate(180deg);
}

button {
    cursor: pointer;
}

.filter-icon{
    width: 24px;
    height: 24px;
    background-image: url('../public/icons/filter-button.svg');
    background-size: contain;
    background-repeat: no-repeat;
}



/* colors */
.color-primary {
    color: var(--color-primary);
}

.font-weight-heavy {
    font-family: var(--font-heavy);
}

.row-fix {
    margin-left: 0;
    margin-right: 0;
}

/* -- navbar -- */
header {
    margin-bottom: 2rem;
}
.nav-bar {
    font-family: var(--font-heavy);
    position: fixed;
    top: 0;
    background-color: #000000;
    padding: 0.5rem;

    z-index: 2000;
}
@media only screen and (max-width: 600px) {
    .header-logo img {
        width: 132px;
        height: auto;
    }
}
/* .active {
    backdrop-filter: blur(10px);
} */
.active {
    background: rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .active {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

/* hamburger menu */

/* -- title section --  */
@media only screen and (max-width: 600px) {
    .statistics-container {
        flex-direction: column-reverse;
    }
}
.title-section h2 {
    font-family: var(--font-heavy);
    font-size: 40px;
}
.title-section p {
    font-size: 20px;
    font-family: var(--font-medium);
}

img {
    pointer-events: none;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
}
.truncate-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
/* -- placed students stat card --  */
.card-stat {
    background: #3e3e3e;
    color: white;
    border-radius: 16px;
}

.card-stat__count {
    margin-top: -0.9rem;
    font-size: 52px;
    font-family: var(--font-heavy);
}

.card-stat__text {
    font-family: var(--font-light);
    font-size: 15px;
}
.card-stat__amount {
    font-size: 24px;
    font-family: var(--font-heavy);
}
.card-stat--small {
    font-size: 15px;
    font-family: var(--font-default);
}
.student-background span {
    font-size: 20px;
    display: block;
    font-family: var(--font-heavy);
}
.student-background p {
    font-size: 10px;
}

/* Card grid */

.alumini-card-grid {
    display: grid;
    /* fit as 2 columns , 50% width wide each: */
    grid-template-columns: repeat(5, 1fr);
    /* each row is 20px high -- we always span 2+ */
    grid-row-gap: 16px;
    grid-auto-rows: 20px;
    justify-content: center;
    transition: 0.8s;
}

/* 2XL screens - Extra large displays (1536px and above) */
@media only screen and (min-width: 1536px) {
    .alumini-card-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        max-width: 1920px;
        margin: 0 auto;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .alumini-details {
        font-size: 18px !important;
    }
    
    .details-1__primary {
        font-size: 20px;
    }
    
    .details-1__secondary {
        font-size: 16px;
    }
    
    .grid-container {
        min-height: 240px;
    }
    
    .grid-item__image {
        min-height: 240px;
        max-height: 350px;
    }
    
    .alumini-card-grid > * {
        margin: 12px;
    }
    
    .filter-section {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* card grid responsive breakpoints */

/* Tablet - Medium screens */
@media only screen and (max-width: 992px) and (min-width: 769px) {
    .alumini-card-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 16px;
        grid-row-gap: 16px;
    }
    
    .alumini-details {
        font-size: 15px !important;
    }
    
    .details-1__primary {
        font-size: 18px;
    }
    
    .details-1__secondary {
        font-size: 13px;
    }
}

/* Tablet - Small screens */
@media only screen and (max-width: 768px) and (min-width: 601px) {
    .alumini-card-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 14px;
        grid-row-gap: 12px;
    }
    
    .alumini-details {
        font-size: 14px !important;
    }
    
    .details-1__primary {
        font-size: 16px;
    }
    
    .details-1__secondary {
        font-size: 12px;
    }
}

/* Mobile - Small screens */
@media only screen and (max-width: 600px) {
    .alumini-card-grid {
        display: grid;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 20px;
        justify-content: center;
        transition: 0.8s;
    }
    
    .alumini-card-grid > * {
        margin: 5px;
    }
    
    .alumini-details {
        font-size: 13px !important;
        margin-top: 0.5rem !important;
    }
    
    .details-1__primary {
        font-size: 14px;
        width: 100% !important;
    }
    
    .details-1__secondary {
        font-size: 11px;
    }
    
    .grid-item__image {
        height: auto !important;
        max-height: 200px;
        object-fit: cover;
    }
    
    .grid-item__details-2 {
        font-size: 13px;
        font-family: var(--font-medium);
    }
    
    .see-company-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Mobile - Extra small screens */
@media only screen and (max-width: 400px) {
    .alumini-card-grid {
        grid-column-gap: 8px;
        grid-row-gap: 8px;
    }
    
    .alumini-card-grid > * {
        margin: 4px;
    }
    
    .alumini-details {
        font-size: 12px !important;
    }
    
    .details-1__primary {
        font-size: 13px;
    }
    
    .details-1__secondary {
        font-size: 10px;
    }
}

/* Very small screens - Single column (below 360px) */
@media only screen and (max-width: 360px) {
    .alumini-card-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 12px;
        grid-row-gap: 12px;
    }
    
    .alumini-card-grid > * {
        margin: 8px 0;
    }
    
    .grid-container {
        min-height: 580px;
    }
    
    .grid-item__image {
        min-height: 380px;
        max-height: 520px;
    }
    
    .alumini-details {
        font-size: 13px !important;
        margin-top: 0.75rem !important;
    }
    
    .details-1__primary {
        font-size: 15px;
    }
    
    .details-1__secondary {
        font-size: 12px;
    }
}
.alumini-card-grid > * {
    /* width: 100%; */
    /* only for older non-grid browsers: */
    float: left;
    /* only for older non-grid browsers: */
    margin: 10px;
}

/* Responsive grid item margins */
@media only screen and (max-width: 992px) {
    .alumini-card-grid > * {
        margin: 8px;
    }
}

@media only screen and (max-width: 600px) {
    .alumini-card-grid > * {
        margin: 5px;
    }
}

.card-grid__header {
    font-family: var(--font-medium);
    font-size: 43px;
    line-height: 22px;
}
.card-grid__header sub {
    font-family: var(--font-book);
    font-size: 15px;
    top: 14px;
}
.alumini-grid-item {
    height: auto;
    grid-row-end: span 12;
}
.first-grid {
    grid-row-end: span 3;
}
.grid-container {
    position: relative;
    display: inline-block;
    width: 100%;
    min-height: 200px;
}

/* 2XL screens - Grid container adjustments */
@media only screen and (min-width: 1536px) {
    .grid-container {
        min-height: 240px;
    }
}

.alumini-details {
    font-family: var(--font-medium);
    font-size: 17px;
    margin-top: 1rem !important;
    padding-top: 0.5rem;
    clear: both;
}

.content {
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.grid-item__image {
    border-radius: 14px;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

/* Responsive image heights */
@media only screen and (max-width: 992px) {
    .grid-container {
        min-height: 180px;
    }
    
    .grid-item__image {
        height: auto;
        min-height: 180px;
        max-height: 220px;
    }
    
    .alumini-details {
        margin-top: 0.75rem !important;
        padding-top: 0.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .grid-container {
        min-height: 150px;
    }
    
    .grid-item__image {
        min-height: 150px;
        max-height: 180px;
    }
    
    .alumini-details {
        margin-top: 0.5rem !important;
        padding-top: 0.25rem;
    }
}

@media only screen and (max-width: 400px) {
    .grid-container {
        min-height: 180px;
    }
    
    .grid-item__image {
        min-height: 180px;
        max-height: 220px;
    }
}

@media only screen and (max-width: 360px) {
    .grid-container {
        min-height: 320px;
    }
    
    .grid-item__image {
        min-height: 320px;
        max-height: 420px;
    }
    
    .alumini-details {
        margin-top: 1rem !important;
        font-size: 14px !important;
    }
    
    .details-1__primary {
        font-size: 16px;
    }
    
    .details-1__secondary {
        font-size: 13px;
    }
}
.grid-item__details-1 {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 84%, rgba(0, 0, 0, 1) 100%);
    border-radius: 14px;
    font-family: var(--font-book);
    color: white;
    position: absolute;
    font-size: 22px;
    width: 100%;
    top: 65%;
    padding-top: 18%;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding-left: 0.5rem;
    /* left: 4%
    
    /* left: 4%; */
}
.details-1__secondary {
    font-size: 15px;
}
.grid-item__details-2 {
    font-size: 15px;
    font-family: var(--font-medium);
}

.social-div {
    width: 90%;
}
.social-link {
    width: 48%;
    border-radius: 15px;
    border: 0.8px solid #707070;
}
.grid-sizer {
    width: 50%;
}
.grid-item--height2 {
    height: 140px;
}

.parent-org {
    color: #bac8c8;
    font-family: var(--font-light);
    font-size: 12px;
}

/* pagination  */

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    margin: 1.5px;
}

.pagination a.active {
    background-color: #37e0c6;
    color: white;
    border-radius: 50%;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 50%;
}

footer a {
    color: #e50b18;
}

.alumni-text {
    margin-top: -0.9rem;
    font-size: 40px;
    font-family: var(--font-heavy);
}

.description-text {
    font-size: px;
}

.see-company-btn {
    background-color: #3e3e3e;
    color: white;
    width: 100%;
    height: 27px;
    /* max-width: 360px; */
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    text-align: center;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .see-company-btn {
        max-width: 360px;
        margin: 0 auto;
    }
}

.see-company-btn:hover {
    background-color: #5a5a5a;
}
/* Overlay with fade-in transition */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* prevent click when hidden */
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Dialog with fade + scale transition */
.placement-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    font-size: 14px;
    width: max-content;
    color: #000000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.placement-dialog.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.d-none {
    display: none;
}


