/* ==========================
   PAGE & BODY
========================== */
body {
    background: linear-gradient(135deg, #eef4ff, #f5fffb);
    font-family: "Trio Devanagari", sans-serif; /* Marathi font */
    color: #001f4d; /* dark blue text for overall page */
}

/* ==========================
   TABLE WRAPPER
========================== */
.table-wrapper {
    max-width: 950px;
    margin: auto;
    padding: 25px;
}

/* ==========================
   TABLE STYLING
========================== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 18px;
    animation: tableSlide 1s ease;
}

/* Table header */
.table thead th {
    background: linear-gradient(45deg, #3b6acc, #1f3ca6); /* darker blue gradient */
    color: #fff;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    font-family: "Trio Devanagari", sans-serif;
}

/* Table rows */
.table tbody tr {
    background: #ffffff;
    border-left: 5px solid #1f4bbf;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    animation: floatRows 6s ease-in-out infinite;
    border-image: linear-gradient(270deg, #3b6acc, #2f4dbb, #1f3ca6) 1;
    overflow: hidden;
}

/* Hover effect on rows */
.table tbody tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: #0056b3; /* darker hover blue */
}

/* Table cells */
.table tbody td {
    padding: 14px;
    border: none;
    text-align: center;
    font-size: 15px;
    color: #001f4d; /* dark blue text */
    position: relative;
    font-family: "Trio Devanagari", sans-serif;
}

/* Year badge */
.table tbody td:nth-child(2) {
    background: linear-gradient(45deg, #5a8ee0, #2f6dd0); /* blue gradient */
    color: #ffffff;
    font-weight: 700;
    padding: 6px 14px;
    width: 100px;
    margin: auto;
    border-radius: 50%;
}

/* Description cell with gradient underline */
.table tbody td:nth-child(3) {
    text-align: left;
    background: #f8f9fa;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    padding: 12px 16px;
    color: #001f4d; /* dark blue */
    font-family: "Trio Devanagari", sans-serif;
}

.table tbody td:nth-child(3)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(270deg, #3b6acc, #2f4dbb, #1f3ca6);
    background-size: 200% 100%;
    animation: borderMove 3s linear infinite;
}

/* PDF Button */
.btn-pdf {
    background: linear-gradient(45deg, #1f3ca6, #3b6acc);
    border: none;
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Trio Devanagari", sans-serif;
}

.btn-pdf:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* Alternating row colors */
.table tbody tr:nth-child(even) {
    background: #fdfdfd;
}

/* ==========================
   ANIMATIONS
========================== */
@keyframes tableSlide {
    from { opacity: 0; transform: translateX(-70px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes floatRows {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes borderMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ==========================
   H4 CREATIVE HEADING
========================== */
h4 {
    font-size: 28px;
    font-weight: 700;
    color: #001f4d; /* dark blue */
    text-align: center;
    margin: 40px 0;
    position: relative;
    display: block;
    padding-bottom: 12px;
    opacity: 0;
    transform: translateY(30px);
    font-family: "Trio Devanagari", sans-serif;
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.3s;
}

h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(270deg, #3b6acc, #2f4dbb, #1f3ca6);
    background-size: 200% 100%;
    animation: h4GradientMove 3s linear infinite;
}

/* Slide up fade animation */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Gradient movement for H4 underline */
@keyframes h4GradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ==========================
   MOBILE RESPONSIVE
========================== */
@media(max-width:768px){
    .table thead { display: none; }
    .table tbody tr { display: block; padding: 10px; }
    .table tbody td { display: block; text-align: left; padding: 8px 0; }
    .btn-pdf { width: 100%; text-align: center; }
}