:root {
    --primary-color: #9333ea;
    --secondary-color: #ec4899;
    --dark-bg: #1f2937;
    --purple-bg: #581c87;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #384b73 0%, #009799 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 37px;
    text-transform: uppercase;
    font-weight: bold;
}

.logo-title small {
    color: #5e5e5e !important;
    font-weight: 600;
    font-size: 21px;
}

.navbar-collapse .nav-link {
    color: #fff !important;
}

.top-header {
    background: linear-gradient(135deg, #e1a23c 0%, #e0a13c 100%), url(asset/logo/bg2.png);
    background-size: cover;
    background-position: center;
}
.text-white {
    --bs-text-opacity: 1;
    color: rgb(17 46 82) !important;
}
.text-dark {
    --bs-text-opacity: 1;
    color: rgb(17 46 82) !important;
}
.hero-section {
    /*min-height: 100vh;*/
    /*background: linear-gradient(rgba(31, 41, 55, 0.8), rgba(88, 28, 135, 0.6)),*/
    /*    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*color: white;*/
}

.news-section {
    background: linear-gradient(135deg, #e0a13c 0%, #e0a13c 50%, #e0a13c 100%);
    /*color: white;*/
    /*position: relative;*/
    /*overflow: hidden;*/
    /*min-height: 100vh;*/
}

.news-scroller small {
    color: #fff;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(33 37 41) !important;
}

.news-item {
    background: rgb(17 46 82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    height: 18 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge-news {
    background: rgba(168, 85, 247, 0.3) !important;
    color: #ddd6fe !important;
}

.badge-event {
    background: rgba(236, 72, 153, 0.3) !important;
    color: #fce7f3 !important;
}

.section-padding {
    padding: 80px 0;
}

.star {
    position: absolute;
    animation: starTwinkle 2s ease-in-out infinite alternate;
    color: #fbbf24;
}

.star-subtle {
    color: #6b7280;
    animation: starGlow 3s ease-in-out infinite;
}

.star-soft {
    color: #a855f7;
    animation: starPulse 1.5s ease-in-out infinite;
}

.star-gentle {
    color: #ec4899;
    animation: starFloat 3s ease-in-out infinite;
}

@keyframes starTwinkle {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes starGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes starFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(120deg);
    }

    66% {
        transform: translateY(4px) rotate(240deg);
    }
}

@media (min-width: 960px) and (max-width: 1400px) {
    .gradient-text {
        background: linear-gradient(135deg, #1a1c1e 0%, #52565a 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 30px !important;
        text-transform: uppercase;
        font-weight: bold;
    }
}

#future {
    background-image: linear-gradient(rgb(25 51 97 / 92%), rgb(48 68 109 / 95%)), url(asset/home/shape.jpg);
    background-size: cover;
}

.shape-title {
    color: #fff !important;

    font-size: 55px !important;
    text-align: center;
}

.shape-content {
    background: linear-gradient(135deg, #ffeff5 0%, #ddfeff 100%) !important;
    padding: 50px;
}

#event h2,
#facilities h2,
#about h2 {
    color: #112e52;
}

#facilities {
    position: relative;
}

#about {
    background-image: linear-gradient(rgb(255 255 255 / 61%), rgb(255 255 255 / 0%)), url(/frontend/home/about.jpg);
    background-size: cover;
}

#contact {
    background: linear-gradient(135deg, #201717 0%, #abb4b5 100%);
    position: relative;
}
#contact h5{
   color: #e1a23c;
}
#programmes h4{
  color: #112e52;    
}
#event a {
    color: #950037;
    text-decoration: none;
}
.btn-gradient{
   color: #fff !important; 
}
#event a:hiver {
    color: #222;
    text-decoration: none;
}
#event .btn {
    margin-left: auto;
    margin-right: auto;
    display: table;
    background: linear-gradient(135deg, #112e52 0%, #3c3f40 100%) !important;
}

#contact p {
    color: #fff !important;
}

.list-unstyled a {
    color: #fff !important;
}

.list-unstyled a:before {
    content: "\2022";
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.post-date {
    color: #464646;
}

.ln {
    background-color: #dbeafe;
    border-radius: 20px;
    padding: 40px;
}

.ln h4 {
    color: #1e3a8a;
    font-weight: 700;
}

.ln .latest-news2,
.ln .latest-news1 {
    border-left: 4px solid #2563eb;
    padding-left: 20px;
}

.rn .latest-news2,
.rn .latest-news1 {
    border-left: 4px solid #16a34a;
    padding-left: 20px;
}

.un .latest-news2,
.un .latest-news1 {
    border-left: 4px solid #9333ea;
    padding-left: 20px;
}


.latest-news2 h5,
.latest-news1 h5 {
    font-size: 16px;
    color: #000000d9;
    font-weight: 600;
    line-height: 30px;

}

.latest-news2 {
    margin-top: 35px;
}

.rn {
    background-color: #dcfce7;
    border-radius: 20px;
    padding: 40px;
}

.rn h4 {
    color: #14532d;
    font-weight: 700;
}

.un {
    background-color: #f3e8ff;
    border-radius: 20px;
    padding: 40px;
}

.un h4 {
    color: #581c87;
    font-weight: 700;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(51, 0, 48, 0.411);
}

.btn-gradient {
    background:linear-gradient(135deg, #112e52 0%, #080500 100%) !important;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mlr {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
    color: white;
}

.carousel-control-prev-icon {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e);
    background-color: #36597bde;
    border-radius: 0%;
}

.carousel-control-next-icon {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    background-color: #36597bde;
    border-radius: 0%;
}

#hero-slider {
    width: 100% !important;
}

p {
    color: #3c3c3c !important;
    font-size: 16px !important;
}

.facility-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #00eeff 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

#programmes {
    background: linear-gradient(135deg, #112e52 0%, #6099df 50%, #112e52 100%);
}

#programmes .lead,
#programmes h2 {
    color: #fff;
}

#about .lead,
.shape-content .lead {
    color: #193461 !important;
    font-weight: 600;
    font-size: 21px !important;
}

.news-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.news-scroller {
    transition: transform 0.5s ease-in-out;
}

.section-divider {
    width: 64px;
    height: 4px;
    background: linear-gradient(135deg, #08f1fb 0%, #ffc36a 100%);
    margin: 0 auto 32px;
}

.logo-img img {
    width: 50%;
    margin: 0px auto;
}
/*.mid-header{*/
/*    background: url(../frontend/logo/header-bg.jpg);*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*}*/
.copy-right a {
    color: #ffbe26 !important;
    text-decoration: none;

}

.page-banner {
    background-image: url('banner.jpg');
    background-position: 100% 100%;
    background-size: cover;
    padding: 45px 0px;
}

.page-banner h2,
.page-banner li {
    color: #ffffff;
}

.page-banner ul {
    display: flex;
}

.page-banner li a {
    color: #fff;
}

.page-banner li {
    list-style: none;
    margin-left: 10px;
}
.navbar{
    background-color: #112e52;
}
.all-events .ln {
    margin-bottom: 15px;
}

.page-banner ul{
    padding: 0px;
}
.contact-info-area{
    padding-top: 50px;
}
.contact-info-area h2{
  font-size: 25px !important;
  font-weight: bolder;
  margin-bottom: .5rem;
}
a{
    text-decoration: none !important;
}
.gallery-first img{
    width: 100%;
    height: auto;
}
#connection img{
        width: 100%;
}
#connection .col-lg-6{
    margin-top: 0px;
}
#connection {
    background: linear-gradient(135deg, #253b50 0%, #183461 50%, #233f53 100%);
}
.collaborators{
    color: #fff;
    padding-top: 8%;
}
/* Top-level active menu item */
.navbar-nav > .active > .nav-link {
    color: #e0a13c !important;
    font-weight: 600;
}

/* Submenu background and item color */
.dropdown-menu .dropdown-item {
    color:#112e52; /* Yellow text */
}

/* Hover effect */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #029598; /* Darker blue */
    color: #fff; /* Optional white on hover */
}

/* Active submenu item */
.dropdown-menu .active > .dropdown-item {
    background-color: #029598;
    color: #ffffff !important;
    font-weight: 600;
}

/* Support for third-level submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
}
.contact-info-area h2{
    margin-bottom: 20px;
}
.contact-info-area h2:not(:first-of-type){
    margin-top: 35px;
    margin-bottom: 35px;
}
.news-meta-item{
    font-size: 14px;
    margin-bottom: 10px;
    color: #838080;
}
.contact-info-area h3{
    font-size: 20px !important;
    font-weight: bolder;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #183360;
}
.gallery-first p,
.year-gallery p{
    text-align: center;
    margin-top: 10px;
}
.news-scroller .news-item p{
 color: #fff !important;   
}
/* Optional: Add hover behavior for desktop */
@media (min-width: 992px) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }

}
 @media (min-width: 200px) and (max-width: 1000px) {
     .gradient-text{
         font-size: 15px;
     }
     .logo-title small{
         font-size: 15px;
     }
.top-header{
    display: none;
}
.filament-tiptap-grid, .filament-tiptap-grid-builder{
        display: contents !important;
}
p,
h2{
   text-align: left; 
}
 }
 /* 03-07-2025 */
 #connection ul{
    column-count: 2; 
 }
 .our-philosophy .box-equal{
    min-height: 320px; 
 }