* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #e7d4d4ea;
}

/* Header Section */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(74, 87, 97, 0.4), rgba(47, 53, 60, 0.4)), url(image/banner.png);
    background-position: top;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Navigation Bar */
nav {
    display: flex;
    padding: 1% 2%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 100px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
}

.nav-links ul li a {
    color: #121010;
    text-decoration: none;
    font-size: 15px;
    position: relative;
}

.nav-links ul li::after {
    content: '';
    width: 0;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: width 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

/* Header Text Box */
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
    color: #fff;

}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    transition: background 1s, border 1s;
}

.hero-btn:hover {
    border-color: #f44336;
    background: #f44336;
}

/* Course Section */
.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.course h1 {
    font-size: 36px;
    font-weight: 600;
}

.course p {
    color: #5f4040;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/* Course Cards */
.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.course-line {
    flex-basis: 31%;
    background: #c08c8c;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    transition: box-shadow 0.5s;
}

.course-line h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px;
}

.course-line:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Campus Section */
.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img {
    width: 100%;
}

/* Campus Image Overlay */
.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: background 0.5s;
}

.layer:hover {
    background: rgba(82, 38, 38, 0.7);
}

.layer h3 {
    color: #fff;
    font-size: 26px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: bottom 0.5s, opacity 0.5s;
}

.layer:hover h3 {
    bottom: 50%;
    opacity: 1;
}

/* Table Styling */
#placementTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#placementTable th,
#placementTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#placementTable th {
    background-color: #005580;
    color: white;
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.quick-links button {
    padding: 10px 20px;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quick-links button:first-child {
    background-color: #d9534f;
}

.quick-links button:last-child {
    background-color: #f0ad4e;
}

/* Faculty and Warden List */
.faculty-list,
.warden-list {
    max-width: 800px;
    margin: auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
}

.faculty-list h1,
.warden-list h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.faculty-member,
.warden-member,
.student {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.8s;
}

.faculty-member:hover,
.warden-member:hover,
.student:hover {
    box-shadow: 0 8px 10px rgba(5, 5, 5, 0.2);
}

.faculty-member img,
.warden-member img,
.student img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.info h2,
.info h3 {
    font-size: 18px;
    color: #333;
}

.info p {
    font-size: 14px;
}

/* Course List Styling */
#course-line {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #ccc2c2;
}

.course {
    padding: 15px;
    margin: 30px;
    border: 1px solid #0c0b0b;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    background-color: #777;
}

.course:hover {
    background-color: #a89e9e;
}

.details {
    display: none;
    margin-top: 10px;
    color: #171616;
}

/* Map Container */
.map-container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Facilities Section */
.facility {
    text-align: center;
    padding: 50px 0;
    background-color: #f9f9f9;
}

.facility h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.facility p {
    color: #555;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Facility Columns */
.facility-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.facility-col {
    width: 300px;
    background-color: #f0eaea;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-col img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.facility-col h3 {
    font-size: 20px;
    color: #333;
    margin-top: 15px;
}

.facility-col p {
    color: #777;
    font-size: 14px;
    margin-top: 10px;
    line-height: 2.5;
}

/* Hover Effects */
.facility-col:hover {
    transform: translateY(-15px);
    box-shadow: 0 8px 16px rgba(32, 29, 29, 0.2);
}

/* Student List Section */
.student-list {
    text-align: center;
    padding: 50px 0;
    background-color: #d6c2c2;
}

.student-list h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

/* Student Card */
.student {
    display: inline-block;
    width: 250px;
    margin: 15px;
    background-color: #ccc2c2;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.student img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.student h3 {
    font-size: 18px;
    color: #333;
    margin: 5px 0;
}

.student p {
    font-size: 14px;
    color: #666;
}

/* Hover Effects */
.student:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Reset */


/* Container styling */
.login-container {
    width: 300px;
    padding: 20px;
    border-radius: 8px;
    background-color: #e0d6d6;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-container p {
    font-size: 14px;
    color: #666;
}

/* Input styling */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Button styling */
.login-container button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.login-container button:hover {
    background-color: #45a049;
}

/* Footer link */
.login-container .forgot-password {
    margin-top: 15px;
    font-size: 12px;
    color: #4CAF50;
    text-decoration: none;
}

.login-container .forgot-password:hover {
    text-decoration: underline;
}

/* Header section */
.sub-header {
    background-color: #f2eded;
    color: #0c0b0b;
    padding: 20px 0;
    text-align: center;
}

.sub-header h1 {
    margin-top: 15px;
    font-size: 28px;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li a {
    color: #0b0b0b;
    padding: 10px;
    text-decoration: none;
}

.nav-links ul li a:hover {
    color: #ddd;
}

/* Blog content */
.blog-content {
    padding: 20px;
}

.blog-left,
.blog-right {
    padding: 20px;
}

.blog-right {
    background: #f3efef;
}

.category {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.category span {
    font-size: 16px;
}

/* Placement Table */
.placement-table table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.placement-table th,
.placement-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.quick-links button {
    background-color: #f2eeee;
    color: #100f0f;
    padding: 10px 15px;
    border: none;
    margin: 10px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer .icons i {
    font-size: 20px;
    color: #ddd;
    margin: 0 10px;
    cursor: pointer;
}

.footer .icons i:hover {
    color: #fff;
}

.admission-form-section {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.admission-form-section h1 {
    color: #333;
    margin-bottom: 20px;
}

.admission-form-section p {
    color: #666;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin: 10px 0 5px;
    color: #333;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #555;
}


.exam-form-section {
    max-width: 500px;
    margin: 10px auto;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(57, 49, 49, 0.1);
    border-radius: 8px;
}

.exam-form-section h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #0b0505;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #070606;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cab9b9;
    border-radius: 8px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Container to center and control max-width */

.media-section {
    text-align: center;
    padding: 20px;
}

.media-section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.function-image {
    width: 500px;
    margin-bottom: 20px;
}

.video-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.video-container video {
    max-width: 75%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.bg {
    width: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0.8;
}

.icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.icons-link {
    text-decoration: none;
    color: inherit;
    /* Inherits text color, for a cleaner design */
    font-size: 24px;
    /* Adjust icon size */
    transition: color 0.3s ease, transform 0.2s ease;
}

.icons-link:hover {
    color: #e5ebee;
    /* Example color change on hover */
    transform: scale(1.2);
    /* Slightly enlarge on hover */
}

.icons-link .fa-facebook {
    color: #3b5998;
    /* Facebook color */
}

.icons-link .fa-twitter {
    color: #1da1f2;
    /* Twitter color */
}

.icons-link .fa-instagram {
    color: #e4405f;
    /* Instagram color */
}

.icons-link .fa-linkedin {
    color: #0077b5;
    /* LinkedIn color */
}

/* CSS for styling the location section */
.location {
    width: 100%;
    max-width: 1200px;
    /* Optional: Set a maximum width */
    margin: 0 auto;
    /* Center the section */
    padding: 10px;
    box-sizing: border-box;
}

#location-map {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 8px;
    /* Adds smooth corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Adds a shadow for better aesthetics */
}

@media (max-width: 768px) {
    #location-map {
        height: 300px;
        /* Adjust height for smaller screens */
    }
}

.container {
    width: 50%;
    /* Sets the width of the container to 50% of the viewport */
    margin: 50px auto;
    /* Adds a top margin of 50px and centers the container horizontally */
    background: #d1baba;
    /* White background for the container */
    padding: 20px;
    /* Adds padding inside the container */
    box-shadow: 0 4px 8px rgba(7, 6, 6, 0.2);
    /* Adds a subtle shadow for depth */
    border-radius: 10px;
    /* Rounds the corners of the container */
}

/* Styling for the main heading */
h1 {
    text-align: center;
    /* Centers the heading text */
    color: #333;
    /* Dark gray color for the heading text */
}

/* Styling for form labels */
label {
    display: block;
    /* Ensures the label occupies the full width of its parent */
    margin-top: 15px;
    /* Adds space above the label */
    font-weight: bold;
    /* Makes the text bold for emphasis */
}

/* Common styling for input fields, select dropdowns, and buttons */
input,
select,
button {
    width: 100%;
    /* Makes the element take up the full width of its container */
    padding: 10px;
    /* Adds internal spacing for better readability */
    margin-top: 5px;
    /* Adds space above the element */
    border: 1px solid #ccc;
    /* Adds a light gray border */
    border-radius: 4px;
    /* Slightly rounds the corners */
}

/* Styling specifically for the submit button */
button {
    background-color: #28a745;
    /* Green background color for the button */
    color: white;
    /* White text color */
    border: none;
    /* Removes the default border */
    cursor: pointer;
    /* Changes the cursor to a pointer when hovering */
    margin-top: 20px;
    /* Adds space above the button */
}

/* Styling for the button when hovered over */
button:hover {
    background-color: #218838;
    /* Darker green background on hover for visual feedback */
}

/* Class to hide elements */
.hidden {
    display: none;
    /* Hides the element from view */
}

/* Styling for subheadings (h3) */
h3 {
    margin-top: 20px;
    /* Adds space above the subheading */
    color: #555;
    /* Medium gray color for the subheading */
}

.media-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #bf9b9b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.media-section h2 {
    text-align: center;
    color: #555;
    margin-bottom: 20px;
    font-size: 2rem;
}

.media-section img {
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.media-section img:hover {
    transform: scale(1.05);
}

.media-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 10px;
    color: #777;
}

.video-container {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.video-container video {
    width: 80%;
    max-width: 800px;
    border: 3px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.video-container video:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .media-section img {
        width: 90%;
    }

    .video-container video {
        width: 95%;
    }

    .media-section h2 {
        font-size: 1.5rem;
    }

    .media-section p {
        font-size: 1rem;

    }

}