
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');*/
/* {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*    font-family: 'Poppin', sans-serif;*/
/*}*/
/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #29333a;
}
<style>
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #29333a;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #29333a;
}
  h1 {
    color: #0d375a;
}

a {
    text-decoration: none;
    
}

a:hover {
    color: #0d375a;
}

/* Navigation Bar */
.top_bar {
    background: linear-gradient(26deg, #bb3e03, rgb(135 135 135));
    padding: 5px;
    text-align: center;
}

.top_bar a {
    color: white;
    padding: 5px 10px;
    display: inline-block;
}

.top_bar a:hover {
    background-color: #eb7b12;
    color: white;
}
/* Header Section */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  gap: 10px; /* Ensures even spacing */
  flex-wrap: nowrap; /* Allows wrapping on smaller screens */
  text-align: center;
  line-height: 1;
  background-color: #FFF;
  
}

/* Logo Styling */
.header .logo img {
  width: 110px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  /*border: 1px solid #e9ecef;*/
  /*padding: 20px;*/
}

/* Title Styling */
.header .title {
  /*width: 900px;*/
  border-radius: 10px;
  /*border: 1px solid #e9ecef;*/
  text-align: left;
  padding: 10px;
}

.header .title h1 {
  color: #343a40;
  font-size: 2rem;
  font-weight: bold;
  line-height: 0;
  font-family: "Times New Roman", Times, serif;
}

.header .title p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
  line-height: 0.5;
  text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .header .logo img {
    width: 120px;
  }

  .header .title h1 {
    font-size: 01.5rem;
    line-height: normal;
  }

  .header .title p {
    font-size: 0.9rem;
    line-height: normal;
  }
}

/* Notice Bar */
#notice_bar_top, #notice_bar_middle {
    background-color: #212529;
    color: white;
    padding: 10px 0;
}

.notice_bar_middle {
    text-align: center;
}

.marq {
    color: #fff;
}
  
  .menu{
    margin-right: 7rem !important;
    margin-bottom: 10px;
    padding-bottom: 20px;
    position:relative;
  }

.topnav {
  overflow: hidden;
  background: linear-gradient(26deg, rgb(44, 62, 80), rgb(161, 158, 120));
  display:flex;
  justify-content: center;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #bb3e03;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
    .topnav {
        display: flex;
    justify-content: space-between;
    }
  .topnav.responsive {
    position: relative;
    flex-wrap: wrap;
    flex-direction: column;
      
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
        /* Slider Wrapper */
        .slider {
            position: relative;
            max-width: 100%;
            height: 60vh;
            margin: auto;
            overflow: hidden; /* Hides overflow */
            background-color: #000; /* Fallback background for loading images */
        }
        
        /* Slide Container */
        .slides {
            display: none; /* Hide all slides by default */
            position: absolute; /* Position for overlay effects */
            width: 100%;
            height: 100%;
        }
        
        /* Image Styling */
        .slides img {
            width: 100%; /* Fully responsive */
            height: 100%; /* Maintain slider height */
            object-fit: cover; /* Crop image to fill slider */
        }
        
        /* Text Overlay */
        .text-overlay {
            position: absolute;
            bottom: 10%; /* Adjust text position */
            left: 5%; 
            color: white;
            background-color: rgba(0, 0, 0, 0.7); /* More opaque for readability */
            padding: 15px 20px;
            border-radius: 10px; /* Smooth corners */
            font-size: 20px; /* Slightly larger text */
            font-family: 'Arial', sans-serif;
            max-width: 70%; /* Limit text area */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Subtle shadow */
        }
        
        /* Navigation Arrows */
        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            color: white;
            font-size: 22px;
            font-weight: bold;
            border: none;
            border-radius: 50%;
            user-select: none;
            background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
        }
        
        .next {
            right: 10px;
        }
        
        .prev {
            left: 10px;
        }
        
        .prev:hover, .next:hover {
            background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
            transform: translateY(-50%) scale(1.1); /* Slight zoom effect */
            transition: transform 0.3s ease, background-color 0.3s ease;
        }
        
        /* Dot Indicators */
        .dot-container {
            text-align: center;
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }
        
        .dot {
            height: 12px;
            width: 12px;
            margin: 0 6px;
            background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent dots */
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.3s ease, transform 0.3s ease;
            cursor: pointer;
        }
        
        .dot.active {
            background-color: #195679; /* Highlighted blue */
            transform: scale(1.2); /* Slightly larger */
        }
        
        .dot:hover {
            background-color: #0a3d5e; /* Darker blue */
        }
        
        /* Fade Effect */
        .fade {
            animation: fade 1s ease-in-out;
        }
        
        @keyframes fade {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .text-overlay {
                font-size: 16px;
                padding: 10px 15px;
                max-width: 90%;
            }
        
            .prev, .next {
                width: 30px;
                height: 30px;
                font-size: 18px;
            }
        
            .dot {
                height: 10px;
                width: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .text-overlay {
                font-size: 14px;
                bottom: 5%; /* Adjust for smaller screens */
            }
        }
main{
    max-width:1200px;
    margin:10px auto;
}
.main-containt{
    display:flex;
    gap:10px;
    justify-content: center;
}
.container {
  max-width: 1200px;
  margin:10px auto;
  padding:  0;
  min-width: 400px;
}

.detail-containt {
  padding:0;
}
.director-box {
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  align-items: center;
  gap: 20px;
}

.director-photo {
  width: 200px;
  border-radius: 15px;
  object-fit: cover;
}

.message-content {
  flex: 1;
}

.about-us p,
.vision p,
.mission p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.about-us,
.UpComing_Events,
.college-list {
  background-color: #fff;
  /*margin-bottom: 30px;*/
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.UpComing_Events{
    height:94%;
}
marquee.event_ii {
  height: 250px;
  overflow: hidden;
  padding: 10px;
  background: #f1f1f1;
  border-radius: 10px;
  font-size: 15px;
}

.notice_box {
  background: #e3f2fd;
  margin: 10px 0;
  padding: 10px 15px;
  border-left: 5px solid #1e88e5;
  border-radius: 8px;
}

.notice_box p {
  margin: 5px 0;
}

.notice_box a {
  color: #0d47a1;
  text-decoration: underline;
  font-weight: 500;
}

.college-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  align-items: center;
}

.college-box {
  background: #ebebeb;
  padding: 15px;
  border-left: 5px solid #bc4749;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  margin:10px 0;
}

.college-box a {
  color: #292828;
  text-decoration: none;
}

.material-symbols-outlined {
  font-size: 20px;
  color: #bc4749;
}

@media (max-width: 768px) {
.main-containt{
    display:flex;
    gap:10px;
    flex-wrap: wrap;
}
  .director-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .director-photo {
    width: 150px;
  }

  .college-box {
    justify-content: center;
  }
}


/* Gallery styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery img {
    border-radius: 5px;
    width: calc(25% - 10px);
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
}

@media (max-width: 768px) {
    .gallery img {
        width: calc(50% - 10px);
    }

    .post img {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .gallery img {
        width: 100%;
    }

    .post img {
        width: 100%;
    }
}

#lower_part {
  width: 100%;
  display: inline-block;
  background-color: #cad2c5;
  height: 5vh;
  text-align: center;
  font-size: 18px;
  font-weight: 100;
  color: #354f52;
  text-decoration:none;
}
.login_form {
  background-color: #fff;
  padding: 0;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  max-width: 600px;
  animation: slideUp 0.6s ease-in-out;
}

@keyframes slideUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.containt_head {
    text-align: center;
    display:flex;
    justify-content: center;
    padding:10px;
    background: linear-gradient(26deg, rgb(44, 62, 80), rgb(161, 158, 120));
    border-radius: 4px 4px 0 0;
    align-items: center;
}

.containt_head i {
  font-size:1.2rem;
  background: #343a40;
    padding: 10px;
    border-radius: 4px;
    color: #fff;
    margin: 0 10px 0 0;
}

.containt_head h2 {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
  margin:2px;
}
.form {
  padding:30px 20px;
}
.form .fieldset {
  margin-bottom: 20px;
}

.form label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  padding: 5px 10px;
}

.form label i {
  font-size: 1rem;
    background: #e7e7e7e0;
    padding: 10px;
    border-radius: 4px;
    color: #797d6a;
    margin: 0 6px 0 0;
}

.form input {
  width: 90%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.font {
  color: red;
  font-size: 14px;
  display: block;
  margin-top: 5px;
  text-align: center;
}

.fieldset_actions {
  text-align: center;
}

.submit-btn {
  /*width: 100%;*/
  /*padding: 12px;*/
    background: linear-gradient(29deg, rgb(44, 62, 80), rgb(41 169, 34));
    border: none;
    padding:10px 15px;
    margin: 5px auto;
    cursor: pointer;
    color: white;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.submit-btn:hover {
  background-color: #878787;
}

.gallery {
    <!--display: grid;-->
    <!--grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));-->
    <!--gap: 10px;-->
    padding: 20px;
}

.gallery-item {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

@media (max-width: 576px) {
    #detail{
        width: 100%;
    }
    .login_form {
       width: max-content;
        margin:0 auto;
    }
    .containt_head h2 {
        font-size: 1em; /* Reduce heading size on extra small screens */
    }
    
}
footer {
  background: linear-gradient(26deg, rgb(44, 62, 80), rgb(131 124 37));
  color: #eee;
  padding: 40px 20px 10px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-box {
  flex: 1 1 200px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
  background-color: #fff;
}

.footer-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ff6600;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-box ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-box p {
  margin: 5px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}

.map iframe {
  width: 100%;
  border-radius: 5px;
}
@media (max-width: 320px) {
    .login_form {
        width: 100%; /* Reduce width for small screens */
        padding: 10px; /* Add more padding */
    }
    .containt_head h2 {
        font-size: 1.2em; /* Reduce heading size on extra small screens */
    }

    #signin .fieldset_actions button {
        width: 80%; /* Further adjust button width for smaller screens */
        margin: 20px 10%;
    }

    .fieldset a {
        font-size: 0.7em; /* Reduce link font size for readability */
    }
}
</style>
