:root {
    --primary: #00307e;
    --primary-dark: #145d94;
    --secondary: #87ceeb;
    --accent: #f97316;
    --dark:  #0085b7;
    --light: #f8f9fa;
    --gray: #6c757d
}

body {
     font-family: "Poppins", sans-serif;
    color: var(--dark);
    overflow-x: hidden
  
}

h1,
h2,
h3,
h4,
h5,
h6,
.college-name,
.tagline {
     font-family: "Roboto Slab", serif;
}

.bg-primary {
    background-color: var(--primary) !important
}

.text-primary {
    color: var(--primary) !important
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary)
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark)
}

.btn-outline-primary {
    color: #ffffff;
    border-color: #5cb5fa;
    background-color: #2792e5;
}

.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;
        font-size: 31px !important;
}

.title-underline {
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    margin-top: 10px
}

.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: var(--primary);
}

.college-subname {
    font-size: 25px;
    color: var(--dark);
    text-align: center;
}

.tagline {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 500
}
.nav-item a{
        color: rgb(255 255 255 / 91%);
}
.navbar {
    box-shadow: 0 4px 6px #0000001a;
    padding: 0
}
.navbar{
        background-color: #0d4e94;
}
.navbar-dark .navbar-nav .nav-link {
       padding: 12px 11px;
    font-weight: 500;
    transition: all .3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .5px;
    position: relative
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--primary);
    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: 70%
}

.carousel-item {
    height: 500px;
    overflow: hidden
}

.carousel-item img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
 
}

.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
}

.ticker-label {
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase
}

.ticker-content {
    overflow: hidden;
    line-height: 21px;
    padding: 15px 10px 5px 10px;
}

.welcome-image img {
    transition: transform .3s ease;
           height: 403px;
               width: 100%;

}

.welcome-image img:hover {
    transform: scale(1.02)
}

.message-section {
    position: relative;
    overflow: hidden;
        background-image: linear-gradient(rgb(0, 132, 255, 0.5), rgb(0, 132, 255, 0.5)), url(banglore/home/mission-texture.jpg);
      

}
.quick-access{
background-color: rgb(0 37 96 / 8%) !important; 
}

.msg1{
background-color: #fff !important;
    margin: 10px;
        padding: 20px 20px;
}
.msg2{
background-color: #fff !important;
    margin: 10px;
     padding: 20px 20px;
}
.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 .description{
    font-size: 15px;
    color: #f97316 !important;
    text-align: center;
    font-weight: 700;

}
.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
}
.message-quote a{
        color: #8a3131;
    text-decoration: none;
}
.message-quote a:hover{
        color: #00307e;
    text-decoration: none;
}
.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;
        background-color: #fff;
    box-shadow: 0 0 7px #0085b7;
    padding: 20px;
}

.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: 745px;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px #00000026
}

.achievement-img {
    height: 350px;
    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: 20px;
    position: relative
}
.achievement-content p{
        line-height: 35px;
}
.achievement-content a{
        color: #8a3131;
    text-decoration: none;
}
.achievement-content a:hover{
    color: #00307e;
    text-decoration: none;
}
.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-color: rgb(0 37 96) !important;
    position: relative;
    overflow: hidden
}
.footer .address {
    display: inline-flex;
}
.footer a,
.footer p{
    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
}
.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; /* Or set lower than content */
  overflow: hidden;
  top: 0;
  left: 0;
  pointer-events: none; /* 🔥 This is the key */
}

.bubble {
    position: absolute;
    bottom: -100px;
           background: #1a75bb8a;
    border-radius: 50%;
    opacity: .5;
    animation: rise 10s infinite ease-in
}

.bubble:nth-child(1) {
    width: 10px;
    height: 10px;
    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: 0px;
    height: 10px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s
}

.bubble:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s
}

.bubble:nth-child(5) {
    width: 10px;
    height: 10px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s
}

.bubble:nth-child(6) {
    width: 5px;
    height: 5px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s
}

.bubble:nth-child(7) {
    width: 10px;
    height: 10px;
    left: 70%;
    animation-duration: 7s;
    animation-delay: 2s
}

.bubble:nth-child(8) {
    width: 15px;
    height: 15px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 1s
}

.bubble:nth-child(9) {
    width: 5px;
    height: 5px;
    left: 70%;
    animation-duration: 5s;
    animation-delay: 1s
}

.bubble:nth-child(10) {
    width: 10px;
    height: 10px;
    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) {
    .navbar-dark .navbar-nav .nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 30%;
    top: 20px;
    width: 0;
    height: 3px;
    background-color:transparent !important;
    transition: all .3s ease;
    transform: translate(-50%);
}
.navbar-dark .navbar-nav .nav-link:hover:after, .navbar-dark .navbar-nav .nav-link.active:after {
    width: 0% !important;
}
.dropdown-item {
    color: #0d3694 !important;
}
.welcome-image img {
    transition: transform .3s ease;
    height: auto !important;
    width: 100%;
}
.section-title h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-size: 22px !important;
}
.single-blog iframe{
        height: auto !important;
}
    .carousel-item {
        height: 300px
    }

    .carousel-caption {
        max-width: 100%
    }

    .section-title h2 {
        font-size: 1.8rem
    }

    .message-image img {
        max-width: 180px !important
    }
    .filament-tiptap-grid-builder__column {
grid-column: span 12 !important;
}
}

@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;
 
}
.contact-info div{
    font-size: 17px !important;
}
.news-ticker marquee{
    color: #000;
        font-size: 18px;
}
.welcome-section p{
    color: #000;
        text-align: justify;
            font-size: 17px;
}
.welcome-txt {
        background-color: #fff;
    padding: 20px;
}
.welcome-section{
    background-image: url('banglore/home/mission-texture.jpg');
}
.welcome-section .lead{
    font-size: 20px !important;
}
.message-section .lead{
     color: #002560 !important; 
         font-size: 18px;   
         font-weight: 600;      
        
}
.message-section  p{
font-size: 16px;
    text-align: justify;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.5px !important;
    color: #000000e6 !important;
}
.message-image h6{
        color: #00307e;
    font-weight: 600;
        font-size: 20px
}
.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;
}
header{
    background-color: #d0f4ff;
}
.social-links a{
    border: 1px solid #fff !important;
    padding: 5px;
}
.footer .social-links a{
    border: 1px solid #fff !important;
    padding: 3px 8px 3px 8px;
}
.container-fluid{
      padding-right: 20px !important;
    padding-left: 20px !important;
}
.achievements-section{
        background-image: url(banglore/home/mission-texture.jpg);
}
.vision h2{
    color: #fff !important;
    text-align: center;
    font-weight: 600;
}
.vision {
            background-color: #0d4e94a1;
        padding: 20px;
        color: #fff;
}
.vision p{
     text-align: justify;
    font-size: 20px;
    color: #fff !important;
    font-family: "Roboto Slab", serif;
}

.mission h2{
    color: #fff !important;
    text-align: center;
    font-weight: 600;
}
.mission {
            background-color: #832d2da8;
        padding: 20px;
        color: #fff;
        margin-top: 30px;
            height: 350px;
}
.mission p{
    text-align: justify;
    font-size: 20px;
    color: #fff !important;
    font-family: "Roboto Slab", serif;
}
.achievements-section h2{
        color: #323232;
}
.gallery-section h6{
        text-align: center;
    font-size: 20px;
}
.news-event{
        background-image: url(banglore/home/mission-texture.jpg);
}
.event-single{
    background-color: #fff;
    padding: 20px;

}
.event-details h3{
    font-size: 20px;
    font-weight: 400;   
    color: #0d3694;
    line-height: 35px;
}
.event-details a{
    text-decoration: none;
}
.blog-excerpt h5{
        margin: 0 0 20px 0;
    font-weight: 500;
    text-transform: none;
    line-height: 26px;
    color: #0d3694;
}
.display-inline-flex{
    display: inline-flex;
}
@media (min-width: 991.98px) {
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* removes gap */
          background-color: #0d4e94;
}
}
.dropdown-item:focus, .dropdown-item:hover{
    background-color: transparent !important;
    color: #fce08c !important;
}
.dropdown-menu li{
    line-height: 30px;
        border-bottom: 1px dashed #ffffff8c;
}

@media (max-width: 1299px) {
   .navbar-dark .navbar-nav .nav-link {
    padding: 12px 09px;
    font-weight: 500;
    transition: all .3s ease;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: .5px;
    position: relative;
}   
}
.dropdown-item {
    font-size: 14px;
    font-weight: 500;
        letter-spacing: 0.5px;
}
.title-item ul{
   display: ruby-text;
    padding-left:0px !important;
}
.title-item ul li{
    list-style:none !important;
   
}
.page-title-area {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/frontend/banglore/home/mission-texture.jpg);
       background-size: contain;

    background-position: center;
    padding: 30px 0px 10px 0px;
}
.title-item h2{
     color:#fff;
     padding-bottom:10px;
}
.title-item li a,
.title-item li{
    color:#fff;
    text-decoration: none;
}
.title-item li i{
   font-size: 12px; 
}
.subpage{
    padding: 40px 0px 40px 0px;
}
.subpage .gallery-section .gallery-title{
    margin-top:20px;
}
.subpage .gallery-section .gallery-title a{
    padding-top:20px;
    text-align:center;
}

@media (min-width: 1500px) {
    .container-fluid{
        width:1450px !important;
    }
}
.post h4{
        color: #730909;
}
.news-meta-item {
    color: #3e3e3e;
}