*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat;
}
.fixed{
	position : sticky;
	top:0;
	z-index:10;
	
	background-color:	#E6E6E6;
	background: linear-gradient(90deg, #FFE2C6 35%, white 100%);	
}

html, body {
    background: rgb(255,245,236);
    background: linear-gradient(90deg, #FFB062 35%, white 100%);
}

/*Top Header*/
#short-header{
    width: 100%;
    height: 35px;
    background-color: #E67300;
    position: relative;
    padding: 1.2vh 2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#short-header a{
    font-weight: 700;
    font-size: 15px;
    color: white;
    text-decoration: none;
    padding: 0px 10px;
    text-transform: uppercase;
}

#short-header i{
    color: white;
    font-size: 15px;
    padding-left: 10px;
}

@media (max-width: 650px) {

    #short-header .ri-user-3-fill,
    #short-header a{
        font-size: 13px;
    }

    /* Hide other icons or links on small screens */
    #short-header .ri-facebook-fill,
    #short-header .ri-twitter-fill,
    #short-header .ri-google-fill,
    #short-header .ri-more-2-line
    {
        display: none;
    }

}

/* ////////////////////// */
#menu-toggle {
    display: none;
}

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(29, 28, 28, 0.95);
    overflow-y: hidden;
    transition: height 0.5s ease-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    text-align: center;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.overlay-content a,
.overlay-content .dropdown-mobile > a {
    padding: 15px 20px;
    text-decoration: none;
    font-size: 20px;
    color: #f8f8f8;
    display: block;
    width: 100%;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
    margin: 5px 0;
    background-color: #282828;
}

.overlay-content a:hover,
.overlay-content .dropdown-mobile > a:hover {
    color: #ffd700;
    background-color: #333333;
}

.dropdown-content-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2f2f2f;
    width: 100%;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 5px;
    max-height: 0;
    transition: max-height 0.5s ease-out;
}

.dropdown-content-mobile a {
    font-size: 18px;
    color: #e0e0e0;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    background-color: #3b3b3b;
    border-radius: 5px;
    margin: 5px 0;
    transition: background-color 0.3s;
}

.dropdown-content-mobile a:hover {
    background-color: #505050;
}

.dropdown-mobile > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-mobile > a i {
    margin-left: 8px;
}

.closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 40px;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s;
}

.closebtn:hover {
    color: #ff6347;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    /* Hide navigation links and show menu icon */
    #header-right a {
        display: none;
    }

    .menu-icon {
        display: inline-block;
    }

    #menu-toggle:checked + .overlay {
        height: 90%;
    }

    /* Hide main navigation bar */
    #nav{
        display: none;
    }
}
/*-------------------------------*/

/* ----navbar---- */
#college-logo{
    height: auto;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

#college-logo .logo{
    width: 120px;
    height: 100px;
    margin-left: 20px;
    background-image: url(./images/LOGO\ rss.png);
    background-size: cover;
}

#college-logo .college-name {
    font-size: 15px;
    flex-grow: 1;
    margin-left: 10px;
	color: #820000;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}
.latest{
	z-index:10;
	position:fixed;
}
#college-logo i{
    font-size: 17px;
    color: white;
    background-color:#FF972F;
    padding: 8px;
    border-radius: 50%;
    margin-right: 30px;
}

@media (max-width: 850px) {
    #college-logo{
        margin-top: 2px;
    }
    
    #college-logo .college-name{
        font-size: 11px;
        margin-left: 0px;
    }

    #college-logo .logo{
        width: 100px;
        height: 80px;
        margin-left: 15px;
        background-image: url(./images/LOGO\ rss.png);
        background-size: cover;
    }

    #college-logo i{
        display: none;
    }

}

/* Main navbar */

#nav {
    background-color:#E67300;
    padding: 10px;
    color: white;
}

#nav-part1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#nav-part1 a {
    color: white;
    text-decoration: none;
    padding: 10px 0px;
    font-size: 16px;
	font-weight:700;
    display: inline-block;
    text-align: center;
}

#nav-part1 a:hover {
    background-color: #60ECFF;
    color: #124E66;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #124E66;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    text-align: left;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #60ECFF;
    color: #124E66;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media (max-width: 1400px) {
    #nav-part1 {
        justify-content: space-between;
    }

    #nav-part1 a {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    #nav-part1 {
        flex-direction: row;
        justify-content: center;
    }

    #nav-part1 a {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #nav-part1 {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    #nav-part1 a {
        padding: 10px 15px;
        width: 100%;
        text-align: left;
        font-size: 16px;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
        width: 100%;
    }
    
    .dropdown-content a {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    #nav-part1 a {
        padding: 8px;
        font-size: 14px;
    }

    .dropdown-content a {
        padding: 8px;
        font-size: 14px;
    }
}
/* Main Navbar end*/


/* ===============Main Content Start=================== */
#main-content {
    width: 100%;
    height: auto;
    padding: 10px;
    gap: 20px;
    display: flex;
	
}

/* news */
#news {
    height: 400px;
    width: 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    overflow: hidden;
    position: relative;
	
}

#news h2 {
    text-align: center;
    font-family: 'Arial', sans-serif;
    color:	#006699;
    margin: 0 0 20px 0;
	display:block;
	
	
}

.news-items {
    display: flex;
    flex-direction: column;
    animation: scrollNews 10s linear infinite;
    position: absolute;
    bottom: 0;
	
	
	
}

.news-item {
    padding: 5px;
	margin-right:20px;
	margin-left:0px;
    margin-bottom: 0px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

.news-item p {
    margin: 0;
    font-family: 'Arial', sans-serif;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color: #555;
	margin-top: 0px;
    text-align: center;
    font-style: italic;
	font-size: 15px;
}

@keyframes scrollNews {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-290%);
    }
}

.news-items:hover {
    animation-play-state: paused;
}

#news-mobile{
    display: none;
}

/*------------Middle Content Start-------------*/
#middle-content-mobile{
    display: none;
}

/*Slider*/
#slider {
    position: relative;
    width: 800px;
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
}

.slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.prev-slider, .next-slider {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
    z-index: 1;
}

.prev-slider {
    left: 10px;
    transform: translateY(-50%);
}

.next-slider {
    right: 10px;
    transform: translateY(-50%);
}
/*Slider End*/

/* Faculty Section */
#faculty {
    text-align: center;
    padding-top: 30px;
    width: 800px;
}

#faculty h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #124E66;
    text-transform: uppercase;
}

.faculty-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.faculty-member {
    width: 180px;
    margin: 10px;
    transition: transform 0.3s;
}

.faculty-member img {
    width: 90%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.faculty-member p {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color: #124E66;
}

.faculty-member:hover {
    transform: scale(1.1);
}

.faculty-member:hover img {
    transform: scale(1.1);
}
/* Faculty Section End */

/*------------Middle Content End-------------*/


/* Right Content --- (Principal's Message) --- Start*/
#right-content {
    height: auto;
    width: 300px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#principal {
    text-align: center;
}

#principal img {
    width: 200px;
    height: 210px;
    border-radius: 20%;
    border: 2px solid #124E66;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.principal-text {
    background-color: #f0f8ff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align:justify;
}

.principal-text h2 {
    text-transform: uppercase;
    font-size: 14px;
    color: #124E66;
    margin-bottom: 10px;
	text-align:center;
}

.principal-text blockquote {
    font-size: 12px;
    margin: 10px 0;
    font-style: italic;
    color: #555;
}

.principal-text p {
    margin-bottom: 10px;
    color: #555;
}

.principal-text .signature {
    margin-top: 10px;
    color: #124E66;
    font-weight: bold;
    text-align: center;
    font-style: italic;
	font-size:14px;
}
/* Right Content --- (Principal's Message) --- End*/

@media (max-width: 1400px) {
    #slider {
        width: 650px;
    }
    #faculty {
        width: 650px;  
    }
}

@media (max-width: 1250px){
    #slider {
        width: 600px;
    }
    #faculty {
        width: 600px;
        padding-top: 15px;
    }
    #news{
        max-width: 250px;
        min-width: 200px;
        margin: 5px;
    }
    #principal img {
        width: 150px;
        height: 140px;
    }
}

@media (max-width: 1100px){
    #slider {
        width: 500px;
        height: 280px;
    }
    #faculty {
        width: 500px;
    }
}

@media (max-width: 980px) {

    #main-content {
        display: flex;
        flex-wrap: wrap;
    }

    /* ========================= */

    #principal img {
        width: 200px;
        height: 210px;
    }

    /* ========================= */
    #news{
        display: none;
    }

    #news-mobile {
        display: flex;
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 300px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        height: 400px;
    }
    
    #news-mobile h2 {
        text-align: center;
        font-family: 'Arial', sans-serif;
        color: #333;
        margin: 0 0 20px 0;
    }

    /* ========================= */

    #right-content{
        width: 99%;
        margin: auto;
    }

    /* =========================*/
    
    #slider{
        display: none;
    }

    #faculty{
        display: none;
    }

    #middle-content-mobile{
        display: flex;
        flex-direction: column;
        margin: auto;
    }
    
    /* ============================= */
    #slider-mobile {
        height: 320px;
        width: 100%;
        position: relative;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        background-image: url(./images/slider1.jpg);
        animation: slider-mobile 18s infinite ease-in-out;
    }
    
    @keyframes slider-mobile {
        0% {
            background-image: url(./images/slider1.jpg);
            opacity: 1;
        }
        33% {
            background-image: url(./images/slider2.jpg);
            opacity: 1;
        }
        66% {
            background-image: url(./images/slider3.jpg);
            opacity: 1;
        }
        100% {
            background-image: url(./images/slider1.jpg);
            opacity: 1;
        }
    }

    /*-----------------------------------*/

    #faculty-mobile {
        text-align: center;
        padding-top: 30px;
    }
    
    #faculty-mobile h2 {
        text-align: center;
        margin-bottom: 10px;
        color: #124E66;
        text-transform: uppercase;
    }
    
    .faculty-container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .faculty-member {
        width: 180px;
        margin: 10px;
        transition: transform 0.3s;
    }
    
    .faculty-member img {
        width: 90%;
        border-radius: 10px;
        transition: transform 0.3s;
    }
    
    .faculty-member p {
        margin-top: 10px;
        font-size: 14px;
        font-weight: 600;
		color:#21225F;
    }
    
    .faculty-member:hover {
        transform: scale(1.1);
    }
    
    .faculty-member:hover img {
        transform: scale(1.1);
    }
    
}

/* ===============Main Content End=================== */


/* Mission and Vision */

 #mission-vision {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}

#mission-vision h2 {
    color: #124e66;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

#mission-vision .intro {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333;
    text-align:justify;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

.mission-vision-content {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.mission, .vision {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 48%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission h4, .vision h4 {
    color: #ff6347;
    margin-bottom: 10px;
}

.mission p, .vision p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .mission-vision-content {
        flex-direction: column;
        align-items: center;
    }
    
    .mission, .vision {
        width: 100%;
    }
}

/* Mission and Vision End */

/* Courses Offered */

#courses-offered {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

#courses-offered h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #124E66;
}

.courses-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.course-card {
    background-color: #124E66;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.course-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffd700;
}

.course-card p {
    font-size: 15px;
    line-height: 1.5;
	text-align:justify;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media screen3 and (max-width: 768px) {
    .courses-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* Courses Offered End */


/* Blogs */

#blogs {
    padding: 20px;
    background-color: #f5f5f5;
}

#blogs h2 {
    text-align: center;
    font-size: 32px;
    color: #124E66;
    margin-bottom: 20px;
}

#blog-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.title-flex {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.box-title {
    font-size: 20px;
    color: #124E66;
    margin: 0 0 10px;
}

.user-follow-info {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.description {
    padding: 0 15px 15px;
    color: #333;
    font-size: 16px;
}

.button {
    display: block;
    background-color: #124E66;
    color: white;
    text-align: center;
    padding: 10px;
    margin: 0 15px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0d3a4a;
}

@media screen and (max-width: 768px) {
    #blog-wrap {
        flex-direction: column;
        align-items: center;
    }
}

/* Blog end */

/* New Gallery Section*/
#new-gallery {
    position: relative;
    max-width: 88%;
    margin: auto;
    overflow: hidden;
    background-color: white;
}

#gallery h2 {
    font-size: 1.7em;
    font-weight: 700;
    text-align: center;
    color: #124E66;
    margin-bottom: 20px;
    margin-top: 5px;
    text-transform: uppercase;
}

.new-gallery-images {
    display: flex;
    margin: 10px 20px;
    transition: transform 0.3s ease-in-out;
    width: 80%;
}

.new-gallery-item {
    min-width: 25%; /* Show 4 images at a time */
    height: 300px;
    background-size: cover;
    background-position: center;
    margin: 20px 30px;
    box-shadow: 3px 4px 8px #5555557d;
}

/* Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Gallery Section End */

/* Maps and Contact Us */

/* -----Map------ */

#reach-us{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 30px;
    /* background-color: #dcfda7; */
}

#google-map {
    position: relative;
    margin: 10px 20px;
}

#google-map h4{
    color:#124E66;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#google-map iframe {
    height: 430px;
    width: 40vw;   
}

@media (max-width: 850px){
    #google-map iframe {
        width: 70vw;
    }
}

/* -----contact us------ */

#contact-info .container {
    height: 430px;
    width: 50vw;
    border-radius: 5px;
    background-color: white;
    padding: 20px;
  }

#contact-info h4{
    color: #124E66;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
}

#contact-info .container input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

#contact-info .container input[type=submit] {
  background-color: #124E66;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#contact-info .container input[type=submit]:hover {
  background-color: #EBFFFF;
  color: #124E66;
  border: 1px solid #124E66;
}

@media (max-width: 850px){
    #contact-info .container {
        width: 70vw;
    }
}
/* Maps and Contact Us End */

/*-----------------Long Footer Start-------------------------*/
#footer-section{
    background-color: #124E66;
    width: 100%;
    height: 400px;
}

#footer-section1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    flex-wrap: wrap;
}

#footer-section1 img{
    width: 22%
}

#footer-section1 p{
    font-size: 13px;
    color: white;
}

#footer-section1 .icons{
    font-size: 20px;
    color: white;
}

#footer-section1 .icons a{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    padding-right: 15px;
}

#footer-section1 .icons ion-icon {
    padding-right: 5px;
}

/* ||||||| */

#footer-section2{
    display: flex;
    justify-content: space-between;
    color: white;
    padding: 20px 30px;
    flex-wrap: wrap;
	
}

.footer-section2-part1 h4{
    text-transform: uppercase;
    border-bottom: solid 1px white;
    font-weight: 400;
    padding-bottom: 10px;
}

.footer-section2-part1 .discription{
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 24px;
    margin-top: 10px;
}

.footer-section2-part1 .discription a {
    text-decoration: none;
    color: white;
}

.footer-section2-part1 .discription a:hover{
    color: #60ECFF;
    /* text-decoration-line: underline; */
}

/* ||||||| */

#footer-section2-part2 h4{
    text-transform: uppercase;
    border-bottom: solid 1px white;
    font-weight: 400;
    padding-bottom: 10px;
}

#footer-section2-part2 .discription{
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

#footer-section2-part2 a{
    text-decoration: none;
    color: white;
}

#footer-section2-part2 a:hover{
    color: #60ECFF;
    /* text-decoration-line: underline; */
}

#footer-section2-part2-padding{
    padding-bottom: 10px;
}

@media (max-width: 1250px) {
    #footer-section{
        background-color: #124E66;
        width: 100%;
        height: auto;
    }
}

/* -----------Long footer end------------ */

/* Footer */
footer {
    padding: 10px;
    text-align: center;
    background-color: #124E66;
    color: white;
}
footer p {
    margin-bottom: 5px;
}
/*Footer End*/