
/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

        .header img {
            width: 80px;
           border-bottom: 5px solid #388e3c; /* Green border at the bottom */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 1s ease-in-out;
        }
        .header h1, .header h2, .header h3, .header h4 {
            margin: 5px 0;
        }
        .note {
            font-size: 16px;
            text-align: justify;
            margin: 10px auto;
            width: 80%;
            font-weight: bold;
        }
/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Header Styles */
th {
    background-color: #6a1b9a;  /* Purple background */
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #4a148c;  /* Darker Purple Border */
    transition: background-color 0.3s ease;
}

/* Row Styles */
td {
    padding: 10px 15px;
    text-align: left;
    color: #333;
    border-bottom: 1px solid #ddd;
}

/* Zebra Striping */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hover Effects */
tr:hover {
    background-color: #e1bee7;  /* Light Purple on hover */
    cursor: pointer;
}

/* Hover on Headers */
th:hover {
    background-color: #9c4dcc;  /* Darker Purple when hovered */
    cursor: pointer;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    th, td {
        padding: 8px 10px;
    }
}

/* Scrollable Table for Long Content */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Add some space between rows */
tr {
    transition: background-color 0.3s ease;
}

/* Smooth Transition for Table Hover */
table:hover {
    transform: scale(1.02);  /* Slightly enlarges the table */
}

        .date-header-row th {
            background-color: #ddd;
            font-size: 18px;
            font-weight: bold;
            text-align: left;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            font-style: italic;
            margin-top: 30px;
            page-break-before: always;
        }
        .page-number {
            font-size: 16px;
            font-weight: bold;
            margin-top: 10px;
        }



/* Header Styles */
.header {
    background: linear-gradient(135deg, #6a1b9a, #4a148c); /* Purple Gradient */
    color: white;
    padding: 40px;
    text-align: center;
    border-bottom: 5px solid #388e3c; /* Green border at the bottom */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 1s ease-in-out;
}

.logo-container {
    display: inline-block;
    margin-bottom: 20px;
    animation: bounceIn 2s ease-in-out;
}

.logo {
    width: 120px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.university-name {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    animation: slideInFromTop 1s ease-out;
}

.university-english {
    font-size: 2rem;
    font-weight: lighter;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
    animation: slideInFromBottom 1.2s ease-out;
}

.exam-title, .course-details, .semester-info, .exam-time {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    transition: color 0.3s ease;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.exam-title {
    color: #81c784; /* Green */
    animation-delay: 0.3s;
}

.course-details {
    color: #ffeb3b; /* Yellow for contrast */
    animation-delay: 0.5s;
}

.semester-info {
    color: #81c784; /* Green */
    animation-delay: 0.7s;
}

.exam-time {
    color: #ff9800; /* Orange for contrast */
    animation-delay: 1s;
}

/* Hover Effects */
.exam-title:hover, .course-details:hover, .semester-info:hover, .exam-time:hover {
    color: #388e3c; /* Dark Green on hover */
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .university-name {
        font-size: 2rem;
    }

    .university-english {
        font-size: 1.5rem;
    }

    .exam-title, .course-details, .semester-info, .exam-time {
        font-size: 1.2rem;
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-1000px);
    }
    60% {
        opacity: 1;
        transform: translateY(30px);
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

