/* ---- Skip Content ----- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 8px 14px;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 10px;
}



.cursor_pointer{
    cursor:pointer;
}



	/* ===================== 3 LEVEL MENU STYLES ===================== */

/* Submenu positioning */
.navbar-nav > li {
    position: relative;
}

.navbar-nav > li > .sub_menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-nav > li:hover > .sub_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Second and third level menus */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .sub_menu_level2,
.dropdown-submenu > .sub_menu_level3 {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Third level specific */
.dropdown-submenu > .sub_menu_level3 {
    z-index: 1002;
}

.dropdown-submenu:hover > .sub_menu_level2,
.dropdown-submenu:hover > .sub_menu_level3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Menu items styling */
.sub_menu li {
    list-style: none;
    position: relative;
}

.sub_menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sub_menu li a:hover {
    background: #f8f9fa;
    color: #0d6efd;
    padding-left: 25px;
}

/* Arrow icons positioning */
.sub_menu li a .fa-angle-right,
.sub_menu li a .fa-angle-down {
    font-size: 0.9rem;
    margin-left: 5px;
}

/* First level arrow */
.navbar-nav > li > a .fa-angle-down {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.navbar-nav > li:hover > a .fa-angle-down {
    transform: rotate(180deg);
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .navbar-nav > li > .sub_menu,
    .dropdown-submenu > .sub_menu_level2,
    .dropdown-submenu > .sub_menu_level3 {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        padding-left: 20px;
        display: none;
    }
    
    .navbar-nav > li:hover > .sub_menu,
    .dropdown-submenu:hover > .sub_menu_level2,
    .dropdown-submenu:hover > .sub_menu_level3 {
        display: block;
    }
    
    .sub_menu li a {
        padding: 8px 15px;
    }
    
    .dropdown-submenu > .sub_menu_level2,
    .dropdown-submenu > .sub_menu_level3 {
        margin-left: 15px;
        border-left: 2px solid #dee2e6;
    }
}

/* Active state */
.sub_menu li a.active {
    color: #0d6efd;
    background: #e7f1ff;
    font-weight: 500;
}

/* Border between items */
.sub_menu li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/* Hover effect for parent items */
.navbar-nav > li:hover > a {
    color: #0d6efd;
}

.project-details-style1-content * {
    background: none !important;
    background-image: none !important;
}

/* =========================
    STYLE TABLE DESIGN
   ========================= */

/* ===========================
   TABLE WRAPPER (Responsive)
=========================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 25px;
    border-radius: 10px;

    /* 🔥 FULL BORDER CLEARLY VISIBLE */
    border: 2px solid #b8c4dd;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    background: #fff;
}

/* ===========================
   TABLE BASIC DESIGN
=========================== */
.table {
    width: 100%;
    border-collapse: collapse;   /* 🔥 IMPORTANT for full border */
    font-size: 15px;
    background: #ffffff;
}

/* ===========================
   TABLE HEAD
=========================== */
.table thead th {
    background: #E2EAFF !important;
    color: #000 !important;
    font-weight: 700;
    padding: 14px 12px;

    /* 🔥 Header border visible on all sides */
    border: 1px solid #b8c4dd;

    text-align: left;
    font-size: 15px;
    white-space: nowrap;
}

/* ===========================
   BODY ROW STYLING
=========================== */
.table tbody tr:nth-child(odd) {
    background: #f7f9fc;
}

.table tbody tr:nth-child(even) {
    background: #ffffff;
}

.table tbody tr:hover {
    background: #dfe8ff;
    transition: 0.25s;
}

/* ===========================
   BODY CELLS
=========================== */
.table td {
    padding: 12px 14px;

    /* 🔥 PROPER BORDER ON ALL SIDES */
    border: 1px solid #cbd4e6;

    vertical-align: top;
}

/* ===========================
   LINK BUTTONS
=========================== */
.table a {
    background-color: #1f3fa9 !important;
    color: #ffffff !important;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: 0.25s;
}

.table a:hover {
    background-color: #dce6ff !important;
    color: #1f3fa9 !important;
    transform: translateY(-2px);
}

.icon-link, .icon-download {
    font-size: 18px;
    color: #1f3fa9;
    padding: 8px 10px;
    border-radius: 6px;
    display: inline-block;
    transition: 0.25s;
}

.icon-link:hover, .icon-download:hover {
    background: #e3ebff;
    color: #1f3fa9;
    transform: translateY(-2px);
}



/* Always show icon */
.tbl-icon i {
    font-size: 18px;
    cursor: pointer;
}

/* Tooltip wrapper */
.tooltip-item {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip-item:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
}

/* Tooltip arrow */
.tooltip-item:hover::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    z-index: 9999;
}


.year-badge {
    margin-top: 25px;
    display: inline-block;
    background: #e3f0ff;
    color: #0b56c7;
    padding: 6px 18px;
    border-radius: 18px;
    border: 1px solid #bcd8ff;
    font-size: 16px;
    font-weight: 600;
}








.justify{
    text-align:justify !important;
}

/* Main Card */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: all .3s ease;
    position: relative;
    height: 330px;              /* 🔥 FIXED HEIGHT */
    display: flex;
    flex-direction: column;
}

/* Hover Effect */
.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Image Section */
.event-img {
    width: 100%;
    height: 180px;              /* 🔥 FIXED IMAGE HEIGHT */
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

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

/* Content Section */
.event-content {
    padding: 12px 16px;
    position: relative;
    flex-grow: 1;
}

/* TITLE FIX (smaller font + limit lines) */
.event-content h3 {
    font-size: 16px;            /* 🔥 Smaller font */
    margin: 0 0 8px 0;
    font-weight: 600;
    line-height: 1.3;
    height: 40px;               /* 🔥 Limit height */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* 🔥 2-line max */
    -webkit-box-orient: vertical;
}

.event-content h3 a {
    color: #222;
    text-decoration: none;
    transition: .3s;
}

.event-content h3 a:hover {
    color: #007bff;
}

/* Right Arrow Button */
.event-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: #007bff;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s ease;
}

.event-arrow:hover {
    background: #0056b3;
}

/* Row Spacing */
.project-details-style1 .col-xl-3,
.project-details-style1 .col-lg-6,
.project-details-style1 .col-md-6 {
    margin-bottom: 30px !important;
}



.project-details-style1-content ol,
.project-details-style1-content ul {
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.project-details-style1-content ol li,
.project-details-style1-content ul li {
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 10px;
    background-color: #fff;
    padding-left: 5px;
}

.project-details-style1-content ol {
    counter-reset: custom-counter;
}

.project-details-style1-content ol li {
    list-style: none;
    counter-increment: custom-counter;
    position: relative;
}

.project-details-style1-content ol li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: -25px;
    font-weight: 700;
    color: #003399;
}

/* Bullet style for <ul> */
.project-details-style1-content ul li {
    list-style: none;
    position: relative;
}

.project-details-style1-content ul li::before {
    content: "•";
    position: absolute;
    left: -18px;
    font-size: 22px;
    line-height: 16px;
    top: 2px;
    color: #003399;
}

/* Heading alignment beautify */
.project-details-style1-content h1,
.project-details-style1-content h2,
.project-details-style1-content h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #000A6A;
}


/* home social media section start */
/* BACKGROUND */
.social-section{
    background:#162e6a;
}
.section-heading h3{
    font-size:22px;
}


/* CARD */
.social-card{
    background:#fff;
    border-radius:14px;
    padding:15px;
    height:540px;
    display:flex;
    flex-direction:column;
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

/* TITLE */
.social-title{
    font-size:16px;
    font-weight:700;
    color:#111;
    margin-bottom:6px;
}

/* DIVIDER */
.social-divider{
    height:1px;
    background:linear-gradient(to right,#ddd,#f1f1f1);
    margin-bottom:10px;
}

/* DUMMY */
.dummy-box{
    height:480px;
    background:#f9fafb;
    border:2px dashed #cbd5e1;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#475569;
    font-size:14px;
}

/* ICONS */
.dummy-icon{
    font-size:42px;
    margin-bottom:10px;
}
.dummy-icon.twitter{ color:#1da1f2; }
.dummy-icon.facebook{ color:#1877f2; }

/* VIDEO GRID */
.video-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

/* VIDEO */
.video-box{
    position:relative;
    padding-top:56.25%;
    background:#000;
    border-radius:10px;
    overflow:hidden;
}

.video-box iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* FOOTER BUTTON */
.video-footer{
    margin-top:auto;
    text-align:center;
    padding-top:12px;
}

.view-btn{
    font-weight:600;
}
.event-video{
    width: 100%;
    height: 220px;
    object-fit: contain; /* poora video dikhe */
    background: #000;    /* black bars */
}


/* MOBILE */
@media(max-width:991px){
    .video-grid{
        grid-template-columns:1fr;
    }
    .social-card{
        height:auto;
    }
}
/* home social media section end */



