/********** Template CSS **********/

body,
button,
input,
select,
textarea,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Inter", sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 24px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

.topbar-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
}

.topbar-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.topbar-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .45);
    padding-right: 10px;
}

.topbar-breadcrumb .breadcrumb-item {
    font-weight: 400;
}

.topbar-breadcrumb a.breadcrumb-item {
    text-decoration: none !important;
    text-decoration-line: none !important;
    transition: color .3s ease, opacity .3s ease;
}

.topbar-breadcrumb a.breadcrumb-item,
.topbar-breadcrumb a.breadcrumb-item:hover,
.topbar-breadcrumb a.breadcrumb-item:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.topbar-breadcrumb a.breadcrumb-item:hover {
    color: rgba(255, 255, 255, .8) !important;
    opacity: .9;
}

.topbar-breadcrumb a.breadcrumb-item.topbar-link-featured {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid rgba(220, 53, 69, .9);
    border-radius: 999px;
    background: #dc3545;
}

.topbar-breadcrumb a.breadcrumb-item.topbar-link-featured:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
    color: var(--bs-white) !important;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .topbar-container {
        padding-left: 0;
        padding-right: 0;
    }

    .topbar-phone-secondary {
        display: none;
    }

    .topbar-content {
        justify-content: space-between !important;
    }

    .topbar-breadcrumb {
        width: auto;
        margin-left: auto;
        text-align: right;
        justify-content: flex-end;
        gap: 8px;
    }

    .topbar-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        display: none;
    }

    .topbar-breadcrumb a.breadcrumb-item {
        display: inline-flex;
        align-items: center;
        padding: 8px 14px;
        font-size: 14px;
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
    }

    .topbar-breadcrumb a.breadcrumb-item:hover {
        background: rgba(255, 255, 255, .18);
        border-color: rgba(255, 255, 255, .35);
        color: var(--bs-white) !important;
        opacity: 1;
    }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.hero-explore-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid #cf2f3f;
    border-radius: 999px;
    background: #dc3545;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 16px 32px rgba(220, 53, 69, .24);
    isolation: isolate;
}

.hero-explore-btn::before {
    position: absolute;
    inset: 0;
    content: "";
    background: #111111;
    transform: translateX(-102%);
    transition: transform .32s ease;
    z-index: -1;
}

.hero-explore-btn:hover,
.hero-explore-btn:focus {
    color: #ffffff;
    border-color: #111111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .22);
}

.hero-explore-btn:hover::before,
.hero-explore-btn:focus::before {
    transform: translateX(0);
}

.hero-kicker {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .9;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-secondary-btn {
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.hero-secondary-btn:hover,
.hero-secondary-btn:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, .2);
    color: #ffffff;
}

.header-carousel .carousel-caption h1 {
    text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 50px;
    line-height: 1;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: #ddc0ba;
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.sticky-top.navbar-shell-white {
    background-color: var(--bs-white);
}

.navbar.bg-light-blue {
    background-color: #d9eaea;
    transition: background-color .5s ease, box-shadow .5s ease;
}

.navbar.navbar-white {
    background-color: var(--bs-white) !important;
}

.navbar {
    position: relative;
}

.site-search-fab {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1035;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid #cf2f3f;
    border-radius: 50%;
    background: #dc3545;
    color: #ffffff;
    font-weight: 800;
    
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.site-search-fab:hover,
.site-search-fab:focus {
    background: #bb2d3b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(220, 53, 69, .36);
}

.site-search-fab i {
    font-size: 1rem;
}

.site-search-modal {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 14%, rgba(44, 142, 199, .14), transparent 24%),
        radial-gradient(circle at 12% 88%, rgba(220, 53, 69, .1), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(247, 251, 255, .98) 100%);
    box-shadow: 0 34px 90px rgba(3, 27, 78, .24);
    backdrop-filter: blur(14px);
}

.site-search-heading {
    max-width: 600px;
}

.site-search-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .08);
    color: #1d4f78;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-search-modal .modal-title {
    margin-bottom: 6px;
    color: #1f2933;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

.site-search-heading p {
    margin: 0;
    color: #5a6671;
    font-size: 1rem;
    line-height: 1.65;
}

.site-search-modal .modal-header,
.site-search-modal .modal-body {
    padding-left: 22px;
    padding-right: 22px;
}

.site-search-modal .modal-header {
    padding-top: 22px;
}

.site-search-modal .btn-close {
    flex-shrink: 0;
    margin-top: 4px;
    padding: 10px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .84);
    box-shadow: 0 10px 22px rgba(3, 27, 78, .08);
}

.site-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin: 18px 0 14px;
}

.site-search-form input {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid rgba(29, 79, 120, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    color: #1f2933;
    font-size: 1.06rem;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.site-search-form input:focus {
    border-color: rgba(44, 142, 199, .6);
    box-shadow: 0 0 0 4px rgba(44, 142, 199, .1);
}

.site-search-form .btn {
    padding: 18px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1d4f78 0%, #2c8ec7 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(29, 79, 120, .22);
}

.site-search-hint {
    color: #5a6671;
    font-size: .96rem;
    line-height: 1.6;
}

.navbar .navbar-toggler {
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(3, 27, 78, .18);
    border-radius: 0px;
    background-color: rgba(255, 255, 255, .78);
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.navbar .navbar-toggler:hover {
    border-color: rgba(3, 27, 78, .3);
    background-color: var(--bs-white);
}

.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:focus-visible {
    border-color: rgba(13, 110, 253, .4);
    box-shadow: 0 0 0 0.08rem rgba(13, 110, 253, .18);
}

.navbar .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 1em;
    font-weight: 400;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .sticky-top {
        top: 0;
    }

    .sticky-top.navbar-shell-white {
        background-color: var(--bs-white);
    }

    .navbar.bg-light-blue {
        background-color: var(--bs-white) !important;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar.bg-light-blue {
        border-radius: 18px;
    }

    .navbar.navbar-white {
        border-radius: 0;
    }

    .navbar .navbar-nav {
        display: flex;
        align-items: center;
        gap: 22px;
        padding: 0 22px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        min-width: 270px;
        border: 1px solid rgba(29, 79, 120, .14);
        border-radius: 0 0 18px 18px;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        padding: 10px;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 24px 55px rgba(3, 27, 78, .18);
        transition: top .35s ease, opacity .25s ease, visibility .25s ease;
    }

    .navbar .dropdown-menu::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        content: "";
        background: linear-gradient(90deg, #1d4f78, #2c8ec7);
    }

    .navbar .dropdown-menu .dropdown-item {
        position: relative;
        padding: 11px 16px;
        border-radius: 11px;
        color: #1f2933;
        font-weight: 500;
        transition: background-color .22s ease, color .22s ease, transform .22s ease;
    }

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item:focus {
        background: rgba(29, 79, 120, .1);
        color: #1d4f78;
        transform: translateX(4px);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: top .35s ease, opacity .25s ease, visibility .25s ease;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

.news-stage,
.slider-stack {
    position: relative;
}

.header-carousel {
    position: relative;
    overflow: hidden;
    background: #031b4e;
}

.upcoming-ticker-section {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(3, 27, 78, .96) 0%, rgba(8, 36, 65, .9) 100%);
}

.upcoming-ticker-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 16px 38px rgba(3, 27, 78, .16);
    backdrop-filter: blur(8px);
}

.upcoming-ticker-label span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.upcoming-ticker-track-wrap {
    overflow: hidden;
    min-width: 0;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.upcoming-ticker-track-wrap:hover {
    cursor: grab;
}

.upcoming-ticker-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
}

.upcoming-ticker-track-wrap.is-dragging {
    cursor: grabbing;
}

.upcoming-ticker-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.upcoming-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    color: #1f2933;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(3, 27, 78, .12);
    cursor: inherit;
}

.upcoming-ticker-item strong {
    color: #dc3545;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.upcoming-ticker-item strong::after {
    content: "|";
    margin-left: 12px;
    color: rgba(29, 79, 120, .35);
}

.upcoming-ticker-item span {
    font-weight: 500;
}

.upcoming-ticker-item:not([href]) {
    cursor: default;
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 490px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% center;
    }
}

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/business-people.webp) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.about-nipm-content {
    min-height: 360px;
}

.about-profile-page {
    background: var(--bs-white);
}

.about-profile-hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(51, 104, 198, .13), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #edf5fb 100%);
}

.about-profile-hero p,
.about-headquarters-panel p,
.about-origin-card p {
    color: #1f2933;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-profile-stats {
    display: grid;
    gap: 18px;
}

.about-profile-stat,
.about-origin-card,
.about-headquarters-panel {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 18px 48px rgba(3, 27, 78, .08);
}

.about-profile-stat {
    padding: 28px;
    border-radius: 24px;
    background: var(--bs-white);
}

.about-profile-stat span {
    display: block;
    color: #1d4f78;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
}

.about-profile-stat p {
    margin: 10px 0 0;
    color: #4b5563;
    font-weight: 700;
}

.about-profile-stat.stat-primary {
    background: linear-gradient(135deg, #1d4f78 0%, #123956 100%);
}

.about-profile-stat.stat-primary span,
.about-profile-stat.stat-primary p {
    color: var(--bs-white);
}

.about-origin-section {
    background: #f7fafc;
}

.about-origin-card,
.about-headquarters-panel {
    padding: 34px;
    border-radius: 28px;
    background: var(--bs-white);
}

.about-origin-card {
    background: linear-gradient(135deg, #1d4f78 0%, #123956 100%);
}

.about-origin-card h3,
.about-origin-card p,
.about-origin-card .section-tag {
    color: var(--bs-white);
}

.origin-year {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.origin-year span {
    color: rgba(255, 255, 255, .76);
    font-size: 1.2rem;
    font-weight: 800;
}

.origin-year p {
    margin-bottom: 0;
}

.about-headquarters-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.headquarters-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.headquarters-contact-grid div {
    padding: 22px;
    border-radius: 18px;
    background: #f6faff;
}

.headquarters-contact-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(29, 79, 120, .12);
    color: #1d4f78;
}

.headquarters-contact-grid p {
    margin-bottom: 0;
    font-size: .98rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .headquarters-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .about-origin-card,
    .about-headquarters-panel,
    .about-profile-stat {
        padding: 24px;
        border-radius: 20px;
    }

    .origin-year {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.mission-vision-page {
    position: relative;
    overflow: hidden;
}

.mission-vision-hero {
    background:
        radial-gradient(circle at 8% 12%, rgba(29, 79, 120, .12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f6fbff 52%, #eef5f4 100%);
}

.mission-card,
.objectives-panel,
.objective-card {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 18px 48px rgba(3, 27, 78, .08);
}

.mission-card {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border-radius: 24px;
    background: var(--bs-white);
}

.mission-card-primary {
    background: linear-gradient(135deg, #1d4f78 0%, #163d61 100%);
    color: var(--bs-white);
}

.mission-card-primary h3,
.mission-card-primary p,
.mission-card-primary .section-tag {
    color: var(--bs-white);
}

.mission-card-vision {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .76)),
        url(../img/feature.webp) center center no-repeat;
    background-size: cover;
}

.mission-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    color: var(--bs-white);
    font-size: 28px;
}

.mission-card-vision .mission-card-icon {
    background: rgba(29, 79, 120, .12);
    color: #1d4f78;
}

.mission-point {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.mission-point span,
.objective-card span {
    font-weight: 800;
    letter-spacing: .08em;
}

.mission-point span {
    color: rgba(255, 255, 255, .68);
}

.mission-point p {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.65;
}

.mission-card blockquote {
    color: #031b4e;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.22;
}

.objectives-panel {
    padding: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
}

.objective-card {
    padding: 26px;
    border-radius: 18px;
    background: var(--bs-white);
    transition: transform .3s ease, box-shadow .3s ease;
}

.objective-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 54px rgba(3, 27, 78, .12);
}

.objective-card span {
    display: inline-block;
    margin-bottom: 18px;
    color: #1d4f78;
}

.objective-card p {
    margin-bottom: 0;
    color: #1f2933;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .mission-card,
    .objectives-panel {
        padding: 24px;
        border-radius: 20px;
    }

    .mission-point {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.achievements-page {
    background: var(--bs-white);
}

.achievements-hero {
    background:
        radial-gradient(circle at 88% 8%, rgba(51, 104, 198, .16), transparent 26%),
        radial-gradient(circle at 8% 18%, rgba(29, 79, 120, .12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f6faff 48%, #e9f2fb 100%);
}

.achievement-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.achievement-summary div,
.achievement-feature,
.achievement-item {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 18px 46px rgba(3, 27, 78, .08);
}

.achievement-summary div {
    padding: 22px 18px;
    border-radius: 18px;
    background: var(--bs-white);
    text-align: center;
}

.achievement-summary span {
    display: block;
    color: #1d4f78;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1;
}

.achievement-summary p {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: .95rem;
}

.achievement-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 28px;
    align-items: start;
}

.achievement-feature {
    position: sticky;
    top: 110px;
    overflow: hidden;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1d4f78 0%, #123956 100%);
    color: var(--bs-white);
}

.achievement-feature::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.achievement-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
    color: #ffc107;
    font-size: 32px;
}

.achievement-feature h3 {
    color: var(--bs-white);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
}

.achievement-feature .section-tag,
.achievement-feature span {
    color: rgba(255, 255, 255, .78);
}

.achievement-feature span {
    display: block;
    margin-top: 14px;
    font-size: 1.15rem;
    font-weight: 700;
}

.achievement-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.achievement-item {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    transition: transform .3s ease, box-shadow .3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(3, 27, 78, .12);
}

.achievement-item::before {
    position: absolute;
    content: "";
    width: 7px;
    top: 0;
    bottom: 0;
    left: 0;
    background: #1d4f78;
}

.achievement-year {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-weight: 800;
    font-size: .9rem;
}

.achievement-item p {
    margin: 0;
    color: #1f2933;
    font-size: 1.1rem;
    font-weight: 700;
}

.achievement-best::before {
    background: #ffc107;
}

.achievement-best .achievement-year {
    background: rgba(255, 193, 7, .18);
    color: #8a5b00;
}

.achievement-second::before {
    background: #8a91ac;
}

.achievement-third::before {
    background: #8b3f31;
}

.achievement-merit::before {
    background: #198754;
}

@media (max-width: 991.98px) {
    .achievement-showcase {
        grid-template-columns: 1fr;
    }

    .achievement-feature {
        position: relative;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .achievement-summary,
    .achievement-timeline {
        grid-template-columns: 1fr;
    }
}

.ethics-page {
    background: var(--bs-white);
}

.ethics-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(51, 104, 198, .15), transparent 27%),
        radial-gradient(circle at 10% 20%, rgba(29, 79, 120, .13), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #eaf3fb 100%);
}

.ethics-pledge {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1d4f78 0%, #123956 100%);
    color: var(--bs-white);
    box-shadow: 0 24px 56px rgba(3, 27, 78, .16);
}

.ethics-pledge::after {
    position: absolute;
    content: "";
    width: 150px;
    height: 150px;
    right: -58px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.ethics-pledge-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
    color: #9fd3ff;
    font-size: 32px;
}

.ethics-pledge div:last-child {
    position: relative;
    z-index: 1;
}

.ethics-pledge span {
    display: block;
    margin-bottom: 8px;
    color: var(--bs-white);
    font-size: 1.25rem;
    font-weight: 800;
}

.ethics-pledge p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
}

.ethics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ethics-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    padding: 28px 30px 28px 92px;
    border: 1px solid rgba(3, 27, 78, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 46px rgba(3, 27, 78, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ethics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(3, 27, 78, .13);
}

.ethics-card::before {
    position: absolute;
    content: "";
    width: 6px;
    top: 24px;
    bottom: 24px;
    left: 0;
    border-radius: 0 999px 999px 0;
    background: #1d4f78;
}

.ethics-card span {
    position: absolute;
    top: 28px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-weight: 900;
    font-size: .95rem;
}

.ethics-card p {
    margin: 0;
    color: #1f2933;
    font-size: 1.02rem;
    line-height: 1.7;
}

.ethics-card-wide {
    grid-column: 1 / -1;
    min-height: 120px;
    background: linear-gradient(135deg, rgba(29, 79, 120, .08), rgba(255, 255, 255, .96));
}

@media (max-width: 991.98px) {
    .ethics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .ethics-pledge {
        align-items: flex-start;
        padding: 24px;
    }

    .ethics-card {
        min-height: auto;
        padding: 76px 24px 24px;
    }

    .ethics-card span {
        top: 24px;
        left: 24px;
    }
}

.activities-page {
    background: var(--bs-white);
}

.activities-intro {
    background: var(--bs-white);
}

.activities-highlight,
.activity-section,
.activity-info-card,
.student-chapter-panel,
.committee-card,
.annual-report-card,
.student-guidelines div {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 18px 46px rgba(3, 27, 78, .07);
}

.activities-highlight {
    padding: 28px;
    border-radius: 24px;
    background: #f7fafc;
}

.activities-highlight span {
    display: block;
    margin-bottom: 12px;
    color: #1d4f78;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}

.activities-highlight p {
    margin: 0;
    color: #1f2933;
    line-height: 1.6;
}

.activity-section {
    padding: 34px;
    border-radius: 28px;
    background: #f8fafc;
}

.activity-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.activity-section-heading h3 {
    margin: 0;
}

.activity-section-heading > span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-weight: 800;
    white-space: nowrap;
}

.annual-report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.annual-report-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--bs-white);
    color: #1f2933;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.annual-report-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 79, 120, .25);
    color: #1d4f78;
    box-shadow: 0 22px 52px rgba(3, 27, 78, .12);
}

.annual-report-card span {
    font-weight: 800;
}

.annual-report-card i {
    color: #1d4f78;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.committee-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    background: var(--bs-white);
    transition: transform .3s ease, box-shadow .3s ease;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(3, 27, 78, .12);
}

.committee-icon,
.activity-info-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-size: 24px;
}

.committee-card h4,
.activity-info-card h4 {
    margin-bottom: 12px;
    color: #1f2933;
}

.committee-leads {
    margin-bottom: 18px;
    color: #8b3f31;
    font-weight: 800;
}

.committee-card ul {
    margin: 0;
    padding-left: 18px;
}

.committee-card li {
    margin-bottom: 8px;
    color: #1f2933;
    line-height: 1.55;
}

.activity-info-card {
    padding: 30px;
    border-radius: 24px;
    background: var(--bs-white);
}

.activity-info-card p {
    margin: 0;
    color: #1f2933;
    line-height: 1.7;
}

.student-chapter-panel {
    padding: 38px;
    border-radius: 30px;
    background: #f8fafc;
}

.student-chapter-panel p {
    color: #1f2933;
    line-height: 1.7;
}

.student-guidelines {
    display: grid;
    gap: 16px;
}

.student-guidelines div {
    position: relative;
    padding: 24px 24px 24px 88px;
    border-radius: 20px;
    background: var(--bs-white);
}

.student-guidelines span {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #1d4f78;
    color: var(--bs-white);
    font-weight: 900;
}

.student-guidelines h5 {
    margin-bottom: 8px;
}

.student-guidelines p {
    margin: 0;
}

.student-activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.student-activity-list span {
    display: inline-flex;
    padding: 11px 16px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 999px;
    background: var(--bs-white);
    color: #1f2933;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .annual-report-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .committee-grid,
    .annual-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .activity-section-heading {
        display: block;
    }

    .activity-section-heading > span {
        margin-top: 16px;
    }

    .committee-grid,
    .annual-report-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .activity-section,
    .activity-info-card,
    .student-chapter-panel,
    .committee-card {
        padding: 24px;
        border-radius: 20px;
    }

    .student-guidelines div {
        padding: 78px 22px 22px;
    }

    .student-guidelines span {
        top: 22px;
        left: 22px;
    }
}

.executive-page {
    background: var(--bs-white);
}

.executive-intro,
.executive-directory {
    background: var(--bs-white);
}

.executive-nav,
.ec-section,
.ec-card,
.cluster-panel {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 18px 46px rgba(3, 27, 78, .07);
}

.executive-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
}

.executive-nav a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--bs-white);
    color: #1f2933;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.executive-nav a:hover {
    transform: translateY(-2px);
    background: #1d4f78;
    color: var(--bs-white);
}

.ec-section {
    margin-bottom: 34px;
    padding: 34px;
    border-radius: 30px;
    background: #f8fafc;
    scroll-margin-top: 120px;
}

.ec-section-head {
    margin-bottom: 24px;
}

.ec-section-head h3 {
    margin: 0;
}

.ec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ec-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ec-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ec-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    min-height: 100%;
    padding: 24px;
    border-radius: 22px;
    background: var(--bs-white);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 24px 58px rgba(3, 27, 78, .12);
}

.ec-card-featured {
    background: #ffffff;
    border-top: 5px solid #1d4f78;
}

.ec-photo {
    width: 96px;
    height: 112px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(29, 79, 120, .11);
}

.ec-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.ec-photo-missing {
    position: relative;
}

.ec-photo-missing::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "NIPM";
    color: #1d4f78;
    font-weight: 900;
    letter-spacing: .06em;
}

.ec-role {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(139, 63, 49, .1);
    color: #8b3f31;
    font-size: .82rem;
    font-weight: 900;
}

.ec-card h3 {
    margin-bottom: 8px;
    color: #1f2933;
    font-size: 1.15rem;
}

.ec-email {
    display: block;
    margin-bottom: 6px;
    color: #1d4f78;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ec-email:hover {
    color: #8b3f31;
}

.ec-card ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ec-card li {
    color: #1f2933;
    font-size: .94rem;
    line-height: 1.55;
}

.ec-card li + li {
    margin-top: 5px;
}

.cluster-wrap {
    display: grid;
    gap: 20px;
}

.cluster-panel {
    padding: 24px;
    border-radius: 24px;
    background: var(--bs-white);
}

.cluster-panel h4 {
    margin-bottom: 18px;
    color: #1d4f78;
}

@media (max-width: 1199.98px) {
    .ec-grid-featured,
    .ec-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ec-grid,
    .ec-grid-featured,
    .ec-grid-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .ec-section {
        padding: 24px;
        border-radius: 22px;
        scroll-margin-top: 90px;
    }

    .ec-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .ec-photo {
        width: 100%;
        height: 260px;
    }

    .executive-nav {
        padding: 12px;
    }

    .executive-nav a {
        width: 100%;
        justify-content: center;
    }
}

.fellows-page,
.fellows-intro,
.fellows-directory {
    background: var(--bs-white);
}

.fellows-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fellow-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(3, 27, 78, .08);
    border-radius: 24px;
    background: var(--bs-white);
    box-shadow: 0 16px 38px rgba(3, 27, 78, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.fellow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 26px 60px rgba(3, 27, 78, .13);
}

.fellow-photo {
    width: 112px;
    height: 112px;
    overflow: hidden;
    border: 5px solid #f1f6f8;
    border-radius: 50%;
    background: rgba(29, 79, 120, .1);
}

.fellow-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.fellow-photo-missing {
    position: relative;
}

.fellow-photo-missing::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "NIPM";
    color: #1d4f78;
    font-weight: 900;
    letter-spacing: .06em;
}

.fellow-content {
    min-width: 0;
    padding: 0;
}

.fellow-content span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-size: .82rem;
    font-weight: 900;
}

.fellow-content h3 {
    margin-bottom: 8px;
    color: #1f2933;
    font-size: 1.18rem;
    line-height: 1.25;
}

.fellow-content a {
    color: #1d4f78;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.fellow-content a:hover {
    color: #8b3f31;
}

.fellow-card-legacy .fellow-content span {
    background: rgba(139, 63, 49, .1);
    color: #8b3f31;
}

@media (max-width: 1199.98px) {
    .fellows-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .fellows-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .fellow-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 26px 22px;
    }

    .fellow-photo {
        width: 132px;
        height: 132px;
    }
}

.institutional-page,
.institutional-intro,
.institutional-directory {
    background: var(--bs-white);
}

.institutional-count,
.institution-card {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 16px 38px rgba(3, 27, 78, .07);
}

.institutional-count {
    padding: 28px;
    border-radius: 24px;
    background: #f8fafc;
    text-align: center;
}

.institutional-count span {
    display: block;
    margin-bottom: 8px;
    color: #1d4f78;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
}

.institutional-count p {
    margin: 0;
    color: #1f2933;
    font-weight: 800;
}

.institutional-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.institution-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 116px;
    padding: 22px;
    border-radius: 22px;
    background: #f8fafc;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.institution-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 24px 54px rgba(3, 27, 78, .12);
}

.institution-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(29, 79, 120, .11);
    color: #1d4f78;
    font-weight: 900;
}

.institution-card h3 {
    margin: 0;
    color: #1f2933;
    font-size: 1.05rem;
    line-height: 1.42;
}

@media (max-width: 1199.98px) {
    .institutional-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .institutional-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .institution-card {
        grid-template-columns: 42px 1fr;
        gap: 14px;
        padding: 20px;
    }

    .institution-card span {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
}

.past-leaders-page,
.past-leaders-intro,
.past-leaders-directory {
    background: var(--bs-white);
}

.past-leaders-count,
.past-leader-row {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 16px 38px rgba(3, 27, 78, .07);
}

.past-leaders-count {
    padding: 28px;
    border-radius: 24px;
    background: #f8fafc;
    text-align: center;
}

.past-leaders-count span {
    display: block;
    margin-bottom: 8px;
    color: #1d4f78;
    font-size: clamp(2.3rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
}

.past-leaders-count p {
    margin: 0;
    color: #1f2933;
    font-weight: 800;
}

.past-leaders-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.past-leader-row {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 22px;
    background: #f8fafc;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.past-leader-row:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 24px 54px rgba(3, 27, 78, .12);
}

.past-leader-row > span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    background: #1d4f78;
    color: var(--bs-white);
    font-weight: 900;
    text-align: center;
}

.past-leader-row div {
    padding: 20px 22px 20px 0;
}

.past-leader-row h3,
.past-leader-row p {
    position: relative;
    margin: 0;
    padding-left: 92px;
    color: #1f2933;
    line-height: 1.45;
}

.past-leader-row h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
    font-weight: 500;
}

.past-leader-row p {
    font-size: 1rem;
}

.past-leader-row h3::before,
.past-leader-row p::before {
    position: absolute;
    left: 0;
    top: 1px;
    color: #1d4f78;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.past-leader-row h3::before {
    content: "Chairman";
}

.past-leader-row p::before {
    content: "Secretary";
}

@media (max-width: 1199.98px) {
    .past-leaders-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .past-leader-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .past-leader-row > span {
        justify-content: flex-start;
    }

    .past-leader-row div {
        padding: 22px;
    }

    .past-leader-row h3,
    .past-leader-row p {
        padding-left: 0;
        padding-top: 24px;
    }
}

.membership-page,
.membership-intro {
    background: var(--bs-white);
}

.membership-card,
.membership-tier,
.membership-rule-list article,
.membership-table-card,
.membership-online-form,
.membership-download-grid a,
.membership-form-grid article {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 16px 38px rgba(3, 27, 78, .07);
}

.membership-card,
.membership-table-card,
.membership-online-form {
    padding: 34px;
    border-radius: 28px;
    background: #f8fafc;
}

.membership-card h3,
.membership-table-card h3 {
    margin-bottom: 24px;
}

.membership-card p,
.membership-tier p,
.membership-rule-list p,
.membership-form-grid p {
    color: #1f2933;
    line-height: 1.7;
}

.membership-benefit-grid,
.membership-tier-grid,
.membership-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.membership-benefit-grid article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
    padding: 22px;
    border-radius: 20px;
    background: var(--bs-white);
}

.membership-benefit-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(29, 79, 120, .11);
    color: #1d4f78;
}

.membership-benefit-grid p,
.membership-form-grid p {
    margin: 0;
}

.membership-tier,
.membership-rule-list article,
.membership-form-grid article {
    position: relative;
    padding: 28px;
    border-radius: 22px;
    background: #f8fafc;
}

.membership-tier span,
.membership-rule-list span,
.membership-form-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: rgba(29, 79, 120, .11);
    color: #1d4f78;
    font-weight: 900;
}

.membership-tier h3,
.membership-form-grid h4 {
    margin-bottom: 14px;
}

.membership-rule-list {
    display: grid;
    gap: 16px;
}

.membership-rule-list article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
}

.membership-rule-list span {
    margin-bottom: 0;
}

.membership-fee-table {
    overflow: hidden;
    border-radius: 16px;
}

.membership-fee-table th {
    background: #1d4f78;
    color: var(--bs-white);
    white-space: nowrap;
}

.membership-fee-table td {
    color: #1f2933;
    vertical-align: middle;
}

.membership-note {
    margin: 18px 0 0;
    color: #1f2933;
    font-weight: 700;
}

.membership-bank-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border: 1px solid rgba(177, 45, 60, .22);
    border-radius: 999px;
    background: linear-gradient(135deg, #c73b4d 0%, #9f2635 100%);
    box-shadow: 0 16px 30px rgba(159, 38, 53, .22);
    color: #fff;
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.membership-bank-link:hover,
.membership-bank-link:focus {
    background: linear-gradient(135deg, #d74558 0%, #b12d3c 100%);
    color: #fff;
    box-shadow: 0 20px 36px rgba(159, 38, 53, .28);
    transform: translateY(-2px);
}

.membership-bank-link i:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 1rem;
}

.membership-bank-link i:last-child {
    font-size: .95rem;
    transition: transform .25s ease;
}

.membership-bank-link:hover i:last-child,
.membership-bank-link:focus i:last-child {
    transform: translateX(4px);
}

.membership-online-form .form-control {
    min-height: 50px;
    border: 1px solid rgba(3, 27, 78, .1);
    border-radius: 14px;
    background-color: var(--bs-white);
}

.membership-online-form .form-label,
.membership-form-section h4 {
    color: #1f2933;
    font-weight: 800;
}

.membership-form-section {
    padding: 24px;
    border-radius: 20px;
    background: var(--bs-white);
}

.membership-form-section p {
    color: #1f2933;
    line-height: 1.65;
}

.membership-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.membership-choice-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 999px;
    background: #f8fafc;
    color: #1f2933;
    font-weight: 700;
}

.membership-qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 180px;
    gap: 12px;
}

.membership-qualification-grid.professional {
    grid-template-columns: 1fr 1fr 150px 1fr;
}

.membership-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.membership-download-grid a {
    display: grid;
    gap: 18px;
    min-height: 160px;
    padding: 28px;
    border-radius: 24px;
    background: #f8fafc;
    color: #1f2933;
    font-weight: 900;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.membership-download-grid a:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 79, 120, .22);
    color: #1d4f78;
    box-shadow: 0 24px 54px rgba(3, 27, 78, .12);
}

.membership-download-grid i {
    color: #1d4f78;
    font-size: 34px;
}

@media (max-width: 991.98px) {
    .membership-benefit-grid,
    .membership-tier-grid,
    .membership-form-grid,
    .membership-download-grid,
    .membership-qualification-grid,
    .membership-qualification-grid.professional {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .membership-card,
    .membership-table-card,
    .membership-online-form,
    .membership-tier,
    .membership-rule-list article,
    .membership-form-grid article,
    .membership-form-section {
        padding: 24px;
        border-radius: 20px;
    }

    .membership-benefit-grid article,
    .membership-rule-list article {
        grid-template-columns: 1fr;
    }
}

.value-page,
.value-intro {
    background: var(--bs-white);
}

.pgdpm-page {
    color: #17232c;
    background:
        linear-gradient(180deg, rgba(232, 244, 250, .9) 0%, #ffffff 280px),
        #ffffff;
}

.projects-page {
    color: #17232c;
}

.personnel-page {
    color: #17232c;
}

.contact-page {
    color: #17232c;
}

.news-listing-page {
    color: #17232c;
}

.gallery-page {
    color: #17232c;
}

.gallery-section {
    background:
        radial-gradient(circle at 88% 10%, rgba(29, 79, 120, .1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.gallery-heading {
    max-width: 760px;
}

.gallery-heading p {
    color: #38444b;
    font-size: 1.06em;
    line-height: 1.75;
}

.gallery-grid {
    column-count: 4;
    column-gap: 18px;
}

.gallery-item {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 0 18px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 8px;
    background: #edf4f8;
    box-shadow: 0 16px 42px rgba(3, 27, 78, .08);
    text-decoration: none;
    cursor: zoom-in;
}

.gallery-page .gallery-section .container {
    max-width: 1520px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .35s ease;
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(3, 27, 78, .24);
    opacity: 0;
    transition: opacity .25s ease;
}

.gallery-item::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 52px;
    height: 52px;
    content: "\f00e";
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #1d4f78;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.88);
    transition: opacity .25s ease, transform .25s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after,
.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 92px 44px;
    background: rgba(4, 17, 31, .9);
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-frame {
    width: min(1100px, 100%);
    margin: 0;
    text-align: center;
}

.gallery-lightbox-frame img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    object-fit: contain;
}

.gallery-lightbox-frame figcaption {
    margin-top: 18px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #1d4f78;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    transition: transform .2s ease, background .2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.gallery-lightbox-close {
    top: 22px;
    right: 28px;
    width: 46px;
    height: 46px;
}

.gallery-lightbox-nav {
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
}

.gallery-lightbox-nav:hover {
    transform: translateY(calc(-50% - 1px));
}

.gallery-lightbox-prev {
    left: 26px;
}

.gallery-lightbox-next {
    right: 26px;
}

.news-listing-section {
    background:
        radial-gradient(circle at 88% 12%, rgba(29, 79, 120, .1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.news-listing-heading {
    max-width: 760px;
}

.news-listing-heading p {
    margin-bottom: 0;
    color: #38444b;
    font-size: 1.06em;
    line-height: 1.75;
}

.news-listing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.news-listing-card {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(3, 27, 78, .08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.news-listing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 79, 120, .26);
    box-shadow: 0 26px 64px rgba(3, 27, 78, .15);
}

.news-listing-image {
    display: block;
    overflow: hidden;
    background: #edf4f8;
}

.news-listing-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-listing-card:hover .news-listing-image img {
    transform: scale(1.04);
}

.news-listing-content {
    padding: 24px;
}

.news-listing-content h3 {
    margin-bottom: 12px;
    font-size: 1.35em;
}

.news-listing-content h3 a {
    color: #1f2933;
    text-decoration: none;
}

.news-listing-content h3 a:hover {
    color: #1d4f78;
}

.news-listing-content p {
    margin-bottom: 14px;
    color: #38444b;
    line-height: 1.75;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d4f78;
    font-weight: 800;
    text-decoration: none;
}

.news-read-more:hover {
    color: #0f3452;
}

.news-detail-page {
    color: #17232c;
}

.news-detail-section {
    background:
        radial-gradient(circle at 88% 10%, rgba(29, 79, 120, .1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.news-detail-sidecard,
.news-detail-body,
.news-related-card {
    border: 1px solid rgba(29, 79, 120, .1);
    box-shadow: 0 16px 44px rgba(3, 27, 78, .07);
}

.news-detail-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
    gap: 22px;
}

.news-detail-body,
.news-detail-sidecard,
.news-related-card {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
}

.news-detail-body {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: stretch;
}

.news-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 28px;
    overflow: hidden;
    background: #edf4f8;
}

.news-detail-media-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.news-detail-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 640px;
    display: block;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(3, 27, 78, .12);
}

.news-detail-media-hint {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 29, 47, .78);
    color: #ffffff;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .01em;
    backdrop-filter: blur(8px);
    transition: transform .2s ease, background .2s ease;
}

.news-detail-media-link:hover .news-detail-media-hint {
    transform: translateY(-2px);
    background: rgba(11, 22, 37, .88);
}

.news-detail-richtext {
    padding: 28px 28px 30px;
}

.news-detail-richtext h2 {
    margin-bottom: 18px;
    color: #17232c;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.3;
}

.news-detail-richtext p {
    margin-bottom: 18px;
    color: #38444b;
    font-size: 1.04em;
    line-height: 1.42;
}

.news-detail-side {
    display: grid;
    gap: 18px;
    align-self: start;
}

.news-detail-sidecard {
    padding: 24px;
}

.news-detail-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-detail-points li {
    position: relative;
    padding: 0 0 0 22px;
    color: #38444b;
    line-height: 1.72;
}

.news-detail-points li + li {
    margin-top: 14px;
}

.news-detail-points li::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: #1d4f78;
}

.news-detail-sidecard-accent {
    background: linear-gradient(145deg, #15314b 0%, #1d4f78 50%, #276ca2 100%);
}

.news-detail-sidecard-accent .section-tag,
.news-detail-sidecard-accent h3,
.news-detail-sidecard-accent p,
.news-detail-sidecard-accent .news-detail-cta {
    color: #ffffff;
}

.news-detail-sidecard-accent p:not(.section-tag) {
    opacity: .88;
    line-height: 1.72;
}

.news-detail-cta,
.news-detail-backlink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    text-decoration: none;
}

.news-detail-cta {
    padding: 10px 18px;
    border: 1px solid #c53333;
    border-radius: 999px;
    background: linear-gradient(90deg, #111111 0 50%, #d64545 50% 100%);
    background-size: 210% 100%;
    background-position: 100% 0;
    color: #ffffff;
    font-size: .94rem;
    box-shadow: 0 14px 30px rgba(214, 69, 69, .22);
    transition: background-position .28s ease, border-color .28s ease, transform .22s ease, box-shadow .28s ease;
}

.news-detail-cta:hover,
.news-detail-cta:focus {
    color: #ffffff;
    background-position: 0 0;
    border-color: #111111;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(17, 17, 17, .22);
}

.news-detail-backlink {
    color: #1d4f78;
}

.news-detail-cta i,
.news-detail-backlink i {
    font-size: .88em;
    transition: transform .2s ease;
}

.news-detail-cta:hover i,
.news-detail-backlink:hover i {
    transform: translateX(4px);
}

.news-detail-related {
    padding-top: 12px;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-related-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.news-related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 22px 54px rgba(3, 27, 78, .12);
}

.news-related-image {
    display: block;
    overflow: hidden;
    background: #edf4f8;
}

.news-related-image img {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-related-card:hover .news-related-image img {
    transform: scale(1.04);
}

.news-related-content {
    padding: 20px 20px 22px;
}

.news-related-content h3 {
    margin-bottom: 10px;
    font-size: 1.16em;
}

.news-related-content h3 a {
    color: #1f2933;
    text-decoration: none;
}

.news-related-content h3 a:hover {
    color: #1d4f78;
}

.news-related-content p {
    margin: 0;
    color: #44525c;
    line-height: 1.68;
}

.kerala-chapter-page {
    color: #17232c;
}

.error-page {
    color: #17232c;
}

.error-modern {
    min-height: 68vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 82% 12%, rgba(29, 79, 120, .12), transparent 28%),
        radial-gradient(circle at 12% 82%, rgba(44, 142, 199, .1), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.error-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 52px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 34px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(3, 27, 78, .1);
}

.error-card h1 {
    margin-bottom: 16px;
    color: #1f2933;
    font-size: clamp(2.4rem, 6vw, 5rem);
    letter-spacing: -.06em;
}

.error-lead {
    max-width: 560px;
    margin: 0 auto 28px;
    color: #38444b;
    font-size: 1.14em;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 34px;
}

.error-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.error-link-grid a {
    padding: 14px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 16px;
    background: #f7fbfd;
    color: #1d4f78;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.error-link-grid a:hover {
    border-color: rgba(29, 79, 120, .28);
    background: #eef6fa;
    transform: translateY(-3px);
}

.kerala-chapter-hero {
    background:
        radial-gradient(circle at 90% 8%, rgba(29, 79, 120, .1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.kerala-chapter-hero-card {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
    gap: 38px;
    align-items: center;
    padding: 38px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 34px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 68px rgba(3, 27, 78, .1);
}

.kerala-chapter-map {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 0px;
    
  
  
        
}

.kerala-chapter-map img {
    max-width: 100%;
    height: auto;
    display: block;
   
}

.kerala-chapter-copy p:not(.section-tag),
.kerala-story-card p,
.kerala-chapter-impact p,
.kerala-affiliation-card p {
    color: #38444b;
    font-size: 1.04em;
    line-height: 1.78;
}

.kerala-chapter-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.kerala-chapter-stat-grid article {
    padding: 24px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(3, 27, 78, .07);
}

.kerala-chapter-stat-grid span {
    display: block;
    margin-bottom: 4px;
    color: #1d4f78;
    font-size: 2em;
    font-weight: 900;
    letter-spacing: -.04em;
}

.kerala-chapter-stat-grid p {
    margin: 0;
    color: #38444b;
    font-weight: 700;
}

.kerala-chapter-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.kerala-story-card,
.kerala-groups-card,
.kerala-affiliation-card {
    padding: 34px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(3, 27, 78, .08);
}

.kerala-story-card span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-size: .82em;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kerala-story-card-dark {
    background:
        radial-gradient(circle at 88% 12%, rgba(73, 166, 217, .28), transparent 30%),
        #10283d;
    color: #ffffff;
}

.kerala-story-card-dark span {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
}

.kerala-story-card-dark p {
    color: rgba(255, 255, 255, .82);
}

.kerala-chapter-impact {
    background: #f3f8fb;
}

.kerala-groups-card {
    background: #1d4f78;
    color: #ffffff;
}

.kerala-groups-card .section-tag,
.kerala-groups-card h3 {
    color: #ffffff;
}

.kerala-groups-card p {
    color: rgba(255, 255, 255, .84);
}

.kerala-group-progress {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.kerala-group-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 800;
}

.kerala-group-row strong {
    color: rgba(255, 255, 255, .78);
}

.kerala-progress {
    height: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
}

.kerala-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffffff, #9fd2ee);
}

.kerala-groups-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .13);
}

.kerala-groups-total span {
    color: rgba(255, 255, 255, .82);
    font-weight: 800;
}

.kerala-groups-total strong {
    color: #ffffff;
    font-size: 2.2em;
    line-height: 1;
}

.kerala-affiliation-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(243, 248, 251, .96)),
        #ffffff;
}

.kerala-affiliation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kerala-affiliation-grid p {
    margin: 0;
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(29, 79, 120, .08);
}

.contact-modern {
    background:
        radial-gradient(circle at 90% 10%, rgba(29, 79, 120, .1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.contact-quick-card {
    padding: 28px;
    border-radius: 26px;
    background: #10283d;
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(3, 27, 78, .16);
}

.contact-quick-card span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-quick-card a {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.25em;
    font-weight: 800;
    text-decoration: none;
}

.contact-quick-card p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-address-card,
.contact-message-panel,
.contact-map-card {
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(3, 27, 78, .08);
}

.contact-address-card {
    padding: 34px;
}

.contact-address-card-dark {
    background:
        radial-gradient(circle at 86% 12%, rgba(73, 166, 217, .28), transparent 30%),
        #10283d;
    color: #ffffff;
}

.contact-card-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: #e7f1f7;
    color: #1d4f78;
    font-size: 1.6em;
}

.contact-address-card-dark .contact-card-icon {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
}

.contact-address-card h3 {
    margin-bottom: 18px;
    color: #1f2933;
}

.contact-address-card-dark h3,
.contact-address-card-dark .section-tag {
    color: #ffffff;
}

.contact-address-card p {
    color: #38444b;
    font-size: 1.05em;
    line-height: 1.75;
}

.contact-address-card-dark p {
    color: rgba(255, 255, 255, .82);
}

.contact-link-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-link-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1d4f78;
    font-weight: 800;
    text-decoration: none;
}

.contact-address-card-dark .contact-link-list a {
    color: #ffffff;
}

.contact-map-card {
    overflow: hidden;
}

.contact-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
}

.contact-map-heading h3 {
    margin: 0;
    color: #1f2933;
}

.contact-map-card iframe {
    display: block;
    min-height: 360px;
    background: #e7f1f7;
}

.contact-message-panel {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 34px;
    padding: 38px;
}

.contact-message-copy p:not(.section-tag) {
    color: #38444b;
    font-size: 1.03em;
    line-height: 1.75;
}

.contact-modern-form label {
    display: block;
    margin-bottom: 8px;
    color: #1f2933;
    font-weight: 800;
}

.contact-modern-form input,
.contact-modern-form textarea {
    width: 100%;
    border: 1px solid rgba(29, 79, 120, .14);
    border-radius: 16px;
    padding: 13px 16px;
    background: #f8fbfd;
    color: #1f2933;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.contact-modern-form input:focus,
.contact-modern-form textarea:focus {
    border-color: rgba(29, 79, 120, .45);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(29, 79, 120, .08);
}

.personnel-hero {
    background:
        radial-gradient(circle at 12% 10%, rgba(29, 79, 120, .11), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.personnel-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: stretch;
    padding: 38px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(3, 27, 78, .08);
}

.personnel-hero-card p {
    max-width: 860px;
    color: #38444b;
    font-size: 1.08em;
    line-height: 1.75;
}

.personnel-hero-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border-radius: 26px;
    background: #10283d;
    color: #ffffff;
}

.personnel-hero-note span {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.personnel-hero-note strong {
    display: block;
    margin-bottom: 10px;
    font-size: 2em;
    line-height: 1;
}

.personnel-hero-note p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1em;
}

.personnel-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.personnel-issue-card {
    overflow: hidden;
    border: 1px solid rgba(29, 79, 120, .16);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(3, 27, 78, .1);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.personnel-issue-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 79, 120, .28);
    box-shadow: 0 26px 64px rgba(3, 27, 78, .16);
}

.personnel-issue-card a,
.personnel-issue-card .personnel-issue-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 236px;
    padding: 18px 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(231, 241, 247, .82)),
        #edf4f8;
    box-shadow: inset 0 -1px 0 rgba(29, 79, 120, .1);
}

.personnel-issue-card img {
    width: 153px;
    height: 200px;
    max-width: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(3, 27, 78, .12));
    transition: transform .35s ease;
}

.personnel-issue-card:hover img {
    transform: scale(1.03);
}

.personnel-issue-card div {
    padding: 16px 18px 20px;
}

.personnel-issue-card span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-size: .78em;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.personnel-issue-card h3 {
    margin: 0;
    color: #1f2933;
    font-size: 1.14em;
}

.personnel-issue-card-featured {
    background: #f6fbff;
}

.projects-intro {
    background:
        radial-gradient(circle at 88% 5%, rgba(29, 79, 120, .1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.projects-highlight {
    padding: 28px;
    border-radius: 26px;
    background: #10283d;
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(3, 27, 78, .16);
}

.projects-highlight span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.projects-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.7;
}

.projects-timeline {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

.projects-timeline::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 170px;
    width: 2px;
    content: "";
    background: linear-gradient(180deg, rgba(29, 79, 120, .1), rgba(29, 79, 120, .6), rgba(29, 79, 120, .1));
}

.project-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.project-timeline-item + .project-timeline-item {
    margin-top: 28px;
}

.project-timeline-item::before {
    position: absolute;
    top: 34px;
    left: 160px;
    width: 22px;
    height: 22px;
    content: "";
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #1d4f78;
    box-shadow: 0 0 0 1px rgba(29, 79, 120, .18), 0 10px 24px rgba(3, 27, 78, .16);
}

.project-year {
    position: sticky;
    top: 110px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #e7f1f7;
    color: #1d4f78;
    font-weight: 900;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(29, 79, 120, .08);
}

.project-card {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(3, 27, 78, .08);
}

.project-card::before {
    position: absolute;
    top: 38px;
    left: -14px;
    width: 28px;
    height: 28px;
    content: "";
    border-left: 1px solid rgba(29, 79, 120, .1);
    border-bottom: 1px solid rgba(29, 79, 120, .1);
    background: #ffffff;
    transform: rotate(45deg);
}

.project-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .09);
    color: #1d4f78;
    font-size: .78em;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-card h3 {
    margin-bottom: 16px;
    color: #1f2933;
    font-size: 1.45em;
}

.project-card p {
    margin-bottom: 14px;
    color: #38444b;
    font-size: 1.02em;
    line-height: 1.75;
}

.project-card p:last-child {
    margin-bottom: 0;
}

.pgdpm-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    gap: 38px;
    align-items: stretch;
    padding: 36px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 34px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 22px 70px rgba(3, 27, 78, .12);
}

.pgdpm-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pgdpm-hero-copy p:not(.section-tag) {
    max-width: 710px;
    font-size: 1.12em;
    line-height: 1.8;
    color: #38444b;
}

.pgdpm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pgdpm-hero-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
}

.pgdpm-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 45%, rgba(3, 27, 78, .38));
}

.pgdpm-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pgdpm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -30px;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.pgdpm-stats article {
    padding: 24px;
    border-radius: 24px;
    background: #1d4f78;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(3, 27, 78, .16);
}

.pgdpm-stats span {
    display: block;
    margin-bottom: 4px;
    font-size: 1.7em;
    font-weight: 800;
    letter-spacing: -.03em;
}

.pgdpm-stats p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.pgdpm-info-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 20px;
}

.pgdpm-info-card,
.pgdpm-fee-grid article,
.pgdpm-semester-grid article {
    padding: 30px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(3, 27, 78, .07);
}

.pgdpm-info-card-dark {
    grid-row: span 2;
    background:
        radial-gradient(circle at 84% 14%, rgba(73, 166, 217, .28), transparent 30%),
        #10283d;
    color: #ffffff;
}

.pgdpm-info-card span,
.pgdpm-semester-grid span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .09);
    color: #1d4f78;
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pgdpm-info-card-dark span {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
}

.pgdpm-info-card h3 {
    margin-bottom: 16px;
    font-size: 2em;
}

.pgdpm-info-card p,
.pgdpm-fee-grid p,
.pgdpm-semester-grid li,
.pgdpm-section-heading p,
.pgdpm-dates-card p {
    color: #38444b;
    font-size: 1.02em;
    line-height: 1.75;
}

.pgdpm-info-card-dark p {
    color: rgba(255, 255, 255, .82);
}

.pgdpm-fees-wrap,
.pgdpm-dates-wrap {
    background: #f3f8fb;
}

.pgdpm-fee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pgdpm-fee-grid i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: #e7f1f7;
    color: #1d4f78;
    font-size: 1.6em;
}

.pgdpm-fee-grid h3 {
    margin-bottom: 12px;
    font-size: 1.35em;
}

.pgdpm-section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.pgdpm-semester-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pgdpm-semester-grid ol {
    margin: 0;
    padding-left: 20px;
}

.pgdpm-semester-grid li + li {
    margin-top: 12px;
}

.pgdpm-dates-card {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: start;
    padding: 38px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 18px 54px rgba(3, 27, 78, .08);
}

.pgdpm-date-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.pgdpm-date-list p {
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    background: #f5f9fb;
}

.pgdpm-date-list span {
    display: block;
    margin-bottom: 6px;
    color: #1d4f78;
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.value-card,
.value-feature-row article,
.value-section {
    border: 1px solid rgba(3, 27, 78, .08);
    box-shadow: 0 16px 38px rgba(3, 27, 78, .07);
}

.value-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 34px;
    align-items: center;
}

.value-hero-copy {
    min-width: 0;
}

.value-hero-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 30px;
    box-shadow: 0 20px 52px rgba(3, 27, 78, .14);
}

.value-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.value-hero-image:hover img {
    transform: scale(1.04);
}

.value-card-grid,
.value-feature-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.value-card,
.value-feature-row article,
.value-section {
    padding: 30px;
    border-radius: 24px;
    background: #f8fafc;
}

.value-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.value-card:hover,
.value-feature-row article:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 24px 54px rgba(3, 27, 78, .12);
}

.value-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: rgba(29, 79, 120, .11);
    color: #1d4f78;
    font-size: 24px;
}

.value-card h3,
.value-feature-row span,
.value-section h3 {
    color: #1f2933;
}

.value-card p,
.value-feature-row p {
    margin: 0;
    color: #1f2933;
    line-height: 1.7;
}

.value-feature-row span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(29, 79, 120, .11);
    color: #1d4f78;
    font-weight: 900;
}

.value-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.value-pill-list span {
    display: inline-flex;
    padding: 11px 16px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 999px;
    background: var(--bs-white);
    color: #1f2933;
    font-weight: 700;
}

.value-home-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(17, 120, 165, .12), transparent 24%),
        radial-gradient(circle at 92% 16%, rgba(255, 119, 83, .13), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #f2f8fc 48%, #ffffff 100%);
}

.value-home-section::before,
.value-home-section::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    filter: blur(0);
    pointer-events: none;
}

.value-home-section::before {
    top: 64px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: linear-gradient(135deg, rgba(29, 79, 120, .09), rgba(44, 142, 199, .02));
}

.value-home-section::after {
    bottom: -110px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, rgba(255, 145, 77, .08), rgba(255, 255, 255, 0));
}

.value-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 28px;
    align-items: center;
    padding: 34px 36px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(15, 42, 73, .96) 0%, rgba(29, 79, 120, .92) 48%, rgba(44, 142, 199, .82) 100%);
    box-shadow: 0 24px 70px rgba(3, 27, 78, .14);
}

.value-home-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.value-home-copy .section-tag,
.value-home-copy h1,
.value-home-copy p {
    color: #ffffff;
}

.value-home-copy .section-tag {
    letter-spacing: .18em;
    opacity: .82;
}

.value-home-copy p {
    max-width: 640px;
    font-size: 1.05em;
    line-height: 1.8;
    opacity: .9;
}

.value-home-highlights {
    display: grid;
    gap: 14px;
}

.value-home-highlights article {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
}

.value-home-highlights strong,
.value-home-highlights span {
    display: block;
    color: #ffffff;
}

.value-home-highlights strong {
    margin-bottom: 4px;
    font-size: 1.48em;
    font-weight: 900;
    letter-spacing: -.03em;
}

.value-home-highlights span {
    font-size: .96em;
    opacity: .84;
}

.value-home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px 24px 24px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 46px rgba(3, 27, 78, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.value-home-card::before {
    position: absolute;
    inset: 0;
    content: "";
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(10, 28, 49, .88) 0%, rgba(9, 27, 48, .96) 100%);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .32s ease, transform .32s ease;
}

.value-home-card > * {
    position: relative;
    z-index: 1;
}

.value-home-card:hover {
    transform: translateY(-7px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 28px 60px rgba(3, 27, 78, .14);
}

.value-home-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.value-home-card-featured {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(240, 248, 255, .98) 100%);
}

.value-home-card-accent {
    background:
        linear-gradient(180deg, rgba(255, 247, 244, .98) 0%, rgba(255, 255, 255, .98) 100%);
}

.value-home-card-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(29, 79, 120, .14), rgba(44, 142, 199, .12));
    color: #1d4f78;
    font-size: 1.45em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.value-home-label {
    margin-bottom: 10px;
    color: #1d4f78;
    font-size: .8em;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.value-home-card h3 {
    margin-bottom: 12px;
    font-size: 1.28em;
    line-height: 1.35;
}

.value-home-card h3 a {
    color: #1f2933;
    text-decoration: none;
}

.value-home-card h3 a:hover {
    color: #1d4f78;
}

.value-home-card:hover .value-home-label,
.value-home-card:hover h3 a,
.value-home-card:hover > p:not(.value-home-label),
.value-home-card:hover .value-home-link {
    color: #ffffff;
}

.value-home-card:hover .value-home-card-icon {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.value-home-card > p:not(.value-home-label) {
    margin-bottom: 18px;
    color: #44525c;
    line-height: 1.72;
}

.value-home-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #1d4f78;
    font-weight: 800;
    text-decoration: none;
}

.value-home-link i {
    font-size: .88em;
    transition: transform .2s ease;
}

.value-home-link:hover {
    color: #0f4f80;
}

.value-home-link:hover i,
.value-home-card:hover .value-home-link i {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .gallery-grid {
        column-count: 2;
    }

    .gallery-lightbox {
        padding: 70px 22px 36px;
    }

    .gallery-lightbox-nav {
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .gallery-lightbox-nav:hover {
        transform: translateY(-1px);
    }

    .news-listing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-detail-article-grid,
    .news-related-grid {
        grid-template-columns: 1fr;
    }

    .error-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kerala-chapter-hero-card,
    .kerala-chapter-story,
    .kerala-affiliation-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .kerala-chapter-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kerala-chapter-map {
        min-height: 320px;
    }

    .contact-grid,
    .contact-message-panel {
        grid-template-columns: 1fr;
    }

    .news-detail-body {
        grid-template-columns: 1fr;
    }

    .personnel-hero-card {
        grid-template-columns: 1fr;
    }

    .personnel-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-timeline::before {
        left: 22px;
    }

    .project-timeline-item {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-left: 54px;
    }

    .project-timeline-item::before {
        left: 11px;
    }

    .project-year {
        position: static;
        width: max-content;
        max-width: 100%;
    }

    .project-card::before {
        display: none;
    }

    .pgdpm-hero-card,
    .pgdpm-info-grid,
    .pgdpm-fee-grid,
    .pgdpm-dates-card {
        grid-template-columns: 1fr;
    }

    .pgdpm-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 18px;
        padding: 0;
    }

    .pgdpm-info-card-dark {
        grid-row: auto;
    }

    .pgdpm-semester-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-hero-grid,
    .value-card-grid,
    .value-feature-row {
        grid-template-columns: 1fr;
    }

    .value-home-hero,
    .value-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-home-hero {
        gap: 20px;
        padding: 28px;
    }

    .value-home-copy {
        grid-column: 1 / -1;
    }

    .feature-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-hero-image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        column-count: 1;
    }

    .news-carousel-card .news-image {
        height: 205px;
    }

    .news-carousel-card .news-content {
        padding: 18px 16px 16px;
    }

    .gallery-lightbox {
        padding-right: 14px;
        padding-left: 14px;
    }

    .gallery-lightbox-frame img {
        max-height: calc(100vh - 190px);
    }

    .gallery-lightbox-close {
        right: 14px;
    }

    .news-listing-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-listing-content {
        padding: 20px;
    }

    .news-listing-image img {
        height: 220px;
        min-height: 220px;
    }

    .news-detail-sidecard,
    .news-detail-body,
    .news-related-card {
        border-radius: 22px;
    }

    .news-detail-media {
        padding: 24px 20px 12px;
    }

    .news-detail-media img {
        max-height: 520px;
    }

    .news-detail-media-hint {
        left: 12px;
        bottom: 12px;
        padding: 8px 12px;
        font-size: .84rem;
    }

    .news-detail-richtext,
    .news-detail-sidecard,
    .news-related-content {
        padding: 20px 18px;
    }

    .error-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .error-link-grid {
        grid-template-columns: 1fr;
    }

    .kerala-chapter-hero-card {
        display: block;
        padding: 18px;
        border-radius: 24px;
    }

    .kerala-chapter-map {
        min-height: 0;
        margin-bottom: 22px;
        padding: 16px;
        border-radius: 20px;
    }

    .kerala-chapter-map img {
        max-height: 300px;
        object-fit: contain;
    }

    .kerala-chapter-copy h2 {
        font-size: 1.65rem;
    }

    .kerala-chapter-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .kerala-chapter-stat-grid article,
    .kerala-story-card,
    .kerala-groups-card,
    .kerala-affiliation-card,
    .kerala-affiliation-grid p {
        padding: 18px;
        border-radius: 18px;
    }

    .contact-address-card,
    .contact-message-panel,
    .contact-map-card,
    .contact-quick-card {
        padding: 24px;
        border-radius: 22px;
    }

    .contact-map-card {
        padding: 0;
    }

    .contact-map-heading {
        display: block;
        padding: 24px;
    }

    .contact-map-heading .btn {
        margin-top: 16px;
    }

    .personnel-hero-card,
    .personnel-hero-note {
        padding: 24px;
        border-radius: 22px;
    }

    .personnel-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .personnel-issue-card {
        border-radius: 18px;
    }

    .personnel-issue-card a {
        min-height: 218px;
        padding: 12px 8px;
    }

    .personnel-issue-card img {
        width: min(153px, 100%);
        height: 200px;
    }

    .personnel-issue-card div {
        padding: 14px;
    }

    .personnel-issue-card span {
        margin-bottom: 8px;
        padding: 5px 10px;
        font-size: .72em;
    }

    .personnel-issue-card h3 {
        font-size: .96em;
        line-height: 1.3;
    }

    .project-timeline-item {
        padding-left: 38px;
    }

    .project-card,
    .projects-highlight {
        padding: 24px;
        border-radius: 22px;
    }

    .value-home-hero,
    .value-home-grid {
        grid-template-columns: 1fr;
    }

    .feature-home-shell {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .feature-home-grid {
        grid-template-columns: 1fr;
    }

    .feature-home-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .feature-home-card h3 {
        font-size: 1.12em;
    }

    .value-home-hero {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .value-home-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .value-home-card h3 {
        font-size: 1.12em;
    }

    .value-home-highlights article {
        padding: 16px 18px;
        border-radius: 18px;
    }

    .pgdpm-hero-card,
    .pgdpm-info-card,
    .pgdpm-fee-grid article,
    .pgdpm-semester-grid article,
    .pgdpm-dates-card {
        padding: 22px;
        border-radius: 22px;
    }

    .pgdpm-hero-media {
        min-height: 250px;
        border-radius: 20px;
    }

    .pgdpm-stats,
    .pgdpm-semester-grid,
    .pgdpm-date-list {
        grid-template-columns: 1fr;
    }

    .value-hero-image {
        border-radius: 22px;
    }

    .value-hero-image {
        aspect-ratio: 4 / 3;
    }

    .value-card,
    .value-feature-row article,
    .value-section {
        padding: 24px;
        border-radius: 20px;
    }
}


/*** Features ***/
.feature {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/business-people.webp) center bottom no-repeat;
    background-size: cover;
}

.headquarters-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.headquarters-card {
    width: 100%;
    box-shadow: 0 18px 42px rgba(3, 27, 78, .12);
}

.headquarters-card p:last-child {
    margin-bottom: 0;
}

.headquarters-address {
    width: 100%;
    color: var(--bs-white);
    font-size: 1.05rem;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(3, 27, 78, .35);
}

.headquarters-address p:last-child {
    margin-bottom: 0;
}

.feature-home-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 14%, rgba(44, 142, 199, .6), transparent 100%),
        radial-gradient(circle at 88% 16%, rgba(44, 142, 199, .6), transparent 100%),
        linear-gradient(180deg, #edf6fb 0%, #f8fbff 52%, #ffffff 100%);
}

.feature-home-shell {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 34px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 22px 60px rgba(3, 27, 78, .08);
    backdrop-filter: blur(6px);
}

.feature-home-intro {
    max-width: 760px;
}

.feature-home-intro p:not(.section-tag) {
    color: #44525c;
    font-size: 1.05em;
    line-height: 1.78;
}

.feature-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.feature-home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 0;
    padding: 26px 24px 24px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(244, 249, 253, .98) 100%);
    box-shadow: 0 16px 40px rgba(3, 27, 78, .06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-home-card:hover {
    transform: translateY(-7px);
    border-color: rgba(29, 79, 120, .22);
    box-shadow: 0 26px 56px rgba(3, 27, 78, .12);
}

.feature-home-card-dark {
    background: linear-gradient(145deg, #16314d 0%, #1d4f78 52%, #25689c 100%);
}

.feature-home-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(29, 79, 120, .13), rgba(44, 142, 199, .11));
    color: #1d4f78;
    font-size: 1.35em;
}

.feature-home-label {
    margin-bottom: 10px;
    color: #1d4f78;
    font-size: .78em;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.feature-home-card h3 {
    margin-bottom: 12px;
    font-size: 1.26em;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.feature-home-card p:not(.feature-home-label) {
    margin-bottom: 18px;
    color: #44525c;
    line-height: 1.72;
    overflow-wrap: break-word;
}

.feature-home-card-dark .feature-home-icon {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
}

.feature-home-card-dark .feature-home-label,
.feature-home-card-dark .feature-title-link,
.feature-home-card-dark p:not(.feature-home-label),
.feature-home-card-dark .feature-home-link {
    color: #ffffff;
}

.feature-home-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #1d4f78;
    font-weight: 800;
    text-decoration: none;
}

.feature-home-link i {
    font-size: .88em;
    transition: transform .2s ease;
}

.feature-home-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1199.98px) {
    .feature-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .feature-home-grid {
        grid-template-columns: 1fr;
    }
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
    background-color: rgba(255, 255, 255, .7);
}

.feature-title-link {
    color: #8b3f31;
    text-decoration: none;
}

.feature-title-link:hover {
    color: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}


/*** About ***/
.about-section {
    box-shadow: inset 0 28px 32px -28px rgba(3, 27, 78, .22);
}

.home-chapter-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 12%, rgba(29, 79, 120, .09), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%) !important;
}

.home-chapter-panel {
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
    gap: 46px;
    align-items: center;
    padding: 38px;
    border: 1px solid rgba(29, 79, 120, .12);
    border-radius: 36px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(3, 27, 78, .1);
}

.home-collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.home-collage-img,
.home-serving-card {
    min-height: 220px;
    border-radius: 24px;
}

.home-collage-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    box-shadow: 0 14px 34px rgba(3, 27, 78, .1);
}

.home-collage-img-one {
    border-radius: 34px 16px 16px 16px;
}

.home-collage-img-two {
    border-radius: 16px 34px 16px 16px;
}

.home-collage-img-three {
    border-radius: 16px 16px 16px 34px;
}

.home-serving-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 16px 16px 34px 16px;
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .18), transparent 28%),
        #1d4f78;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 44px rgba(3, 27, 78, .18);
}

.home-serving-card small {
    margin-top: 14px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.06em;
    font-weight: 700;
}

.home-serving-card h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.2rem, 6vw, 4rem);
    line-height: .95;
    
}

.home-serving-badge {
    display: inline-flex;
    margin-top: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.4;
}

.home-chapter-copy p:not(.section-tag) {
    color: #38444b;
    font-size: 1.04em;
    line-height: 1.38;
}

.home-chapter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.home-chapter-stats article {
    padding: 22px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 22px;
    background: #f7fbfd;
}

.home-chapter-stats span {
    display: block;
    margin-bottom: 6px;
    color: #1d4f78;
    font-size: 2em;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.home-chapter-stats p {
    margin: 0;
    color: #38444b;
    font-weight: 800;
    line-height: 1.35;
}

.home-chapter-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid rgba(29, 79, 120, .18);
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4f78 0%, #2c8ec7 100%);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(29, 79, 120, .2);
}

.home-chapter-link i {
    font-size: .88em;
    transition: transform .22s ease;
}

.home-chapter-link:hover,
.home-chapter-link:focus {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(29, 79, 120, .24);
}

.home-chapter-link:hover i,
.home-chapter-link:focus i {
    transform: translateX(4px);
}

.membership-home-section {
    background: #1d4f78;
        
}

.membership-home-shell {
    padding: 34px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 34px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px rgba(3, 27, 78, .08);
}

#why-join-nipm-kerala {
    scroll-margin-top: 110px;
}

.membership-home-copy {
    max-width: 760px;
}

.membership-home-copy p:not(.section-tag) {
    color: #44525c;
    font-size: 1.04rem;
    line-height: 1.74;
}

.membership-home-benefits,
.membership-home-fees {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.membership-home-benefits article,
.membership-home-fees article {
    padding: 24px;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(3, 27, 78, .05);
}

.membership-home-benefits i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(29, 79, 120, .1);
    color: #1d4f78;
    font-size: 1.3rem;
}

.membership-home-benefits h3,
.membership-home-fees strong {
    color: #1f2933;
}

.membership-home-benefits h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.membership-home-benefits p,
.membership-home-fees p {
    margin: 0;
    color: #44525c;
    line-height: 1.65;
}

.membership-home-fees span {
    display: block;
    margin-bottom: 10px;
    color: #1d4f78;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.membership-home-fees strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.membership-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.membership-home-secondary {
    border: 1px solid rgba(29, 79, 120, .18);
    background: #ffffff;
    color: #1d4f78;
    font-weight: 800;
}

.membership-home-secondary:hover,
.membership-home-secondary:focus {
    border-color: rgba(29, 79, 120, .32);
    background: #f4f9fd;
    color: #123956;
}

.about-fact {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (max-width: 575.98px) {
    .hero-kicker {
        font-size: .78rem;
        letter-spacing: .1em;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .membership-home-shell {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .home-chapter-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .home-collage-grid,
    .home-chapter-stats {
        grid-template-columns: 1fr;
    }

    .home-collage-img-two,
    .home-collage-img-three {
        display: none;
    }

    .home-collage-img,
    .home-serving-card {
        min-height: 210px;
        border-radius: 22px;
    }

    .about-stats-row {
        justify-content: center;
    }

    .about-stat-center {
        justify-content: center !important;
        text-align: center;
    }

    .about-fact.mt-n130 {
        margin-top: -40px;
    }
}

@media (max-width: 991.98px) {
    .home-chapter-panel {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.container-service {
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.container-service::before {
    position: absolute;
    content: '';
    background: #f5ebe9;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 25px 20px;
    background: var(--bs-white);
    box-shadow: 0 0 30px rgba(0, 0, 0, .09);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-title-link {
    color: #8b3f31;
    text-decoration: none;
}

.service-title-link:hover {
    color: var(--bs-primary);
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .service-title-link,
.service-item:hover .service-title-link:hover {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}


/*** Team ***/
.container-team {
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** News Update ***/
.news-update {
    background: #f5ebe9;
    box-shadow: 0 -16px 40px rgba(3, 27, 78, .08);
      
}

.section-tag {
    letter-spacing: .16em;
    font-size: .85rem;
    font-weight: 700;
}

.news-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(3, 27, 78, .18);
}

.news-status-badge.status-upcoming {
    background: linear-gradient(135deg, #1d4f78 0%, #2c8ec7 100%);
}

.news-status-badge.status-ongoing {
    background: linear-gradient(135deg, #198754 0%, #2bb673 100%);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.06);
}

.news-content {
    padding: 22px 20px;
}

.news-content h4 {
    font-size: 1.20rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

.news-title-link {
    color: #8b3f31;
    text-decoration: none;
}

.news-title-link:hover {
    color: var(--bs-primary);
}

.news-content p {
    color: #000;
    font-size: 1em;
    line-height: 1.3;
}

.news-update-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid rgba(29, 79, 120, .14);
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4f78 0%, #2c8ec7 100%);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 16px 34px rgba(29, 79, 120, .18);
}

.news-update-cta i {
    font-size: .88em;
    transition: transform .22s ease;
}

.news-update-cta:hover,
.news-update-cta:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #163d5f 0%, #2575a7 100%);
    box-shadow: 0 20px 42px rgba(29, 79, 120, .24);
}

.news-update-cta:hover i,
.news-update-cta:focus i {
    transform: translateX(4px);
}

.news-carousel-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(29, 79, 120, .1);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 5px rgba(3, 27, 78, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.news-carousel-card .news-image {
    display: block;
    height: 214px;
}

.news-carousel-card .news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 18px 18px;
}

.news-carousel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 79, 120, .2);
    box-shadow: 0 5px 5px rgba(3, 27, 78, .12);
}

.news-carousel-card .news-content h4 {
    font-size: 1.18rem;
    line-height: 1.34;
    margin-bottom: 12px;
}

.news-home-meta {
    margin-bottom: 10px;
    color: #1d4f78 !important;
    font-size: .78em !important;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-carousel-card .news-content > p {
    margin-bottom: 0;
}

.news-carousel-card .news-content > p:last-of-type {
    color: #44525c;
    line-height: 1.62;
}

.news-home-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: #1d4f78;
    font-weight: 800;
    text-decoration: none;
}

.news-home-link i {
    font-size: .88em;
    transition: transform .2s ease;
}

.news-home-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1199.98px) {
    .membership-home-benefits,
    .membership-home-fees {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.news-carousel .owl-stage {
    display: flex;
}

.news-carousel .owl-item {
    display: flex;
}

.news-carousel .news-item {
    width: 100%;
}

.news-carousel .owl-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.news-carousel .owl-nav .owl-prev,
.news-carousel .owl-nav .owl-next {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff !important;
    color: var(--bs-primary) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(3, 27, 78, .12);
    transition: .3s;
}

.news-carousel .owl-nav .owl-prev i,
.news-carousel .owl-nav .owl-next i {
    display: block;
    line-height: 1;
}

.news-carousel .owl-nav .owl-prev:hover,
.news-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.news-carousel .owl-dots {
    margin-top: 16px;
    text-align: center;
}

.news-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: rgba(3, 27, 78, .18);
}

.news-carousel .owl-dots .owl-dot.active span,
.news-carousel .owl-dots .owl-dot:hover span {
    background: var(--bs-primary);
}

.page-content {
    position: relative;
    z-index: 3;
    background: #ffffff;
}

@media (max-width: 991.98px) {
    .news-update {
        border-radius: 0px 0px 0 0;
    }

    .membership-home-benefits,
    .membership-home-fees {
        grid-template-columns: 1fr;
    }
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-primary);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 1);
    font-weight: normal;
    text-transform: capitalize;
    text-decoration: none;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
    
}

.footer .btn.btn-link:hover {
    color: var(--bs-warning);
    text-decoration: none;
    box-shadow: none;
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .upcoming-ticker-shell {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
    }

    .site-search-fab {
        left: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .site-search-modal {
        border-radius: 24px;
    }

    .site-search-modal .modal-header,
    .site-search-modal .modal-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-search-form {
        grid-template-columns: 1fr;
    }

    .site-search-form .btn {
        width: 100%;
    }

    .upcoming-ticker-shell {
        padding: 16px;
        border-radius: 18px;
    }

    .upcoming-ticker-item {
        gap: 10px;
        padding: 9px 12px;
    }

    .upcoming-ticker-item span {
        font-size: .92rem;
    }
}

.bg-light-blue {
    background-color: #d9eaea;
}
.my-custom-blue-bg{background-color: #1d4f78;}
.text-custom-blue{color: #1d4f78;}
