/* .barlow-thin {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 100;
font-style: normal;
}

.barlow-extralight {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 200;
font-style: normal;
}

.barlow-light {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 300;
font-style: normal;
}

.barlow-regular {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 400;
font-style: normal;
}

.barlow-medium {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 500;
font-style: normal;
}

.barlow-semibold {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 600;
font-style: normal;
}

.barlow-bold {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 700;
font-style: normal;
}

.barlow-extrabold {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 800;
font-style: normal;
}

.barlow-black {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 900;
font-style: normal;
}

.barlow-thin-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 100;
font-style: italic;
}

.barlow-extralight-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 200;
font-style: italic;
}

.barlow-light-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 300;
font-style: italic;
}

.barlow-regular-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 400;
font-style: italic;
}

.barlow-medium-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 500;
font-style: italic;
}

.barlow-semibold-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 600;
font-style: italic;
}

.barlow-bold-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 700;
font-style: italic;
}

.barlow-extrabold-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 800;
font-style: italic;
}

.barlow-black-italic {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
font-weight: 900;
font-style: italic;
} */
  

body{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
}

@property --btn-fill {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}

:root {
    --iimr-green-900: #0d3b3b;
    --iimr-green-800: #115e59;
    --iimr-green-700: #0f766e;
    --iimr-maize-500: #f5b82e;
    --iimr-maize-400: #ffd56a;
    --iimr-ink: #0f2424;
    --iimr-muted: #4f5e5e;
    --iimr-line: #d4e8e7;
    --iimr-surface: #ffffff;
    --iimr-soft: #f0f7f7;
    --iimr-blue: #123d67;
    --iimr-shadow: 0 18px 45px rgba(var(--iimr-green-900-rgb), 0.12);
    --iimr-radius: 8px;
    --iimr-green-900-rgb: 13, 59, 59;
}

/* ── TEST THEME: rgb(12 125 135) — uncomment to activate ────
:root {
    --iimr-green-900: #073a3f;
    --iimr-green-800: #0a6570;
    --iimr-green-700: #0c7d87;
    --iimr-maize-500: #f5b82e;
    --iimr-maize-400: #ffd56a;
    --iimr-ink: #031e21;
    --iimr-muted: #4a7a80;
    --iimr-line: #b0dfe3;
    --iimr-surface: #ffffff;
    --iimr-soft: #edf7f8;
    --iimr-blue: #123d67;
    --iimr-shadow: 0 18px 45px rgba(var(--iimr-green-900-rgb), 0.12);
    --iimr-radius: 8px;
    --iimr-green-900-rgb: 7, 58, 63;
}
─────────────────────────────────────────────────────────────── */

/* Custom scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--iimr-green-700) transparent;
}

html ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

html ::-webkit-scrollbar-track {
    background-color: transparent;
}

html ::-webkit-scrollbar-thumb {
    background-color: var(--iimr-green-700);
    border-radius: 8px;
}

html ::-webkit-scrollbar-thumb:hover {
    background-color: var(--iimr-green-800);
}

/* Widen Bootstrap container for modern large screens */
@media (min-width: 1200px) {
    .container, .container-xl, .container-lg, .container-md, .container-sm {
        max-width: 1320px;
    }
}
@media (min-width: 1400px) {
    .container, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
        max-width: 1600px;
    }
}


.site-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo-link:hover,
.site-logo-link:focus {
    text-decoration: none !important;
    color: inherit;
}

.site-logo-emblem {
    height: 58px;
    width: auto;
    flex-shrink: 0;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-logo-parent {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: var(--iimr-green-900);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.site-logo-name {
    display: block;
    font-size: clamp(18px, 1.55vw, 24px);
    font-weight: 700;
    color: var(--iimr-green-900);
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.transparent .site-logo-parent,
.transparent .site-logo-name {
    color: #ffffff;
}

.logo{
    width: 350px;
}
.logo.footer{
    width: 54px;
}

.logo-text h2{
    font-size: 18px;
    margin-bottom: 0;
}
.logo-text p{
    font-size: 12px;
}
.logo-text small{
    font-size: 10px;
}

.header-top{
    background-color: transparent;
    width: 100%;
}

header#header .header-top {
    background: var(--iimr-green-900);
}

header#header.transparent .header-top {
    background: rgba(var(--iimr-green-900-rgb), 0.88);
}

/* .navbar-custom{
    
}

.navbar-custom .nav-item{
    margin: 0 5px;
}

.navbar-custom .nav-item .nav-link{
    color: #ffffff;
    font-weight: 400;
    padding-right: 10px;
}
.navbar-custom .nav-item .nav-link.active, .navbar-custom .nav-item .nav-link:hover{
    color: #ffffff;
    font-weight: 400;
}


.navbar-custom .nav-item.has-children{
    position: relative;
}
.navbar-custom .nav-item.has-children::before{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    color: #ffffff;
    right: 0;
    top: 12px;
    font-size: 12px;
}

.navbar-custom .nav-item.has-children .sub-menu{
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    visibility: hidden;
    width: 200px;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 10px 0;
    list-style: none;
    -webkit-transition: all 0.4s ease 0.2s;
    transition: all 0.4s ease 0.2s;
    opacity: 0;
    
    background-color: #EFEFEF;
    
    
}
.navbar-custom .nav-item.has-children .sub-menu li{
    
}


.navbar-custom .nav-item.has-children .sub-menu li a{
    color: #092D51;
    font-weight: 400;
    border-bottom: 3px solid #EFEFEF;
    display: inline-block !important;
    text-decoration: none;
    padding: 0.2rem  0.5rem;
}
.navbar-custom .nav-item.has-children .sub-menu li.has-children::before{
    content: "\f0da";
    right: 20px;
    
}

.navbar-custom .nav-item.has-children .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
} */


/* .navbar-custom .nav-item.has-children .sub-menu li.active > a, .navbar-custom .nav-item.has-children .sub-menu li:hover > a{
    border-bottom: 3px solid #FEBE00;
} */





section.padding{
    padding: 60px 0;
}
.statistics{
    background: #ffffff;
    border: 1px solid #0c264b;
    margin: 60px 80px 0 80px;
    border-radius: 20px;
}
.statistics .statistics-single{
    padding: 20px;
}
.statistics .statistics-single h4{
    color: #0c264b;
    font-size: 54px;
}

.f-link {
  color: #fff;
}




.slider-bg-container{
    position: relative;
}
/* .slider-bg-container::before{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 51, 97, 0.9);
} */

.home-slider .slider-content-cont{
    /* max-width: 800px; */
    max-width: 100%;
    /* height: 480px; */
    /* padding: 50px; */
    padding: 50px 10px;
    min-height: 700px;
    margin: auto;
    /* left: 0;
    top: 0;
    right: 0;
    bottom: 0; */
    color: #ffffff;
    z-index: 9;
    position: relative;
}

.slider-heading{
    text-align: left;
}


.director-image{
    padding-left: 100px;
}
.collaborate-image{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
}
.play-image{
    position: absolute;
    right: 50px;
    bottom: 0;
    width: 80px;
}


/* .news .news-single{
    border: 1px solid #DCDCDC;
    border-radius: 10px;
}
.news .news-single img{
    margin-bottom: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.news .news-single h5{
    font-size: 18px;
}
.news .news-single p{
    font-size: 14px;
    
} */
.news .news-single{
    border: 1px solid #DCDCDC;
    border-radius: 10px;
}
.news .news-single .news-single-content{
    bottom: 0;
}
.news .news-single img{
    border-radius: 10px;
}
.news .news-single h5{
    font-size: 18px;
}
.news .news-single p{
    font-size: 14px;
    
}

.overlay-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* overlay color */
  z-index: 1;
  border-radius: inherit;
}

.overlay-bg .overlay-content{
  z-index: 4;
}




.feature{
    background: #ffffff;
    border-radius: 5px;
    padding: 20px;
}
.feature h3{
    margin: 0;
    font-size: 18px;
}

 .feature-image {
            width: 100%;
            margin-bottom: 15px;
        }

/* ── Quick-link cards (replaces old .feature image tiles) ── */
.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px 20px;
    background: #ffffff;
    border-radius: var(--iimr-radius);
    border: 1px solid var(--iimr-line);
    text-decoration: none;
    color: var(--iimr-ink);
    box-shadow: 0 2px 10px rgba(var(--iimr-green-900-rgb), 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    overflow: hidden;
}

a.quick-link-card:hover,
a.quick-link-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(var(--iimr-green-900-rgb), 0.13);
    text-decoration: none;
    color: var(--iimr-ink);
    outline: none;
}

a.quick-link-card:hover .quick-link-icon {
    background: var(--iimr-maize-500);
    color: var(--iimr-ink);
}

.quick-link-no-link {
    cursor: default;
    opacity: 0.55;
}

.quick-link-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--iimr-green-800);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
    transition: background 0.22s ease, color 0.22s ease;
}

.quick-link-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
}

        .news-slider .item {
            width: 100%;
        }

        .img-box {
            width: 50%;
            padding: 5px;
        }

        .slider-img {
            width: 100%;
            height: 450px;
            object-fit: cover;
            border-radius: 10px;
        }



.single-gallery {
    position: relative;
    /* margin-bottom: 30px; */
    position: relative;
    overflow: hidden;
    height: 270px;
}

.single-gallery:hover .gallery-icon {
    -webkit-transform: scale(1);
    transform: scale(1)
}


.single-gallery img {
    -ms-transition: transform 1s cubic-bezier(0,1,.5,1), opacity 0.5s ease, translate 0.5s ease;
    -webkit-transition: transform 1s cubic-bezier(0,1,.5,1), opacity 0.5s ease, translate 0.5s ease;
    transition: transform 1s cubic-bezier(0,1,.5,1), opacity 0.5s ease, translate 0.5s ease;
    opacity: 0;
    translate: 0 16px;
}

.single-gallery img.img-visible {
    opacity: 1;
    translate: 0 0;
}

.single-gallery:hover img {
    -webkit-filter: brightness(.5);
    filter: brightness(.5);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.single-gallery .gallery-icon {
    position: absolute;
    text-align: center;
    top: 45%;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 12px;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #0c264b;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: .7s;
    transition: .7s
}

.single-gallery .gallery-icon:hover {
    background-color: #1b2132;
    color: #fff
}

.single-gallery .gallery-icon:hover::before {
    border-color: #1b2132
}

.single-gallery .gallery-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid #0c264b;
    -webkit-animation: scale 1s linear 2s infinite;
    animation: scale 1s linear 2s infinite
}

.staff{
    min-height: 300px;
}

.staff-social ul{
    padding-left: 0;
    list-style: none;
    margin: 5px 0;
}
.staff-social ul li{
    display: inline-block;
}

.staff-social ul li i{
    font-size: 18px;
    margin-right: 5px;
    color: #092D51;
}

.staff img{
    width: 132px;
    margin-top: 5px;
}

.staff p{
    font-size: 16px;
}

/* Modern staff card */
.staff-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    border-top: 3px solid var(--iimr-green-800);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.staff-card-photo {
    padding: 24px 24px 10px;
}

.staff-card-photo img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #e4ede7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.staff-card-body {
    padding: 0 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.staff-card-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--iimr-green-800);
    margin-bottom: 5px;
    line-height: 1.35;
}

.staff-card-designation {
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 14px;
    line-height: 1.4;
}

.staff-card-btn {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    background: var(--iimr-green-800);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    letter-spacing: 0.03em;
}

.staff-card-btn:hover {
    background: var(--iimr-maize-500);
    color: #1a1a1a;
}

/* ── Equipment cards ── */
.equipment-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-top: 3px solid var(--iimr-green-800);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
.equipment-card-img-wrap {
    width: 100%;
    height: 130px;
    overflow: hidden;
}
.equipment-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.equipment-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.equipment-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--iimr-green-900);
    margin-bottom: 0;
    line-height: 1.35;
}
.equipment-card-desc {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
    margin-top: 6px;
    margin-bottom: 10px;
}
.equipment-card-contact {
    margin-top: auto;
    padding: 8px 10px;
    background: var(--iimr-soft);
    border-radius: 8px;
    font-size: 0.78rem;
    color: #444;
}
.equipment-card-contact a {
    color: var(--iimr-green-800);
    text-decoration: none;
}
.equipment-card-contact a:hover {
    text-decoration: underline;
}
.equipment-card-contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--iimr-green-800);
    margin-bottom: 6px;
}

/* ── Hybrid cards ── */
.hybrid-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-top: 3px solid var(--iimr-maize-500);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hybrid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
.hybrid-card-img-wrap {
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.hybrid-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hybrid-card-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hybrid-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--iimr-green-900);
    margin-bottom: 2px;
}
.hybrid-card-parents {
    font-size: 0.78rem;
    color: #6b7a7a;
    margin-bottom: 12px;
}
.hybrid-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.hybrid-card-spec {
    background: var(--iimr-soft);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.76rem;
    color: var(--iimr-green-800);
}
.hybrid-card-spec strong {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7a7a;
}
.hybrid-card-states {
    font-size: 0.82rem;
    color: #444;
    margin-bottom: 10px;
}
.hybrid-card-states strong {
    color: var(--iimr-green-800);
}
.hybrid-card-features {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.55;
}
.hybrid-card-gazette {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.72rem;
    color: #8a8a8a;
}
.hybrid-card-released {
    display: block;
    margin-top: 2px;
}
.hybrid-category-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2.5rem 0 1.25rem;
}
.hybrid-category-heading:first-child {
    margin-top: 0;
}
.hybrid-category-heading .badge {
    background: var(--iimr-maize-500);
    color: #1a1a1a;
    font-size: 0.75rem;
}

/* ── Success story cards ── */
.story-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 3px solid var(--iimr-green-800);
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}
.story-card-body {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.story-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--iimr-green-800);
    background: var(--iimr-soft);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 10px;
}
.story-card-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--iimr-green-900);
    margin-bottom: 10px;
    line-height: 1.45;
    text-decoration: none;
    display: block;
}
.story-card-title:hover {
    color: var(--iimr-green-700);
}
.story-card-excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}
.story-card-btn {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 20px;
    background: var(--iimr-green-800);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    align-self: flex-start;
    letter-spacing: 0.03em;
}
.story-card-btn:hover {
    background: var(--iimr-maize-500);
    color: #1a1a1a;
}

/* ── Staff profile (single) page ── */
.spp-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    border-top: 4px solid var(--iimr-green-800);
    position: sticky;
    top: 90px;
}

.spp-photo-wrap {
    background: linear-gradient(150deg, var(--iimr-green-800) 0%, #1a8c85 100%);
    display: flex;
    justify-content: center;
    padding: 28px 20px 16px;
}

.spp-photo-wrap img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.spp-info {
    padding: 16px 20px 22px;
    text-align: center;
}

.spp-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--iimr-green-800);
    margin-bottom: 4px;
    line-height: 1.3;
}

.spp-designation {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.spp-qual {
    font-size: 0.78rem;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 12px;
}

.spp-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    text-align: left;
}

.spp-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.8rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.spp-contact li i {
    color: var(--iimr-green-800);
    width: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.spp-contact li a {
    color: #374151;
    text-decoration: none;
}

.spp-contact li a:hover {
    color: var(--iimr-green-800);
}

.spp-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.spp-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--iimr-green-800);
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.spp-social a:hover {
    background: var(--iimr-maize-500);
    color: #1a1a1a;
}

.spp-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
    padding: 28px 32px;
    min-height: 320px;
}

.spp-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--iimr-green-800);
    border-left: 3px solid var(--iimr-maize-500);
    padding-left: 10px;
    margin-bottom: 16px;
}

.spp-body {
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.75;
}

@media (max-width: 767px) {
    .spp-card {
        position: static;
    }
}

.cultivator a{
    text-decoration: none;
    color: #08215A;
}
.cultivator:hover{
    cursor: pointer;
}


/* External link warning popup */
#externalLinkPopup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
#extPopupInner {
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    margin: 0 16px;
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
}
#extPopupHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#extPopupHeader i {
    margin-right: 8px;
    color: var(--iimr-maize-500);
}
#extPopupClose {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
#extPopupClose:hover { color: #ffffff; }
#extPopupBody {
    padding: 20px;
    line-height: 1.7;
}
#extPopupBody p { margin-bottom: 8px; }
#extPopupBody p:last-child { margin-bottom: 0; }
#extPopupUrl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    word-break: break-all;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
}
#extPopupFooter {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#extPopupCancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 7px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.15s, color 0.15s;
}
#extPopupCancel:hover { border-color: rgba(255,255,255,0.7); color: #ffffff; }
#extPopupContinue, a#externalLinkConfirm {
    background: var(--iimr-maize-500);
    border: none;
    color: #0f172a !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 7px 18px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}
#extPopupContinue:hover, a#externalLinkConfirm:hover { background: var(--iimr-maize-400); }

.portal-strip {
    background: #f5f5f5;
    border-top: 3px solid #EEAB0A;
    border-bottom: 1px solid #ddd;
    padding: 18px 0;
}
.portal-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 32px;
}
.portal-strip-inner a {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}
.portal-strip-inner a:hover,
.portal-strip-inner a:focus {
    opacity: 1;
    transform: translateY(-2px);
    outline-offset: 3px;
}
.portal-strip-inner img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

footer{
    background: #01274C;
    padding: 50px 0;
}

.logo-footer-text h5{
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 0;
}
.logo-footer-text h6{
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0;
}
.logo-footer-text p{
    font-size: 12px;
    color: #ffffff;
}
.logo-footer-text small{
    font-size: 10px;
    color: #ffffff;
}

.footer-heading{
    color: #EEAB0A;
    font-size: 18px;
    font-weight: bold;
}

.footer-text{
    color: #ffffff;
    font-size: 14px;
}

.footer-links{
    list-style: none;
    padding-left: 0;
}
.footer-links li a{
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}

.social-links-body{
    list-style: none;
    padding-left: 0;
    margin: 80px 0;
}
.social-links-body li{
    text-align: center;
    margin-bottom: 15px;
    width: 50%;
    float: left;
}
/* .social-links-body li a{
    color: #0c264b;
    font-size: 32px;
    margin-right: 5px;
} */

.social-links-body li a {
    color: #0c264b;
    font-size: 32px;
    margin-right: 5px;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #DCDCDC;
}

.social-links-body li p{
    color: #0c264b;
    font-size: 28px;
}

.social-links{
    list-style: none;
    padding-left: 0;
}
.social-links li{
    display: inline-block;
}
.social-links li a{
    color: #ffffff;
    font-size: 22px;
    margin-right: 5px;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.social-links li a:hover {
    transform: scale(1.25) translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.social-links li a[aria-label*="Facebook"]:hover  { color: #1877f2; }
.social-links li a[aria-label*="YouTube"]:hover   { color: #ff0000; }
.social-links li a[aria-label*="LinkedIn"]:hover  { color: #0a66c2; }
.social-links li a[aria-label*="Instagram"]:hover { color: #e1306c; }
.social-links li a[aria-label*=" X"]:hover        { color: #e7e7e7; }


.footer-bottom{
    font-size: 12px;
    background-color: #004274;
    color: #ffffff;
    padding: 10px;
}

.footer-bottom .small-links{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-bottom .small-links li{
    display: inline-block;
}
.footer-bottom .small-links li a{
    list-style: none;
    padding-left: 0;
    margin-right: 5px;
    color: inherit;
    text-decoration: none;
}


















.section-bg{
    background-color: #EFEFEF;
}
.section-top-sub-title{
    color: #0c264b;
    margin-bottom: 5px;
}

.section-title{
    color: #08215A;
    margin-bottom: 30px;
}

.is-home .section-title {
    border-left: 4px solid var(--iimr-green-700);
    padding-left: 14px;
}

.section-title::after{
    content: none;
}




.custom-sidebar .nav-link{
    color: #092D51;
    font-weight: 400;
    padding: .75rem 1rem;
    border-bottom: 1px solid #dee2e6 !important;
}
.custom-sidebar .nav-link.active{
    background-color: #092D51;
    border-radius: 0;
}

.custom-sidebar .accordion-item{
    border-radius: 0;
    border: 0;
}
.custom-sidebar .accordion-item .accordion-button{
    border-radius: 0 !important;
    border-bottom: 1px solid #dee2e6 !important;
    background: transparent;
    color: #092D51;
}
.custom-sidebar .accordion-item .accordion-button::after{
    background-size: 1rem;
}
.custom-sidebar .accordion-item .accordion-button:not(.collapsed)::after{
    background-size: 1rem;
    
}
.custom-sidebar .accordion-item .accordion-body{
    padding: 5px;
    border-bottom: 1px solid #dee2e6;
    background-color: #EFEFEF;
}

.slider-arrows{
    position: absolute;
    top: -55px;
}
.slider-arrows.left{
    right: 20px;
}
.slider-arrows.right{
    right: 0;
}

#logos .owl-item img{
    width: auto;
}



a{
    color: #08215A;
    text-decoration: none;
}

a:hover{
    text-decoration: underline !important;
}
a.nav-link:hover{
    text-decoration: none !important;
}
.nav-item a:hover{
    text-decoration: none !important;
}




.btn-custom{
    background: #0c264b;
    font-size: 14px;
    color: #ffffff;
    border-radius: 2px;
    padding: 8px 20px;
}
.btn-custom.btn-sm{
    padding: 6px 16px;
}
.btn-custom:hover{
    /* background: #0c264b;
    color: #ffffff;
    opacity: 0.9; */
    background: rgb(255, 192, 0);
    color: #000;
    
}
.btn-custom-transparent{
    font-size: 14px;
    color: inherit;
    font-weight: bold;
}
.btn-view-all{
    font-size: 14px;
    color: inherit;
    font-weight: bold;
}

.btn-view-all.custom-absolute{
    position: absolute;
    top: -60px;
    right: 30px;
}


header#header {
    /* border-bottom: 1px solid #efefef; */
    border-bottom: 1px solid #DEE2E6;
    background-color: #fff;
    
}

header#header.transparent {
    border-bottom: none;
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
}

.navbar-collapse .navbar-nav{
    padding: 0 10px;
}
.navbar-collapse.navbar-collapse.collapse.show ul li a{
    color: #08215A !important;
}

.navbar-collapse .dropdown-menu.mega-menu{
    width: 100%;
    margin: 0;
    padding: 0 5px;
}

.top-search{
    width: 34px;
    max-width: 300px;
    margin: 2px;
    padding: 2px;
    background: transparent;
    position: relative;
    flex: 0 0 auto;
    transition: width 0.22s ease, max-width 0.22s ease;
}
.top-search.is-open{
    width: 260px;
    max-width: 260px;
}
.top-search .input-group{
    border-bottom: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
}

.top-search input{
    height: 30px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    pointer-events: none;
    transition: width 0.2s ease, max-width 0.2s ease, padding 0.2s ease, opacity 0.15s ease;
}
.top-search .site-search-form.is-open input{
    width: 100%;
    max-width: none;
    padding-left: .75rem;
    padding-right: .75rem;
    opacity: 1;
    pointer-events: auto;
    border-bottom-color: rgba(255, 255, 255, 0.85);
}
.top-search input::placeholder {
  color: #ffffff;
}
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--iimr-green-700) !important;
    box-shadow: 0 0 0 3px rgba(31, 98, 66, 0.45) !important;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (forced-colors: active) {
    .form-control:focus,
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="search"]:focus,
    input[type="tel"]:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid ButtonText !important;
    }
}

.top-search input:focus,
.top-search .form-control:focus {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    border-bottom-color: #ffffff !important;
}
.top-search .btn{
    height: 30px;
    padding: 2px 16px;
    background: transparent;
    flex: 0 0 30px;
}

.marquee{
    /* background-color: #FEBE00; */
    background-color: #0094C5;
    padding: 12px 0 0 0;
}

.marquee a{
    display: inline-block;
}
.marquee a h6{
    color: #ffffff;
}

.reader-access-cont .nav-link{
    padding: .2rem .8rem;
    margin-right: 5px;
    font-size: 14px;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--iimr-green-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 0 24px;
}

.preloader-logo {
    animation: preloader-pulse 1.6s ease-in-out infinite;
    will-change: transform, opacity;
}

.preloader-logo img {
    width: 72px;
    height: auto;
    filter: brightness(0) invert(1);
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(1);   opacity: 1;    }
    50%       { transform: scale(1.08); opacity: 0.8; }
}

.preloader-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preloader-parent {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preloader-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.preloader-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--iimr-green-700), #FEBE00);
    border-radius: 3px;
    transition: width 0.2s ease;
}

/* Page load progress bar */
#page-load-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--iimr-green-700), #FEBE00);
    z-index: 99999;
    transition: width 0.2s ease, opacity 0.4s ease;
    opacity: 1;
}

/* Language pill toggle */
.lang-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2px;
    gap: 0;
}

.lang-pill-btn {
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 18px;
    cursor: pointer;
    letter-spacing: 0.07em;
    line-height: 1.4;
    min-width: 34px;
    text-align: center;
    transition: color 0.22s ease;
}

.lang-pill-btn.active {
    color: var(--iimr-green-900);
}

.lang-pill-thumb {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc(50% - 2px);
    background: #ffffff;
    border-radius: 18px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.lang-pill.hi-active .lang-pill-thumb {
    transform: translateX(100%);
}


/* .navbar-custom .nav-item.has-children .sub-menu.menu-visible{
    visibility: visible;
    margin-top: 0;
    opacity: 1;
} */
/* .navbar-custom .nav-item.has-children:hover > .sub-menu {
    visibility: visible;
    margin-top: 0;
    opacity: 1;
} */


.visitor-count{
    font-size: 14px;
}

.right-side-buttons{
    position: fixed;
    right: 0;
    top: 40%;
    height: 100px;
    width: 100px;
    text-align: right;
    z-index: 9;
}
.right-side-buttons img{
    width: 30px;
}

.nav-custom .nav-link{
    /* background-color: #0c264b;
    color: #ffffff;
    margin-right: 15px; */
    
    color: #0c264b;
}

.nav-custom .nav-link.active, .nav-custom .nav-link:hover{
    background-color: #0c264b;
    color: #ffffff;
}


.director img {
    border-radius: 10px;
    max-width: 160px;
}
.director {
    border: 4px solid #fff;
    border-radius: 10px;
    padding: 20px;
}
.about {
    padding: 20px;
    border: 4px solid #fff;
    border-radius: 10px;
}



.owl-theme .owl-nav.disabled + .owl-dots {
    /* margin-top: 10px; */
    margin: 0;
    background: #083159;
}


.dropdown-menu.mega-menu {
    width: 96%;
    margin: 0 2% 0 2%;
    padding: 20px;
    left: 0;
    right: 0;
    top: 100%;
    border: none;
}

.dropdown-menu.mega-menu .dropdown-item.active, .dropdown-menu.mega-menu .dropdown-item:active{
    color: inherit;
    background-color: inherit;
}
.mega-menu-container {
    max-width: 1580px;
    padding: 0;
}
.mega-menu-container h6 {
    color: var(--iimr-green-900);
    border-bottom: 1px solid var(--iimr-line);
    display: inline-block;
    margin: .25rem 1rem;
    font-size: 18px;
}
.mega-menu .col {
    padding: 10px;
}

/* Per-menu image panel */
.mega-menu-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--iimr-radius);
    box-shadow: 0 4px 16px rgba(var(--iimr-green-900-rgb), 0.15);
}

.custom-navbar{
    position: static;
}

.custom-navbar .dropdown, .custom-navbar .dropend, .custom-navbar .dropstart, .dropup{
    position: static;
}

.custom-navbar .navbar-nav {
    padding-left: 80px;
    padding-top: 8px;
}

.custom-navbar .nav-item {
    margin: 0 2px;
}


.custom-navbar .nav-item .nav-link {
    color: var(--iimr-green-900);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 7px 13px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
    position: relative;
}

/* Nav link underline (top-level) */
.custom-navbar .nav-item .nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #FEBE00;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s ease;
}

.custom-navbar .nav-item .nav-link:hover::before,
.custom-navbar .nav-item .nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Megamenu dropdown-item text slide */
.mega-menu .nav-link-slide {
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 1.2em;
    line-height: 1.2;
    vertical-align: middle;
    pointer-events: none;
}

.mega-menu .nav-link-slide__a,
.mega-menu .nav-link-slide__b {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.38s cubic-bezier(0.76, 0, 0.24, 1);
}

.mega-menu .dropdown-item:hover .nav-link-slide__a,
.mega-menu .dropdown-item:focus .nav-link-slide__a,
.mega-menu .dropdown-item:hover .nav-link-slide__b,
.mega-menu .dropdown-item:focus .nav-link-slide__b {
    transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
    .mega-menu .nav-link-slide__a,
    .mega-menu .nav-link-slide__b { transition: none; }
}


.custom-navbar .nav-item .nav-link:hover,
.custom-navbar .nav-item .nav-link.active {
    color: var(--iimr-green-800);
    background: transparent;
    text-decoration: none !important;
    border-radius: 0;
}

.transparent .custom-navbar .nav-item .nav-link {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.transparent .custom-navbar .nav-item .nav-link:hover,
.transparent .custom-navbar .nav-item .nav-link.active {
    color: #ffffff;
    background: transparent;
    text-shadow: none;
}


.custom-navbar .nav-item.has-children{
    position: relative;
}
.custom-navbar .nav-item.has-children::before{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    color: #ffffff;
    right: 0;
    top: 12px;
    font-size: 12px;
}

.custom-navbar .nav-item.has-children .sub-menu{
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    visibility: hidden;
    width: 200px;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 10px 0;
    list-style: none;
    -webkit-transition: all 0.4s ease 0.2s;
    transition: all 0.4s ease 0.2s;
    opacity: 0;
    
    background-color: #EFEFEF;
    
    
}


.custom-navbar .nav-item.has-children .sub-menu li a{
    color: #092D51;
    font-weight: 400;
    border-bottom: 3px solid #EFEFEF;
    display: inline-block !important;
    text-decoration: none;
    padding: 0.2rem  0.5rem;
}

.custom-navbar .nav-item.has-children .sub-menu li.active > a,
.custom-navbar .nav-item.has-children .sub-menu li:hover > a {
    border-bottom: 3px solid #FEBE00;
}
.custom-navbar .nav-item.has-children .sub-menu li.has-children::before{
    content: "\f0da";
    right: 20px;
    
}

.custom-navbar .nav-item.has-children .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
}


/* ── Breadcrumb Hero Banner – full viewport width ── */
.breadcrumb-custom-container {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 48px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(var(--iimr-green-900-rgb), 0.14);
}

.breadcrumb-content {
    min-height: 360px;
}

/* Left: green panel */
.breadcrumb-content .text {
    position: relative;
    background: var(--iimr-green-800);
    color: #ffffff;
    font-size: 1rem;
    padding: 64px 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.breadcrumb-content .text::after {
    display: none;
}

.breadcrumb-content .text h1 {
    color: #ffffff;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
    display: inline-block;
    max-width: 100%;
}

/* Right: image fills height */
.breadcrumb-content .col-md-7 {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 360px;
}

.breadcrumb-content .col-md-7 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Pages with a custom breadcrumb image */
.breadcrumb-has-image .breadcrumb-content .col-md-7 {
    display: block;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 360px;
}

.breadcrumb-has-image .breadcrumb-content .col-md-7 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.breadcrumb-has-image .breadcrumb-content .text {
    flex: 0 0 41.667%;
    max-width: 41.667%;
}

/* Breadcrumb trail – sits at top of the green panel */
.breadcrumb-custom-container .breadcrumb-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 41.667%;
    padding: 14px 52px;
    margin: 0;
    background: rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.breadcrumb-custom-container .breadcrumb-custom li,
.breadcrumb-custom-container .breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    text-decoration: none;
}

.breadcrumb-custom-container .breadcrumb-custom a:hover {
    color: var(--iimr-maize-400);
    text-decoration: underline;
}

.breadcrumb-custom-container .breadcrumb-custom .breadcrumb-item.active {
    color: var(--iimr-maize-400);
}

.breadcrumb-custom-container .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

/* Align breadcrumb h1 and nav trail with container content */
@media (min-width: 1200px) {
    .breadcrumb-content .text,
    .breadcrumb-custom-container .breadcrumb-custom {
        padding-left: max(calc((100vw - 1320px) / 2 + 12px), 24px);
    }
}
@media (min-width: 1400px) {
    .breadcrumb-content .text,
    .breadcrumb-custom-container .breadcrumb-custom {
        padding-left: max(calc((100vw - 1600px) / 2 + 12px), 24px);
    }
}


.social-container-parent {
    display: flex;
    flex-flow: wrap;
    -webkit-box-pack: center;
    justify-content: center;
}






@media (min-width: 0px) {
    .social-container-parent > :not(style):not(style) {
        /* margin: 0px; */
        margin: 16px;
    }
}

@media (min-width: 0px) {
    .social-container-parent > :not(style) ~ :not(style) {
        margin-left: 16px;
    }
}

@media (min-width: 600px) {
    .social-container-parent > :not(style):not(style) {
        /* margin: 0px; */
        margin: 16px;
    }
}

@media (min-width: 600px) {
    .social-container-parent > :not(style) ~ :not(style) {
        margin-left: 24px;
    }
}

@media (min-width: 960px) {
    .social-container-parent > :not(style):not(style) {
        margin: 0px;
    }
}

@media (min-width: 960px) {
    .social-container-parent > :not(style) ~ :not(style) {
        margin-left: 32px;
    }
}



@media (min-width: 960px) {
    .social-container {
        width: 90px;
        height: 90px;
        font-size: 60px;
    }
}

/* @media (min-width: 600px) {
    .social-container {
        width: 45px;
        height: 45px;
        font-size: 36px;
    }
} */

/* @media (min-width: 0px) {
    .social-container {
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
} */

.social-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    color: rgb(64, 64, 64);
    transition: 0.5s;
}

.social-container span:nth-of-type(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    transform-origin: right center;
}

.social-container span {
    position: absolute;
    transition: transform 0.5s;
    background: rgb(64, 64, 64);
}

.social-container span:nth-of-type(2) {
    top: 0px;
    left: 0px;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: center bottom;
}


.social-container span {
    position: absolute;
    transition: transform 0.5s;
    background: rgb(64, 64, 64);
}

.social-container span:nth-of-type(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    transform-origin: left center;
}

.social-container span {
    position: absolute;
    transition: transform 0.5s;
    background: rgb(64, 64, 64);
}
.social-container span:nth-of-type(4) {
    top: 0px;
    right: 0px;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: center top;
}


.social-container span {
    position: absolute;
    transition: transform 0.5s;
    background: rgb(64, 64, 64);
}

.css-3pqzyq {
    -webkit-user-select: none;
    user-select: none;
    /* width: 1em;
    height: 1em; */
    width: 60px;
    height: 60px;
    display: inline-block;
    fill: currentcolor;
    flex-shrink: 0;
    font-size: inherit;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
}


.social-container.whatsapp:hover {
    color: rgb(37, 211, 102);
}
.social-container.whatsapp:hover span {
    background: rgb(37, 211, 102);
}
.social-container.whatsapp:hover svg path{
    fill: rgb(37, 211, 102);
}

.social-container.facebook:hover {
    color: rgb(59, 89, 152);
}
.social-container.facebook:hover span {
    background: rgb(59, 89, 152);
}
.social-container.facebook:hover svg path{
    fill: rgb(59, 89, 152);
}

.social-container.youtube:hover {
    color: rgb(255, 0, 0);
}
.social-container.youtube:hover span {
    background: rgb(255, 0, 0);
}
.social-container.youtube:hover svg path{
    fill: rgb(255, 0, 0);
}

.social-container.twitter-x:hover {
    color: rgb(102, 102, 102);
}
.social-container.twitter-x:hover span {
    background: rgb(102, 102, 102);
}
.social-container.twitter-x:hover svg path{
    fill: rgb(102, 102, 102);
}

.social-container.linkedin:hover {
    color: rgb(1, 103, 198);
}
.social-container.linkedin:hover span {
    background: rgb(1, 103, 198);
}
.social-container.linkedin:hover svg path{
    fill: rgb(1, 103, 198);
}

.social-container.instagram:hover {
    color: rgb(195, 42, 163);
}
.social-container.instagram:hover span {
    background: rgb(195, 42, 163);
}
.social-container.instagram:hover svg path{
    fill: rgb(195, 42, 163);
}

.social-container:hover span:nth-of-type(1) {
    transform: scaleX(0);
    transform-origin: left center;
}

.social-container:hover span:nth-of-type(2) {
    transform: scaleY(1);
    transform-origin: center top;
}

.social-container:hover span:nth-of-type(3) {
    transform: scaleX(0);
    transform-origin: right center;
}

.social-container:hover span:nth-of-type(4) {
    transform: scaleY(1);
    transform-origin: center bottom;
}





#scroll-top {
    position: fixed;
    display: block;
    width: 48px;
    height: 48px;
    line-height: 1;
    border-radius: 4px;
    z-index: 1;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    overflow: hidden;
    z-index: 100;
    background-color: #0c264b;
    border: 0;
    bottom: 92px;
    right: 20px;
    padding: 0;
    border: 1px solid #ffffff;
    /* @include flex(center, center); */
    
    -webkit-transition: all 0.3s ease;
    -moz-transition   : all 0.3s ease;
    -ms-transition    : all 0.3s ease;
    -o-transition     : all 0.3s ease;
    transition        : all 0.3s ease;

    &.show {
        opacity: 1;
        visibility: visible;
    }
    &.type-1 {
        bottom: 140px;
    }
    &:hover {
        transform: translateY(-5px);
        background-color: #EEAB0A;
    }
}

.social-border{
    
    border-radius: 20px;
}

.notification-icon{
    width: 35px;
}

.custom-table tr td{
    border: none;
}

.main-content-img{
    width: 20px;
    margin-right: 5px;
    margin-bottom: 4px;
}
/* 
.sticky-top{
    top: 36px;
    
}
.header-top{
    background: #01274C;
} */


.highlight-links a{
    background-color: #ff0!important;
    color: #000 !important;

}


body.default-cursor, body.default-cursor a, body.default-cursor button, body.default-cursor a:hover, body.default-cursor button:hover {
  cursor: -webkit-image-set(
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 2v18l5-5 3 7 3-1-3-7h7z'/%3E%3C/svg%3E") 1x,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 2v18l5-5 3 7 3-1-3-7h7z'/%3E%3C/svg%3E") 2x
  ) 0 0, auto;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 2v18l5-5 3 7 3-1-3-7h7z'/%3E%3C/svg%3E") 0 0, auto;
}


.page-image{
    margin-bottom: 30px;
}

header#header.transparent .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='14px' height='11px' viewBox='0 0 14 11' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M0,0 L14,0 L14,1.75 L0,1.75 L0,0 Z M0,4.375 L14,4.375 L14,6.125 L0,6.125 L0,4.375 Z M0,8.75 L14,8.75 L14,10.5 L0,10.5 L0,8.75 Z' id='path-1'%3E%3C/path%3E%3C/defs%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg transform='translate%28-1174.000000, -1290.000000%29'%3E%3Cg transform='translate%281174.000000, 1288.000000%29'%3E%3Cg transform='translate%280.000000, 2.000000%29'%3E%3Cuse fill='white' xlink:href='%23path-1'%3E%3C/use%3E%3Cuse fill-opacity='1' fill='white' xlink:href='%23path-1'%3E%3C/use%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

    }



/*responsive css starts*/

@media (min-width : 320px) and (max-width : 479px) {

    
    .logo {
        width: 280px;
    }
    .logo-text h2 {
        font-size: 14px;
    }

    .site-logo-name {
        font-size: 17px;
        white-space: normal;
    }



    .reader-access-cont .nav-link{
        padding: .2rem .6rem;
        margin-right: 2px;
        font-size: 12px;
    }

    .top-search{
        max-width: 200px;
    }

    .top-search.is-open{
        max-width: 260px;
    }

    /* .navbar-custom-container{
        position: absolute;
        min-width: 300px;
        width: calc(100% - 40px);
        right: 0;
        background: #fff;
        z-index: 99;   
    } */

    .home-slider .slider-content-cont {
        max-width: 100%;
        padding: 10px;
    }

    .director-image {
        padding-left: 20px;
        margin-top: 50px;
    }
    .collaborate-image {
        left: 20px;
        bottom: -20px;
        width: 100px;
    }
    .play-image {
        bottom: -10px;
        width: 40px;
    }

    .statistics {
        margin-top: 110px;
    }

    footer {
        padding: 20px 0;
    }

    .footer-bottom{
        text-align: center;
    }

    .navbar {
        position: relative;
    }
    .navbar-collapse {
        min-width: 300px;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 99;
        background-color: #ffffff;
        top: 100%;
    }
    /* .navbar-custom {
        padding: 10px;
    } */

    .breadcrumb-content{
        min-height: 220px;
    }

    .breadcrumb-custom-container .breadcrumb-custom{
        width: 100%;
        padding: 10px 20px;
    }

    .breadcrumb-content .text {
        padding: 48px 24px 28px;
    }

    .breadcrumb-content .text h1 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .breadcrumb-content .col-md-7 img {
        min-height: 220px;
    }

    .social-links-body{
        margin: 30px 0;
    }

}

@media (min-width : 480px) and (max-width : 568px){

    .breadcrumb-content{
        min-height: 180px;
    }

    .breadcrumb-custom-container .breadcrumb-custom{
        width: 100%;
    }

    .social-links-body{
        margin: 30px 0;
    }

    .navbar {
        position: relative;
    }
    .navbar-collapse {
        
        width: 400px;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 99;
        background-color: #ffffff;
        top: 100%;
    }
}

/* Extra Small Devices, Phones */
@media (min-width : 569px) and (max-width : 767px){

    .breadcrumb-content{
        min-height: 180px;
    }

    .breadcrumb-custom-container .breadcrumb-custom{
        width: 100%;
    }

    .social-links-body{
        margin: 30px 0;
    }

    .navbar {
        position: relative;
    }
    .navbar-collapse {

        width: 450px;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 99;
        background-color: #ffffff;
        top: 100%;
    }

    .reader-access-cont .nav-link{
        padding: .2rem .6rem;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) and (max-width : 991px){

    /* .navbar-custom-container{
        position: absolute;
        min-width: 300px;
        width: calc(100% - 200px);
        right: 0;
        background: #fff;
        z-index: 99;   
    } */

    .navbar {
        position: relative;
    }
    .navbar-collapse {
        
        width: 600px;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 99;
        background-color: #ffffff;
        top: 100%;
    }
    
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) and (max-width : 1199px){

    /* .navbar-custom .nav-item.has-children:hover > .sub-menu {
        visibility: visible;
        margin-top: 0;
        opacity: 1;
    } */

    .navbar {
        position: relative;
    }
    .navbar-collapse {
        
        width: 800px;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 99;
        background-color: #ffffff;
        top: 100%;
    }

}

@media only screen and (min-width : 1200px) and (max-width : 1400px){

    /* .navbar-custom .nav-item.has-children:hover > .sub-menu {
        visibility: visible;
        margin-top: 0;
        opacity: 1;
    } */

    .custom-navbar .nav-item{
        margin: 0;
    }

    .custom-navbar .nav-item .nav-link{
        font-size: 14px;
        padding: 0 5px;
    }

}

@media only screen and (min-width : 1401px) and (max-width : 1599px){

    /* .navbar-custom .nav-item.has-children:hover > .sub-menu {
        visibility: visible;
        margin-top: 0;
        opacity: 1;
    } */

    .custom-navbar .nav-item{
        margin: 0;
    }

    .custom-navbar .nav-item .nav-link{
        font-size: 17px;
    }
    

}

@media only screen and (min-width : 1600px) and (max-width : 2048px){

    /* .navbar-custom .nav-item.has-children:hover > .sub-menu {
        visibility: visible;
        margin-top: 0;
        opacity: 1;
    } */

}

@media only screen and (min-width : 2049px) {

    /* .navbar-custom .nav-item.has-children:hover > .sub-menu {
        visibility: visible;
        margin-top: 0;
        opacity: 1;
    } */

}

@media only screen and (min-width : 800px){


}
/*responsive css ends*/

/* Phase 1 visual refresh */
html {
    scroll-behavior: smooth;
}

body {
    background: #fbfcf8;
    color: var(--iimr-ink);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Scoped to main content (not html/body) so it doesn't break the sticky
   header's position: sticky — overflow-x:hidden on any ancestor of a
   sticky element silently disables its stickiness. Catches full-bleed
   elements like .breadcrumb-custom-container's 100vw breakout, which is
   wider than the viewport whenever a scrollbar is present since 100vw
   doesn't subtract scrollbar width. */
#main-content {
    overflow-x: hidden;
}

main {
    background: linear-gradient(180deg, rgba(245, 248, 242, 0.78) 0, rgba(255, 255, 255, 0) 420px), #ffffff;
}

.container {
    max-width: 1320px;
}

section.padding {
    padding: 76px 0;
}

.section-bg {
    background: var(--iimr-soft);
}

.light-text {
    color: var(--iimr-muted);
}

a {
    color: var(--iimr-green-800);
}

.btn-custom,
.btn-custom-transparent,
.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-custom {
    background: radial-gradient(
        circle at var(--ripple-x, 50%) var(--ripple-y, 50%),
        var(--iimr-maize-500) var(--btn-fill),
        var(--iimr-green-800) var(--btn-fill)
    );
    border: 1px solid var(--iimr-green-800);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 67, 47, 0.2);
    transition: --btn-fill 0.55s ease-out, color 0.3s ease, border-color 0.3s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-custom:hover,
.btn-custom:focus {
    --btn-fill: 200%;
    border-color: var(--iimr-maize-500);
    color: #1d1a0f;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.btn-custom-transparent,
.btn-view-all {
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: inherit;
    padding: 8px 18px;
}

.btn-view-all {
    border-color: var(--iimr-line);
    color: var(--iimr-green-800);
    background: #ffffff;
}

.btn-custom-transparent:hover,
.btn-view-all:hover {
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.section-title {
    color: var(--iimr-green-900);
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 34px;
}

.is-home .section-title {
    border-left: 4px solid var(--iimr-green-700);
    padding-left: 14px;
}

.section-title::after {
    content: none;
}

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.section-heading-row .section-title {
    margin-bottom: 24px;
}

header#header:not(.transparent) {
    background: rgba(255, 255, 255, 0.68);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(var(--iimr-green-900-rgb), 0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

header#header.is-scrolled:not(.transparent) {
    box-shadow: 0 2px 8px rgba(var(--iimr-green-900-rgb), 0.1), 0 8px 32px rgba(var(--iimr-green-900-rgb), 0.18), 0 20px 48px rgba(var(--iimr-green-900-rgb), 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

header#header:not(.transparent) .header-top {
    min-height: 36px;
    background: rgba(var(--iimr-green-900-rgb), 0.92);
}

/* Hide header on scroll-down — fast out, slow in */
header#header.header-nav-hidden {
    transform: translateY(-100%);
    transition: transform 0.22s ease-in;
}

/* Homepage: solid sticky header after scrolling past hero */
header#header.transparent.header-pinned {
    position: fixed;
    background: rgba(255, 255, 255, 0.68);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(var(--iimr-green-900-rgb), 0.08);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

header#header.transparent.header-pinned.is-scrolled {
    box-shadow: 0 2px 8px rgba(var(--iimr-green-900-rgb), 0.1), 0 8px 32px rgba(var(--iimr-green-900-rgb), 0.18), 0 20px 48px rgba(var(--iimr-green-900-rgb), 0.1);
}

/* Suppress all transitions for one frame during pin-while-scrolling-down */
header#header.header-no-transition,
header#header.header-no-transition * {
    transition: none !important;
}

header#header.transparent.header-pinned .header-top {
    min-height: 36px;
    background: rgba(var(--iimr-green-900-rgb), 0.92);
}

/* Logo text switches to dark when pinned on homepage */
header#header.transparent.header-pinned .site-logo-parent,
header#header.transparent.header-pinned .site-logo-name {
    color: var(--iimr-green-900);
}

/* Nav links switch to dark when pinned on homepage */
header#header.transparent.header-pinned .custom-navbar .nav-item .nav-link {
    color: var(--iimr-green-900);
    text-shadow: none;
}

header#header.transparent.header-pinned .custom-navbar .nav-item .nav-link:hover,
header#header.transparent.header-pinned .custom-navbar .nav-item .nav-link.active {
    color: var(--iimr-green-800);
}

/* Hamburger icon switches to dark when pinned on homepage */
header#header.transparent.header-pinned .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2c0%2c0%2c0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-menu-wrapper {
    padding: 0;
}

.main-menu-wrapper .custom-navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.transparent .custom-navbar .nav-item .nav-link {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.dropdown-menu.mega-menu {
    width: min(1180px, calc(100% - 32px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.dropdown-menu.mega-menu > .row {
    align-items: stretch !important;
}

.dropdown-menu.mega-menu .col-2 {
    display: flex !important;
    align-items: center;
    padding: 0;
}

.dropdown-menu.mega-menu .col-2 img {
    display: block;
    width: 249px;
    height: 165px;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    border-radius: 6px;
}

.mega-menu-container {
    max-width: none;
    padding: 2px 4px;
}

.mega-menu-container h6 {
    color: var(--iimr-green-800);
    border-bottom: 0;
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.mega-menu-container h6::after {
    content: none;
}

.mega-menu .col {
    padding: 4px 8px;
}

.mega-menu .list-unstyled {
    margin-bottom: 0;
}

.mega-menu .list-unstyled li {
    margin: 0;
    padding: 0;
}

.dropdown-menu.mega-menu .dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 6px;
    color: var(--iimr-ink);
    font-size: 13px;
    line-height: 1.08;
    min-height: 30.5px;
    margin: 0;
    padding: 2px 24px 2px 8px;
    white-space: normal;
    transition: background-color 0.14s ease, color 0.14s ease, padding-left 0.14s ease;
}

.dropdown-menu.mega-menu .dropdown-item::after {
    content: "\f105";
    position: absolute;
    top: 50%;
    right: 10px;
    color: var(--iimr-maize-500);
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
    opacity: 0;
    transform: translate(-4px, -50%);
    transition: opacity 0.14s ease, transform 0.14s ease;
}

.dropdown-menu.mega-menu .dropdown-item:hover,
.dropdown-menu.mega-menu .dropdown-item:focus {
    background: transparent;
    color: var(--iimr-green-800);
    padding-left: 8px;
    text-decoration: none !important;
}

.dropdown-menu.mega-menu .dropdown-item:hover::after,
.dropdown-menu.mega-menu .dropdown-item:focus::after {
    opacity: 1;
    transform: translate(0, -50%);
}

.dropdown-menu.mega-menu .dropdown-item.active,
.dropdown-menu.mega-menu .dropdown-item:active {
    background: rgba(245, 184, 46, 0.14);
    color: var(--iimr-green-800);
}

/* Contact mega menu — icon tint */
.contact-menu-icon {
    color: var(--iimr-maize-500);
    font-size: .8rem;
    transition: transform 0.15s ease;
}
.dropdown-item:hover .contact-menu-icon,
.dropdown-item:focus .contact-menu-icon {
    transform: scale(1.2);
}

/* Contact mega menu — CTA card */
.contact-mega-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--iimr-green-800) 0%, #1a5c35 100%);
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    min-width: 150px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 14px rgba(8, 33, 90, 0.18);
}
.contact-mega-cta:hover,
.contact-mega-cta:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8, 33, 90, 0.26);
    color: #fff !important;
}
.contact-mega-cta-icon {
    font-size: 1.75rem;
    color: var(--iimr-maize-500);
    line-height: 1;
}
.contact-mega-cta-label {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.contact-mega-cta-sub {
    font-size: .72rem;
    opacity: .8;
}

/* ── Contact pages — info cards ─────────────────────────── */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.key-personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.contact-card {
    border: 1px solid #e4eaf0;
    border-radius: 12px;
    padding: 1.4rem 1.25rem;
    display: flex;
    gap: 1rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.contact-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,.11);
    transform: translateY(-3px);
}
.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--iimr-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--iimr-green-800);
    flex-shrink: 0;
}
.contact-card-icon-sm {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}
.contact-card-body {
    flex: 1;
    min-width: 0;
}
.contact-card-role {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--iimr-maize-500);
    font-weight: 700;
    margin-bottom: .25rem;
}
.contact-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--iimr-green-800);
    margin: 0 0 .6rem;
}
.contact-card-sm .contact-card-name {
    font-size: .95rem;
    margin-bottom: .5rem;
}
.contact-card-sub {
    font-size: .8rem;
    color: #666;
}
.contact-card-address {
    font-size: .82rem;
    color: #555;
    font-style: normal;
    line-height: 1.65;
    margin-bottom: .75rem;
}
.contact-card-details li {
    font-size: .83rem;
    color: #444;
    padding: .18rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    word-break: break-all;
}
.contact-card-details li i {
    color: var(--iimr-green-800);
    font-size: .78rem;
    flex-shrink: 0;
}
.contact-card-details a {
    color: #333;
    text-decoration: none;
}
.contact-card-details a:hover,
.contact-card-details a:focus {
    color: var(--iimr-green-800);
    text-decoration: underline;
}
.contact-map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* ── Forms & Templates page ─────────────────────────────── */
.forms-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.forms-category-card {
    border: 1px solid #e4eaf0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.forms-category-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: var(--iimr-soft);
    border-bottom: 1px solid #e4eaf0;
}
.forms-category-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--iimr-green-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
}
.forms-category-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--iimr-green-800);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.forms-list {
    padding: .5rem 0;
}
.form-download-link {
    display: flex;
    align-items: center;
    padding: .55rem 1.25rem;
    font-size: .84rem;
    color: #333;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
    border-bottom: 1px solid #f0f3f6;
    gap: .25rem;
}
.form-download-link:last-child,
.forms-list li:last-child .form-download-link {
    border-bottom: none;
}
.form-download-link:hover,
.form-download-link:focus {
    background: var(--iimr-soft);
    color: var(--iimr-green-800);
    text-decoration: none;
}
.form-download-link .fa-download {
    font-size: .75rem;
    color: var(--iimr-green-800);
    opacity: 0;
    transition: opacity .15s ease;
}
.form-download-link:hover .fa-download,
.form-download-link:focus .fa-download {
    opacity: 1;
}
.form-download-soon {
    cursor: default;
    opacity: .65;
}
.form-download-soon:hover {
    background: transparent;
    color: #333;
}

.top-search .input-group {
    border-bottom-color: transparent;
    flex-wrap: nowrap;
}

.top-search input {
    color: #ffffff !important;
    font-size: 14px;
}

.top-search .btn {
    min-height: 30px;
    height: 30px;
    padding: 2px 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
}

.top-search .btn:hover {
    background: transparent;
    color: var(--iimr-maize-400);
    transform: none;
}
.top-search .btn:focus-visible {
    background: transparent;
    color: #ffffff;
    transform: none;
    outline: 1px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
    box-shadow: none;
}

.home-slider {
    background: var(--iimr-green-900);
    position: sticky;
    top: 0;
    z-index: 1;
}

.slider-bg-container {
    height: clamp(700px, 94vh, 980px);
    min-height: clamp(700px, 94vh, 980px);
    isolation: isolate;
    overflow: hidden;
}

/* Scroll-cover reveal — all post-hero content stacks above the sticky hero */
.home-content-layers {
    position: relative;
    z-index: 2;
}

/* Rounded pill top on the first content section */
.home-intro-section {
    border-radius: 28px 28px 0 0;
    overflow: hidden; /* clips ::before gradient and backdrop-filter to rounded shape */
    box-shadow: 0 -24px 72px rgba(0, 0, 0, 0.38), 0 -4px 16px rgba(0, 0, 0, 0.18);
}

/* Separate image layer — only this element gets Ken Burns transform */
.slider-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
}
.owl-item.active .slider-bg-img {
    animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
    from { scale: 1.0; }
    to   { scale: 1.1; }
}
@media (prefers-reduced-motion: reduce) {
    .owl-item.active .slider-bg-img { animation: none; }
}

/* Gradient overlay — above image, below text */
.slider-bg-container::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(var(--iimr-green-900-rgb), 0.84) 0%, rgba(var(--iimr-green-900-rgb), 0.56) 42%, rgba(var(--iimr-green-900-rgb), 0.12) 100%),
        linear-gradient(to bottom, rgba(var(--iimr-green-900-rgb), 0.82) 0%, rgba(var(--iimr-green-900-rgb), 0) 28%),
        linear-gradient(to top,   rgba(var(--iimr-green-900-rgb), 0.72) 0%, rgba(var(--iimr-green-900-rgb), 0) 42%);
}

.home-slider .slider-content-cont {
    height: clamp(700px, 94vh, 980px);
    min-height: clamp(700px, 94vh, 980px);
    padding: 150px 0 18px;
    position: relative;
    z-index: 2;
}


.hero-content {
    max-width: 620px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--iimr-maize-400);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--iimr-maize-400);
}

.slider-heading {
    color: #ffffff;
    font-size: clamp(1.75rem, 3.2vw, 3.4rem);
    line-height: 1.15;
    font-weight: 700;
    max-width: 620px;
    margin-bottom: 26px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 560px;
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--iimr-radius);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.hero-stat-strip div {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-stat-strip strong,
.hero-stat-strip span {
    display: block;
}

.hero-stat-strip strong {
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.1;
}

.hero-stat-strip span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.owl-theme .owl-nav.disabled + .owl-dots {
    background: transparent;
    position: absolute;
    right: 36px;
    bottom: 32px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.owl-theme .owl-dots .owl-dot.active span {
    background: var(--iimr-maize-500);
}

.home-intro-section {
    position: relative;
}

.home-intro-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background: linear-gradient(180deg, rgba(var(--iimr-green-900-rgb), 0.1), rgba(245, 248, 242, 0));
    pointer-events: none;
}

.about,
.director {
    height: 100%;
    border: 1px solid var(--iimr-line);
    border-radius: var(--iimr-radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--iimr-shadow);
}

.director img {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    object-fit: initial;
    object-position: initial;
    background: transparent;
    border-radius: var(--iimr-radius);
    box-shadow: 0 14px 30px rgba(var(--iimr-green-900-rgb), 0.16);
}

.announcements-section .tab-content {
    padding: 22px;
    border: 1px solid var(--iimr-line);
    border-top: 0;
    border-radius: 0 0 var(--iimr-radius) var(--iimr-radius);
    background: #ffffff;
    box-shadow: var(--iimr-shadow);
}

/* background handled by parent .home-content-layers */

/* ── Latest News modern editorial grid ─────────────────────────────────── */
.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-view-all-news {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border: 2px solid var(--iimr-green-800);
    border-radius: 50px;
    color: var(--iimr-green-800);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.18s ease, color 0.18s ease;
}

.btn-view-all-news:hover,
.btn-view-all-news:focus {
    background: var(--iimr-green-800);
    color: #ffffff;
    text-decoration: none;
}

/* ── Arrow-pill button ───────────────────────────────────────────────────────
   Usage:
   <a href="#" class="btn-arrowpill btn-arrowpill--dark">
       <span class="btn-arrowpill__icon" aria-hidden="true"><i class="fas fa-arrow-right"></i></span>
       <span class="btn-arrowpill__text">View All Programs</span>
   </a>
   Variants: --dark  --light  --ghost (for use on dark/hero backgrounds)
   ─────────────────────────────────────────────────────────────────────────── */
.btn-arrowpill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 20px 5px 5px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.btn-arrowpill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    clip-path: circle(0% at var(--ripple-x, 50%) var(--ripple-y, 50%));
    transition: clip-path 0.55s ease-out;
    pointer-events: none;
}

.btn-arrowpill:hover::after,
.btn-arrowpill:focus::after {
    clip-path: circle(200% at var(--ripple-x, 50%) var(--ripple-y, 50%));
}

.btn-arrowpill--dark::after  { background: var(--iimr-green-900); }
.btn-arrowpill--light::after { background: var(--iimr-green-800); }
.btn-arrowpill--ghost::after { background: rgba(255,255,255,0.18); }

.btn-arrowpill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 13px;
    transition: transform 0.3s ease, background 0.2s ease 0.15s;
    position: relative;
    z-index: 1;
}

.btn-arrowpill__text {
    position: relative;
    z-index: 1;
}

.btn-arrowpill:hover .btn-arrowpill__icon,
.btn-arrowpill:focus .btn-arrowpill__icon {
    transform: translateX(8px);
    background: transparent !important;
}

.btn-arrowpill:hover,
.btn-arrowpill:focus {
    text-decoration: none !important;
}

/* Dark — filled green */
.btn-arrowpill--dark {
    background: var(--iimr-green-800);
    color: #ffffff;
    border: 2px solid var(--iimr-green-800);
}
.btn-arrowpill--dark .btn-arrowpill__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}
.btn-arrowpill--dark:hover,
.btn-arrowpill--dark:focus {
    border-color: var(--iimr-green-900);
    color: #ffffff;
}

/* Light — white with green border */
.btn-arrowpill--light {
    background: #ffffff;
    color: var(--iimr-green-800);
    border: 2px solid var(--iimr-green-800);
}
.btn-arrowpill--light .btn-arrowpill__icon {
    background: var(--iimr-green-800);
    color: #ffffff;
}
.btn-arrowpill--light:hover,
.btn-arrowpill--light:focus {
    color: #ffffff;
}
.btn-arrowpill--light:hover .btn-arrowpill__icon,
.btn-arrowpill--light:focus .btn-arrowpill__icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Ghost — for hero / dark backgrounds */
.btn-arrowpill--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-arrowpill--ghost .btn-arrowpill__icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
.btn-arrowpill--ghost:hover,
.btn-arrowpill--ghost:focus {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

/* ── Quick Links + Social Feeds + Follow Us sections (dot canvas host) ────── */
#quickLinksSection,
.social-feeds-section,
.follow-us-section {
    position: relative;
    overflow: hidden;
}

#quickLinksSection {
    margin-bottom: -1px;
}

.social-feeds-section {
    margin-bottom: -1px;
}

.social-feed-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.social-feed-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.social-feed-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 13px;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.social-feed-header--fb { background: #1877f2; }
.social-feed-header--x  { background: #000000; }
.social-feed-header--yt { background: #ff0000; }

.social-feed-follow-link {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2px 9px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s;
}
.social-feed-follow-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    text-decoration: none;
}

.social-feed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 420px;
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

.social-feed-bg-icon {
    position: absolute;
    font-size: 120px;
    width: 120px;
    height: 120px;
    opacity: 0.04;
    color: #000;
    pointer-events: none;
}

.social-feed-placeholder-name {
    font-weight: 600;
    font-size: 14px;
    color: #444;
    margin: 0 0 3px;
    position: relative;
}

.social-feed-placeholder-hint {
    font-size: 12px;
    color: #aaa;
    margin: 0;
    position: relative;
}

.social-feed-embed {
    display: none;
}

.social-feed-card.loaded .social-feed-placeholder {
    display: none;
}

.social-feed-card.loaded .social-feed-embed {
    display: block;
    line-height: 0;
}

/* ── Twitter timeline embed wrapper ─────────────────────────────────── */
.social-feed-tw-body {
    height: 420px;
    overflow: hidden;
    background: #fff;
}
.social-feed-tw-body iframe {
    width: 100% !important;
    height: 420px !important;
    border: none;
}

/* ── Server-rendered tweet cards (X / Twitter) ───────────────────────── */
.social-feed-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 420px;
    overflow-y: auto;
    background: #fafafa;
}

.social-tweet-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    transition: box-shadow 0.15s;
}
.social-tweet-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.social-tweet-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0 0 8px;
    word-break: break-word;
}

.social-tweet-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.social-tweet-date {
    font-size: 11px;
    color: #888;
}

.social-tweet-link {
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.15s;
}
.social-tweet-link:hover { opacity: 0.65; color: #000000; }

/* ── Server-rendered YouTube video cards ─────────────────────────────── */
.social-feed-body--yt {
    padding: 10px 12px;
    height: 420px;
    overflow-y: auto;
    background: #fafafa;
}

.social-yt-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    padding: 8px;
    transition: background 0.15s;
    margin-bottom: 4px;
}
.social-yt-card:hover {
    background: rgba(0, 0, 0, 0.04);
    color: inherit;
    text-decoration: none;
}

.social-yt-thumb {
    position: relative;
    flex-shrink: 0;
    width: 110px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}
.social-yt-thumb img {
    width: 100%;
    height: 62px;
    object-fit: cover;
    display: block;
}

.social-yt-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 14px;
    transition: background 0.15s;
}
.social-yt-card:hover .social-yt-play { background: rgba(255, 0, 0, 0.65); }

.social-yt-info {
    flex: 1;
    min-width: 0;
}

.social-yt-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.social-yt-date {
    font-size: 11px;
    color: #888;
}

/* ── Empty-state for server-rendered feeds ───────────────────────────── */
.social-feed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
    color: #aaa;
    font-size: 13px;
    background: #fafafa;
}
.social-feed-empty i {
    font-size: 36px;
    opacity: 0.3;
}

/* Instagram / LinkedIn link cards */
.social-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--iimr-radius);
    border: 1px solid var(--iimr-line);
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(var(--iimr-green-900-rgb), 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--iimr-green-900-rgb), 0.12);
    text-decoration: none;
}

.social-link-card i:first-child {
    font-size: 32px;
    flex-shrink: 0;
}

.social-link-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-link-card strong {
    font-size: 15px;
    font-weight: 700;
    display: block;
}

.social-link-card span {
    font-size: 13px;
    color: #888;
}

.social-link-card--ig i:first-child { color: #e1306c; }
.social-link-card--ig strong        { color: #e1306c; }
.social-link-card--li i:first-child { color: #0a66c2; }
.social-link-card--li strong        { color: #0a66c2; }

.social-link-card .fa-arrow-right {
    color: #ccc;
    font-size: 14px;
    transition: transform 0.18s ease, color 0.18s ease;
}
.social-link-card:hover .fa-arrow-right {
    transform: translateX(4px);
    color: #999;
}

.news-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

/* Featured card */
.news-featured-card {
    position: relative;
    border-radius: var(--iimr-radius);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(var(--iimr-green-900-rgb), 0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.news-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(var(--iimr-green-900-rgb), 0.22);
}

.news-featured-link {
    display: block;
    position: absolute;
    inset: 0;
}

.news-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

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

.news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(10, 40, 24, 0.95) 0%, rgba(10, 40, 24, 0.6) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.news-featured-date {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.news-featured-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.news-featured-title a {
    color: #ffffff;
    text-decoration: none;
}

.news-featured-title a:hover {
    color: rgba(255,255,255,0.82);
    text-decoration: underline;
}

.news-featured-excerpt {
    color: rgba(255,255,255,0.90);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}


/* Pill button inside the featured news overlay — shrink to content width */
.news-featured-overlay .btn-arrowpill {
    align-self: flex-start;
}

/* Secondary stack */
.news-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.news-secondary-card {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--iimr-line);
    border-radius: var(--iimr-radius);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(var(--iimr-green-900-rgb), 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    flex: 1;
    min-height: 110px;
    position: relative;
}

.news-secondary-card:hover {
    box-shadow: 0 12px 32px rgba(var(--iimr-green-900-rgb), 0.16);
    border-color: rgba(31, 98, 66, 0.3);
    transform: translateY(-4px);
}

.news-secondary-thumb-link {
    flex: 0 0 110px;
    position: relative;
    align-self: stretch;
    overflow: hidden;
    display: block;
    min-height: 100px;
}

.news-secondary-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.news-secondary-card:hover .news-secondary-thumb {
    transform: scale(1.06);
}

.news-secondary-body {
    flex: 1;
    padding: 0.9rem 1rem 0.9rem 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.news-secondary-date {
    color: var(--iimr-muted);
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
}

.news-secondary-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.news-secondary-title a {
    color: var(--iimr-green-900);
    text-decoration: none;
}

.news-secondary-title a:hover {
    color: var(--iimr-green-800);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .news-modern-grid {
        grid-template-columns: 1fr;
    }
    .news-featured-card {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .news-secondary-thumb-link {
        flex: 0 0 85px;
    }
}
/* ── End Latest News modern editorial grid ──────────────────────────────── */

.nav-custom {
    gap: 8px;
    border-bottom: 1px solid var(--iimr-line);
}

.nav-custom .nav-link {
    border: 1px solid var(--iimr-line);
    border-bottom: 0;
    border-radius: var(--iimr-radius) var(--iimr-radius) 0 0;
    background: var(--iimr-soft);
    color: var(--iimr-green-900);
    font-weight: 700;
    cursor: pointer;
}

.nav-custom .nav-link.active,
.nav-custom .nav-link:hover {
    background: var(--iimr-green-800);
    color: #ffffff;
}

.custom-table {
    margin-bottom: 0;
}

.custom-table tr,
.custom-table td {
    border: 0;
}

.document-row {
    gap: 18px;
    margin-bottom: 10px;
    border: 1px solid var(--iimr-line);
    border-radius: var(--iimr-radius);
    background: #ffffff;
    color: var(--iimr-ink);
    box-shadow: 0 8px 18px rgba(var(--iimr-green-900-rgb), 0.06);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    position: relative;
    overflow: hidden;
}

.document-row-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 3px;
    min-width: 0;
}

.document-row-title > span {
    color: var(--iimr-ink);
    font-weight: 700;
}

.document-row-meta {
    grid-column: 2;
    color: var(--iimr-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
}

.document-row-date {
    flex: 0 0 auto;
    color: var(--iimr-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.document-row:hover,
.document-row:focus {
    border-color: rgba(31, 98, 66, 0.35);
    box-shadow: 0 14px 30px rgba(var(--iimr-green-900-rgb), 0.1);
    color: var(--iimr-green-800);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.notification-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.news .news-single {
    overflow: hidden;
    border: 0;
    border-radius: var(--iimr-radius);
    box-shadow: var(--iimr-shadow);
}

.news .news-single img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news .news-single .news-single-content {
    width: 100%;
    padding: 18px !important;
}

.news .news-single h5 {
    font-size: 1.05rem;
    line-height: 1.35;
}

.feature {
    height: 100%;
    min-height: 138px;
    border: 1px solid var(--iimr-line);
    border-radius: var(--iimr-radius);
    box-shadow: 0 10px 24px rgba(var(--iimr-green-900-rgb), 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.feature:hover {
    border-color: rgba(31, 98, 66, 0.28);
    box-shadow: 0 18px 34px rgba(var(--iimr-green-900-rgb), 0.12);
    transform: translateY(-2px);
}

.feature img {
    max-width: 54px;
    max-height: 54px;
    margin-bottom: 14px;
}

.feature h3,
.feature h3 a {
    color: var(--iimr-green-900);
    font-size: 1rem;
    font-weight: 800;
}

.social-border {
    border-color: var(--iimr-line) !important;
    border-radius: var(--iimr-radius);
    background: linear-gradient(135deg, #ffffff, var(--iimr-soft));
    box-shadow: var(--iimr-shadow);
}

footer {
    background: linear-gradient(135deg, rgba(245, 184, 46, 0.08), rgba(245, 184, 46, 0)), var(--iimr-green-900);
}

/* Footer reveal — homepage only (mirrors sticky hero at top) */
.is-home footer#footer {
    position: sticky;
    bottom: 0;
    z-index: 0; /* below home-content-layers (z-index: 2) */
}

.footer-heading {
    color: var(--iimr-maize-400);
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
}

.footer-links li a:hover,
.footer-text a:hover {
    color: #ffffff;
}

.footer-bottom {
    background: #0a2419;
}

.right-side-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    height: auto;
    width: auto;
    right: 14px;
}

.right-side-buttons .btn {
    margin-bottom: 0 !important;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(var(--iimr-green-900-rgb), 0.24);
}

#accessibilityPanel {
    width: min(380px, 92vw);
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #ffffff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
}

#accessibilityPanel .offcanvas-header {
    align-items: flex-start;
    padding: 22px 24px 18px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

#accessibilityPanel .offcanvas-header h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

#accessibilityPanel .btn-close {
    margin-top: 0;
    border-radius: 999px;
    filter: invert(1);
    opacity: 0.75;
}

#accessibilityPanel .offcanvas-body {
    padding: 22px 24px 26px;
}

#accessibilityPanel .offcanvas-body p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#accessibilityPanel .offcanvas-body > div {
    padding: 0;
    border: none;
    background: none;
}

#accessibilityPanel .btn {
    min-height: 38px;
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    box-shadow: none;
    transition: background 0.15s, border-color 0.15s;
}

#accessibilityPanel .btn:hover,
#accessibilityPanel .btn:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

#accessibilityPanel .btn[aria-pressed="true"],
#accessibilityPanel .btn.active {
    border-color: var(--iimr-maize-500) !important;
    background: var(--iimr-maize-500) !important;
    color: #0f172a !important;
}

.goog-te-balloon-frame,
.goog-te-menu-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.skiptranslate,
iframe.skiptranslate,
body > .skiptranslate,
body > iframe.goog-te-banner-frame,
body > iframe.skiptranslate,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

.goog-text-highlight {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Hide Google Translate loading spinner (VIpgJd-* classes) */
.VIpgJd-ZVi9od-aZ2wEe-OiiCO {
    display: none !important;
}

html,
html.translated-ltr,
html.translated-rtl,
body,
body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.footer-bottom {
    margin-bottom: 0;
}

#scroll-top {
    border: 0;
    border-radius: 999px;
    background: var(--iimr-green-800);
    box-shadow: 0 12px 28px rgba(var(--iimr-green-900-rgb), 0.24);
    overflow: visible;
}

.scroll-progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    pointer-events: none;
}

.scroll-progress-track {
    fill: none;
    stroke: rgba(var(--iimr-green-900-rgb), 0.15);
    stroke-width: 2.5;
}

.scroll-progress-fill {
    fill: none;
    stroke: #e8a020;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 157.08;
    stroke-dashoffset: 157.08;
    transition: stroke-dashoffset 0.12s linear;
}

@media (max-width: 1199.98px) {
    .custom-navbar .nav-item .nav-link {
        color: var(--iimr-green-900);
        text-shadow: none;
    }

    .dropdown-menu.mega-menu {
        width: 100%;
        transform: none;
        border-radius: 0;
        box-shadow: none;
        padding: 10px;
        overflow: visible;
    }

    .dropdown-menu.mega-menu .col-2 {
        display: none !important;
    }

    .mega-menu .col {
        min-width: 180px;
    }
}

@media (max-width: 991.98px) {
    section.padding {
        padding: 58px 0;
    }

    .site-logo-emblem {
        height: 44px;
    }
    .logo-container,
    .site-logo-link,
    .site-logo-text {
        min-width: 0;
    }
    .site-logo-name {
        font-size: 18px;
        white-space: normal;
    }
    .site-logo-parent {
        font-size: 12px;
    }

    .home-slider .slider-content-cont,
    .slider-bg-container {
        min-height: 740px;
    }

    .home-slider .slider-content-cont {
        padding-top: 128px;
    }

    .hero-stat-strip {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .header-top .d-flex {
        flex-wrap: nowrap;
    }

    .top-search {
        width: 34px;
        max-width: 34px;
    }

    .top-search.is-open {
        width: 34px;
        max-width: 34px;
    }

    .top-search .site-search-form.is-open {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        width: min(280px, calc(100vw - 24px));
        padding: 4px;
        background: var(--iimr-green-900);
        border-radius: 4px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
        z-index: 1050;
    }

    .top-search .site-search-form.is-open input {
        width: 100%;
        max-width: none;
    }

    .slider-heading {
        font-size: clamp(1.5rem, 8vw, 2.4rem);
    }

    .section-heading-row,
    .document-row {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .announcements-section .tab-content {
        padding: 14px;
    }

    .nav-custom {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1px;
    }

    .nav-custom .nav-link {
        white-space: nowrap;
    }

    .social-border {
        padding: 24px !important;
    }
}

/* =========================================================
   Project tables
   ========================================================= */
/* =========================================================
   Publication Cards
   ========================================================= */
.pub-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16,47,34,0.09);
    background: #fff;
    border: 1px solid rgba(16,47,34,0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
}
.pub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(16,47,34,0.18);
    color: inherit;
    text-decoration: none;
}
.pub-card-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #dde8e2;
    flex-shrink: 0;
}
.pub-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.pub-card:hover .pub-card-cover img {
    transform: scale(1.04);
}
.pub-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16,47,34,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.pub-card:hover .pub-card-overlay {
    opacity: 1;
}
.pub-card-overlay span {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.75);
    padding: 6px 14px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pub-card-body {
    padding: 11px 13px 13px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--iimr-green-700);
}
.pub-card-title {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--iimr-green-900);
    font-weight: 500;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pub-card-badge {
    display: inline-block;
    background: var(--iimr-maize-500);
    color: #1a3a26;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 2px;
    margin-top: 8px;
    align-self: flex-start;
}

.staff-contact-link {
    color: var(--iimr-green-800);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px dashed var(--iimr-green-600);
}
.staff-contact-link:hover {
    color: var(--iimr-maize-600);
    border-bottom-style: solid;
}

.file-format-badge {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 600;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 3px;
    padding: 0 4px;
    margin-left: 4px;
    vertical-align: middle;
    white-space: nowrap;
}

.project-division-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--iimr-green-800);
    border-left: 4px solid var(--iimr-maize-500);
    padding-left: 10px;
    margin: 8px 0 12px;
}
.project-table thead {
    background: var(--iimr-green-800);
    color: #fff;
}
.project-table thead th {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    border-color: var(--iimr-green-700) !important;
}
.project-table tbody tr:hover {
    background: #f0f7f2;
}
.project-table td {
    font-size: 0.88rem;
    vertical-align: middle;
}

/* =========================================================
   Print Button — GIGW 3.0 compliance
   ========================================================= */
.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--iimr-green-800);
    background: #fff;
    border: 1.5px solid var(--iimr-green-700);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    float: right;
    margin-bottom: 14px;
}
.btn-print:hover {
    background: var(--iimr-green-800);
    color: #fff;
}
.btn-print i {
    font-size: 0.9rem;
}

/* =========================================================
   prefers-reduced-motion — GIGW 3.0 / WCAG 2.3.3
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .owl-carousel .owl-animated-in,
    .owl-carousel .owl-animated-out {
        animation: none !important;
    }
}

/* =========================================================
   @media print — GIGW 3.0 print styles
   ========================================================= */
@media print {
    /* Hide chrome */
    header,
    .header-top,
    .custom-navbar,
    footer,
    .footer-bottom,
    .right-side-buttons,
    #scroll-top,
    .skip-to-main,
    .about-side,
    .btn-print,
    .breadcrumb-custom,
    .breadcrumb-content .col-md-7,
    .nav-custom,
    #google_translate_element {
        display: none !important;
    }

    /* Remove full-bleed overflow constraints for print */
    body {
        overflow: visible !important;
    }

    .breadcrumb-custom-container {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-shadow: none !important;
    }

    .breadcrumb-content {
        min-height: unset !important;
    }

    /* Ensure content fills full print width */
    .tab-content,
    .tab-pane {
        width: 100% !important;
    }

    /* Clean typography for print */
    body {
        font-size: 11pt;
        color: #000;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #000;
    }

    a[href]::after {
        content: none !important;
    }

    /* Page margin */
    @page {
        margin: 2cm;
    }
}

/* ── Cookie Consent Banner ─────────────────────────────────── */
#cookie-consent-banner {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 920px;
    background: rgba(10, 46, 46, 0.82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    z-index: 9998;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 32px;
    flex-wrap: wrap;
}

.cookie-banner-body {
    flex: 1 1 320px;
}

.cookie-banner-heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #fff;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cookie-banner-text {
    font-size: 0.875rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.cookie-banner-text a {
    color: var(--iimr-maize-400);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: #fff;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: wrap;
}

#cookie-consent-banner #cookie-accept {
    background: var(--iimr-green-700);
    color: #fff;
    border: 1px solid var(--iimr-green-700);
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

#cookie-consent-banner #cookie-accept:hover,
#cookie-consent-banner #cookie-accept:focus-visible {
    background: var(--iimr-green-800);
    border-color: var(--iimr-green-800);
    outline: 2px solid var(--iimr-maize-400);
    outline-offset: 2px;
}

#cookie-consent-banner #cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

#cookie-consent-banner #cookie-decline:hover,
#cookie-consent-banner #cookie-decline:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    #cookie-consent-banner {
        bottom: 16px;
        width: calc(100% - 24px);
        border-radius: 12px;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 20px;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    #cookie-consent-banner #cookie-accept,
    #cookie-consent-banner #cookie-decline {
        flex: 1;
        text-align: center;
    }
}

/* ── Portal Strip ─────────────────────────────────────────────────────────── */
.portal-strip {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: var(--iimr-soft);
    border-top: 1px solid var(--iimr-line);
    border-bottom: 1px solid var(--iimr-line);
}

.portal-strip::before,
.portal-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: max(calc((100vw - 1320px) / 2 + 280px), 280px);
    z-index: 2;
    pointer-events: none;
}
.portal-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--iimr-soft), var(--iimr-soft) 200px, transparent);
}
.portal-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--iimr-soft), var(--iimr-soft) 200px, transparent);
}
@media (min-width: 1600px) {
    .portal-strip::before,
    .portal-strip::after {
        width: max(calc((100vw - 1600px) / 2 + 280px), 280px);
    }
}

.portal-strip-track {
    display: flex;
    width: max-content;
    animation: portal-scroll 35s linear infinite;
    will-change: transform;
}

.portal-strip-track:hover {
    animation-play-state: paused;
}

.portal-strip-set {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 0 28px;
    flex-shrink: 0;
}

.portal-strip-item img {
    height: 48px;
    width: auto;
    display: block;
    filter: grayscale(30%);
    opacity: 0.75;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.portal-strip-item:hover img,
.portal-strip-item:focus img {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes portal-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .portal-strip-track {
        animation: none;
    }
}
/* ─────────────────────────────────────────────────────────────────────────── */

/* ── TEST FONTS: Cormorant Garamond (headings) + Neue Montreal (body) ───────
   NOTE: Neue Haas Unica is a commercial Monotype font (requires Adobe Fonts).
   Neue Montreal (Fontshare) is used here as the closest free stand-in.
   To revert: remove this block and the font <link>s in app.blade.php.
   ──────────────────────────────────────────────────────────────────────────── */
body,
h1, h2, h3, h4, h5, h6,
p, li, td, th, label, figcaption,
.section-title, .breadcrumb-content h1,
.nav-link, .dropdown-item, input, select, textarea, button {
    font-family: 'Roboto Slab', Georgia, serif;
    -webkit-font-smoothing: antialiased;
}

body { font-size: 1.18rem; }
p    { font-size: 1.05rem; }
.navbar-custom .nav-item .nav-link { font-size: 14px; }
header#header .header-top .nav-link { font-size: 14px; }
.document-row-title > span { font-size: 0.92rem; }
.announcements-section p   { font-size: 0.9rem; }

/* Shared fixed background image below the hero */
.home-content-layers {
    background-image: url('../images/bg/image1.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

/* Frosted glass over the shared background image */
.home-content-layers > section:not(.portal-strip) {
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* ─────────────────────────────────────────────────────────────────────────── */

/* ── Policy & Strategy Cards ────────────────────────────────────────────────── */
.policy-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.policy-card {
    background: #ffffff;
    border: 1px solid var(--iimr-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(var(--iimr-green-900-rgb), 0.07);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.policy-card:hover {
    box-shadow: 0 8px 28px rgba(var(--iimr-green-900-rgb), 0.13);
    transform: translateY(-3px);
}

.policy-card-header {
    background: var(--iimr-green-900);
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.policy-card-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    opacity: 0.22;
    line-height: 1;
    flex-shrink: 0;
}

.policy-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.35;
}

.policy-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.policy-officer {
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.policy-officer--right {
    border-left: 1px solid var(--iimr-line);
}

.policy-officer-role {
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--iimr-green-700);
    margin-bottom: 0.15rem;
}

.policy-officer-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--iimr-green-900);
    margin: 0;
    line-height: 1.3;
}

.policy-officer-meta {
    font-size: 0.77rem;
    color: var(--iimr-muted);
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .policy-cards-grid {
        grid-template-columns: 1fr;
    }
    .policy-card-body {
        grid-template-columns: 1fr;
    }
    .policy-officer--right {
        border-left: none;
        border-top: 1px solid var(--iimr-line);
    }
}

/* ── Scroll-reveal: fade up on scroll ──────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Cursor spotlight: radial glow that follows the mouse inside each card ─── */
.quick-link-card::before,
.news-secondary-card::before,
.document-row::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        220px circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
        rgba(15, 118, 110, 0.18) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.quick-link-card:hover::before,
.news-secondary-card:hover::before,
.document-row:hover::before {
    opacity: 1;
}

/* ── Respect reduced-motion: disable transforms and spotlight ───────────────── */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .quick-link-card,
    .news-featured-card,
    .news-secondary-card,
    .document-row {
        transition: box-shadow 0.22s ease;
    }
    a.quick-link-card:hover,
    a.quick-link-card:focus-visible,
    .news-featured-card:hover,
    .news-secondary-card:hover,
    .document-row:hover,
    .document-row:focus {
        transform: none;
    }
    .quick-link-card::before,
    .news-secondary-card::before,
    .document-row::before {
        display: none;
    }
}

/* ── News listing page — editorial list ─────────────────────────────────── */
.news-editorial-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid var(--iimr-green-900);
}

.news-editorial-item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--iimr-line);
    transition: background 0.2s ease;
}

.news-editorial-thumb-link {
    flex: 0 0 200px;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    align-self: flex-start;
}

.news-editorial-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.news-editorial-item:hover .news-editorial-thumb {
    transform: scale(1.04);
}

.news-editorial-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.news-editorial-date {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--iimr-green-700, #2d7a52);
    display: block;
}

.news-editorial-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.news-editorial-title a {
    color: var(--iimr-green-900);
    text-decoration: none;
}

.news-editorial-title a:hover,
.news-editorial-title a:focus-visible {
    color: var(--iimr-green-700, #2d7a52);
    text-decoration: underline;
}

.news-editorial-excerpt {
    font-size: 0.9rem;
    color: var(--iimr-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 767.98px) {
    .news-editorial-item {
        flex-direction: column;
        gap: 1rem;
    }
    .news-editorial-thumb-link {
        flex: unset;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-editorial-thumb {
        transition: none;
    }
}
/* ── End News listing page editorial list ───────────────────────────────── */

/* ── News article detail page ───────────────────────────────────────────── */
.news-article-page {
    padding-bottom: 4rem;
}

/* Split hero: image left, title panel overlapping right */
.news-hero-split {
    display: grid;
    grid-template-columns: 62fr 38fr;
    align-items: center;
    margin: 1.75rem 0 2.5rem;
}

.news-hero-split__img-col {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    aspect-ratio: 839 / 504;
}

.news-hero-split__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-hero-split__img-placeholder {
    width: 100%;
    aspect-ratio: 839 / 504;
    background: var(--iimr-green-50, #f0f7f3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iimr-green-300, #6aad8a);
    font-size: 3rem;
}

.news-hero-split__text-col {
    background: #fff;
    padding: 2.5rem 2rem 2.5rem 3rem;
    margin-left: -5rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 12px;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.10);
    align-self: center;
}

.news-hero-split__title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0;
}

.news-hero-split__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--iimr-green-700, #2d7a52);
    border: 1.5px solid var(--iimr-green-700, #2d7a52);
    padding: 0.25em 0.8em;
    border-radius: 20px;
    width: fit-content;
}

.news-hero-split__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
}

.news-hero-split__meta-dot {
    color: #bbb;
}

/* Article body + share sidebar layout */
.news-article-layout {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 2.5rem;
    align-items: start;
    padding-top: 0.5rem;
}

.news-article-content {
    min-width: 0;
}

/* Share sidebar */
.news-share-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.news-share-sidebar__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--iimr-muted);
    margin: 0 0 0.2rem;
}

.news-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-share-btn span {
    display: none;
}

.news-share-x-logo {
    display: flex !important;
    font-size: 1.1rem;
    font-weight: 900;
    font-style: normal;
    line-height: 1;
    color: #fff;
    font-family: serif;
}

.news-share-btn:hover,
.news-share-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    color: #fff;
    text-decoration: none;
    outline-offset: 3px;
}

.news-share-btn--fb  { background: #1877f2; }
.news-share-btn--x   { background: #000; }
.news-share-btn--li  { background: #0a66c2; }
.news-share-btn--pdf { background: #e53935; }

.news-share-sidebar__divider {
    width: 28px;
    height: 1px;
    background: var(--iimr-line);
    margin: 0.2rem 0;
}

@media (max-width: 767.98px) {
    .news-article-layout {
        grid-template-columns: 1fr;
    }
    .news-share-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 1rem 0;
        border-top: 1px solid var(--iimr-line);
        border-bottom: 1px solid var(--iimr-line);
        margin-bottom: 1rem;
    }
    .news-share-sidebar__label {
        width: 100%;
    }
    .news-share-sidebar__divider {
        display: none;
    }
}

/* Print styles — hide everything except the article */
@media print {
    header, footer, nav, .news-share-sidebar,
    .news-more-stories, .breadcrumb-custom,
    .news-img-carousel-wrap, .news-article-footer {
        display: none !important;
    }
    .news-article-layout {
        display: block;
    }
    .news-hero-split {
        display: block;
    }
    .news-hero-split__text-col {
        box-shadow: none;
        margin-left: 0;
        padding: 1rem 0;
    }
}

.news-article-body.prose {
    font-size: 1rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.news-article-body.prose p {
    margin-bottom: 1.4rem;
}

.news-article-body.prose h2,
.news-article-body.prose h3 {
    font-weight: 700;
    color: var(--iimr-green-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.news-article-body.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--iimr-radius);
    margin: 1.5rem 0;
}

.news-article-body.prose ul,
.news-article-body.prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.news-article-body.prose blockquote {
    border-left: 4px solid var(--iimr-green-700, #2d7a52);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--iimr-muted);
    font-style: italic;
    background: var(--iimr-green-50, #f0f7f3);
    border-radius: 0 var(--iimr-radius) var(--iimr-radius) 0;
}

/* Gallery */
.news-article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.news-article-gallery__item {
    margin: 0;
    line-height: 0;
    border-radius: var(--iimr-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.news-article-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer / back link */
.news-article-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--iimr-line);
}

.news-article-back {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--iimr-green-700, #2d7a52);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-article-back:hover,
.news-article-back:focus-visible {
    color: var(--iimr-green-900);
    text-decoration: underline;
}

/* More stories section */
.news-more-stories {
    background: var(--iimr-green-50, #f5faf7);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--iimr-green-900);
}

.news-more-stories__heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--iimr-green-900);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .news-hero-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .news-hero-split__img-col {
        border-radius: 10px;
        aspect-ratio: 16 / 9;
    }
    .news-hero-split__text-col {
        margin-left: 0;
        border-radius: 0 0 8px 8px;
        padding: 1.5rem 1rem;
        box-shadow: none;
        border-top: none;
    }
    .news-hero-split__title {
        font-size: 1.4rem;
    }
}
/* ── News inline image carousel ─────────────────────────────────────────── */
.news-img-carousel-wrap {
    margin: 2.5rem 0;
    position: relative;
}

.news-img-carousel .news-img-carousel__item {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    line-height: 0;
}

.news-img-carousel .news-img-carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 14px;
}

/* Arrow buttons */
.news-img-carousel.owl-carousel .owl-nav button.owl-prev,
.news-img-carousel.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.72) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border: none;
    transition: background 0.2s ease;
    z-index: 10;
    margin: 0;
}

.news-img-carousel.owl-carousel .owl-nav button.owl-prev {
    left: 14px;
}

.news-img-carousel.owl-carousel .owl-nav button.owl-next {
    right: 14px;
}

.news-img-carousel.owl-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.92) !important;
}

.news-img-carousel.owl-carousel .owl-nav button span {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dots */
.news-img-carousel.owl-carousel .owl-dots {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.news-img-carousel.owl-carousel .owl-dot span {
    width: 28px;
    height: 10px;
    border-radius: 20px;
    background: #ddd !important;
    transition: background 0.2s ease, width 0.2s ease;
    display: block;
    margin: 0;
}

.news-img-carousel.owl-carousel .owl-dot.active span {
    background: var(--iimr-green-900) !important;
    width: 36px;
}
/* ── End News inline image carousel ─────────────────────────────────────── */

/* ── End News article detail page ───────────────────────────────────────── */

/* About institute combined page */
.about-institute-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 48%, #ffffff 100%);
}

.about-story {
    color: var(--iimr-ink);
}

.about-story-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: stretch;
    padding: clamp(34px, 5vw, 72px);
    border: 1px solid rgba(var(--iimr-green-900-rgb), 0.12);
    background: linear-gradient(135deg, rgba(13, 59, 59, 0.96), rgba(15, 118, 110, 0.9)), url('../images/bg/image1.jpg') center / cover;
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(var(--iimr-green-900-rgb), 0.18);
}

.about-story-hero__copy {
    max-width: 900px;
}

.about-kicker,
.about-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.about-kicker {
    color: var(--iimr-maize-400);
    margin-bottom: 16px;
}

.about-story-hero h2 {
    max-width: 820px;
    margin: 0 0 22px;
    font-size: clamp(2.1rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.about-story-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.75;
}

.about-story-hero__panel {
    display: grid;
    align-content: end;
    gap: 14px;
}

.about-story-hero__panel > div {
    padding: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.about-story-hero__panel span {
    display: block;
    margin-bottom: 8px;
    color: var(--iimr-maize-400);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
}

.about-story-hero__panel p {
    font-size: 0.88rem;
    line-height: 1.55;
}

.about-anchor-nav {
    position: sticky;
    top: 8px;
    z-index: 30;
    display: flex;
    gap: 10px;
    margin: 24px 0 56px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(var(--iimr-green-900-rgb), 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    overflow-x: auto;
    transition: top 0.2s ease, box-shadow 0.2s ease;
}

.about-anchor-nav a {
    flex: 1 0 auto;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--iimr-green-900);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.about-anchor-nav a:hover,
.about-anchor-nav a:focus-visible {
    background: var(--iimr-green-900);
    color: #ffffff;
    outline: none;
}

.about-history-block {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 0;
    align-items: center;
    padding: 8px 0 76px;
    border-bottom: 1px solid var(--iimr-line);
}

.about-section-label {
    position: sticky;
    top: 170px;
    align-self: start;
    color: var(--iimr-green-700);
}

.about-history-block h2,
.about-section-heading h2,
.about-statement-card h2 {
    margin: 0 0 18px;
    color: var(--iimr-green-900);
    font-size: clamp(1.55rem, 2.8vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.about-history-media {
    position: relative;
    margin: 0;
    aspect-ratio: 674 / 379;
    overflow: hidden;
    border-radius: 8px;
    background: var(--iimr-green-900);
    box-shadow: 0 24px 60px rgba(var(--iimr-green-900-rgb), 0.16);
    transform: translateY(-18px);
    animation: aboutImageSettle 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-history-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 39, 39, 0.02) 0%, rgba(7, 39, 39, 0.14) 100%);
    pointer-events: none;
}

.about-history-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    animation: aboutImageLoad 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-history-copy {
    position: relative;
    z-index: 2;
    margin-left: clamp(-88px, -6vw, -52px);
    margin-top: clamp(36px, 5vw, 72px);
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(var(--iimr-green-900-rgb), 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: -10px 18px 56px rgba(var(--iimr-green-900-rgb), 0.14);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: aboutCopySettle 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-history-block p {
    max-width: 980px;
    color: #334747;
    font-size: 1.02rem;
    line-height: 1.9;
}

@keyframes aboutImageSettle {
    from {
        opacity: 0;
        transform: translateY(-38px);
    }
    to {
        opacity: 1;
        transform: translateY(-18px);
    }
}

@keyframes aboutImageLoad {
    from {
        transform: scale(1.025);
    }
    to {
        transform: scale(1);
    }
}

@keyframes aboutCopySettle {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-vision-mission {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 64px 0;
}

.about-statement-card {
    min-height: 330px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(var(--iimr-green-900-rgb), 0.08);
}

.about-statement-card--dark {
    background: var(--iimr-green-900);
    color: #ffffff;
}

.about-statement-card--dark h2 {
    color: #ffffff;
}

.about-statement-card p {
    color: var(--iimr-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.about-statement-card--dark p {
    color: rgba(255, 255, 255, 0.84);
}

.about-mandate-section,
.about-objectives-section {
    padding: 64px 0;
}

.about-section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.about-section-heading .about-kicker {
    color: var(--iimr-green-700);
}

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

.about-mandate-card {
    min-height: 280px;
    padding: 26px;
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(var(--iimr-green-900-rgb), 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-mandate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 184, 46, 0.8);
    box-shadow: 0 22px 46px rgba(var(--iimr-green-900-rgb), 0.12);
}

.about-mandate-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--iimr-soft);
    color: var(--iimr-green-800);
    font-size: 1.1rem;
}

.about-mandate-card h3 {
    margin: 0 0 12px;
    color: var(--iimr-green-900);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.about-mandate-card p {
    margin: 0;
    color: var(--iimr-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.about-centres-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--iimr-line);
    border: 1px solid var(--iimr-line);
}

.about-centres-strip > div {
    padding: clamp(24px, 3vw, 38px);
    background: #f7fbf8;
}

.about-centres-strip strong {
    display: block;
    margin-bottom: 10px;
    color: var(--iimr-green-900);
    font-size: 1.02rem;
    line-height: 1.45;
}

.about-centres-strip span {
    display: block;
    color: var(--iimr-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-objective-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: objective;
}

.about-objective-list li {
    position: relative;
    min-height: 112px;
    padding: 24px 24px 24px 84px;
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: #ffffff;
    color: #334747;
    font-size: 0.94rem;
    line-height: 1.65;
    box-shadow: 0 10px 26px rgba(var(--iimr-green-900-rgb), 0.06);
    counter-increment: objective;
}

.about-objective-list li::before {
    content: counter(objective, decimal-leading-zero);
    position: absolute;
    left: 22px;
    top: 24px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--iimr-green-900);
    color: var(--iimr-maize-400);
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 1199.98px) {
    .about-story-hero,
    .about-vision-mission,
    .about-centres-strip {
        grid-template-columns: 1fr;
    }

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

    .about-history-block {
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    }

    .about-history-media {
        aspect-ratio: 674 / 379;
    }

    .about-history-media img {
        height: 100%;
    }

    .about-history-copy {
        margin-left: -46px;
        margin-top: 48px;
    }
}

@media (max-width: 767.98px) {
    .about-story-hero {
        padding: 28px 22px;
    }

    .about-anchor-nav {
        top: 8px;
        margin-bottom: 38px;
    }

    .about-history-block,
    .about-objective-list {
        grid-template-columns: 1fr;
    }

    .about-section-label {
        position: static;
    }

    .about-history-media,
    .about-history-copy {
        grid-column: auto;
    }

    .about-history-media {
        aspect-ratio: 674 / 379;
        transform: none;
        animation: aboutImageSettleMobile 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .about-history-copy {
        margin: -28px 14px 0;
        padding: 24px 20px;
    }

    .about-mandate-grid {
        grid-template-columns: 1fr;
    }

    .about-statement-card,
    .about-mandate-card {
        min-height: 0;
    }

    .about-objective-list li {
        min-height: 0;
        padding: 22px 20px 22px 76px;
    }
}

/* ICAR-IIMR organogram on combined About page */
.iimr-organogram-section {
    padding: 70px 0 10px;
    border-top: 1px solid var(--iimr-line);
}

.iimr-organogram-section .about-section-heading {
    margin-bottom: 18px;
}

.og-scroll-hint {
    display: none;
    margin: 0 0 14px;
    color: var(--iimr-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.iimr-organogram {
    overflow-x: auto;
    padding: 28px;
    border: 1px solid rgba(var(--iimr-green-900-rgb), 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 248, 0.96)),
        linear-gradient(135deg, rgba(15, 118, 110, 0.09), rgba(245, 184, 46, 0.1));
    box-shadow: 0 22px 56px rgba(var(--iimr-green-900-rgb), 0.1);
}

.og-inner {
    min-width: 1120px;
    position: relative;
}

.og-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 14px 18px;
    border: 1px solid rgba(var(--iimr-green-900-rgb), 0.18);
    border-radius: 8px;
    background: #ffffff;
    color: var(--iimr-green-900);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 12px 28px rgba(var(--iimr-green-900-rgb), 0.08);
}

.og-top {
    display: grid;
    justify-items: center;
}

.og-top-box {
    width: 310px;
    background: var(--iimr-green-900);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.og-vline {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--iimr-green-700), rgba(15, 118, 110, 0.28));
}

.og-director-row {
    display: grid;
    grid-template-columns: 260px 86px 220px 86px 260px;
    align-items: center;
    justify-content: center;
}

.og-director {
    min-height: 78px;
    background: linear-gradient(135deg, var(--iimr-maize-500), var(--iimr-maize-400));
    color: var(--iimr-ink);
    border-color: rgba(13, 59, 59, 0.2);
    font-size: 1.12rem;
    box-shadow: 0 18px 42px rgba(245, 184, 46, 0.24);
}

.og-committee {
    background: #f7fbf8;
    color: var(--iimr-green-900);
}

.og-hline {
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.22), var(--iimr-green-700), rgba(15, 118, 110, 0.22));
}

.og-tree-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 18px;
    margin: 78px 0 0;
    padding: 34px 0 0;
    list-style: none;
}

.og-tree-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.1), var(--iimr-green-700), rgba(15, 118, 110, 0.1));
}

.og-tree-row > li {
    position: relative;
}

.og-tree-row > li::before {
    content: '';
    position: absolute;
    top: -34px;
    left: 50%;
    width: 2px;
    height: 34px;
    background: var(--iimr-green-700);
}

.og-tree-row::after {
    content: '';
    position: absolute;
    top: -78px;
    left: 50%;
    width: 2px;
    height: 78px;
    background: linear-gradient(180deg, var(--iimr-green-700), var(--iimr-green-700));
}

.og-col-title {
    min-height: 70px;
    background: var(--iimr-green-800);
    color: #ffffff;
}

.og-col-list {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 18px 0 0;
    list-style: none;
}

.og-col-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 18px;
    background: rgba(15, 118, 110, 0.5);
}

.og-col-list li {
    position: relative;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #334747;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 18px rgba(var(--iimr-green-900-rgb), 0.05);
}

.og-col-list li + li::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 2px;
    height: 10px;
    background: rgba(15, 118, 110, 0.34);
}

.og-text-fallback {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--iimr-muted);
    font-size: 0.9rem;
}

.og-text-fallback summary {
    color: var(--iimr-green-900);
    cursor: pointer;
    font-weight: 800;
}

.og-text-fallback ul {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .og-scroll-hint {
        display: block;
    }

    .iimr-organogram {
        padding: 20px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .about-history-media,
    .about-history-media img,
    .about-history-copy {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .iimr-organogram-section {
        padding-top: 54px;
    }

    .iimr-organogram {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .og-inner {
        min-width: 980px;
    }
}

@media print {
    .iimr-organogram {
        overflow: visible;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: #ffffff;
    }

    .og-scroll-hint {
        display: none !important;
    }

    .og-inner {
        min-width: 0;
    }
}

/* Past Directors page */
.past-directors-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 48%, #ffffff 100%);
}

.about-breadcrumb-strip,
.past-directors-breadcrumb-strip {
    margin: 0 0 22px;
    padding: 12px 16px;
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(var(--iimr-green-900-rgb), 0.07);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.about-breadcrumb-strip .breadcrumb,
.past-directors-breadcrumb-strip .breadcrumb {
    margin: 0;
}

.about-breadcrumb-strip .breadcrumb-item,
.about-breadcrumb-strip .breadcrumb-item a,
.past-directors-breadcrumb-strip .breadcrumb-item,
.past-directors-breadcrumb-strip .breadcrumb-item a {
    color: var(--iimr-green-900);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.about-breadcrumb-strip .breadcrumb-item a:hover,
.past-directors-breadcrumb-strip .breadcrumb-item a:hover {
    color: var(--iimr-green-700);
}

.about-breadcrumb-strip .breadcrumb-item.active,
.past-directors-breadcrumb-strip .breadcrumb-item.active {
    color: var(--iimr-muted);
}

.about-breadcrumb-strip .breadcrumb-item + .breadcrumb-item::before,
.past-directors-breadcrumb-strip .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(var(--iimr-green-900-rgb), 0.42);
}

.past-directors-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(24px, 5vw, 64px);
    align-items: end;
    margin-bottom: 44px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(var(--iimr-green-900-rgb), 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(13, 59, 59, 0.96), rgba(15, 118, 110, 0.9)),
        url('../images/bg/image1.jpg') center / cover;
    color: #ffffff;
    box-shadow: 0 24px 64px rgba(var(--iimr-green-900-rgb), 0.16);
}

.past-directors-hero h2 {
    max-width: 900px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4.4vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

.past-directors-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.8;
}

.past-directors-stat {
    min-height: 170px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    text-align: center;
}

.past-directors-stat span {
    color: var(--iimr-maize-400);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
}

.past-directors-stat p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.past-directors-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    padding-top: 28px;
}

.past-directors-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--iimr-green-900), var(--iimr-maize-500), transparent);
}

.past-director-card {
    position: relative;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--iimr-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(var(--iimr-green-900-rgb), 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.past-director-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 184, 46, 0.16), transparent 42%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.past-director-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 184, 46, 0.82);
    box-shadow: 0 24px 54px rgba(var(--iimr-green-900-rgb), 0.14);
}

.past-director-card:hover::before {
    opacity: 1;
}

.past-director-card__media {
    position: relative;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: var(--iimr-soft);
}

.past-director-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.past-director-card:hover .past-director-card__media img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.past-director-card__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(245, 184, 46, 0.28), transparent 34%),
        linear-gradient(135deg, var(--iimr-green-900), var(--iimr-green-700));
    color: var(--iimr-maize-400);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.past-director-card__body {
    position: relative;
    padding: 22px 22px 24px;
}

.past-director-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--iimr-soft);
    color: var(--iimr-green-800);
    font-size: 0.75rem;
    font-weight: 800;
}

.past-director-card h3 {
    margin: 0 0 8px;
    color: var(--iimr-green-900);
    font-size: clamp(1rem, 1.2vw, 1.22rem);
    font-weight: 800;
    line-height: 1.35;
}

.past-director-card p {
    margin: 0;
    color: var(--iimr-muted);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
}

.past-directors-empty {
    display: grid;
    place-items: center;
    gap: 14px;
    min-height: 260px;
    padding: 34px;
    border: 1px dashed var(--iimr-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--iimr-muted);
    text-align: center;
}

.past-directors-empty i {
    color: var(--iimr-green-700);
    font-size: 2rem;
}

.past-directors-empty p {
    margin: 0;
}

@media (max-width: 767.98px) {
    .past-directors-hero {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .past-directors-stat {
        min-height: 130px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .past-director-card,
    .past-director-card::before,
    .past-director-card__media img {
        transition: none;
    }

    .past-director-card:hover {
        transform: none;
    }
}
