/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Video background */
.video-background {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Content styling */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.content h1 {
    font-size: 4em;
    margin: 0;
    color: #f7f7f7;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.content p {
    font-size: 2em;
    margin: 10px 0 0;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Principal message */
.principal-message {
    margin: 30px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    text-align: center;
}

.principal-photo {
    text-align: center;
    margin-bottom: 20px;
}

.principal-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #3b5998;
}

/* Testimonials */
.testimonials {
    margin: 30px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    text-align: center;
    position: relative;
}

.testimonial-carousel {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}

.testimonial-item {
    flex: 0 0 auto;
    width: 30%;
    margin: 0 10px;
    text-align: center;
    display: none;
}

.testimonial-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #3b5998;
}

.testimonial p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Sections */
.section {
    display: flex;
    align-items: center;
    background-color: #4c70ba;
    color: #fff;
}

.section-image {
    max-width: 600px;
    max-height: 400px;
    margin-left: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section-content-mission {
    max-width: 60%;
    text-align: right;
}

.section-content-vision {
    max-width: 60%;
    text-align: left;
}

.section-content-values {
    max-width: 60%;
    text-align: right;
}

.section h2 {
    margin-top: 0;
    text-align: center;
}

.section p {
    margin-top: 0;
    text-align: justify;
    margin: 20px;
}

.section ul {
    text-align: justify;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #3b5998;
    color: white;
}

header .header-left {
    flex: 1;
}

header .header-left h1 {
    margin: 0;
    font-size: 1.5em;
    color: white;
}

header .header-right {
    flex: 1;
    text-align: right;
}

header .header-right p {
    margin: 0;
    font-size: 0.9em;
}

/* Navigation */
nav {
    background: linear-gradient(to right, #3b5998, #4c70ba);
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

nav ul li:hover {
    transform: scale(1.1);
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration:none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
}

p {
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #3b5998;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Login form */
.login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #3b5998;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #4c70ba;
}

/* Notice board */
.notice-board {
    margin-top: 20px;
}

.notice-display {
    text-align: center;
    margin-bottom: 20px;
}

.notice-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.notice-text {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
}

.notice-table th, .notice-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.notice-table th {
    background-color: #f4f4f4;
}

/* View button */
.view-button {
    background-color: #3b5998;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.view-button:hover {
    background-color: #4c70ba;
}

/* Video lectures */
.video-lectures {
    margin-top: 20px;
}

.videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.video h2 {
    margin-top: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info-text {
    flex: 1;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info-map {
    flex: 1;
    text-align: center;
}

.contact-info-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    /* Navigation */
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin-bottom: 10px;
    }

    /* Content */
    .content h1 {
        font-size: 2.5em;
    }
    .content p {
        font-size: 1.2em;
    }

    /* Sections */
    .section {
        flex-direction: column;
        text-align: center;
    }
    .section-content-mission,
    .section-content-vision,
    .section-content-values {
        max-width: 100%;
        text-align: center;
    }
    .section-image {
        margin: 20px 0;
        max-width: 90%;
    }

    /* Contact information */
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    .contact-info-text {
        padding: 20px;
        text-align: center;
    }
    .contact-info-map {
        padding: 20px;
        text-align: center;
    }
}

/* Arrow container */
.arrow-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.arrow {
    position: relative;
    font-size: 1.5em;
    color: #3b5998;
    cursor: pointer;
    z-index: 1;
    background: lightblue;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-left {
    margin-right: auto;
}

.arrow-right {
    margin-left: auto;
}

/* eLibrary Styling */

/* Text Books and Research Papers Tables */
#textbooks,
#research-papers {
    margin-top: 40px;
}

.resource-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.resource-table th,
.resource-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

.resource-table th {
    background-color: #4c70ba;
    color: white;
}

.resource-table td {
    background-color: #fff;
}

.resource-table a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #3b5998;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.resource-table a:hover {
    background-color: #4c70ba;
}

@media screen and (max-width: 768px) {
    .resource-table th,
    .resource-table td {
        padding: 10px;
    }
}
/* Result Page Styling */

/* Mark Sheet Container */
.marksheet-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Headers */
.marksheet-container h1,
.marksheet-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Student Information */
.student-info {
    margin-bottom: 20px;
}

.student-info p {
    margin: 5px 0;
}

/* Result Table */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.result-table th,
.result-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

.result-table th {
    background-color: #4c70ba;
    color: white;
}

.result-table td {
    background-color: #fff;
}

/* Remarks and Signature */
.remarks-signature {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.remarks {
    flex: 1;
    margin-right: 10px;
}

.signature {
    flex: 1;
    text-align: right;
}

.signature p {
    margin: 5px 0;
}

/* Print Button */
.print-button {
    text-align: center;
    margin-top: 20px;
}

.print-button button {
    padding: 10px 20px;
    background-color: #3b5998;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.print-button button:hover {
    background-color: #4c70ba;
}

