@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');

/* ============================================================
   BASE RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar-section {
    background: #e1e1e1;
}

.top-bar {
    padding: 4px;
    font-size: 13px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header-section {
    border-bottom: 1px solid #ddd;
    padding: 4px 0;
}

.header-logo {
    width: 100%;
    height: auto;
}

.header-title__main {
    font-size: 22px;
    font-weight: 700;
    color: #003399;
    margin: 0;
    line-height: 1.2;
}

.header-title__sub {
    font-size: 13px;
    color: #444;
    margin: 2px 0 0;
}

.header-search {
    display: inline-flex;
    align-items: center;
    border: 1px solid #aaa;
    border-radius: 3px;
    overflow: hidden;
    width: 220px;
}

.header-search__input {
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
    padding: 3px 8px;
    flex: 1;
    min-width: 0;
}

.header-search__input:focus {
    outline: none;
    box-shadow: none;
}

.header-search__btn {
    border-radius: 0;
    padding: 3px 10px;
    border: none;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-nav a {
    text-decoration: none;
    color: #0D47A1;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.header-nav a:hover {
    text-decoration: underline;
}

.header-nav__divider {
    color: #aaa;
    font-size: 13px;
}

/* ============================================================
   MAIN NAVBAR
   ============================================================ */
.main-header {
    background: #fff;
    border-bottom: 1px solid #d0d0d0;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.main-header::-webkit-scrollbar {
    display: none;
}

.main-header .nav-item {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.main-header .nav-item .nav-link {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    border-right: 1px solid #e0e0e0;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    font-family: 'Open Sans', sans-serif;
}

.main-header .nav-item .nav-link:hover {
    background: #f0f4ff;
    color: #0d47a1;
}

.main-header .nav-item.active .nav-link {
    background: #0d5ea6;
    color: #fff;
    padding: 8px 20px;
    border-right: 1px solid #0d5ea6;
    min-width: 56px;
    justify-content: center;
    font-size: 16px;
}

.main-header .nav-item.active .nav-link:hover {
    background: #1565C0;
    color: #fff;
}

/* ============================================================
   CUSTOM NAVBAR DROPDOWN
   ============================================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__toggle {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown:hover .nav-dropdown__toggle {
    background: #0d5ea6 !important;
    color: #fff !important;
}

.nav-dropdown__toggle .fa-caret-down {
    transition: transform 0.2s ease;
    font-size: 11px;
    margin-left: 5px;
}

.nav-dropdown:hover .nav-dropdown__toggle .fa-caret-down {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
    background: #0d5ea6 !important;
    min-width: 230px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    border-top: 2px solid #1976d2 !important;
    border-radius: 0 0 4px 4px !important;
}

.nav-dropdown:hover .nav-dropdown__menu {
    display: block !important;
}

.nav-dropdown__menu li {
    list-style: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-dropdown__menu li:last-child {
    border-bottom: none !important;
}

.nav-dropdown__menu li a {
    display: block !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    font-family: 'Open Sans', sans-serif !important;
    background: transparent !important;
    transition: background 0.15s, padding-left 0.15s !important;
    white-space: nowrap !important;
}

.nav-dropdown__menu li a:hover {
    background: #1565C0 !important;
    padding-left: 26px !important;
    color: #fff !important;
}

.nav-dropdown__menu li a.active-item {
    background: #1976d2 !important;
    font-weight: 700 !important;
}

/* ============================================================
   SUB-DROPDOWN  (Corporate and Other Laws → flyout)
   ============================================================ */
.nav-sub-dropdown__item {
    position: relative !important;
}

/* The toggle link — show arrow on right */
.nav-sub-dropdown__toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.nav-sub-caret {
    font-size: 11px !important;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.nav-sub-dropdown__item:hover .nav-sub-caret {
    transform: translateX(3px);
}

/* Override the default indent-on-hover for this specific toggle */
.nav-sub-dropdown__item:hover>.nav-sub-dropdown__toggle {
    background: #1565C0 !important;
    padding-left: 18px !important;
    /* keep original indent */
}

/* Flyout panel */
.nav-sub-dropdown__menu {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    z-index: 100000 !important;
    background: #0d5ea6 !important;
    min-width: 270px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.3) !important;
    border-top: 2px solid #1976d2 !important;
    border-radius: 0 4px 4px 4px !important;
}

.nav-sub-dropdown__item:hover .nav-sub-dropdown__menu {
    display: block !important;
}

.nav-sub-dropdown__menu li {
    list-style: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-sub-dropdown__menu li:last-child {
    border-bottom: none !important;
}

.nav-sub-dropdown__menu li a {
    display: block !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    font-family: 'Open Sans', sans-serif !important;
    background: transparent !important;
    transition: background 0.15s, padding-left 0.15s !important;
    white-space: nowrap !important;
}

.nav-sub-dropdown__menu li a:hover {
    background: #1565C0 !important;
    padding-left: 26px !important;
    color: #fff !important;
}

/* ============================================================
   ICONS BOX SECTION  — BIGGER SIZE
   ============================================================ */
.icons-box {
    background-color: #f7f6f6;
    padding: 20px 0;
    /* slightly more padding */
    border-bottom: 1px solid #e5e5e5;
}

.icons-box__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    width: 100%;
    max-width: 165px;
    padding: 20px;
    /* border-radius: 8px; */
    /* border-left: 1px solid #e0e0e0; */
    /* background: #fff; */
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.icons-box__item:hover {
    background-color: #efefef;
}

.icons-box__item span {
    line-height: 1.3;
    word-break: break-word;
}

.icons-box__circle {
    width: 110px;
    /* up from 90px */
    height: 110px;
    /* up from 90px */
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.icons-box__item:hover .icons-box__circle {
    border-color: #90aad8;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.12);
}

.icons-box__circle img {
    width: 80px;
    /* up from 65px */
    height: 80px;
    /* up from 65px */
    object-fit: contain;
}

.icons-box__circle--tmd {
    background: #1a237e;
    border-color: #1a237e;
}

.icons-box__tmd-text {
    color: #fff;
    font-size: 26px;
    /* up from 22px */
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
}

/* ============================================================
   MARQUEE SECTION
   ============================================================ */
.marquee-section {
    background: #002ca7;
    font-weight: bold;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.marquee-section marquee {
    color: white;
    font-size: 14px;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 100%;
}

.marquee-section marquee p {
    margin: 0;
    padding: 0;
    display: inline;
    font-size: 18px;
}

/* ============================================================
   DASHBOARD GRID
   ============================================================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.whats-new-box {
    grid-column: 1;
    grid-row: 1;
}

.latest-news-box {
    grid-column: 1;
    grid-row: 2;
}

.opp-box {
    grid-column: 2;
    grid-row: 1 / 3;
}

.kf-box {
    grid-column: 3;
    grid-row: 1;
}

.ps-box {
    grid-column: 3;
    grid-row: 2;
}

.people-box {
    grid-column: 4;
    grid-row: 1 / 3;
}

.box {
    background: #cfe2ff;
    border-radius: 10px;
    padding: 10px;
}

.opp-box {
    background: #fff8e6;
}

.people-box {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.box-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.box-icon {
    width: 18px;
    height: 18px;
}

.inner-dark {
    background: #1e1270;
    padding: 8px 8px 6px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inner-light {
    background: #fff;
    padding: 8px 8px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.wn-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.wn-date {
    min-width: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #c5baff;
}

.day {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.wn-text {
    font-size: 11px;
    color: #ddd;
    line-height: 1.5;
    flex: 1;
}

.wn-date-label {
    font-size: 10px;
    color: #bbb;
}

.ln-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.ln-row:last-of-type {
    border-bottom: none;
}

.ln-date {
    min-width: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ln-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
}

.ln-day {
    font-size: 26px;
    font-weight: 800;
    color: #1e1270;
    line-height: 1;
}

.ln-text {
    font-size: 11px;
    color: #333;
    line-height: 1.5;
    flex: 1;
}

.box-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.more-btn {
    background: #0f6e56;
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 5px;
    cursor: pointer;
}

.new-gif {
    width: 28px;
    vertical-align: middle;
    margin-left: 3px;
}

.date-link {
    color: #c09000;
    font-size: 10px;
}

.kf-link {
    font-size: 12px;
    font-weight: 700;
    color: #1a6edd;
    display: block;
    margin-bottom: 6px;
}

.kf-q {
    font-weight: 600;
    font-size: 11px;
    color: #222;
}

.kf-posted {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}

.kf-date {
    color: #1a6edd;
}

.kf-ans {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

.people-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px 5px;
}

.person img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px;
    border: 0px;
}

.person-name {
    font-size: 10px;
    font-weight: 700;
    color: #1e1270;
    margin-top: 4px;
}

.person-role {
    font-size: 9px;
    color: #555;
}

/* ============================================================
   COUNTER SECTION
   ============================================================ */
.counter-section {
    background: #064e86;
    overflow: hidden;
    padding: 10px 0;
}

.icon img {
    width: 50px;
}

.desc {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.counting {
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.counting:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.updated-at-info {
    font-size: 12px;
    color: #ddd;
}

.stats-modal .modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stats-modal .modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 20px;
}

.stats-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.stats-modal .modal-body {
    padding: 20px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
}

.stats-table th,
.stats-table td {
    border: 1px solid #d0d0d0;
    padding: 10px 14px;
    text-align: left;
}

.stats-table thead th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #444;
}

.stats-table tbody tr:last-child td {
    font-weight: 700;
    background-color: #f9f9f9;
}

.modal-footer-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ============================================================
   ICAI NEWS
   ============================================================ */
.icai-news {
    color: #000;
    padding: 0 14px;
    text-align: justify;
    background: #cecece;
}

.text-details {
    position: relative;
    display: flex;
    align-items: center;
}

.text-details h3 {
    font-weight: 600;
    margin: 0;
}

.text-details h3 a {
    color: black;
    text-decoration: none;
    font-size: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.custom-footer {
    background: #2b2b2b;
    color: #ffffff;
    padding: 18px 30px;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.footer-main {
    grid-column: 2;
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.8;
}

.footer-copy a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.3s;
}

.footer-copy a:hover {
    color: #fdb11a;
}

.sep {
    color: #aaa;
    margin: 0 2px;
}

.footer-text {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 5px;
    line-height: 1.7;
}

.footer-email {
    color: #fdb11a;
    text-decoration: none;
}

.footer-email:hover {
    text-decoration: underline;
}

.browser-support {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.6;
    margin-top: 4px;
}

.highlight {
    color: #fdb11a;
    font-weight: 600;
}

.footer-visitors {
    grid-column: 3;
    text-align: center;
    justify-self: end;
}

.visitors-label {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.visitor-counter {
    display: inline-flex;
    gap: 0;
    justify-content: center;
    border: 1px solid #666;
    border-radius: 3px;
    overflow: hidden;
}

.digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 36px;
    background: #111;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    border-right: 1px solid #555;
    background-image: linear-gradient(to bottom, #1c1c1c 0%, #1c1c1c 49%, #3a3a3a 49%, #3a3a3a 51%, #1c1c1c 51%, #1c1c1c 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.digit:last-child {
    border-right: none;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1.3fr 1fr 1fr;
        gap: 10px;
    }

    .main-header .nav-link {
        padding: 8px 14px;
        font-size: 14px;
    }

    .footer-container {
        grid-template-columns: 0.5fr auto 0.5fr;
    }
}

@media (max-width: 992px) {
    .header-logo {
        max-width: 180px;
    }

    .header-title__main {
        font-size: 18px;
    }

    .header-search {
        width: 180px;
    }

    .main-header {
        justify-content: flex-start !important;
    }

    .main-header .nav-link {
        padding: 8px 11px;
        font-size: 13px;
    }

    .main-header .nav-item.active .nav-link {
        padding: 8px 14px;
        font-size: 14px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .whats-new-box {
        grid-column: 1;
        grid-row: 1;
    }

    .latest-news-box {
        grid-column: 2;
        grid-row: 1;
    }

    .opp-box {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .kf-box {
        grid-column: 1;
        grid-row: 3;
    }

    .ps-box {
        grid-column: 2;
        grid-row: 3;
    }

    .people-box {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .people-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .icons-box__circle {
        width: 90px;
        height: 90px;
    }

    .icons-box__circle img {
        width: 65px;
        height: 65px;
    }

    .icons-box__item {
        font-size: 12px;
        max-width: 110px;
    }

    .counter-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-container {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }

    .footer-main {
        grid-column: 1;
        text-align: left;
    }

    .footer-visitors {
        grid-column: 2;
    }

    /* Sub-dropdown: flip to left on small screens */
    .nav-sub-dropdown__menu {
        left: auto !important;
        right: 100% !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 11px;
    }

    .top-bar span {
        display: block;
        text-align: center;
        line-height: 1.8;
    }

    .header-section .row {
        flex-direction: column;
        align-items: center !important;
    }

    .header-section .col-md-6 {
        width: 100%;
        text-align: center;
    }

    .header-logo {
        max-width: 150px;
        margin: 0 auto;
        display: block;
    }

    .header-title__main {
        font-size: 16px;
        text-align: center;
    }

    .header-title__sub {
        text-align: center;
    }

    .header-search {
        width: 100%;
        max-width: 280px;
    }

    .d-flex.justify-content-end {
        justify-content: center !important;
    }

    .header-nav {
        justify-content: center;
        gap: 5px;
    }

    .header-nav a {
        font-size: 12px;
    }

    .main-header .nav-link {
        padding: 8px 10px;
        font-size: 12.5px;
    }

    .icons-box .row {
        gap: 8px 0;
    }

    .icons-box__circle {
        width: 80px;
        height: 80px;
    }

    .icons-box__circle img {
        width: 56px;
        height: 56px;
    }

    .icons-box__item {
        font-size: 12px;
        max-width: 100px;
        padding: 8px 4px;
    }

    .icons-box__tmd-text {
        font-size: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .whats-new-box,
    .latest-news-box,
    .opp-box,
    .kf-box,
    .ps-box,
    .people-box {
        grid-column: 1;
        grid-row: auto;
    }

    .people-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .person img {
        width: 75px;
        height: 85px;
    }

    .marquee-section marquee p {
        font-size: 14px;
    }

    .counter-section .col-md-3,
    .counter-section .col-sm-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 10px;
    }

    .stats-table th,
    .stats-table td {
        padding: 7px 10px;
        font-size: 13px;
    }

    .text-details h3 a {
        font-size: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .footer-main {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
    }

    .footer-visitors {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }

    .footer-copy {
        font-size: 12px;
    }

    .footer-text,
    .browser-support {
        font-size: 12px;
    }

    .digit {
        width: 24px;
        height: 30px;
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 10px;
    }

    .header-title__main {
        font-size: 14px;
    }

    .header-title__sub {
        font-size: 11px;
    }

    .header-search {
        max-width: 240px;
    }

    .header-nav a {
        font-size: 11px;
    }

    .header-nav__divider {
        font-size: 11px;
    }

    .icons-box .row {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .icons-box__circle {
        width: 70px;
        height: 70px;
    }

    .icons-box__circle img {
        width: 48px;
        height: 48px;
    }

    .icons-box__item {
        font-size: 11px;
        max-width: 88px;
    }

    .icons-box__tmd-text {
        font-size: 17px;
    }

    .box {
        padding: 8px;
    }

    .box-title {
        font-size: 13px;
    }

    .day {
        font-size: 22px;
    }

    .ln-day {
        font-size: 20px;
    }

    .wn-text,
    .ln-text {
        font-size: 10.5px;
    }

    .person img {
        width: 65px;
        height: 75px;
    }

    .person-name {
        font-size: 9px;
    }

    .counter-section .col-md-3,
    .counter-section .col-sm-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .icon img {
        width: 40px;
    }

    .desc h3.counter {
        font-size: 20px;
    }

    .desc p {
        font-size: 12px;
    }

    .custom-footer {
        padding: 16px;
    }

    .footer-copy {
        font-size: 11px;
        line-height: 1.7;
    }

    .footer-text,
    .browser-support {
        font-size: 11px;
    }

    .footer-copy a {
        display: inline-block;
        margin: 1px 3px;
    }

    .digit {
        width: 22px;
        height: 28px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .header-title__main {
        font-size: 13px;
    }

    .header-nav a {
        font-size: 10px;
    }

    .header-nav {
        gap: 3px;
    }

    .main-header .nav-link {
        padding: 7px 8px;
        font-size: 11.5px;
    }

    .icons-box__circle {
        width: 60px;
        height: 60px;
    }

    .icons-box__circle img {
        width: 42px;
        height: 42px;
    }

    .icons-box__item {
        font-size: 10px;
        max-width: 76px;
    }

    .counter-section .col-md-3,
    .counter-section .col-sm-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .footer-copy {
        font-size: 10.5px;
    }

    .footer-text,
    .browser-support {
        font-size: 10.5px;
    }

    .digit {
        width: 20px;
        height: 26px;
        font-size: 13px;
    }

    .stats-table th,
    .stats-table td {
        padding: 6px 8px;
        font-size: 12px;
    }

    .stats-modal .modal-title {
        font-size: 15px;
    }
}


/* About ICAI */
.content-section {
    padding: 30px;
    text-align: justify;
}

/* What's New */
/* Useful Links List */

.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-list li {
    margin-bottom: 14px;
}

.item-list li:last-child {
    margin-bottom: 0;
}

.item-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px;
    text-decoration: none;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Left Border Effect */

.item-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #fdb11a;
    transition: all 0.3s ease;
}

/* Hover Effect */


.item-list li a:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #fff;
}

/* Border Animation */

.item-list li a:hover::before {
    width: 8px;
    background: #fdb11a;
}

.item-list li a:hover::before {
    background: #ffffff;
}

/* Card Header */

.card-header {
    /* background: linear-gradient(135deg, #0f172a, #1e293b); */
    /* color: #ffffff; */
    /* border-bottom: none; */
    padding: 6px 20px;
}

.card-header img {
    /* width: 38px;
    height: 38px; */
    object-fit: contain;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
}

/* Card */

.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Responsive */

@media (max-width: 768px) {

    .item-list li a {
        padding: 12px 14px;
        font-size: 14px;
    }

    .card-title {
        font-size: 18px;
    }
}

.more-btn {
    text-decoration: none;
    background: #0d5ea6;
    color: #fff;
    padding: 6px 6px;
    border-right: 1px solid #0d5ea6;
    border-radius: 4px;
}

.category-heading {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    padding: 2px 0 6px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.news-item {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    border-left: 4px solid #1a5fa8;
    background: #fff;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(26, 95, 168, 0.12);
    border-left-color: #e07b00;
    background: #f8fbff;
    transform: translateX(4px);
}


.news-date .month {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a5fa8;
    white-space: nowrap;
}

.news-date .year {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a5fa8;
}




.bg-primary-subtle {
    background-color: #cfe2ff !important;
}

.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.bg-warning-subtle {
    background-color: #fff3cd !important;
}

.bg-info-subtle {
    background-color: #cff4fc !important;
}

.bg-secondary-subtle {
    background-color: #e2e3e5 !important;
}


.container {
    max-width: 1270px;
}

.icons-box:last-child a {
    border-right: 1px solid #e4e4e4;
}

.border-left {
    border-left: 1px solid #e0e0e0;
}

.border-right {
    border-right: 1px solid #e0e0e0;
}

.bg-primary {
    background-color: #0d5ea6 !important;
}

.btn-primary {
    background-color: #0d5ea6 !important;
}