/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STYLES ===== */
header {
    background: linear-gradient(to right, #2563eb, #1e40af);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: #ffc107;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffc107;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Arrow click area */
.dropdown-arrow {
    cursor: pointer;
    margin-left: 5px;
    display: flex;
    align-items: center;
}

.dropdown-arrow .arrow {
    transition: transform 0.25s ease;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background: linear-gradient(to right, #2563eb, #1e40af);
    list-style: none;
    padding: 10px 0;
    min-width: 170px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.25s ease;
}

/* Show when dropdown is active */
.dropdown.active .dropdown-menu {
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
}

/* Rotate arrow */
.dropdown.active .arrow {
    transform: rotate(180deg);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)),
        url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3")
            no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin: 25px 0;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.telegram-hero-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.telegram-hero-box h2 {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 8px;
}

.telegram-hero-box p {
    font-size: 16px;
    color: #444;
    margin-bottom: 18px;
}

.telegram-btn {
    background: #0088cc;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
}
.whatsapp-hero-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.whatsapp-hero-box h2 {
    font-size: 24px;
    font-weight: bold;
    color: #25d366;
    margin-bottom: 8px;
}

.whatsapp-hero-box p {
    font-size: 16px;
    color: #444;
    margin-bottom: 18px;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1faa53;
    transform: translateY(-2px);
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #ffc107;
    color: #333;
}

.btn-primary:hover {
    background: #e6ac00;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.action-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #1e40af;
}

/* ===== SECTION COMMON STYLES ===== */
.section-title {
    text-align: center;
    margin: 40px 0 30px;
    color: #2563eb;
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.section-header {
    background: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-header h2 {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 15px;
}

.intro-text {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.page-header {
    background: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-header h1,
.page-header h2 {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 10px;
}

.updated {
    color: #ef4444;
    font-size: 16px;
    margin-top: 10px;
    display: block;
}

/* ===== NOTIFICATION BAR ===== */
.notification {
    background: #ffc107;
    padding: 12px;
    text-align: center;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: 500;
}

/* ===== CONTENT SECTIONS ===== */
.section {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section h2,
.section h3 {
    color: #2563eb;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

/* ===== CARD STYLES ===== */
.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.section-card,
.job-card,
.result-card,
.admit-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.section-card:hover,
.job-card:hover,
.result-card:hover,
.admit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: #2563eb;
    color: white;
    padding: 15px 20px;
    position: relative;
}

.card-header h3 {
    font-size: 18px;
    margin: 0;
    padding-right: 30px;
}

.card-body {
    padding: 20px;
}

.card-details {
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #4b5563;
}

.detail-item i {
    margin-right: 10px;
    color: #2563eb;
    width: 20px;
}

.card-footer {
    padding: 15px 20px;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== BADGE STYLES ===== */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-new {
    background: #dcfce7;
    color: #166534;
}

.badge-urgent {
    background: #fee2e2;
    color: #991b1b;
}

.badge-regular {
    background: #dbeafe;
    color: #1e40af;
}

.badge-out,
.status-released {
    background: #dcfce7;
    color: #166534;
}

.status-final {
    background: #dbeafe;
    color: #1e40af;
}

.status-prelim {
    background: #fef3c7;
    color: #92400e;
}

.status-expected {
    background: #dbeafe;
    color: #1e40af;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== DATE INFO STYLES ===== */
.date-info,
.result-date,
.exam-date,
.deadline {
    color: #ef4444;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== TABLE STYLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

table th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

table tr:hover {
    background-color: #f8fafc;
}

/* .jobs-table {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 30px;
} */
/* LatestJob Table */
.jobs-table {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 30px auto;
}

/* TABLE BASIC */
.jobs-table table {
    width: 100%;
    border-collapse: collapse;
}

.jobs-table thead {
    background: #f5f7fa;
}

.jobs-table thead th {
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-align: left;
    border-bottom: 2px solid #e3e3e3;
}

/* TABLE ROWS */
.jobs-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.jobs-table tbody tr:hover {
    background: #f9fbff;
    transform: translateX(2px);
}

.jobs-table td {
    padding: 14px 10px;
    vertical-align: top;
    font-size: 14px;
}

/* JOB TITLE */
.job-title {
    font-size: 16px;
    font-weight: 700;
    color: #0d6efd;
    text-decoration: none;
}

.job-title:hover {
    text-decoration: underline;
}

/* JOB DETAILS BELOW TITLE */
.job-details {
    margin-top: 6px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #555;
    font-size: 13px;
}

.job-details i {
    margin-right: 5px;
    color: #007bff;
}
/* ===== LIST STYLES ===== */
.link-list {
    list-style: none;
}

.link-list li {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    color: #444;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.link-list a:hover {
    color: #2563eb;
}

.link-list a:hover .arrow {
    transform: translateX(3px);
}

.arrow {
    color: #2563eb;
    transition: transform 0.3s;
}

ul:not(.link-list) {
    list-style-type: none;
    padding: 0;
}

ul:not(.link-list) li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

ul:not(.link-list) li:last-child {
    border-bottom: none;
}

ul:not(.link-list) li:before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-right: 5px;
}
/* ol */
ol:not(.link-list) {
    list-style-type: none;
    padding: 0;
    counter-reset: my-counter;
}

ol:not(.link-list) li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    counter-increment: my-counter;
}

ol:not(.link-list) li:last-child {
    border-bottom: none;
}

ol:not(.link-list) li:before {
    content: counter(my-counter) ". ";
    color: #2563eb;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-right: 5px;
}

/* ===== FILTER STYLES ===== */
.filters {
    background: white;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 16px;
}

.search-box {
    display: flex;
    margin-top: 24px;
}

.search-box input {
    flex: 1;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-box button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0 15px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}

/* ===== STATS STYLES ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.stat-label {
    color: #4b5563;
    font-size: 16px;
}

.vacancy-count {
    text-align: center;
    font-size: 42px;
    color: #ef4444;
    margin: 15px 0;
    font-weight: 700;
}

/* ===== QUICK LINKS STYLES ===== */
.quick-links {
    background: white;
    padding: 25px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-links h3 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 22px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.links-grid a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f1f5f9;
    color: #2563eb;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    gap: 10px;
}

.links-grid a:hover {
    background: #2563eb;
    color: white;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.links a {
    display: inline-block;
    background: #f1f5f9;
    color: #2563eb;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.links a:hover {
    background: #2563eb;
    color: white;
}

/* ===== PAGINATION STYLES ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: white;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #2563eb;
    color: white;
}

/* ===== HIGHLIGHT STYLES ===== */
.highlight {
    background: #fffbeb;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #f59e0b;
    margin: 15px 0;
}

/* ===== FOOTER STYLES ===== */
footer {
    background: #1e293b;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #ffc107;
}

.footer-section p {
    margin-bottom: 15px;
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    margin-top: 30px;
    color: #cbd5e1;
}
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Brand Colors */
.social-icons .whatsapp { background: #25d366; }
.social-icons .instagram { background: #e4405f; }
.social-icons .telegram { background: #0088cc; }
.social-icons .facebook { background: #3b5998; }
.social-icons .twitter { background: #1da1f2; }
.social-icons .pinterest { background: #bd081c; }
.social-icons .linkedin { background: #0077b5; }
.social-icons .quora { background: #a82400; }
.social-icons .youtube { background: #ff0000; }
.social-icons .reddit { background: #ff4500; }
.social-icons .medium { background: #12100e; }

/* Hover Effect */
.social-icons a:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== LAYOUT STYLES ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .page-header h1,
    .page-header h2 {
        font-size: 24px;
    }

    .section-title {
        font-size: 26px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    50% {
        transform: translateX(-10%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* UNIVERSAL RESPONSIVE TABLE */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    padding: 0 10px;
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    min-width: 550px;
}

.table-responsive th,
.table-responsive td {
    white-space: normal;
    word-break: break-word;
    padding-left: 20px;
    padding-right: 20px;
}
@media (max-width: 768px) {
    .badge {
        position: sticky;
        z-index: 1;
    }
    header {
        position: static; /* parent sticky remove hona zaroori hai */
    }
    .jobs-table table,
    .jobs-table thead,
    .jobs-table tbody,
    .jobs-table th,
    .jobs-table td,
    .jobs-table tr {
        display: block;
        width: 100%;
    }

    .jobs-table thead {
        display: none;
    }

    .jobs-table tbody tr {
        margin-bottom: 15px;
        border: 1px solid #e6e6e6;
        padding: 12px;
        border-radius: 10px;
    }

    .jobs-table td {
        padding: 6px 0;
    }

    .jobs-table td::before {
        content: attr(data-label);
        font-weight: 700;
        width: 100%;
        margin-bottom: 4px;
        color: #333;
        display: block;
    }

    /* 4 columns ko card style me pretty */
    .jobs-table tbody tr td:nth-child(2)::before {
        content: "Total Posts";
    }
    .jobs-table tbody tr td:nth-child(3)::before {
        content: "Published On";
    }
    .jobs-table tbody tr td:nth-child(4)::before {
        content: "Action";
    }
}
