 
:root {
            --csir-blue: #8a1c34;
            --csir-light: #0055aa;
            --csir-gold: #C5A059;
            --csir-gray: #f3f4f6;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: #333;
            background-color: #f8f9fa;
        }
        
        .font-serif {
            font-family: 'Merriweather', serif;         
        }
        
        /* Color Utility Classes */
        .csir-bg-blue {
            background-color: var(--csir-blue) !important;
        }
        
        .csir-bg-light {
            background-color: var(--csir-light) !important;
        }
        
        .csir-bg-gold {
            background-color: var(--csir-gold) !important;
        }
        
        .csir-bg-gray {
            background-color: var(--csir-gray) !important;
        }
        
        .csir-text-blue {
            color: var(--csir-blue) !important;
        }
        
        .csir-text-light {
            color: var(--csir-light) !important;
        }
        
        .csir-text-gold {
            color: var(--csir-gold) !important;
        }
        
        .csir-text-gray {
            color: var(--csir-gray) !important;
        }
        
        .csir-border-blue {
            border-color: var(--csir-blue) !important;
        }
        
        .csir-border-gold {
            border-color: var(--csir-gold) !important;
        }
        
        /* Buttons with CSIR colors */
        .btn-csir-blue {
            background-color: var(--csir-blue);
            border-color: var(--csir-blue);
            color: white;
        }
        
        .btn-csir-blue:hover,
        .btn-csir-blue:focus {
            background-color: #7a1830;
            border-color: #7a1830;
            color: white;
        }
        
        .btn-csir-gold {
            background-color: var(--csir-gold);
            border-color: var(--csir-gold);
            color: var(--csir-blue);
        }
        
        .btn-csir-gold:hover,
        .btn-csir-gold:focus {
            background-color: #b59252;
            border-color: #b59252;
            color: var(--csir-blue);
        }
        
        /* Background opacity classes */
        .bg-csir-blue-10 {
            background-color: rgba(138, 28, 52, 0.1) !important;
        }
        
        .bg-csir-blue-20 {
            background-color: rgba(138, 28, 52, 0.2) !important;
        }
        
        .bg-csir-gold-10 {
            background-color: rgba(197, 160, 89, 0.1) !important;
        }
        
        .bg-csir-gold-20 {
            background-color: rgba(197, 160, 89, 0.2) !important;
        }
        
        /* Hero Pattern */
        .hero-pattern {
            background-color: #003366;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        
        /* GRADIENT FIXES */
        .csir-gradient-right {
            background: linear-gradient(to right, var(--csir-blue) 0%, #1e293b 50%, var(--csir-blue) 100%) !important;
        }
        
        .csir-gradient-top {
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%) !important;
        }
        
        .csir-gradient-blue {
            background: linear-gradient(to right, var(--csir-blue) 0%, var(--csir-light) 100%) !important;
        }
        
        /* Glassmorphism Header */
        .glass-header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
        }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
        
        /* Card Hover Effects */
        .hover-card {
            transition: all 0.3s ease;
        }
        
        .hover-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
        }
        
        /* Ticker Animation */
        @keyframes ticker {
            0% {
                transform: translateX(100%);
            }
            100% {
                transform: translateX(-100%);
            }
        }
        
        .animate-ticker {
            animation: ticker 30s linear infinite;
            display: inline-block;
            padding-left: 100%;
        }
        
        /* Navigation Dropdown */
        .dropdown-menu-csir {
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            min-width: 250px;
        }
        
        .dropdown-item-csir:hover {
            background-color: #f8f9fa;
            color: var(--csir-blue);
        }
        
        /* Navigation underline animation */
        .nav-link-csir {
            position: relative;
            padding: 0.5rem 1rem !important;
            color: #333 !important;
            font-weight: 500;
        }
        
        .nav-link-csir:hover, .nav-link-csir.active {
            color: var(--csir-blue) !important;
        }
        
        .nav-link-csir::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            /* background-color: var(--csir-gold); */
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }


        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 9999;
        }




        .header-fixed {
            position: fixed;
            top: 0px;   /* Height of the top bar */
            left: 0;
            width: 100%;
            z-index: 9998;
            background: #fff;
        }

        body {
            padding-top: 120px; /* Top bar + header height */
        }


        .dropdown-toggle::after {
            display: none !important;
        }
        
        .nav-link-csir:hover::after, .nav-link-csir.active::after {
            width: 80%;
        }
        
        /* Hover effects */
        .hover-gold:hover {
            color: var(--csir-gold) !important;
        }
        
        .hover-blue:hover {
            color: var(--csir-blue) !important;
        }
        
        .hover-border-blue:hover {
            border-color: var(--csir-blue) !important;
        }
        
        .hover-shadow:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
        }
        
        .hover-underline:hover {
            text-decoration: underline !important;
        }
        
        .hover-opacity-100:hover {
            opacity: 1 !important;
        }
        
        .hover-lift:hover {
            transform: translateY(-3px);
        }
        
        .hover-fill:hover {
            background-color: white !important;
            color: var(--csir-blue) !important;
        }
        
        /* Line clamp for text */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Object fit */
        .object-cover {
            object-fit: cover;
        }
        
        /* Custom shadows */
        .shadow-4xl {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
        }
        
        .shadow-inner {
            box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06);
        }
        
        /* Backdrop blur */
        .backdrop-blur {
            backdrop-filter: blur(10px);
        }
        
        /* Border colors */
        .border-white-10 {
            border-color: rgba(255, 255, 255, 0.1) !important;
        }
        
        /* Stats bar */
        .stats-bar-item {
            position: relative;
        }
        
        .stats-bar-item:not(:first-child)::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            height: 40px;
            width: 1px;
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        /* Z-index utilities */
        .z-10 {
            z-index: 10;
        }
        
        .z-50 {
            z-index: 50;
        }
        
        .z-60 {
            z-index: 60;
        }
        
        /* Opacity utilities */
        .opacity-5 {
            opacity: 0.05 !important;
        }
        
        .opacity-10 {
            opacity: 0.1 !important;
        }
        
        .opacity-20 {
            opacity: 0.2 !important;
        }
        
        .opacity-70 {
            opacity: 0.7 !important;
        }
        
        .opacity-80 {
            opacity: 0.8 !important;
        }
        
        .opacity-90 {
            opacity: 0.9 !important;
        }
        
        /* Text light */
        .text-light {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        /* Filter blur */
        .blur-lg {
            filter: blur(20px);
        }
        
        /* Custom width/height */
        .w-1\/2 {
            width: 50% !important;
        }
        
        /* Transform utilities */
        .skew-x-12 {
            transform: skewX(12deg);
        }
        
        .translate-x-20 {
            transform: translateX(80px);
        }
        
        .-translate-y-1 {
            transform: translateY(-4px);
        }
        
        .-translate-y-0\.5 {
            transform: translateY(-2px);
        }
        
        /* Animation */
        .transition-all {
            transition: all 0.3s ease;
        }
        
        .duration-300 {
            transition-duration: 300ms;
        }
        
        .duration-500 {
            transition-duration: 500ms;
        }
        
        .duration-700 {
            transition-duration: 700ms;
        }
        
        /* Letter spacing */
        .tracking-wider {
            letter-spacing: 0.05em;
        }
        
        .tracking-widest {
            letter-spacing: 0.1em;
        }
        
        /* Text size utilities */
        .text-\[10px\] {
            font-size: 10px !important;
        }
        
        /* Background colors */
        .bg-blue-50 {
            background-color: rgba(138, 28, 52, 0.05) !important;
        }
        
        /* Border colors */
        .border-gray-100 {
            border-color: #f3f4f6 !important;
        }
        
        .border-gray-200 {
            border-color: #e5e7eb !important;
        }
        
        .border-gray-50 {
            border-color: #f9fafb !important;
        }
        
        /* Height utilities */
        .h-\[600px\] {
            height: 600px;
        }
        
        .h-80 {
            height: 320px;
        }
        
        .h-96 {
            height: 384px;
        }
        
        /* Width utilities */
        .w-px {
            width: 1px;
        }
        
        /* Rotate utilities */
        .rotate-2 {
            transform: rotate(2deg);
        }
        
        /* Scale utilities */
        .hover\:scale-105:hover {
            transform: scale(1.05);
        }
        
        /* Group hover */
        .group:hover .group-hover\:scale-110 {
            transform: scale(1.1);
        }
        
        .group:hover .group-hover\:translate-x-1 {
            transform: translateX(4px);
        }
        
        .group:hover .group-hover\:bg-csir-blue {
            background-color: var(--csir-blue) !important;
        }
        
        .group:hover .group-hover\:text-white {
            color: white !important;
        }
        
        .group:hover .group-hover\:text-csir-blue {
            color: var(--csir-blue) !important;
        }
        
        .group:hover .group-hover\:bg-csir-gold {
            background-color: var(--csir-gold) !important;
        }
        
        /* Space utilities */
        .space-y-6 > * + * {
            margin-top: 1.5rem;
        }
        
        .space-y-4 > * + * {
            margin-top: 1rem;
        }
        
        .space-y-8 > * + * {
            margin-top: 2rem;
        }
        
        .space-y-12 > * + * {
            margin-top: 3rem;
        }
        
        .space-x-1 > * + * {
            margin-left: 0.25rem;
        }
        
        .space-x-2 > * + * {
            margin-left: 0.5rem;
        }
        
        .space-x-3 > * + * {
            margin-left: 0.75rem;
        }
        
        .space-x-4 > * + * {
            margin-left: 1rem;
        }
        
        /* Gap utilities */
        .gap-4 {
            gap: 1rem;
        }
        
        .gap-6 {
            gap: 1.5rem;
        }
        
        .gap-8 {
            gap: 2rem;
        }
        
        .gap-12 {
            gap: 3rem;
        }
        
        /* Grid utilities */
        .grid-cols-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        
        @media (min-width: 768px) {
            .md\:grid-cols-2 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .md\:grid-cols-4 {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }
        
        @media (min-width: 1024px) {
            .lg\:grid-cols-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
    



.footer{
            background-color: #0f172a;
        }
        /* Font Size Adjustments */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    font-size: 14px; /* Default font size reduced */
    line-height: 1.5;
}

.font-serif {
    font-family: 'Merriweather', serif;
}

/* Header Font Sizes */
h1 {
    font-size: 2rem !important; /* Reduced from likely larger size */
}

h2 {
    font-size: 1.75rem !important;
}

h3 {
    font-size: 1.5rem !important;
}

h4 {
    font-size: 1.25rem !important;
}

h5 {
    font-size: 1.125rem !important;
}

h6 {
    font-size: 1rem !important;
}

/* Navigation Font Size */
.nav-link-csir {
    font-size: 0.875rem !important; /* ~14px */
    padding: 0.5rem 0.75rem !important;
}

/* Hero Section Font Sizes */
.hero-pattern h2.display-4 {
    font-size: 2.5rem !important; /* Reduced from likely 3.5rem+ */
}

.hero-pattern .lead {
    font-size: 1rem !important;
}

/* Card Content */
.card, .bg-white {
    font-size: 0.875rem !important; /* ~14px */
}

/* Director's Message */
.fs-5 {
    font-size: 1rem !important;
}

/* Stats Bar */
.display-6 {
    font-size: 2.5rem !important;
}

/* Footer */
footer {
    font-size: 0.875rem !important;
}

/* Small Text */
.small {
    font-size: 0.8125rem !important; /* ~13px */
}

/* Extra Small */
.text-\[10px\] {
    font-size: 0.625rem !important;
}

/* Button Text */
.btn {
    font-size: 0.875rem !important;
}

.btn-lg {
    font-size: 1rem !important;
}

/* Journal Cards */
.journal-card h4 {
    font-size: 1.125rem !important;
}

/* Notice Board */
.notice-item a {
    font-size: 0.875rem !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .hero-pattern h2.display-4 {
        font-size: 2rem !important;
    }
    
    .nav-link-csir {
        font-size: 0.8125rem !important;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 12px;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    .hero-pattern h2.display-4 {
        font-size: 1.75rem !important;
    }
}




/* Specific Element Size Matching with Tailwind Version */
.csir-text-blue {
    font-size: 0.875rem !important; /* Matches Tailwind's text-sm */
}

/* Match Tailwind's text sizes */
.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }
.text-5xl { font-size: 3rem !important; }


/* Background Opacity Classes */
.bg-csir-blue-10 {
    background-color: rgba(138, 28, 52, 0.1) !important;
}

.bg-csir-gold-10 {
    background-color: rgba(197, 160, 89, 0.1) !important;
}

/* Height Utility */
.h-100 {
    height: 100% !important;
}

/* Flex Utilities */
.flex-grow-1 {
    flex-grow: 1 !important;
}

.mt-auto {
    margin-top: auto !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}
    /* Slider Styles */
    .text-slider {
        position: relative;
        min-height: 300px;
    }
    
    .text-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .text-slide.active {
        opacity: 1;
        visibility: visible;
    }
    
    .image-slider {
        position: relative;
        overflow: hidden;
    }
    
    .image-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .image-slide.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Slider Dots */
    .text-slider-dots {
        gap: 10px;
    }
    
    .slider-dot,
    .image-slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background-color: rgba(255, 255, 255, 0.3);
        padding: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .slider-dot.active,
    .image-slider-dot.active {
        background-color: var(--csir-gold);
        transform: scale(1.2);
    }
    
    .slider-dot:hover,
    .image-slider-dot:hover {
        background-color: rgba(197, 160, 89, 0.7);
    }
    
    .image-slider-dot {
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .image-slider-dot.active {
        background-color: var(--csir-blue);
    }
    
    .image-slider-dot:hover {
        background-color: var(--csir-light);
    }
    
    /* Fade Animation */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .text-slide.active,
    .image-slide.active {
        animation: fadeIn 0.8s ease forwards;
    }
    .lang-link {
        color: #ffffff;
        text-decoration: none;
        transition: 0.3s ease;
    }

    .lang-link:hover {
        color: #8a1c34;
        text-decoration: none;
    }

    .colorblack a{
        color: #333 !important;
        text-decoration: none;
    }


    html, body{
        height:100%;
    }

    body{
        display:flex;
        flex-direction:column;
        min-height:100vh;
    }

    main{
        flex:1;
        margin-top: 25px;
    }

    .footer{
        font-size:0.7rem;
    }

    .links-scroll{
        scrollbar-width: thin;
        scrollbar-color:#d4af37 #2c3e50;
    }

    .links-scroll::-webkit-scrollbar{
        height:2px;
    }

    .links-scroll::-webkit-scrollbar-track{
        background:#2c3e50;
    }

    .links-scroll::-webkit-scrollbar-thumb{
        background:#d4af37;
    }

    .hover-gold:hover{
        color:#d4af37 !important;
    }

    .annulreporimage{
        width: 300px;
        height: 450px;
    }

    .conferences{
    height: auto;
    max-width: 100%;
    }

    .table tr > th {
    background-color: #8a1c34 !important;
    color: #fff;
    }

    .btn-info{
    background-color: #8a1c34;
    border-color: #8a1c34 ;
    color: white;
    }

    .backgrounddiv{
        background-color: #8a1c34;
        color: white;
        border-radius: 5px;
        padding: 10px;
        display: flex;
        justify-content: center; /* Horizontal */
        align-items: center;     /* Vertical */
        margin-bottom: 5px;
    }

    .backgrounddiv h6 {
        margin: 0;
    }
    
    .border-div {
        border: 1px solid #e0e0e0;
        padding: 10px;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .text-justify ul li {
    font-size: 15px;    
    line-height: 1;
    color: #333;
    text-align: justify;
    margin-bottom: 15px;
    }

    .larger-image {
    max-width: 50%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    }

    .llarger-image {
    max-width: 50%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    }

    .iconic-book{
        height:400px;
        object-fit:contain;
    }
    .para-set{
        line-height: 25px;
        font-size: 15px;
        text-align: justify;
    }

    /* Annual Report Card Design */

    .border {
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        height: 100%;
        border: 1px solid #eaeaea;
        padding: 30px 20px;
    }

    .border:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .annulreporimage {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 12px;
        transition: 0.3s ease;
    }

    .border:hover .annulreporimage {
        transform: scale(1.03);
    }

    .text-center a {
        text-decoration: none;
    }

    .text-center h6 {
        font-size: 18px;
        font-weight: 600;
        line-height: 28px;
        padding: 10px 15px 20px;
        transition: 0.3s ease;
    }

    .text-center h6:hover {
        color: #0d6efd;
    }

    .margin-bottom-10 {
        margin-bottom: 30px;
    }

    /* Responsive */

    @media (max-width: 768px) {

        .annulreporimage {
            height: 250px;
        }

        .text-center h6 {
            font-size: 16px;
            line-height: 24px;
        }
    }

    /* Pagination Styling */

    .pagination .page-link {
        color: #8a1c34;
        border: 1px solid #8a1c34;
        margin: 0 4px;
        border-radius: 6px;
        transition: 0.3s;
    }

    .pagination .page-link:hover {
        background-color: #8a1c34;
        color: #fff;
        border-color: #8a1c34;
    }

    .pagination .page-item.active .page-link {
        background-color: #8a1c34 !important;
        border-color: #8a1c34 !important;
        color: #fff !important;
    }

    .pagination .page-item.disabled .page-link {
        color: #999;
        background-color: #f8f9fa;
        border-color: #ddd;
    }

    .table th,
    .table th p {
        vertical-align: middle !important;
        text-align: center !important;
    }

    .conferenceshome{
        height: auto;
        max-width: 90%;
    }

    .pdf-color{
        color: #8a1c34;
    }

    .sitmap-content ul li a{
        color: #0d6efd;
    }

    .sitmap-content h4{
        text-decoration:underline;
        padding-left: 10px;
    }



    /* Hide all slides by default */
.featured-video-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show only active slide */
.featured-video-slide.active {
    display: block;
    opacity: 1;
}

/* Nav button positioning */
.featured-video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.featured-video-prev {
    left: 8px;
}

.featured-video-next {
    right: 8px;
}

.featured-video-nav i {
    font-size: 0.75rem;
    color: var(--csir-blue);
}

.featured-video-nav:hover {
    background: rgba(255, 255, 255, 1);
}


.resource-card{
    background:#fff;
    border-radius:18px;
    height:185px;
    padding:18px 12px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    text-decoration:none;
    border:1px solid #e7e7e7;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    transition:.35s ease;
}

.resource-card:hover{
    transform:translateY(-8px);
    border-color:#0d6efd;
    box-shadow:0 15px 35px rgba(13,110,253,.18);
}

.resource-img{
    width:82px;
    height:82px;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:16px;
    background:#f8f9fa;
    transition:.3s;
}

.resource-img img{
    width:100%;
    height:100%;
  
}

.resource-icon{
    width:82px;
    height:82px;
    border-radius:5%;
    background:#eef5ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0d6efd;
    font-size:34px;
    margin-bottom:16px;
    transition:.3s;
}

.resource-card:hover .resource-icon{
    background:#0d6efd;
    color:#fff;
}

.resource-card:hover .resource-img{
    transform:scale(1.08);
}

.resource-card h6{
    color:#222;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    margin:0;
}

@media(max-width:768px){

    .resource-card{
        height:165px;
        padding:15px 10px;
    }

    .resource-img,
    .resource-icon{
        width:70px;
        height:70px;
    }

    .resource-icon{
        font-size:28px;
    }

    .resource-card h6{
        font-size:13px;
    }

}



@media (min-width: 992px) {
    .resource-col {
        flex: 0 0 14.285%;
        max-width: 14.285%;
    }
}



/* slider */
  .text-slider {
        position: relative;
        min-height: 300px;
    }

    .text-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .text-slide.active {
        opacity: 1;
        visibility: visible;
    }

    .image-slider {
        position: relative;
        overflow: hidden;
    }

    .image-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .image-slide.active {
        opacity: 1;
        visibility: visible;
    }

    .text-slider-dots {
        gap: 10px;
    }

    .slider-dot,
    .image-slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background-color: rgba(255, 255, 255, 0.3);
        padding: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-dot.active,
    .image-slider-dot.active {
        background-color: var(--csir-gold);
        transform: scale(1.2);
    }

    .slider-dot:hover,
    .image-slider-dot:hover {
        background-color: rgba(197, 160, 89, 0.7);
    }

    .image-slider-dot {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .image-slider-dot.active {
        background-color: var(--csir-blue);
    }

    .image-slider-dot:hover {
        background-color: var(--csir-light);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .text-slide.active,
    .image-slide.active {
        animation: fadeIn 0.8s ease forwards;
    }

    .pmclass{
        font-weight: 700;
    }

/* .title-color {
    color: #7a1830;
} */

.heading-title-color {
    color: #7a1830;
}



