/* =============================================================================
   FONTS
   ============================================================================= */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-variable-latin.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'PoppinsMedium';
    src: url('../fonts/PoppinsMedium.woff2') format('woff2');
}

@font-face {
    font-family: 'PoppinsBlack';
    src: url('../fonts/PoppinsBlack.ttf') format('truetype');
}


/* =============================================================================
   BASE / RESET
   ============================================================================= */

body {
    font-family: 'Poppins', 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

body[style*="padding-right"] {
    padding-right: 0 !important;
}


/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1 {
    font-family: 'PoppinsMedium', sans-serif;
    color: #C62424;
}

h3 {
    color: #8B1913;
}

h5 {
    color: var(--gray-600);
}

.page-heading {
    font-family: 'PoppinsBlack', sans-serif;
    font-size: 2.4rem;
}

@media (max-width: 778px) {
    .page-heading {
        line-height: 2.3rem;
        font-size: 2rem;
    }
}

.content {
    line-height: 2.5rem;
}


/* =============================================================================
   COLOR UTILITIES
   ============================================================================= */

.bg-aasandha-primary {
    background-color: #FFF3F3;
}

.bg-aasandha-secondary {
    background-color: #8B1913;
}

.bg-aasandha-tertiary {
    background-color: #F5F7FA;
}

.bg-aasandha-footer {
    background-color: #5B0E0E;
}

.bg-aasandha-app {
    background-color: #FBEEEE;
}

.bg-light-silver {
    background-color: #f5f7fa;
}

.bottom-gradient {
    background: linear-gradient(to bottom, #fff3f3 70%, #ffffff 100%);
}

.readmore, .contact {
    color: #C62424;
}

.readmore:hover {
    color: #8B1913;
}

.footer-secondary-text {
    color: #ffc4c4;
}

.cls-1 {
    fill: #8B1913;
}


/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

.w-30 {
    width: 320px;
}

.app-rounded {
    border-radius: 30px;
}

.mt-n5 {
    margin-top: -5rem !important;
}

@media (max-width: 576px) {
    .mt-n5 {
        margin-top: -3.5rem !important;
    }
}

.article-card-content-wrapper {
    display: block;
}

.article-card-img-wrapper {
    background: rgb(196, 196, 196); height: 250px;
}

.article-card-text-content-wrapper {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

@media (min-width: 620px) {
    .article-card-content-wrapper {
        display: flex;
        margin: 1rem 1rem 1rem 1rem;
    }
    .article-card-img-wrapper {
        width: 260px;
        height: 165px;
        border-radius: 12px;
    }
    .article-card-text-content-wrapper {
        padding: 0 1rem 0 1.3rem;
    }
}

.icon-wrapper {
    margin-top: .1rem;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.blur-bg {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* =============================================================================
   NAVBAR
   ============================================================================= */

.navbar-nav>.nav-item>.nav-link:before {
    content: none;
}

.navbar-nav .nav-link,
.dropdown-item {
    transition: none !important;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
    background-color: #C62424;
    border-radius: 20px;
}

.navbar-nav .dropdown-item:hover {
    color: #ffffff;
    background-color: #C62424;
    border-radius: 20px;
}

.navbar .nav-link.nav-link-active,
.navbar .nav-link.nav-link-active:focus {
    color: #ffffff;
}

.nav-link-active {
    color: #ffffff;
    background-color: #C62424;
    border-radius: 20px;
}

.nav-dropdown-active {
    border-radius: 20px;
    background-color: rgb(240, 240, 240);
}

/* Desktop: fade + slide on hover */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

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

/* Mobile: slide down on Bootstrap show */
@media (max-width: 991.98px) {
    .dropdown-menu.show {
        animation: dropdownSlideDown 0.2s ease forwards;
    }

    @keyframes dropdownSlideDown {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

.nav-underline .nav-link:before {
    background-color: #C62424;
}

.nav-underline.flex-column .nav-link.active:before {
    width: 2px;
}

.nav-pills {
    --cz-nav-pills-gap: 0.5rem !important;
}


/* =============================================================================
   CAROUSEL
   ============================================================================= */

.carousel-cta {
    padding: 12px;
}

.carousel-cta:hover {
    background-color: #8B1913;
}

.carousel-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding-inline: 16px;
}

.carousel-text {
    width: 100%;
    margin-bottom: 0.5rem;
}

h2.carousel-text {
    line-height: 2.3rem;
    font-size: 2rem;
}

@media (min-width: 778px) {
    .carousel-content-wrapper {
        text-align: start;
        top: calc(50% - 116px);
        transform: translateY(-35%);
    }

    .carousel-content-wrapper p,
    .carousel-content-wrapper h1 {
        width: 45%;
    }

    .carousel-content-wrapper p,
    .carousel-content-wrapper h2 {
        width: 45%;
    }
}

@media (min-width: 992px) {
    .carousel-content-wrapper p,
    .carousel-content-wrapper h1 {
        width: 40%;
    }
}


/* =============================================================================
   QUICK LINKS
   ============================================================================= */

.quicklinks-wrapper {
    display: none;
    z-index: 2;
}

.mobile-quicklinks-wrapper {
    position: relative;
    display: block;
    z-index: 2;
    margin-top: -120px;
}

@media (min-width: 565px) {
    .quicklinks-wrapper {
        display: block;
    }

    .mobile-quicklinks-wrapper {
        display: none;
    }
}

.quicklinks-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /* gap: 12px; */
}

.mobile-quicklinks-container {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
}


/* =============================================================================
   ACCORDION
   ============================================================================= */

.accordion-button:after {
    filter: brightness(0) invert(1);
}

.accordion-item {
    border-bottom: 0 !important;
}

.accordion-header {
    background-color: #C62424;
}

.accordion-link a:hover {
    color: #C62424 !important;
}

.accordion-link .active {
    color: #C62424 !important;
}


/* =============================================================================
   TABS
   ============================================================================= */

.nav-tabs .nav-link.active {
    background-color: #C62424;
    color: #fff;
}

.aasandha-nav-tabs .nav-link.active {
    background-color: #C62424;
    border: none;
    color: #fff;
}

.aasandha-nav-tabs .nav-link.active:hover {
    border-color: none;
    color: #fff;
}

.aasandha-nav-tabs .nav-link:hover {
    border-color: #C62424;
    color: #8B1913;
}


/* =============================================================================
   CARDS
   ============================================================================= */

.card-img-hover {
    transition: transform 0.5s ease;
}

.card:hover .card-img-hover {
    transform: scale(1.1);
}


/* =============================================================================
   LIGHTBOX (GLightbox)
   ============================================================================= */

.glightbox .gloader,
.glightbox .gbox {
    overflow: hidden;
}

.glightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.glightbox-mobile .goverlay,
.goverlay {
    background-color: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


/* =============================================================================
   JOB DETAIL OFFCANVAS
   ============================================================================= */

.job-detail-offcanvas {
    width: 85% !important;
}

@media (min-width: 1000px) {
    .job-detail-offcanvas {
        width: 50% !important;
    }
}


/* =============================================================================
   FOOTER
   ============================================================================= */

.footer-logo-links-gap {
    gap: 0;
}

@media (min-width: 992px) {
    .footer-logo-links-gap {
        gap: 8rem;
    }
}

.footer-border-top {
    border-top: 1px solid #714343;
}

.footer-border-bottom {
    border-bottom: 1px solid #714343;
}


/* =============================================================================
   ABOUT US
   ============================================================================= */

.aboutus .nav-item a.nav-link.active {
    background-color: #C62424;
    border: #C62424;
    color: white;
}

/* =============================================================================
   TIMELINE (Standard)
   ============================================================================= */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: #dee2e6;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-1px);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8rem;
}

.timeline-year {
    background: #991818;
    color: #fff;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-weight: bold;
    font-size: 1.25rem;
}

.timeline-content {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    width: calc(50% - 4rem);
    position: relative;
    z-index: 1;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
        transform: none;
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .timeline-year {
        position: relative;
        left: -15px;
        top: auto;
        transform: none;
        width: 4rem;
        height: 4rem;
        margin-right: 1rem;
        flex-shrink: 0;
        margin-top: 0.25rem;
    }

    .timeline-content {
        width: auto;
        flex: 1;
        margin: 0;
    }

    .timeline-content::before {
        display: none;
    }

    .mobile-img-container {
        height: 240px;
    }
}


/* =============================================================================
   TIMELINE (Visual / tline variant)
   ============================================================================= */

.tline-item {
    position: relative;
    width: 100%;
    min-height: 21rem;
    max-height: 25rem;
    overflow: hidden;
}

.tline-item .tline-content-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: calc(100% - 2.5rem);
    height: 100%;
    border-left: 2px solid #dee2e6;
    display: flex;
    align-items: center;
}

.tline-item .tline-image-wrapper {
    position: relative;
    height: 70%;
    width: 100%;
    overflow: hidden;
    border-radius: 0 12px 12px 0;
}

.tline-item-text-wrapper {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    outline: 1px solid rgba(0, 0, 0, 0);
    background-color: white;
    padding: 1rem 1.2rem;
    border-radius: 6px;
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    max-width: 80%;
    z-index: 1;
    cursor: pointer;
}

.tline-item .tline-image {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.tline-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 0.5) 100%
    );
}

.tline-year {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(0 - 2.5rem);
    background-color: #991818;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

@media (min-width: 720px) {
    .tline-year {
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .tline-item .tline-content-wrapper {
        width: calc(50% + 1px);
    }

    .tline-item:nth-child(odd) .tline-content-wrapper {
        right: 0;
        border: unset;
        border-left: 2px solid #dee2e6;
    }

    .tline-item:nth-child(even) .tline-content-wrapper {
        left: 0;
        border: unset;
        border-right: 2px solid #dee2e6;
    }

    .tline-item:nth-child(odd) .tline-item-text-wrapper {
        left: 3rem;
        right: unset;
    }

    .tline-item:nth-child(even) .tline-item-text-wrapper {
        right: 3rem;
        left: unset;
    }

    .tline-item:nth-child(odd) .tline-image-wrapper {
        border-radius: 0 12px 12px 0;
    }

    .tline-item:nth-child(even) .tline-image-wrapper {
        border-radius: 12px 0 0 12px;
    }
}


/* =============================================================================
   DIRECTOR CARDS
   ============================================================================= */

.multi-column-profile-container-condensed {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.director-card-dimensions-few {
    width: 14rem;
    height: 14rem;
}

@media (min-width: 857px) {
    .director-card-dimensions-few {
        width: 16rem;
        height: 16rem;
    }
}

.director-card-dimensions-more {
    width: 14rem;
    height: 14rem;
}

@media (min-width: 771px) {
    .director-card-dimensions-more {
        width: 175px;
        height: 175px;
    }
}

@media (min-width: 1140px) {
    .director-card-dimensions-more {
        width: 16rem;
        height: 16rem;
    }
}

.director-card-dimensions-few-condensed, .director-card-dimensions-more-condensed {
    width: 200px; height: 200px;
}

@media (min-width: 768px) {
    .director-card-dimensions-more-condensed {
        width: 165px;
        height: 165px;
    }
}

@media (min-width: 876px) {
    .director-card-dimensions-more-condensed {
        width: 200px;
        height: 200px;
    }
}

/* =============================================================================
   DROPDOWN PILL MENU BUTTON
   ============================================================================= */
button#dropdownMenuButton {
    background-color: #8b1914;
    border-color: #8b1914;
    border-radius: 30px;
    font-size: medium;
    font-weight: bold;
    letter-spacing: 1.5px;
}

/* =============================================================================
   FORM SUBMIT BUTTON
   ============================================================================= */
form button[type="submit"],
form button[type="submit"]:hover {
    background-color: #C62424;
    border-color: #C62424;
}
