:root {
    --primary: #00307e;
    --primary-dark: #145d94;
    --secondary: #87ceeb;
    --accent: #f97316;
    --dark: #af0000;
    --light: #f8f9fa;
    --gray: #6c757d
}

body {
    font-family: Roboto, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}
.top-bar{
       background: linear-gradient(0.2turn, #002560 74%, #e1e1e1 78%, #ff3000 80%);
}
.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
       border-color: #ffffff !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.college-name,
.tagline {
    font-family: Playfair Display, serif
}

.bg-primary {
    background-color: var(--primary) !important
}

.text-primary {
    color: var(--primary) !important
}

.btn-primary {
     border-color: #002560;
    background: linear-gradient(0.2turn, #002560 74%, #e1e1e1 78%, #ff3000 80%);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark)
}

.btn-outline-primary {
        border-color: #ffffff;
    background: linear-gradient(0.2turn, #002560 74%, #e1e1e1 78%, #ff3000 80%);
    color: #fff;
    border-color: var(--primary)
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary)
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    display: inline-block
}
.lead {
    font-size: 1.25rem;
    font-weight: 500 !important;
    color: #273614 !important;
}
.bg-danger {
    --bs-bg-opacity: 1;
    background-color: rgb(255 16 0) !important;
}

.title-underline {
    width: 106px;
    height: 4px;
  
    margin-top: 10px;
    background-image: linear-gradient(to bottom right, yellow, red);
}

.section-title .title-underline.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.top-bar {
    font-size: 14px
}

.logo {
    text-decoration: none;
    color: var(--dark);
        padding-left: 120px;
}

.college-name {
    font-size: 47px;
    font-weight: 700;
    color: #af0000;
}

.college-subname {
    font-size: 25px;
    color: #002560;
    text-align: center;
    font-weight: bold;
}

.tagline {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 500
}
.nav-item a{
        color: rgb(255 255 255 / 91%) !important;
}
.navbar {
    box-shadow: 0 4px 6px #0000001a;
    padding: 0
}
.navbar{
    background-color: rgb(0 37 96) !important;
    margin: 0px auto;
    display: block;
}
.navbar-dark .navbar-nav .nav-link {
    padding: 15px 10px;
    font-weight: 500;
    transition: all .3s ease;
    /*text-transform: uppercase;*/
    font-size: 15px;
    letter-spacing: .5px;
    position: relative
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: #b00303;
    color: #fff
}

.navbar-dark .navbar-nav .nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #fff;
    transition: all .3s ease;
    transform: translate(-50%)
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
    width: 90%
}

.carousel-item {
    height: 700px;
    overflow: hidden
}

.carousel-item img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    height: 100%
}

.carousel-caption {
   background-color: #002560d6;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.news-ticker {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
        background-image: linear-gradient(to bottom right, yellow, red);
}

.ticker-label {
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase
}

.ticker-content {
    overflow: hidden;
    line-height: 21px;
}
marquee p{
    margin-bottom: 0px !important;
    padding-top: 5px !important;
}
.welcome-image img {
    transition: transform .3s ease
}

.welcome-image img:hover {
    transform: scale(1.02)
}

.message-section {
    position: relative;
    overflow: hidden;
        background-color: rgb(175 0 0 / 8%) !important;
}
.quick-access{
background-color: rgb(0 37 96 / 8%) !important;
}


.message-section:before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #1a75bb0d;
    z-index: 0
}

.message-section:after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #1a75bb0d;
    z-index: 0
}

.message-image {
    text-align: center;
    position: relative;
    z-index: 1
}

.message-image img {
    transition: transform .5s ease;
    border-width: 5px !important;
    box-shadow: 0 5px 15px #0000001a
}

.message-image img:hover {
    transform: scale(1.05)
}

.message-content {
    position: relative;
    z-index: 1
}

.message-quote {
    position: relative;
    padding: 20px;
    background-color: #fffc;
    border-radius: 10px;
    box-shadow: 0 4px 8px #0000000d
}

.fa-quote-left {
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 1
}

.list-group-item {
    transition: all .3s ease;
    border-left: 3px solid transparent
}

.list-group-item:hover {
    background-color: #f5f5f5;
    transform: translate(5px);
    border-left: 3px solid var(--primary)
}

.date-box {
    width: 60px
}

.date-box .day {
    font-size: 20px;
    line-height: 1
}

.date-box .month {
    font-size: 14px;
    line-height: 1
}

.event-item {
    transition: all .3s ease;
    border-left: 3px solid transparent;
    padding-left: 10px
}

.event-item:hover {
    transform: translateY(-5px);
    border-left: 3px solid var(--accent)
}

.news-item {
    padding: 15px;
    border-radius: 5px;
    transition: all .3s ease;
    background-color: #fff;
    box-shadow: 0 2px 5px #0000000d;
    margin-bottom: 15px;
    border-bottom: 3px solid transparent
}

.news-item:hover {
    box-shadow: 0 5px 15px #0000001a;
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent)
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease;
    position: relative
}

.btn-link:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-dark);
    transition: all .3s ease
}

.btn-link:hover {
    color: var(--primary-dark)
}

.btn-link:hover:after {
    width: 100%
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
    cursor: pointer
}

.gallery-item img {
    transition: transform .5s ease
}

.gallery-overlay {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0009;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s ease
}

.gallery-info {
    color: #fff;
    text-align: center;
    padding: 15px
}

.gallery-info h6 {
    margin-bottom: 5px
}

.gallery-info p {
    font-size: 14px;
    margin-bottom: 0
}

.gallery-item:hover img {
    transform: scale(1.1)
}

.gallery-item:hover .gallery-overlay {
    opacity: 1
}

.gallery-modal .modal-content {
    background-color: transparent;
    border: none
}

.gallery-modal .btn-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 1.5rem;
    z-index: 1060
}

.gallery-modal .modal-body {
    padding: 0
}

.gallery-modal .modal-dialog {
    max-width: 80%;
    margin: 30px auto
}

.gallery-modal img {
width: 750px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.gallery-caption {
    background-color: #0009;
    color: #fff;
    padding: 15px;
    border-radius: 0 0 5px 5px;
        display: none;
}

.achievement-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px #0000001a;
    margin-bottom: 25px;
    transition: all .3s ease;
    background-color: #fff;
    transform-style: preserve-3d;
    perspective: 1000px;
        height: 400px;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px #00000026
}

.achievement-img {
    height: 200px;
    overflow: hidden
}

.achievement-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform .5s ease
}

.achievement-card:hover .achievement-img img {
    transform: scale(1.05)
}

.achievement-content {
    padding: 13px;
    position: relative
}

.achievement-content:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease
}

/*.achievement-card:hover .achievement-content:after {*/
/*    transform: scaleX(1);*/
/*    transform-origin: left*/
/*}*/

/*.achievement-badge {*/
/*    position: absolute;*/
/*    top: -20px;*/
/*    right: 20px;*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    border-radius: 50%;*/
/*    background-color: var(--primary);*/
/*    color: #fff;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 18px;*/
/*    box-shadow: 0 4px 10px #00000026*/
/*}*/

.footer {
    background: linear-gradient(#0c255b, #020c9f);
    position: relative;
    overflow: hidden
}
.footer .address {
    display: inline-flex;
}
.footer p{
    color:#fff !important;
    text-align: justify;
}
.footer a{
    color:#fff !important;
}
.footer h4,
.footer h5 {
    position: relative;
    padding-bottom: 15px
}

.footer h4:after,
.footer h5:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent)
}

.footer .contact-info li {
    margin-bottom: 10px
}

.footer a {
    transition: all .3s ease;
    text-decoration: none !important;
}
.copy-right a{
    color: #ffcc7c !important;
}
.copy-right a:hover {
    color: #fcfcfc !important;
}
.footer a:hover {
    opacity: .8;
    text-decoration: underline
}
.copy-right p{
    text-align: center;
}
.links li::before{
    content: "\f101";
    font-family: FontAwesome;
    font-size: 13px;
    color: #fff;
    margin-right: 10px
}
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    padding: 0;
    box-shadow: 0 2px 5px #0000004d;
    transition: all .3s ease
}

#back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px)
}

.page-header {
    position: relative;
    background: var(--primary)
}

.page-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0000004d;
    z-index: 1
}

.page-header .container {
    position: relative;
    z-index: 2
}

.breadcrumb-item+.breadcrumb-item:before {
    color: #fff9
}

.value-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center
}

.team-card {
    background: #fff;
    padding: 25px 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px #0000001a;
    transition: all .3s ease
}

.team-card:hover {
    transform: translateY(-10px)
}

.team-img {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 0 auto
}

.team-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0
}

.bubble {
    position: absolute;
    bottom: -100px;
           background: #1a75bb8a;
    border-radius: 10%;
    opacity: .5;
    animation: rise 10s infinite ease-in
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s
}

.bubble:nth-child(7) {
    width: 30px;
    height: 30px;
    left: 70%;
    animation-duration: 7s;
    animation-delay: 2s
}

.bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 1s
}

.bubble:nth-child(9) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 5s;
    animation-delay: 1s
}

.bubble:nth-child(10) {
    width: 90px;
    height: 90px;
    left: 25%;
    animation-duration: 10s;
    animation-delay: 4s
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translate(0)
    }

    50% {
        transform: translate(100px)
    }

    to {
        bottom: 100vh;
        transform: translate(-200px)
    }
}

.flying-element {
    position: absolute;
    z-index: 0;
    opacity: .1
}

.flying-element.graduation-cap {
    top: 10%;
    left: 10%;
    animation: fly-diagonal 15s infinite linear alternate
}

.flying-element.book {
    top: 20%;
    right: 10%;
    animation: fly-diagonal 12s infinite linear alternate-reverse
}

.flying-element.pencil {
    bottom: 15%;
    left: 15%;
    animation: fly-horizontal 10s infinite linear
}

@keyframes fly-diagonal {
    0% {
        transform: translate(0) rotate(0)
    }

    50% {
        transform: translate(100px, 100px) rotate(180deg)
    }

    to {
        transform: translate(0) rotate(360deg)
    }
}

@keyframes fly-horizontal {
    0% {
        transform: translate(0) rotate(0)
    }

    50% {
        transform: translate(100px) rotate(180deg)
    }

    to {
        transform: translate(0) rotate(360deg)
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.pulse {
    animation: pulse 2s infinite
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    to {
        transform: scale(1)
    }
}

@media (max-width: 991.98px) {
    .ticker-label span{
        display:none !important
    }
    .logo-img img {
    float: left;
    height: 49px !important;
    margin-top: 12px !important;
    }
    .logo {
    text-decoration: none;
    color: var(--dark);
    padding-left: 60px !important;
}
    .carousel-item {
        height: 400px
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 15px
    }

    .college-name {
        font-size: 18px;
    }

    .college-subname {
        font-size: 15px;
    }

    .tagline {
        font-size: 1.2rem
    }

    .gallery-modal .modal-dialog {
        max-width: 95%
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 300px
    }

    .carousel-caption {
        max-width: 100%
    }

    .section-title h2 {
        font-size: 1.8rem
    }

    .message-image img {
        max-width: 180px !important
    }
    .btn-outline-primary {
    border-color: #ffffff;
    background: linear-gradient(0.2turn, #002560 74%, #e1e1e1 78%, #ff3000 80%);
    color: #fff;
    border-color: var(--primary);
    margin-left: 110px !important;
}
img{
    width : 100% important;
}
.top-bar {
    font-size: 14px;
    display: none !important;
}
.filament-tiptap-grid-builder__column{
    grid-column: span 12 !important;
} 
.responsive-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
/*.tiptap-content p{*/
/*    margin-top: 0;*/
/*    margin-bottom: 1rem;*/
/*    letter-spacing: 0.5px !important;*/
/*    color: #000000e6 !important;*/
/*    font-size: 14px;*/
/*}*/
.contact-info-area h2 {
    margin-bottom: 20px !important;
    color: #002560;
    font-weight: 600;
    font-size: 25px;
}
}

@media (max-width: 575.98px) {
    .carousel-caption h2 {
        font-size: 1.5rem
    }

    .carousel-caption p {
        font-size: .9rem
    }

    .welcome-content .lead {
        font-size: 1rem
    }

    .gallery-modal .modal-dialog {
        margin: 10px
    }
}
.logo-img img{
        float: left;
    height: 110px;
}
.contact-info div{
    font-size: 17px !important;
}
.news-ticker marquee{
    color: #ffffff;
        font-size: 18px;
}
.welcome-section p{
    color: #000;
        text-align: justify;
            font-size: 17px;
}
.welcome-section .lead{
    font-size: 20px !important;
}
.message-section .lead{
        color: #273614 !important;      
            font-weight: 500;  
        
}
.message-section  p{
font-size: 17px;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.5px !important;
    color: #000000e6 !important;
}
.message-image h6{
        color: #00307e;
    font-weight: 600;
}
.event-content h5{
    color: #000;
}
.carousel-caption p{
    color: #fff !important;
}
.copy-right .col-md-12,
.footer .col-lg-4{
    z-index: 111 !important;
}
.social-links .btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #af0000 !important;
    border-color: var(--bs-btn-hover-border-color);
}
.header-section{
margin-left: auto;
    margin-right: auto;
    display: table;
    padding-top: 10px;
    padding-bottom: 10px;
}
.social-links a{
    border: 1px solid #fff !important;
    padding: 5px;
    margin-left: 10px;
}
.footer .social-links a{
    border: 1px solid #fff !important;
    padding: 3px 8px 3px 8px;
}
.subpage{
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: justify;
}
.subpage-color{
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: justify;
    background-color: #af00001f;
    padding: 20px;
}

.section-title {
    font-size: 1.4rem;
    color: var(--college-blue);
    margin-bottom: 17px;
    position: relative;
    font-weight: 600;
    color: #002560;
}   
.page-banner {
    background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(62 77 59 / 58%) 35%, rgb(255 255 255 / 0%) 100%), url(/frontend/images/breadcrumb.jpg);
    background-position: 100% 100%;
    background-size: cover;
    padding: 45px 0px;
}
.page-banner .auto-container h1,
.page-banner .bread-crumb li a {
    color: #ffffff;
}
.page-banner .bread-crumb li a{
    text-decoration: none;
}
.bread-crumb {
    padding: 0px;
}
.page-banner .bread-crumb li {
    position: relative;
    display: inline-block;
    line-height: 30px;
    margin-left: 5px;
    color: #ffd85a;
    font-size: 16px;
    font-weight: 600;
}
.main-content{
    padding: 50px 0px 0px;
}
.contact-info-area h2 {
    margin-bottom: 35px;
    color: #002560;
    font-weight: 600;
    font-size: 25px;
}
.main-content h3{
        font-size: 20px !important;
    font-weight: bolder;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #af0000;
}
.contact-info-area h2:not(:first-of-type) {
    margin-top: 35px;
    margin-bottom: 35px;
}
.news-meta-item{
    margin-bottom: 15px;
    color: #002560;
}

/* Basic submenu styling */
.navbar-nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #002366;
    min-width: 219px;
    z-index: 999;
    padding: 0px 0;
    border-radius: 5px;
}

.navbar-nav li:hover > .dropdown-content {
    display: block;
}

/* Submenu inside submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-content {
    top: 0;
    left: 100%;
    margin-top: -10px;
}

/* Ensure submenu displays on hover */
.dropdown-submenu:hover > .dropdown-content {
    display: block;
}

/* Link styles */
.dropdown-content a {
    display: block;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    /*white-space: nowrap;*/
}

.dropdown-content a:hover {
    background-color: #0048a1;
}

/* Optional active state */
.dropdown-content .active {
    background-color: #003366;
    font-weight: bold;
}
.dropdown-content li{
    list-style: none !important;
}
.links li{
    display: flex !important;
}
a{
    color: #0092ff;
    text-decoration: none !important;
}
td, th {
    border: 1px solid #dddddd;
    padding: 8px;
    color: #000;
}
.contact-info-area h2:not(:first-of-type) {
    margin-top: 35px;
    margin-bottom: 20px;
}
.modal-content{
    background-color: transparent !important;
}
.sub-gallery img{
    width: 100% !important;
    object-fit: cover !important;
    height: 235px !important;
}
.col-auto {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 40px !important;
}
.contact-info-area{
    margin-bottom: 40px !important;
}
.center{
    text-align: center !important;
}
.gallery-title h3{
    text-align: center !important;
    color: #002560;;
}
.w-auto {
    width: 100% !important;
}
.submenu{
    text-transform: capitalize !important;
    margin-left: 7px !important;   
}
.space p {
    margin-bottom: 0px !important;
    margin-left: 30px;
}
.address i{
    margin-top: 5px !important;
}