@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
    /* background-color: brown, black; */
    /* background: linear-gradient(#1f0101, #580415cd); */
    background: linear-gradient(#000000, #240000, #000000);
}

#navbar {
    background-color: #2b0000;
    /* padding-left: 50px; */
    padding-top: 0px;
    padding-bottom: 0px;
    /* height: 80px; */
    border-radius: 0px 0px 70px 70px;
}

#navbar-main-container {
    padding-left: 0px;
    padding-right: 0px;
}

.rimt-university {
    border-radius: 10px;
    margin-left: 48px;
}

@media (min-width: 0px) and (max-width: 991px) {
    .rimt-university {
        margin-left: 20px;
    }
}

#flex-up-image {
    height: 75px;
}


#web-items {
    gap: 10px;
}

#web-items li a {
    align-items: center;
    color: rgb(255, 255, 255);
    z-index: 9;
    font-weight: 900;
    text-align: center;
    position: relative;
}

#web-items li {
    padding: 2px 6px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

#web-items li::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #CCACAC;
    bottom: -100%;
    left: 0;
    border-radius: 25px;
    transition: all ease 0.4s;
}

#web-items li:hover::after {
    bottom: 0;
    border-radius: 0;
}

#web-items li:hover a {
    color: rgb(0, 0, 0);
}

.offcanvas {
    background-color: #2B0000;
}

.navbar-toggler-icon {
    background-image: url("./Media/Navbar.png")
}

.offcanvas-body {
    background-color: #2B0000;
    border-radius: 0px 0px 50px 0px;
}

.offcanvas-title {
    margin: auto;
}

.offcanvas-header {
    background-color: #2B0000;
}

.offcanvas {
    background-color: #2B0000;
}


.drinm {
    padding-right: 20px;
    font-weight: 900;
    color: #ffff00;
    font-size: 14px;
}





@media (min-width:500px) and (max-width:700px) {
    .drinm {
        font-size: 10px;
    }

    .uni {
        font-size: 15px;
    }
}

@media (min-width:100px) and (max-width:500px) {
    .drinm {
        font-size: 7px;
    }

    .uni {
        font-size: 10px;
    }
}














.footer {
    margin-top: 40px;
    font-size: 14px;
    color: #e6d5d5;
    background: linear-gradient(#000000, #240000, #000000);
    padding: 30px 0%;
    border-top: 3px solid #000000;
}

.foot {
    padding: 0px;
}

.footer-container {
    padding-top: 40px;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer-contact {
    max-width: 250px;
}

.footer-contact img {
    width: 80px;
    margin-bottom: 10px;
}

.footer-contact p {
    font-size: 14px;
    color: #e6d5d5;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Footer Links */
.footer-links,
.footer-programs {
    text-align: left;
}

.footer-links h3,
.footer-programs h3,
.footer-social h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links ul,
.footer-programs ul {
    list-style: none;
}

.footer-links ul li,
.footer-programs ul li {
    margin-bottom: 8px;
}

.footer-links ul li a,
.footer-programs ul li a {
    text-decoration: none;
    color: #e6d5d5;
    font-size: 14px;
    transition: 0.3s;
}

/* Hover Effect */
.footer-links ul li a:hover,
.footer-programs ul li a:hover {
    color: #d7dce2;
    text-decoration: none;
    ;
}

/* Social Media Section */
.footer-social {
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a img {
    width: 30px;
    transition: 0.3s;
}

/* Hover Effect for Social Icons */
.social-icons a img:hover {
    transform: scale(1.1);
}


.footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    font-size: 24px;
    margin: 0 10px;
}






header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(#240000, #000000, #240000);
}

.banner {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

main {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Different colors for sections */
.intro {
    background-color: #240000;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.partners:nth-child(odd) {
    background-color: #240000;
}

.partners:nth-child(even) {
    background-color: #CCACAC;
}

.partners {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.partners:hover {
    transform: scale(1.02);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

h1,
h2 {
    font-weight: 700;
    color: #d7dce2;
}

p {
    line-height: 1.6;
}

/* Logo styling */
.logos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.logos img {
    width: 120px;
    height: auto;
    filter: grayscale(100%);
    transition: 0.3s;
    border-radius: 8px;
    padding: 5px;
    background: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    main {
        width: 95%;
    }

    .logos img {
        width: 80px;
    }
}