body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #004080;
    color: white;
    border-bottom: 3px solid #003366;
    position: relative;
}

.logo {

  max-width: 170px;
  height: auto;

    position: absolute;
    left: 20px;
}

.header-text {
  flex: 1;
    text-align: center;
}

.college-name {
    font-size: 44px;
    font-weight: bold;
}

.degree-pg {
    font-size: 30px;
    margin-top: 5px;
}

.affiliation {
    font-size: 24px;
    margin-top: 5px;
}

.header-content {
    text-align: center;
    padding: 20px;
    background-color: #e9ecef;
    border-bottom: 1px solid #ddd;
}

nav {
    background-color: #002366;
    overflow: hidden;
}

nav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

nav a:hover {
    background-color: white;
    color: #002366;
}
.carousel-container {
    margin: 20px auto;
    max-width: 90%; /* Set maximum width for the carousel container */
    position: relative;
    overflow: hidden; /* Ensure that overflowing images are hidden */
    height: 400px; /* Set a fixed height for the carousel */
}

.carousel {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area while maintaining aspect ratio */
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.carousel img.active {
    opacity: 1;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.content {
    padding: 20px;
}

.about-us {
    background-color: #003366; /* Deep blue color */
    color: white;
    text-align: center;
    padding: 20px 20px;
    margin: 20px 0;
}

.about-us h2 {
    margin: 0 0 20px;
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

.courses {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.category {
    margin-bottom: 30px;
}

.category h2 {
    font-size: 1.5em;
    color: #003366; /* Deep blue color */
    border-bottom: 2px solid #003366; /* Deep blue color */
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.category ul {
    list-style-type: none;
    padding: 0;
}

.category ul li {
    margin-bottom: 8px;
}

/* Specific styles for different categories */
.category:nth-child(even) {
    background-color: #f9f9f9; /* Light grey background for even categories */
}


.our-team {
    background-color: white;
    text-align: center;
    padding: 40px 20px;
    margin: 20px 0;
}

.our-team h2 {
    margin-bottom: 40px;
}

.team-member {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}


.team-member img {
    width: 200px;
    height: 250px; /* Set height equal to width to make the image square */

    margin: 0 20px;
}

.team-member .member-info {
    max-width: 600px;
    text-align: left;
}

.team-member.reverse {
    flex-direction: row-reverse;
}

.team-member h3 {
    margin: 0;
}

.team-member p {
    margin: 5px 0;
}
.lecturers {
    background-color: #003366; /* Deep blue color */
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin: 20px 0;
}

.lecturers h2 {
    margin-bottom: 40px;
}

.lecturer {
    display: inline-block;
    width: 150px;
    margin: 0 10px;
    text-align: center;
    white-space: nowrap; /* Prevent names from wrapping */
    overflow: hidden; /* Hide overflow if names are too long */
    text-overflow: ellipsis; /* Show ellipsis (...) if names overflow */
}

.lecturer h3 {
    margin: 0;
    font-size: 1.1em; /* Adjust font size if necessary */
}

.lecturer p {
    margin: 5px 0;
    font-size: 0.9em; /* Adjust font size if necessary */
}
footer {
    background-color: white;
    border-top: 2px solid #003366; /* Deep blue color */
    color: #003366; /* Deep blue color for text */
    padding: 20px;

    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-content > div {
    flex: 1 1 30%;
    max-width: 30%;
    text-align: left;
    margin-bottom: 20px;
}

.footer-contact h3, .quick-links h3, .footer-photos h3 {
    margin-bottom: 10px;

}

.footer-contact p {
    margin: 5px 0;
    margin-left: 15px;
}

.quick-links ul {
    list-style-type: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 8px;
}

.quick-links ul li a {
    color: #003366; /* Deep blue color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links ul li a:hover {
    color: #cccccc; /* Light grey color on hover */
}

.footer-photos {
    text-align: center;
}

.photo-grid {
    display: flex;
    justify-content: left;
    gap: 10px;
}

.photo-grid img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 20px;
}
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: auto;
}
.contact {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact h1 {
    color: #003366; /* Deep blue color */
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 5px;
}

.contact a {
    color: #003366; /* Deep blue color */
}

.contact a:hover {
    text-decoration: underline;
}

/* Contact section layout */
.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
    margin-right: 20px;
}

.contact h1 {
    color: #003366; /* Deep blue color */
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 5px;
}

.contact a {
    color: #003366; /* Deep blue color */
}

.contact a:hover {
    text-decoration: underline;
}

/* Contact form styles */
.contact-form {
    background-color: #f9f9f9; /* Light grey background */
    padding: 20px;
    max-width: 600px;
}

.contact-form h2 {
    color: #003366; /* Deep blue color */
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
}

.contact-form button:hover {
    background-color: #001f4d;
}
/* Form styles */
.registration-form {
    background-color: #f9f9f9; /* Light grey background */
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.registration-form h1 {
    color: #003366; /* Deep blue color */
    margin-bottom: 10px;
}

.registration-form h2 {
    color: #003366; /* Deep blue color */
    margin-top: 20px;
    margin-bottom: 10px;
}

.registration-form form {
    display: flex;
    flex-direction: column;
}

.registration-form label {
    margin-bottom: 8px;
}

.registration-form input,
.registration-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.registration-form textarea {
    resize: vertical;
}

.registration-form button {
    background-color: #003366; /* Deep blue color */
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
}

.registration-form button:hover {
    background-color: #001f4d; /* Darker shade of deep blue */
}

/* Footer and header styles remain unchanged */
/* Gallery styles */
/* Gallery styles */
.photo-gallery {
    padding: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}
.Facullty_heading{
  text-align: center;
}
.table-container {
    max-width: 1200px; /* Adjust max-width as per your design */
    margin: 20px auto; /* Center the container and add margin */
    padding: 0 20px; /* Add padding on the sides to create space */
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #333;
    color: #fff;
}

tfoot {
    font-style: italic;
    color: #777;
}

.photo-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-top: 20px;
}

.photo-grid-custom img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles for larger mobile devices */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        max-width: 80px;
        margin-bottom: 10px;
    }

    .header-text {
        text-align: center;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        text-align: center;
        padding: 10px;
    }

    .college-name {
        font-size: 22px;
    }

    .degree-pg {
        font-size: 20px;
    }

    .affiliation {
        font-size: 16px;
    }
}

/* Responsive styles for smaller mobile devices */
@media (max-width: 480px) {
    .college-name {
        font-size: 20px;
    }

    .degree-pg {
        font-size: 18px;
    }

    .affiliation {
        font-size: 14px;
    }

    .logo {
        max-width: 60px;
    }

    nav a {
        padding: 8px;
    }
}

/* Responsive styles for 14-inch laptops (generally around 1366x768 resolution) */
@media (min-width: 770px) and (max-width: 1400px) {
    .logo {
        max-width: 150px;
    }

    .college-name {
        font-size: 36px;
        margin-left: 55px;
    }

    .degree-pg {
        font-size: 30px;
        margin-left: 55px;
    }

    .affiliation {
        font-size: 20px;
        margin-left: 55px;
    }

    header {
        flex-direction: row;
        text-align: left;
    }

    nav a {
        padding: 10px;
    }
}
