:root {
    --primary-blue: #0b6bb5;
    --secondary-blue: #1e88e5;
    --accent-orange: #ff7800;
    --light-blue: #c2e2fb;
    --dark-blue: #000d6d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Add to your CSS file */
* {
    scroll-behavior: smooth;
}

/* Prevent any layout shifts */
html {
    scroll-padding-top: 80px; /* Adjust based on your navbar height */
}

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Momo+Trust+Display&display=swap');

/* Force GPU acceleration for smoother animations */
.scrolled .logo-section,
.scrolled .main-navbar {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

a:hover{
    text-decoration: none!important;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-blue);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.whatsapp-float {
    position: fixed;
    bottom: 230px;
    right: 0px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    z-index: 1000;
    transition: var(--transition);
    animation: float 3s ease-in-out; /* Removed "infinite" */

}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    text-decoration: none;
    color: #fff;
}

.modern-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative; /*sticky*/
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
}

.motto {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
}

.top-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.top-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-links a:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.modern-search {
    position: relative;
}

.modern-search input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
}

.modern-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
}

.main-navbar {
    padding: 15px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%)!important;
}

/*.logo {
    height: 150px;
}*/

.affiliation img {
    height: 130px;
/*    background: #e4eef5;*/
    border-radius: 25px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 10px!important;
    transition: var(--transition);
    position: relative;
}

/*.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}*/

/*.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}*/

/*.navbar-nav .nav-link:hover::after {
    width: calc(100% - 40px);
}*/

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 10px;
}


.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background: rgba(0, 0, 0, 0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-blue);
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-orange) !important;
    opacity: 1;
}

.announcements-section {
    background: var(--light-blue);
}

.announcement-ticker {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ticker-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.ticker-content {
    padding: 15px 25px;
    background: var(--white);
}

.ticker-content a {
    color: var(--primary-blue);
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition);
}

.ticker-content a:hover {
    color: var(--accent-orange);
}

.ticker-separator {
    color: var(--medium-gray);
}

.welcome-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.welcome-card:hover {
    transform: translateY(-10px);
}

.card-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    position: relative;
}

.section-title {
    font-size: 1.5rem;
    margin: 0;
    color: inherit;
}

.new-badge {
    position: absolute;
    top: 15px;
    right: 12px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-body {
    padding: 30px;
}

.vc-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 5px solid var(--light-blue);
}

.vc-name {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.vc-message {
    color: var(--medium-gray);
    margin-bottom: 20px;
    text-align: justify;
}

.btn-read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--accent-orange);
    gap: 15px;
}

.quick-link-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-decoration: none;
    display: block;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-10px);
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.quick-link-card:hover .card-icon {
    transform: scale(1.2);
    color: var(--accent-orange);
}

.quick-link-card h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
    transition: var(--transition);
}

.quick-link-card:hover h3 {
    color: var(--primary-blue);
}

.quick-link-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.link-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: var(--primary-blue);
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.quick-link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.news-section {
    background: var(--light-gray);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-orange);
    gap: 15px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(11, 107, 181, 0.9);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--accent-orange);
    gap: 15px;
}

.campus-life-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.campus-card {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campus-card:hover img {
    transform: scale(1.1);
}

.campus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.campus-card:hover .campus-overlay {
    transform: translateY(0);
}

.campus-overlay h3 {
    color: var(--white);
    margin: 0;
}

.testimonials-section {
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.testimonial-info h4 {
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.testimonial-body {
    position: relative;
}

.quote-icon {
    color: var(--primary-blue);
    font-size: 2rem;
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-body p {
    color: var(--medium-gray);
    font-style: italic;
    margin: 0;
    padding-left: 20px;
}

.partners-section {
    background: var(--white);
}

.partner-logo {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
/*    filter: grayscale(100%);*/
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.stat-card {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.modern-footer {
    background: var(--dark-gray);
    color: var(--white);
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-orange);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem !important;
}

.footer-links a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--accent-orange);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 25px;
    width: 45px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-blue);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem !important;
}

.powered-by {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem !important;
}

.powered-by a {
    color: var(--accent-orange);
    text-decoration: none;
    font-size: 0.9rem !important;
}

.powered-by a:hover {
    text-decoration: underline;
}

.mobile-show {
    display: none;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .mobile-show {
        display: block;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .social-links {
        justify-content: left;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .welcome-card,
    .quick-link-card,
    .news-card {
        margin-bottom: 20px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
}

@media print {
    .whatsapp-float,
    .preloader {
        display: none !important;
    }
}

/* Logo Section */
.logo-section {
  padding: 15px 0;
  background: var(--white);
}

.logo-link {
  display: inline-block;
}


/* Multi-level dropdowns */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -10px;
  margin-left: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > .dropdown-item::after {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 15px;
}

.dropdown-submenu > .dropdown-toggle::after {
  display: none;
}

.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  padding: 0;
  min-width: 250px;
}

.navbar-nav .dropdown-item {
  padding: 6px 10px;
  color: var(--dark-gray);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .dropdown-item:hover {
  background: var(--light-blue);
  color: var(--primary-blue);
  padding-left: 25px;
}

/* Main Content Tabs */
.section-tabs {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.nav-tabs {
  border-bottom: none;
  background: var(--primary-blue);
  padding: 0;
  margin: 0;
}

.nav-tabs .nav-link {
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 15px 25px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  background: transparent;
}

.nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}



.nav-tabs .nav-link.active {
  background: var(--white);
  color: var(--primary-blue);
}

.nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-orange);
}

.tab-content {
  padding: 25px;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tab-header h3 {
  color: var(--primary-blue);
  margin: 0;
}

.news-grid .news-item {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.news-grid .news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.news-grid .news-image {
  height: 200px;
  overflow: hidden;
}

.news-grid .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-grid .news-item:hover .news-image img {
  transform: scale(1.1);
}

.news-grid .news-content {
  padding: 20px;
}

.news-grid .news-content h4 {
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-meta {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.news-meta i {
  margin-right: 5px;
}

.news-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.news-link:hover {
  color: var(--accent-orange);
  gap: 12px;
}

/* Announcements List */
.announcements-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.announcement-item {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.announcement-item:hover {
  background: var(--light-blue);
  transform: translateX(5px);
}

.announcement-content h5 {
  color: var(--dark-gray);
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

.btn-read {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-read:hover {
  background: var(--accent-orange);
  color: var(--white);
}

/* Upcoming Events */
.events-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.event-item {
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: var(--border-radius);
/*  padding: 10px;*/
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.event-item:hover {
  border-color: var(--primary-blue);
  transform: translateX(5px);
}

.event-date {
  background: var(--primary-blue);
  color: var(--white);
  padding: 5px;
  border-radius: var(--border-radius);
  text-align: center;
  min-width: 80px;
}

.event-month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: bold;
}

.event-day {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
}

.event-year {
  display: block;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: bold;
}

.event-details {
  flex: 1;
}

.event-details h4 {
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.event-details p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.event-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.event-link:hover {
  color: var(--accent-orange);
}

/* Video Section */
.video-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  padding: 20px;
  text-align: center;
}

.video-caption h5 {
  color: var(--dark-gray);
  margin: 0;
  font-size: 1rem;
}

/* Quick Links Swiper */
.quick-link-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 10px!important;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.quick-link-item:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.quick-link-item:hover .quick-icon,
.quick-link-item:hover h4,
.quick-link-item:hover .quick-link {
  color: var(--white);
}

.quick-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  transition: var(--transition);
}

.quick-link-item h4 {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.quick-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.quick-link-item:hover .quick-link {
  color: var(--white);
  text-decoration: none;
}

.quick-link:hover {
  gap: 12px;
}

/* Footer Bus Link */
.bus-link a {
  display: inline-block;
  background: var(--light-blue);
  color: var(--primary-blue);
  padding: 15px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
}

.bus-link a:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

.bus-link i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.bus-link small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* VC Card Links */
.card-links {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
}

.links-title {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--light-blue);
  padding-bottom: 10px;
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-list li {
  margin-bottom: 10px;
}

.links-list a {
  color: var(--dark-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.links-list a:hover {
  color: var(--primary-blue);
  padding-left: 10px;
}

.links-list a i {
  color: var(--primary-blue);
  width: 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  
  .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  
  .nav-tabs .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .event-item {
    flex-direction: column;
    text-align: center;
  }
  
  .event-date {
    min-width: 100px;
  }
}

@media (max-width: 768px) {
  .logo-section .row {
    text-align: center;
  }
  
  .affiliation {
    margin-top: 15px;
  }
  
  .modern-search {
    margin-top: 15px;
  }
  
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .nav-tabs .nav-link {
    white-space: nowrap;
  }
  
  .announcement-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .section-tabs {
    margin-top: 20px;
  }
  
  .news-grid .col-md-6 {
    margin-bottom: 20px;
  }
}

/* Animation Classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fadeIn { animation-name: fadeIn; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp { animation-name: fadeInUp; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInDown { animation-name: fadeInDown; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInLeft { animation-name: fadeInLeft; }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInRight { animation-name: fadeInRight; }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% { opacity: 1; }
}

.zoomIn { animation-name: zoomIn; }

@keyframes slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to { transform: translate3d(0, 0, 0); }
}

.slideInLeft { animation-name: slideInLeft; }

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to { transform: translate3d(0, 0, 0); }
}

.slideInRight { animation-name: slideInRight; }

@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to { transform: translate3d(0, 0, 0); }
}

.slideInUp { animation-name: slideInUp; }

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to { transform: translate3d(0, 0, 0); }
}

.slideInDown { animation-name: slideInDown; }

@keyframes flipInX {
    from {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        animation-timing-function: ease-in;
    }
    60% {
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    to { transform: perspective(400px); }
}

.flipInX { 
    animation-name: flipInX;
    backface-visibility: visible !important;
}

@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% { transform: scale3d(1.1, 1.1, 1.1); }
    40% { transform: scale3d(0.9, 0.9, 0.9); }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% { transform: scale3d(0.97, 0.97, 0.97); }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.bounceIn { animation-name: bounceIn; }

@keyframes pulse {
    from { transform: scale3d(1, 1, 1); }
    50% { transform: scale3d(1.05, 1.05, 1.05); }
    to { transform: scale3d(1, 1, 1); }
}

.pulse { animation-name: pulse; }

@keyframes flash {
    from, 50%, to { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.flash { animation-name: flash; }

@keyframes rubberBand {
    from { transform: scale3d(1, 1, 1); }
    30% { transform: scale3d(1.25, 0.75, 1); }
    40% { transform: scale3d(0.75, 1.25, 1); }
    50% { transform: scale3d(1.15, 0.85, 1); }
    65% { transform: scale3d(0.95, 1.05, 1); }
    75% { transform: scale3d(1.05, 0.95, 1); }
    to { transform: scale3d(1, 1, 1); }
}

.rubberBand { animation-name: rubberBand; }

@keyframes shake {
    from, to { transform: translate3d(0, 0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate3d(-10px, 0, 0); }
    20%, 40%, 60%, 80% { transform: translate3d(10px, 0, 0); }
}

.shake { animation-name: shake; }

.infinite { animation-iteration-count: infinite; }

/* Preloader with more animation */
.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-blue);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite, colorChange 2s ease-in-out infinite;
}

.preloader-text {
    margin-top: 20px;
    color: var(--primary-blue);
    font-weight: bold;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes colorChange {
    0%, 100% { border-top-color: var(--primary-blue); }
    50% { border-top-color: var(--accent-orange); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Enhanced dropdown menus */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
    display: none;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.3s ease;
}

.dropdown-submenu > .dropdown-toggle::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    border: none;
    vertical-align: middle;
    margin-left: 5px;
}

/* Mobile dropdown fix */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        display: none;
        padding-left: 30px;
    }
    
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown-submenu > .dropdown-toggle::after {
        position: absolute;
        right: 15px;
    }
}

/* Enhanced hover effects */
.news-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 107, 181, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover .news-overlay {
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.view-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.news-item:hover .view-text {
    transform: translateY(0);
    animation: fadeInUp 0.3s ease;
}

/* Enhanced button animations */
.btn-hero {
    animation: pulse 2s infinite;
}

.btn-hero:hover {
    animation: rubberBand 0.8s;
    transform: scale(1.05);
}

/* Enhanced card animations */


.vc-card-body {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Enhanced tab animations */
.nav-tabs .nav-link {
    position: relative;
    overflow: hidden;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-orange);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link.active::before {
    transform: translateX(0);
    animation: slideInRight 0.3s ease;
}

/* Enhanced modal animations */
.modal.fade .modal-dialog {
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
    animation: zoomIn 0.3s ease;
}

/* Floating animations for elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}



@keyframes particles {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Glowing effects */
.glow {
    box-shadow: 0 0 20px rgba(11, 107, 181, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(11, 107, 181, 0.3); }
    to { box-shadow: 0 0 30px rgba(11, 107, 181, 0.6), 0 0 40px rgba(11, 107, 181, 0.4); }
}

/* Ripple effect for buttons */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.ripple:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Text typing effect */
.typing-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-blue);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-blue); }
}

/* Loading bar animation */
.loading-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    width: 0;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

/* Hover 3D effect */
.hover-3d {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.hover-3d:hover {
    transform: rotateY(10deg) rotateX(5deg) translateZ(20px);
}

@media (min-width: 1200px) {

    .container {

        max-width: 1175px;

    }

}

@media (min-width: 1300px) {

    .container {

        max-width: 1275px;

    }

}

@media (min-width: 1400px) {

    .container {

        max-width: 1375px;

    }

}

@media (min-width: 1500px) {

    .container {

        max-width: 1450px;

    }

}

/* Fix for dropdown menus */
.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}

@media (max-width: 992px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}

/* Fix for tabs */
.nav-tabs .nav-link.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 20px;
    border-radius: 0 0 4px 4px;
}

/* Add to modern-main.css */
.nav-tabs .nav-link {
  cursor: pointer;
}

.nav-tabs .nav-link[data-toggle="tab"] {
  pointer-events: auto;
}

/* Fix tab content animations */
/*.tab-pane {
  min-height: 500px;
}*/

/* Fix for tab content */
.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-orange);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.element-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.element-2 {
  width: 150px;
  height: 150px;
  bottom: 30%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

.element-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 80%;
  animation: float 7s ease-in-out infinite;
}

/* Swiper enhancements */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.2);
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px!important;
  color: var(--white);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: var(--white) !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--accent-orange) !important;
  opacity: 1;
  transform: scale(1.2);
}



/* Enhanced dropdown menus */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
  display: none;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(0);
  animation: slideInRight 0.3s ease;
}

.dropdown-submenu > .dropdown-toggle::after {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  border: none;
  vertical-align: middle;
  margin-left: 5px;
  float: right;
}

/* Mobile dropdown fix */
@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    display: none;
    padding-left: 30px;
  }
  
  .dropdown-submenu.show > .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  .dropdown-submenu > .dropdown-toggle::after {
    position: absolute;
    right: 15px;
  }
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 600px;
    }
}

/* ===== MOBILE SIDE MENU STYLES ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
}

.mobile-side-menu.active {
    left: 0;
}

.mobile-menu-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-orange);
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--white);
}

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-mobile-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 0;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Main menu items */
.mobile-menu-nav > .mobile-menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-item > .mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-item > .mobile-menu-link:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 25px;
}

.mobile-menu-item > .mobile-menu-link.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* Submenu indicator */
.has-submenu .mobile-menu-link::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-submenu .mobile-menu-link.active::after {
    transform: rotate(180deg);
    color: var(--white);
}

/* Submenu (level 1) */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(11, 107, 181, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-submenu.active {
    max-height: 1000px;
}

.mobile-submenu .mobile-menu-link {
    padding: 12px 20px 12px 30px;
    color: var(--dark-gray);
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-submenu .mobile-menu-link:hover {
    background: rgba(11, 107, 181, 0.1);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    padding-left: 35px;
}

/* Sub-submenu (level 2) */
.mobile-subsubmenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 120, 0, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-subsubmenu.active {
    max-height: 1000px;
}

.mobile-subsubmenu .mobile-menu-link {
    padding: 10px 20px 10px 45px;
    color: var(--dark-gray);
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-subsubmenu .mobile-menu-link:hover {
    background: rgba(255, 120, 0, 0.1);
    color: var(--accent-orange);
    border-left-color: var(--accent-orange);
    padding-left: 50px;
}

/* Differentiate between menu levels */
/* Main items get primary color accent */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link {
    border-left: 4px solid var(--primary-blue);
}

/* Submenu items get lighter accent */
.mobile-submenu .mobile-menu-link {
    border-left-color: rgba(11, 107, 181, 0.3);
}

/* Sub-submenu items get accent color */
.mobile-subsubmenu .mobile-menu-link {
    border-left-color: rgba(255, 120, 0, 0.3);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(11, 107, 181, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.mobile-menu-toggle:hover {
    background: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 120, 0, 0.3);
}

/* Logo animations */
.logo-link img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/*.logo-link img:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 5px 15px rgba(11, 107, 181, 0.3));
}*/

/* Affiliation logo animation */
.affiliation img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/*.affiliation img:hover {
    transform: scale(1.05) translateY(-3px);
    filter: drop-shadow(0 5px 15px rgba(11, 107, 181, 0.3));
}*/

/* Logo entrance animation */
.logo {
    animation: logoEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.affiliation img {
    animation: affiliationEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes affiliationEntrance {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Show mobile menu toggle only on mobile */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navbar {
        display: none !important;
    }
    
    .logo-section {
        padding: 10px 0;
    }
    
   /* .logo {
        height: 120px;
        max-width: 100%;
    }*/
    
    .affiliation img {
        height: 100px;
        max-width: 100%;
    }
}
/* tab */
@media (min-width: 768px) and (max-width: 834px) {
    
    .affiliation img {
        height: auto!important;
        max-width: 100%;
    }
    #site-search {
        margin: 20px 0 15px;
    }
    .motto {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
/*    .logo {
        height: 100px;
    }*/
    
    .affiliation img {
        height: 80px;
    }
    
    .mobile-side-menu {
        width: 85%;
        left: -85%;
    }
    
    .mobile-menu-toggle {
        top: 35%!important;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 389px) {


    .mobile-menu-toggle {
        top: 40%!important;
    }
}

/* Add pulse animation for active submenus */
.mobile-menu-item.has-submenu.active > .mobile-menu-link {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    box-shadow: inset 5px 0 0 var(--accent-orange);
}

/* Add subtle animation to all menu items */
.mobile-menu-link {
    animation: fadeInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

/* Stagger animation delays for menu items */
.mobile-menu-nav > .mobile-menu-item:nth-child(1) > .mobile-menu-link { animation-delay: 0.1s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(2) > .mobile-menu-link { animation-delay: 0.15s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(3) > .mobile-menu-link { animation-delay: 0.2s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(4) > .mobile-menu-link { animation-delay: 0.25s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(5) > .mobile-menu-link { animation-delay: 0.3s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(6) > .mobile-menu-link { animation-delay: 0.35s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(7) > .mobile-menu-link { animation-delay: 0.4s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(8) > .mobile-menu-link { animation-delay: 0.45s; }
.mobile-menu-nav > .mobile-menu-item:nth-child(9) > .mobile-menu-link { animation-delay: 0.5s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure mobile menu button is visible and positioned correctly */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    bottom: 100px;
    top: 28%;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9990; /* Higher z-index */
    box-shadow: 0 4px 20px rgba(11, 107, 181, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.mobile-menu-toggle.show {
    display: flex !important;
}

/* Higher z-index for mobile menu elements */
.mobile-menu-overlay {
    z-index: 9998;
}

.mobile-side-menu {
    z-index: 9999;
}

/* Hide on desktop */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Submenu arrow indicators */
.submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.submenu-arrow i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.has-submenu .mobile-menu-link.active .submenu-arrow i {
    transform: rotate(90deg);
}

/* Different arrow for different levels */
.mobile-submenu .has-submenu .submenu-arrow i {
    font-size: 0.7rem;
}

.mobile-subsubmenu .has-submenu .submenu-arrow i {
    font-size: 0.65rem;
}

/* Enhanced differentiation between menu levels */

/* Level 1: Main menu items */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link {
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(to right, rgba(11, 107, 181, 0.05), transparent);
}

/* Level 2: Submenu items */
.mobile-submenu .mobile-menu-link {
    border-left: 3px solid rgba(11, 107, 181, 0.5);
    font-weight: 500;
    font-size: 0.95rem;
    background: linear-gradient(to right, rgba(11, 107, 181, 0.03), transparent);
}

/* Level 3: Sub-submenu items */
.mobile-subsubmenu .mobile-menu-link {
    border-left: 2px solid rgba(255, 120, 0, 0.5);
    font-weight: 400;
    font-size: 0.9rem;
    background: linear-gradient(to right, rgba(255, 120, 0, 0.03), transparent);
}

/* Icon colors for different levels */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

.mobile-submenu .mobile-menu-link i {
    color: rgba(11, 107, 181, 0.7);
    width: 18px;
    text-align: center;
}

.mobile-subsubmenu .mobile-menu-link i {
    color: rgba(255, 120, 0, 0.7);
    width: 16px;
    text-align: center;
}

/* Active state colors */
.mobile-menu-item > .mobile-menu-link.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
    color: var(--white) !important;
    border-left-color: var(--accent-orange) !important;
}

.mobile-menu-item > .mobile-menu-link.active i {
    color: var(--white) !important;
}

/* Hover states with different colors */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link:hover {
    background: linear-gradient(to right, rgba(11, 107, 181, 0.1), transparent);
    color: var(--primary-blue);
}

.mobile-submenu .mobile-menu-link:hover {
    background: linear-gradient(to right, rgba(11, 107, 181, 0.08), transparent);
    color: var(--primary-blue);
}

.mobile-subsubmenu .mobile-menu-link:hover {
    background: linear-gradient(to right, rgba(255, 120, 0, 0.08), transparent);
    color: var(--accent-orange);
}

/* Indentation levels with subtle background colors */
.mobile-submenu {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.02) 0%, rgba(11, 107, 181, 0.01) 50%, transparent 100%);
}

.mobile-subsubmenu {
    background: linear-gradient(90deg, rgba(255, 120, 0, 0.02) 0%, rgba(255, 120, 0, 0.01) 50%, transparent 100%);
}

/* Add subtle separators between main items */
.mobile-menu-nav > .mobile-menu-item {
    position: relative;
}

.mobile-menu-nav > .mobile-menu-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.2), transparent);
}

.mobile-menu-nav > .mobile-menu-item:last-child:after {
    display: none;
}

/* ===== MOBILE SIDE MENU FIXES ===== */
.mobile-menu-toggle {
    position: absolute;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9990;
    box-shadow: 0 4px 20px rgba(11, 107, 181, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    display: none; /* Hidden by default */
    opacity: 0;
    animation: fadeInButton 0.5s ease forwards 1s;
}

@keyframes fadeInButton {
    to {
        opacity: 1;
    }
}

/* Show only on mobile */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex !important;
        opacity: 1;
    }
}

.mobile-menu-toggle:hover {
    background: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 120, 0, 0.3);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
}

.mobile-side-menu.active {
    left: 0;
}

.mobile-menu-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-orange);
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-mobile-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 0;
    height: calc(100% - 72px);
    overflow-y: auto;
}

/* Submenu arrow styles */
.submenu-arrow {
    margin-left: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.submenu-arrow i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Differentiate between menu levels with better visual cues */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link {
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    background: rgba(11, 107, 181, 0.03);
    position: relative;
}

.mobile-submenu .mobile-menu-link {
    border-left: 3px solid rgba(11, 107, 181, 0.4);
    font-weight: 500;
    background: rgba(11, 107, 181, 0.02);
    position: relative;
}

.mobile-subsubmenu .mobile-menu-link {
    border-left: 2px solid rgba(255, 120, 0, 0.4);
    font-weight: 400;
    background: rgba(255, 120, 0, 0.02);
    position: relative;
}

/* Add subtle background stripes for different levels */
.mobile-menu-nav > .mobile-menu-item:nth-child(odd) > .mobile-menu-link {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.03) 0%, transparent 100%);
}

.mobile-menu-nav > .mobile-menu-item:nth-child(even) > .mobile-menu-link {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.02) 0%, transparent 100%);
}

.mobile-submenu .mobile-menu-item:nth-child(odd) .mobile-menu-link {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.02) 0%, transparent 100%);
}

.mobile-submenu .mobile-menu-item:nth-child(even) .mobile-menu-link {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.015) 0%, transparent 100%);
}

.mobile-subsubmenu .mobile-menu-item:nth-child(odd) .mobile-menu-link {
    background: linear-gradient(90deg, rgba(255, 120, 0, 0.02) 0%, transparent 100%);
}

.mobile-subsubmenu .mobile-menu-item:nth-child(even) .mobile-menu-link {
    background: linear-gradient(90deg, rgba(255, 120, 0, 0.015) 0%, transparent 100%);
}

/* Active states */
.mobile-menu-link.active {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue)) !important;
    color: var(--white) !important;
    border-left-color: var(--accent-orange) !important;
}

.mobile-menu-link.active i,
.mobile-menu-link.active .submenu-arrow i {
    color: var(--white) !important;
}

/* Hover states */
.mobile-menu-link:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Ensure mobile menu works on all mobile devices */
@media (max-width: 991px) {
    .main-navbar {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .mobile-side-menu {
        width: 85%;
        left: -85%;
    }
    
    .mobile-menu-toggle {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== DESKTOP MENU ARROWS & DIFFERENTIATION ===== */

/* Add arrows to desktop dropdown items with submenus */
.dropdown-submenu > .dropdown-toggle::after {
    content: '\f054' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    border: none !important;
    vertical-align: middle !important;
    margin-left: 5px !important;
    float: right !important;
    transition: transform 0.3s ease !important;
}

.dropdown-submenu.show > .dropdown-toggle::after {
    transform: rotate(90deg) !important;
}

/* Differentiate between main menu and submenu items */
.navbar-nav > .nav-item > .nav-link {
    position: relative;
    font-weight: 600;
/*    text-transform: uppercase;*/
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-family: "Momo Trust Display", sans-serif;
    padding: 6px!important;

}

.mega-menu-link {
    font-family: "Momo Trust Display", sans-serif!important;
    font-size: 0.9rem;

}

/* Level 1: Main dropdown items */
.navbar-nav .dropdown-menu > .dropdown-item {
    font-weight: 500;
    padding: 8px 20px !important;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(11, 107, 181, 0.02);
}

.navbar-nav .dropdown-menu > .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.1), transparent) !important;
    color: var(--primary-blue) !important;
    border-left-color: var(--primary-blue) !important;
    padding-left: 25px !important;
}

/* Level 2: First submenu items */
.dropdown-submenu > .dropdown-menu > .dropdown-item {
    font-weight: 500;
    padding: 8px 20px 8px 30px !important;
    border-left: 3px solid rgba(11, 107, 181, 0.3);
    background: rgba(11, 107, 181, 0.03);
    font-size: 0.95rem;
}

.dropdown-submenu > .dropdown-menu > .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.08), transparent) !important;
    color: var(--primary-blue) !important;
    border-left-color: var(--primary-blue) !important;
    padding-left: 35px !important;
}

/* Level 3: Second submenu items (nested submenus) */
.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu > .dropdown-item {
    font-weight: 400;
    padding: 8px 20px 8px 40px !important;
    border-left: 3px solid rgba(255, 120, 0, 0.3);
    background: rgba(255, 120, 0, 0.02);
    font-size: 0.9rem;
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu > .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(255, 120, 0, 0.08), transparent) !important;
    color: var(--accent-orange) !important;
    border-left-color: var(--accent-orange) !important;
    padding-left: 45px !important;
}

/* Different background patterns for odd/even items */
.navbar-nav .dropdown-menu > .dropdown-item:nth-child(odd) {
    background: rgba(11, 107, 181, 0.03);
}

.navbar-nav .dropdown-menu > .dropdown-item:nth-child(even) {
    background: rgba(11, 107, 181, 0.01);
}

.dropdown-submenu > .dropdown-menu > .dropdown-item:nth-child(odd) {
    background: rgba(11, 107, 181, 0.04);
}

.dropdown-submenu > .dropdown-menu > .dropdown-item:nth-child(even) {
    background: rgba(11, 107, 181, 0.02);
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu > .dropdown-item:nth-child(odd) {
    background: rgba(255, 120, 0, 0.03);
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu > .dropdown-item:nth-child(even) {
    background: rgba(255, 120, 0, 0.01);
}

/* Icon colors for different levels */
.navbar-nav .dropdown-menu > .dropdown-item i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
    margin-right: 8px;
    font-size: 0.9rem;
}

.dropdown-submenu > .dropdown-menu > .dropdown-item i {
    color: rgba(11, 107, 181, 0.7);
    width: 18px;
    text-align: center;
    margin-right: 8px;
    font-size: 0.85rem;
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu > .dropdown-item i {
    color: rgba(255, 120, 0, 0.7);
    width: 16px;
    text-align: center;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Different border colors for nested dropdown menus */
.dropdown-submenu > .dropdown-menu {
    border-left: 2px solid rgba(11, 107, 181, 0.1);
    margin-left: 1px !important;
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu {
    border-left: 2px solid rgba(255, 120, 0, 0.1);
    margin-left: 1px !important;
}

/* Add subtle shadow depth effect */
.navbar-nav .dropdown-menu {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(11, 107, 181, 0.1);
}

.dropdown-submenu > .dropdown-menu {
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu {
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.08);
}

/* Arrow indicators for submenu items */
.dropdown-submenu > .dropdown-toggle .dropdown-arrow {
    position: absolute;
    right: 10px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.dropdown-submenu.show > .dropdown-toggle .dropdown-arrow {
    transform: rotate(90deg);
    color: var(--primary-blue);
}

/* Add subtle hover effect for main nav items */
/*.navbar-nav .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-item:hover > .nav-link::before {
    width: 80%;
}*/

/* Add separator lines between dropdown items */
.navbar-nav .dropdown-menu > .dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-submenu > .dropdown-menu > .dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(11, 107, 181, 0.1);
}

.dropdown-submenu > .dropdown-menu .dropdown-submenu > .dropdown-menu > .dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 120, 0, 0.1);
}

/* Active state for dropdown items */
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue)) !important;
    color: white !important;
    border-left-color: var(--accent-orange) !important;
}

.navbar-nav .dropdown-item.active i,
.navbar-nav .dropdown-item:active i {
    color: white !important;
}

/* ===== MOBILE MENU ENHANCEMENTS ===== */
/* Ensure mobile menu arrows are consistent */
.has-submenu .mobile-menu-link::after {
    content: '\f054' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 0.8rem !important;
    margin-left: auto !important;
    margin-right: 10px !important;
    transition: transform 0.3s ease !important;
}

.has-submenu .mobile-menu-link.active::after {
    transform: rotate(90deg) !important;
    color: var(--white) !important;
}

/* Mobile menu level differentiation */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link {
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.05), transparent);
    border-left: 4px solid var(--primary-blue);
    padding-left: 25px !important;
}

.mobile-submenu .mobile-menu-link {
    font-weight: 500;
    font-size: 0.95rem;
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.03), transparent);
    border-left: 3px solid rgba(11, 107, 181, 0.4);
    padding-left: 35px !important;
}

.mobile-subsubmenu .mobile-menu-link {
    font-weight: 400;
    font-size: 0.9rem;
    background: linear-gradient(90deg, rgba(255, 120, 0, 0.03), transparent);
    border-left: 2px solid rgba(255, 120, 0, 0.4);
    padding-left: 45px !important;
}

/* Icon styling for mobile */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.mobile-submenu .mobile-menu-link i {
    color: rgba(11, 107, 181, 0.7);
    width: 18px;
    text-align: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

.mobile-subsubmenu .mobile-menu-link i {
    color: rgba(255, 120, 0, 0.7);
    width: 16px;
    text-align: center;
    margin-right: 10px;
    font-size: 0.85rem;
}

/* Mobile menu hover effects */
.mobile-menu-link:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Remove the custom submenu arrow we added via JS for consistency */
.submenu-arrow {
    display: none !important;
}

/* Ensure desktop menu works properly on large screens */
@media (min-width: 992px) {
    /* Fix dropdown positioning */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        margin-left: 0;
    }
    
    /* Show dropdown on hover for desktop */
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Smooth transition for dropdowns */
    .dropdown-menu {
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(10px);
        display: block;
        pointer-events: none;
    }
    
    .dropdown.show > .dropdown-menu,
    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Hide mobile menu button on desktop */
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    /* Hide desktop menu on mobile */
    .main-navbar {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Adjust desktop dropdown styles for mobile view */
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
    }
}

/* Enhanced focus states for accessibility */
.navbar-nav .nav-link:focus,
.dropdown-item:focus,
.mobile-menu-link:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .mobile-menu-toggle,
    .mobile-side-menu,
    .mobile-menu-overlay,
    .navbar-nav .dropdown-menu {
        display: none !important;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Smooth transitions for menu opening/closing */
.mobile-side-menu,
.mobile-menu-overlay,
.dropdown-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced active states */
.navbar-nav .nav-item.active > .nav-link {
    color: var(--accent-orange) !important;
    font-weight: 600;
}

.navbar-nav .nav-item.active > .nav-link::before {
    width: 80%;
    background: var(--accent-orange);
}

/* ===== MODERN ANNOUNCEMENTS STYLES ===== */

.announcement-ticker {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.ticker-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.ticker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ticker-header i {
    font-size: 1.2rem;
    color: var(--accent-orange);
    animation: pulse 1.5s infinite;
}

/* Single announcement row styles */
.announcement-row {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.announcement-row .new-badge {
    position: relative;
    top: 0;
    right: 12px;
}

.announcement-row:last-child {
    border-bottom: none;
}

.announcement-row:hover {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.05), transparent);
    transform: translateX(5px);
}

.announcement-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.announcement-row:hover::before {
    transform: scaleY(1);
}

.announcement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(11, 107, 181, 0.2);
    transition: all 0.3s ease;
}

.announcement-row:hover .announcement-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(11, 107, 181, 0.3);
}

.announcement-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.announcement-content {
    flex: 1;
    min-width: 0; /* Prevents content from overflowing */
}

.announcement-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-title a:hover {
    color: var(--accent-orange);
}

.new-badge {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    animation: bounceIn 1s;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.announcement-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-meta-item i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.latest-announcement-date {
    color: var(--accent-orange);
    font-weight: 500;
}

.announcement-arrow {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.announcement-row:hover .announcement-arrow {
    background: var(--primary-blue);
    transform: translateX(5px);
}

.announcement-arrow i {
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.announcement-row:hover .announcement-arrow i {
    color: var(--white);
    transform: translateX(3px);
}

/* View all button */
.announcement-view-all {
    display: block;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.announcement-view-all:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(11, 107, 181, 0.3);
}

.announcement-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.announcement-view-all:hover i {
    transform: translateX(5px);
}

/* For smaller screens */
@media (max-width: 768px) {
    .announcement-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .announcement-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .announcement-content {
        width: 100%;
    }
    
    .announcement-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .announcement-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
    }
    
    .announcement-row:hover .announcement-arrow {
        transform: translateY(-50%) translateX(5px);
    }
}



/* ===== LIFE AT SXUK SLIDER SECTION ===== */
.life-at-sxuk-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.life-at-sxuk-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange), var(--primary-blue));
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.section-title-wrapper {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(11, 107, 181, 0.1);
}

.section-title-wrapper h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.section-title-wrapper h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 30px;
    background: var(--accent-orange);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
    padding-left: 20px;
}

.life-slider-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.life-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.life-slider-wrapper {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.life-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.life-slide-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.life-slide:hover .life-slide-img {
    transform: scale(1.05);
}

.life-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: var(--white);
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.life-slide-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
}

.life-slide-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    transform: translateY(0);
}

/* Navigation Arrows - Hidden by default, visible on hover */
.life-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
}

.life-slider-container:hover .life-slider-nav {
    opacity: 1;
    visibility: visible;
}

.life-slider-nav:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(11, 107, 181, 0.3);
}

.life-slider-nav.prev {
    left: 20px;
}

.life-slider-nav.next {
    right: 20px;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 3;
    backdrop-filter: blur(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .life-at-sxuk-section {
        padding: 20px 15px;
    }
    
    .life-slide-img {
        height: 300px;
    }
    
    .life-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .life-slide-caption {
        padding: 20px;
    }
    
    .life-slide-title {
        font-size: 1.2rem;
    }
    
    .life-slider-nav.prev {
        left: 15px;
    }
    
    .life-slider-nav.next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .life-slide-img {
        height: 250px;
    }
    
    .life-slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .life-slide-caption {
        padding: 15px;
    }
    
    .life-slide-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .life-slide-desc {
        font-size: 0.85rem;
    }
}

/* Animation for slide transitions */
@keyframes slideIn {
    from {
        opacity: 0.5;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.life-slide.active {
    animation: slideIn 0.8s ease;
}

/* Arrow visibility on mobile touch */
@media (hover: none) and (pointer: coarse) {
    .life-slider-nav {
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.7);
    }
}


/* ===== 1. Sticky Desktop Navbar ===== */
@media (min-width: 992px) {
    .modern-header {
        transition: all 0.3s ease;
    }
    
    .main-navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        /* Remove transition from here to prevent glitch */
    }
    
    .scrolled .logo-section {
        display: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }
    
    /* Apply transition only to the padding and background */
    .scrolled .main-navbar {
        padding: 5px 0 !important;
        background: rgba(11, 107, 181, 0.98) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: padding 0.3s ease, background 0.3s ease;
    }
    
    /* Smooth logo section transition */
    .logo-section {
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        max-height: 180px;
        opacity: 1;
        overflow: hidden;
    }
    
    /* Ensure navbar content remains centered */
    .navbar-collapse {
        transition: all 0.3s ease;
    }
    
    /* Smooth transition for nav items */
    .navbar-nav .nav-link {
        transition: color 0.3s ease, transform 0.3s ease;
    }
}

/* Fix for mobile devices */
@media (max-width: 991px) {
    .main-navbar {
        position: relative !important;
    }
    
    .logo-section {
        transition: none;
    }
}

/* Additional smoothness improvements */
.modern-header {
    will-change: transform;
}

/* Remove any conflicting transitions that might cause glitches */
.navbar-nav,
.container,
.row,
.col-lg-5,
.col-lg-7 {
    transition: none !important;
}

/* Ensure smooth transition for the entire header */
.modern-header {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== 2. Marquee Announcement ===== */
.announcement-title a {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px; /* Space for smooth loop */
    position: relative;
}


/* Add gradient fade effect at edges */
.announcement-title {
    position: relative;
    overflow: hidden;
}



/* ===== 3. Auto-switching Tabs ===== */
.section-tabs {
    position: relative;
}

/* Add indicator for auto-switching */
.nav-tabs .nav-link.active {
    position: relative;
    overflow: hidden;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-orange);
    animation: tabTimer 10s linear;
}

@keyframes tabTimer {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* ===== 4. Enhanced Footer Background ===== */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    overflow: hidden;
}

.footer-top {
    position: relative;
    z-index: 1;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(11, 107, 181, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 120, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 136, 229, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.modern-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        );
    z-index: 0;
}

.footer-widget {
    position: relative;
    z-index: 1;
}

/* Enhanced contact info */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Enhanced social links */
.social-links a {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(11, 107, 181, 0.3);
}

/* Enhanced bus link */
.bus-link a {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bus-link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.bus-link a:hover::before {
    left: 100%;
}

.bus-link a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 107, 181, 0.3);
}



/* Specific sections with custom scrollbar */
.announcements-list,
.events-list,
.tab-content, 
.testimonial-body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-blue);
}

.announcements-list::-webkit-scrollbar,
.events-list::-webkit-scrollbar,
.tab-content::-webkit-scrollbar,
.testimonial-body::-webkit-scrollbar,
 {
    width: 6px;
}

.announcements-list::-webkit-scrollbar-track,
.events-list::-webkit-scrollbar-track,
.testimonial-body::-webkit-scrollbar-track,
.tab-content::-webkit-scrollbar-track {
    background: rgba(11, 107, 181, 0.1);
    border-radius: 3px;
}

.announcements-list::-webkit-scrollbar-thumb,
.events-list::-webkit-scrollbar-thumb,
.testimonial-body::-webkit-scrollbar-thumb,
.tab-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-orange));
    border-radius: 3px;
}

/* ===== 7. Enhanced Top Bar ===== */
.top-bar {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite linear;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.top-bar .container {
    position: relative;
    z-index: 2;
}

.motto {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-left: 20px;
}

/*.motto::before {
    content: '✝';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--accent-orange);
}
*/
.top-links a {
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.top-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent-orange), transparent) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.top-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.top-links a:hover::before {
    opacity: 1;
}

.modern-search {
    position: relative;
}

.modern-search input {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modern-search input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.modern-search input:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: var(--accent-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.2) !important;
}

.modern-search button {
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.modern-search button:hover {
    color: var(--accent-orange) !important;
    transform: scale(1.1);
}

/* Enhanced Partners Section */
.partners-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(11, 107, 181, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 120, 0, 0.05) 0%, transparent 40%);
}

.partner-logo {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 107, 181, 0.1);
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 107, 181, 0.1), rgba(255, 120, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(11, 107, 181, 0.15),
        0 5px 20px rgba(255, 120, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
/*    filter: grayscale(100%) brightness(0.8);*/
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Floating animation for partner logos */
.partner-logo {
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.partner-logo:hover {
    animation: none;
}

/* Add shine effect on hover */
.partner-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 1;
}

.partner-logo:hover::after {
    opacity: 1;
    animation: shine 0.8s ease;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.scroll-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--white));
    pointer-events: none;
    z-index: 1;
}

.dropdown-menu.has-scroll {
    padding-bottom: 30px !important;
}

/* Ensure dropdown items appear above the fade */
.dropdown-menu .dropdown-item {
    position: relative;
    z-index: 2;
}



/* For very long texts */
.announcement-title a {
    min-width: max-content; /* Ensure text doesn't break */
}

/* Add to modern-main.css */
.tab-content > .tab-pane {
    transition: opacity 0.3s ease;
}

.tab-content > .active {
    animation: fadeIn 0.5s ease;
}

/* ===== ENHANCED VIDEO GALLERY SECTION ===== */
.video-section {
    background: linear-gradient(135deg, #0c1a3a 0%, #0b6bb5 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 120, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(11, 107, 181, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.video-section .container {
    position: relative;
    z-index: 1;
}

.video-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.video-section .section-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.video-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.video-section .view-all {
    color: var(--accent-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.video-section .view-all:hover {
    background: var(--accent-orange);
    color: var(--white);
/*    transform: translateY(-3px);*/
    box-shadow: 0 10px 20px rgba(255, 120, 0, 0.3);
}

/* Enhanced Video Cards */
.videoSwiper .swiper-slide {
    height: auto;
    padding: 20px;
}


.video-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    height: 100%;
    position: relative;
}

/*.video-card::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: linear-gradient(135deg, rgba(11, 107, 181, 0.3), rgba(255, 120, 0, 0.1));*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*    z-index: 1;*/
/*}*/

.video-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--accent-orange);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 120, 0, 0.2);
}

.video-card:hover::before {
    opacity: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

/*.video-wrapper::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5));*/
/*    z-index: 1;*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*}*/

.video-card:hover .video-wrapper::before {
    opacity: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transition: transform 0.5s ease;
}

.video-card:hover .video-wrapper iframe {
    transform: scale(1.05);
}

.video-caption {
    padding: 25px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

.video-caption h5 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    padding-left: 35px;
    transition: all 0.3s ease;
}

.video-caption h5::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.video-card:hover .video-caption h5 {
    color: var(--primary-blue);
    padding-left: 40px;
}

.video-card:hover .video-caption h5::before {
    transform: scale(1.2);
}


/*.video-wrapper::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    width: 70px;*/
/*    height: 70px;*/
/*    background: rgba(255, 120, 0, 0.9);*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    color: white;*/
/*    font-size: 1.8rem;*/
/*    cursor: pointer;*/
/*    z-index: 2;*/
/*    opacity: 0;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 10px 30px rgba(255, 120, 0, 0.3);*/
/*}*/

.video-card:hover .video-wrapper::after {
    opacity: 1;
    animation: pulsePlay 2s infinite;
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 120, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 120, 0, 0);
    }
}

/* Enhanced Swiper Navigation */
.videoSwiper .swiper-button-next,
.videoSwiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.videoSwiper .swiper-button-next:after,
.videoSwiper .swiper-button-prev:after {
    font-size: 20px;
    color: var(--white);
    font-weight: bold;
}

.videoSwiper .swiper-button-next:hover,
.videoSwiper .swiper-button-prev:hover {
    background: var(--accent-orange);
    transform: scale(1.1);
    border-color: var(--accent-orange);
}

.videoSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.videoSwiper .swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
    transform: scale(1.2);
}

/* ===== ENHANCED VIBRANT CAMPUS SECTION ===== */
.campus-life-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.campus-life-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%230b6bb5" opacity="0.1"/></svg>'),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-size: 100px 100px, cover;
    animation: floatBackground 20s linear infinite;
    z-index: 0;
}

@keyframes floatBackground {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 100px 100px, 0 0; }
}

.campus-life-section .container {
    position: relative;
    z-index: 1;
}

.campus-life-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.campus-life-section .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.campus-life-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 3px;
}

.campus-life-section .section-subtitle {
    color: var(--medium-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Campus Cards */
.campusSwiper .swiper-slide {
    height: auto;
    padding: 10px;
}

.campus-card {
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.campus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(11, 107, 181, 0.3), rgba(255, 120, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.campus-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(11, 107, 181, 0.1);
}

.campus-card:hover::before {
    opacity: 1;
}

.campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.campus-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

.campus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    transform: translateY(30px);
    transition: all 0.5s ease;
    z-index: 2;
}

.campus-card:hover .campus-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 13, 109, 0.9), transparent);
}

.campus-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.campus-overlay p {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.campus-card:hover .campus-overlay h3,
.campus-card:hover .campus-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Campus Icon */
.campus-card::after {
    content: '🏛️';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0;
    transform: translateY(-20px) scale(0.5);
    transition: all 0.5s ease 0.2s;
    z-index: 2;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.campus-card:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Explore Button */
.campus-explore-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-orange);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: all 0.4s ease;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(255, 120, 0, 0.3);
}

.campus-card:hover .campus-explore-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.campus-explore-btn:hover {
    background: var(--primary-blue);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(11, 107, 181, 0.4);
}

/* Enhanced Campus Swiper */
.campusSwiper .swiper-button-next,
.campusSwiper .swiper-button-prev {
    background: var(--white);
    color: var(--primary-blue);
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.campusSwiper .swiper-button-next:after,
.campusSwiper .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.campusSwiper .swiper-button-next:hover,
.campusSwiper .swiper-button-prev:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: scale(1.1);
}

.campusSwiper .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: var(--medium-gray);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.campusSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    opacity: 1;
    transform: scale(1.3);
}

/* ===== ENHANCED QUICK LINKS SECTION ===== */
.quick-links-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.quick-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, #0b6bb5 0%, #000d6d 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 L80,80 M80,20 L20,80" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></svg>');
    z-index: 0;
}

.quick-links-section .container {
    position: relative;
    z-index: 1;
}

.quick-links-section .section-header {
    text-align: center;
    margin-bottom: 15px;
}

.quick-links-section .section-title {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.quick-links-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Quick Link Items */
.quickLinksSwiper .swiper-slide {
    height: auto;
    padding: 10px;
}

.quick-link-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 20px!important;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange), var(--primary-blue));
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.quick-link-item:hover {
  /*  transform: translateY(-20px) scale(1.05);*/
    background: linear-gradient(135deg, var(--white), #f0f8ff);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(11, 107, 181, 0.1);
}

.quick-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.quick-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.8s ease;
}

.quick-link-item:hover .quick-icon {
    background: linear-gradient(135deg, var(--accent-orange), #ff5500);
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 120, 0, 0.3);
}

.quick-link-item:hover .quick-icon::before {
    animation: iconShine 1s ease;
}

@keyframes iconShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.quick-icon i {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.quick-link-item:hover .quick-icon i {
    transform: scale(1.2) rotate(-180deg);
}

.quick-link-item h4 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.quick-link-item:hover h4 {
    color: var(--primary-blue);
    transform: translateY(-5px);
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 25px;
    background: rgba(255, 120, 0, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.quick-link:hover::before {
    left: 100%;
}

.quick-link:hover {
    background: linear-gradient(135deg, var(--accent-orange), #ff5500);
    color: var(--white);
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(255, 120, 0, 0.3);
}

.quick-link i {
    transition: transform 0.3s ease;
}

.quick-link:hover i {
    transform: translateX(5px);
}

/* Background shapes for visual interest */
.quick-links-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

/* Enhanced Swiper for Quick Links */
.quickLinksSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.quickLinksSwiper .swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
    transform: scale(1.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .video-section .section-title,
    .campus-life-section .section-title,
    .quick-links-section .section-title {
        font-size: 2.2rem;
    }
    
    .video-card,
    .campus-card {
        height: 350px;
    }
    
    .quick-icon {
        width: 80px;
        height: 80px;
    }
    
    .quick-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .video-section,
    .campus-life-section,
    .quick-links-section {
        padding: 60px 0;
    }
    
    .video-section .section-title,
    .campus-life-section .section-title,
    .quick-links-section .section-title {
        font-size: 1.8rem;
    }
    
    .campus-overlay {
        padding: 25px 20px;
    }
    
    .campus-overlay h3 {
        font-size: 1.4rem;
    }
    
    .quick-link-item {
        padding: 30px 20px;
    }
    
    .quick-link-item h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .video-section .section-title,
    .campus-life-section .section-title,
    .quick-links-section .section-title {
        font-size: 1.6rem;
    }
    
    .video-card,
    .campus-card {
        height: 300px;
    }
    
    .campus-explore-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .quick-link {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* ===== COMPACT CONTACT INFO SECTION ===== */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
   /* height: 100%;
    min-height: 380px; */
    display: flex;
    flex-direction: column;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Compact contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: var(--accent-orange);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    background: rgba(255, 120, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--accent-orange);
    color: var(--white);
    transform: scale(1.1);
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    color: var(--accent-orange);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Compact bus link */
.bus-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(11, 107, 181, 0.2), rgba(255, 120, 0, 0.1));
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto; /* Push to bottom */
}

.bus-link a i {
    font-size: 1.2rem;
    color: var(--accent-orange);
    transition: all 0.3s ease;
}

.bus-link a span {
    font-weight: 500;
    font-size: 0.9rem;
}

.bus-link a small {
    display: none; /* Hide the extra text */
}

/*.bus-link a:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 120, 0, 0.2);
}

.bus-link a:hover i {
    color: var(--white);
    transform: rotate(-10deg);
}*/

/* Ensure all footer columns have equal height */
@media (min-width: 768px) {
    .footer-widget {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .footer-links {
        flex: 1;
    }
    
    .contact-info {
        flex: 1;
    }
}

/* Adjust for smaller screens */
@media (max-width: 991px) {
    .contact-info {
        min-height: auto;
    }
    
    .contact-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
}

/* Further compact for very small screens */
@media (max-width: 576px) {
    .contact-info {
        padding: 15px;
    }
    
    .contact-item {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .contact-item i {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .contact-item strong {
        font-size: 0.85rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .bus-link a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Make sure all footer columns are balanced */
.modern-footer .row {
    display: flex;
    flex-wrap: wrap;
}

.modern-footer .col-lg-3 {
    display: flex;
    flex-direction: column;
}

/* Adjust footer links for consistent height */
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

/* Add subtle animation to contact items */
@keyframes fadeInUpContact {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item {
    animation: fadeInUpContact 0.5s ease forwards;
    opacity: 0;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

/* ===== ENHANCED STUDENTS TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 40px 0 20px 0!important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,50 Q100,0 100,100" fill="%230b6bb5" opacity="0.03"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ff7800" opacity="0.05"/></svg>');
    background-size: 300px 300px, 150px 150px;
    background-position: 10% 10%, 90% 90%;
    animation: floatBackground2 30s linear infinite;
    z-index: 0;
}

@keyframes floatBackground2 {
    0% { background-position: 10% 10%, 90% 90%; }
    50% { background-position: 20% 20%, 80% 80%; }
    100% { background-position: 10% 10%, 90% 90%; }
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.testimonials-section .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.testimonials-section .section-title::before,
.testimonials-section .section-title::after {
    content: '"';
    position: absolute;
    color: var(--accent-orange);
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.3;
}

.testimonials-section .section-title::before {
    top: -20px;
    left: -40px;
}

.testimonials-section .section-title::after {
    bottom: -40px;
    right: -40px;
}

.testimonials-section .section-subtitle {
    color: var(--medium-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Testimonial Cards */
.testimonialsSwiper .swiper-slide {
    height: auto;
    padding: 20px 10px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(11, 107, 181, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 25px 25px 0 0;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: rgba(11, 107, 181, 0.05);
    font-weight: 700;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(11, 107, 181, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 3px var(--accent-orange);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 15px 30px rgba(255, 120, 0, 0.3),
        0 0 0 5px var(--primary-blue);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-info h4 {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.testimonial-info p {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    background: rgba(255, 120, 0, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.testimonial-body {
    position: relative;
    z-index: 1;
    padding-left: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.testimonial-body .quote-icon {
    position: absolute;
    top: -15px;
    left: 0;
    font-size: 2.5rem;
    color: var(--primary-blue);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-body .quote-icon {
    color: var(--accent-orange);
    opacity: 0.4;
    transform: scale(1.2);
}

.testimonial-body p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    position: relative;
}

/* Rating stars */
.testimonial-rating {
    margin-top: 20px;
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

/* University badge */
.testimonial-badge {
    position: absolute;
    bottom: 15px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(11, 107, 181, 0.3);
    z-index: 1;
}

/* Enhanced Swiper for Testimonials */
.testimonialsSwiper .swiper-button-next,
.testimonialsSwiper .swiper-button-prev {
    background: var(--white);
    color: var(--primary-blue);
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.testimonialsSwiper .swiper-button-next:after,
.testimonialsSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.testimonialsSwiper .swiper-button-next:hover,
.testimonialsSwiper .swiper-button-prev:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonialsSwiper .swiper-pagination {
    position: relative;
    margin-top: 40px;
}

.testimonialsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--medium-gray);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.testimonialsSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    opacity: 1;
    transform: scale(1.3);
}

/* View All Testimonials Button */
.testimonials-view-all {
    text-align: center;
    margin-top: 50px;
}

.testimonials-view-all .btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(11, 107, 181, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonials-view-all .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.testimonials-view-all .btn:hover::before {
    left: 100%;
}

.testimonials-view-all .btn:hover {
    background: linear-gradient(135deg, var(--accent-orange), #ff5500);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 120, 0, 0.3);
}

/* ===== ENHANCED PARTNERS SECTION ===== */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="%230b6bb5" opacity="0.03"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="25" y="25" width="50" height="50" fill="%23ff7800" opacity="0.02"/></svg>');
    background-size: 200px 200px, 100px 100px;
    background-position: 20% 30%, 80% 70%;
    animation: partnersBackground 40s linear infinite;
    z-index: 0;
}

@keyframes partnersBackground {
    0% { background-position: 20% 30%, 80% 70%; }
    50% { background-position: 30% 40%, 70% 60%; }
    100% { background-position: 20% 30%, 80% 70%; }
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.partners-section .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.partners-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange), var(--primary-blue));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: gradientShift 3s linear infinite;
}

.partners-section .section-subtitle {
    color: var(--medium-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Partner statistics */
.partner-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 180px;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(11, 107, 181, 0.15);
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box .stat-label {
    color: var(--medium-gray);
    font-size: 1rem;
    font-weight: 600;
}

/* Enhanced Partner Cards */
.partnersSwiper .swiper-slide {
    height: auto;
    padding: 10px;
}

.partner-logo {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 107, 181, 0.1);
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 107, 181, 0.05), rgba(255, 120, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.partner-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.8s ease;
    opacity: 0;
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo:hover::after {
    opacity: 1;
    animation: partnerShine 1s ease;
}

@keyframes partnerShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.partner-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(11, 107, 181, 0.2),
        0 0 0 3px rgba(11, 107, 181, 0.1);
    border-color: var(--primary-blue);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
/*    filter: grayscale(100%) brightness(0.8);*/
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Partner categories */
.partner-category {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-orange), #ff5500);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.partner-logo:hover .partner-category {
    opacity: 1;
    transform: translateY(0);
}

/* Categories: Tech, Finance, Consulting, Retail, Manufacturing, Healthcare */
.partner-category.tech { background: linear-gradient(135deg, #2196f3, #0d47a1); }
.partner-category.finance { background: linear-gradient(135deg, #4caf50, #1b5e20); }
.partner-category.consulting { background: linear-gradient(135deg, #9c27b0, #4a148c); }
.partner-category.retail { background: linear-gradient(135deg, #ff9800, #e65100); }
.partner-category.manufacturing { background: linear-gradient(135deg, #795548, #3e2723); }
.partner-category.healthcare { background: linear-gradient(135deg, #e91e63, #880e4f); }

/* Enhanced Swiper for Partners */
.partnersSwiper .swiper-button-next,
.partnersSwiper .swiper-button-prev {
    background: var(--white);
    color: var(--primary-blue);
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.partnersSwiper .swiper-button-next:after,
.partnersSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.partnersSwiper .swiper-button-next:hover,
.partnersSwiper .swiper-button-prev:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: scale(1.1);
}

.partnersSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--medium-gray);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.partnersSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    opacity: 1;
    transform: scale(1.3);
}

/* Partner CTA */
.partner-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(11, 107, 181, 0.05), rgba(255, 120, 0, 0.05));
    border-radius: 25px;
    border: 2px solid rgba(11, 107, 181, 0.1);
}

.partner-cta h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.partner-cta p {
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.partner-cta .btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(11, 107, 181, 0.3);
}

.partner-cta .btn:hover {
    background: linear-gradient(135deg, var(--accent-orange), #ff5500);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 120, 0, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .testimonials-section .section-title,
    .partners-section .section-title {
        font-size: 2.4rem;
    }
    
    .partner-stats {
        gap: 30px;
    }
    
    .stat-box {
        min-width: 160px;
        padding: 20px;
    }
    
    .stat-box .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .testimonials-section,
    .partners-section {
        padding: 80px 0;
    }
    
    .testimonials-section .section-title,
    .partners-section .section-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .partner-logo {
        height: 130px;
        padding: 20px;
    }
    
    .partner-cta {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials-section,
    .partners-section {
        padding: 60px 0;
    }
    
    .testimonials-section .section-title,
    .partners-section .section-title {
        font-size: 1.8rem;
    }
    
    .testimonials-section .section-title::before {
        left: -30px;
    }
    
    .testimonials-section .section-title::after {
        right: -30px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-info h4 {
        font-size: 1.2rem;
    }
    
    .partner-stats {
        gap: 20px;
    }
    
    .stat-box {
        min-width: 140px;
        padding: 15px;
    }
    
    .stat-box .stat-number {
        font-size: 2rem;
    }
    
    .partner-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section .section-title,
    .partners-section .section-title {
        font-size: 1.6rem;
    }
    
    .testimonials-section .section-title::before,
    .testimonials-section .section-title::after {
        display: none;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-img {
        width: 70px;
        height: 70px;
    }
    
    .partner-logo {
        height: 120px;
        padding: 15px;
    }
    
    .partner-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 250px;
    }
}

.section-title {
    font-size: 2rem!important;
    font-weight: 700;
}

/* ===== MINIMALIST HERO SECTION ===== */
.hero-section-minimal {
    position: relative;
    margin-bottom: 0!important;
    border-radius: 0!important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    height: 500px;
}

.heroSwiperMinimal {
    width: 100%;
    height: 100%;
}

.hero-slide-minimal {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.heroSwiperMinimal .swiper-slide-active .hero-image {
    transform: scale(1.05);
}

.hero-overlay-minimal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.7) 15%, 
        rgba(0, 0, 0, 0.3) 40%,
        transparent 100%);
    z-index: 1;
}

.hero-caption-minimal {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 20px 0;
    background: linear-gradient(to top, rgb(4 75 134), #00000087);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.caption-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.hero-title-minimal {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero-title-minimal::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.hero-subtitle-minimal {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Minimalist Navigation Arrows - FIXED FOR EXISTING HTML */
.swiper-button-next-minimal,
.swiper-button-prev-minimal {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    top: 50% !important;
    margin-top: -35px;
    z-index: 10;
    cursor: pointer;
}

.swiper-button-next-minimal::after,
.swiper-button-prev-minimal::after {
    display: none;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.swiper-button-next-minimal:hover,
.swiper-button-prev-minimal:hover {
    background: rgba(11, 107, 181, 0.8);
    border-color: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-section-minimal:hover .swiper-button-next-minimal,
.hero-section-minimal:hover .swiper-button-prev-minimal {
    opacity: 1;
    transform: scale(1);
}

.swiper-button-next-minimal {
    right: 30px !important;
    left: auto !important;
}

.swiper-button-prev-minimal {
    left: 30px !important;
    right: auto !important;
}

/* Minimalist Pagination */
.swiper-pagination-minimal {
    bottom: 100px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.swiper-pagination-minimal .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 0 4px !important;
}

.swiper-pagination-minimal .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--accent-orange);
    opacity: 1;
}

/* Progress Bar */
.swiper-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 11;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transition: width 0.3s ease;
}

/* Hero Slide Animation */
.hero-slide-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    animation: slideShimmer 3s infinite linear;
    z-index: 2;
    pointer-events: none;
}

@keyframes slideShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section-minimal {
        height: 400px;
    }
    
    .hero-title-minimal {
        font-size: 2.2rem;
    }
    
    .hero-subtitle-minimal {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    .swiper-button-next-minimal,
    .swiper-button-prev-minimal {
        width: 50px;
        height: 50px;
        margin-top: -25px;
    }
    
    .swiper-button-next-minimal {
        right: 20px !important;
    }
    
    .swiper-button-prev-minimal {
        left: 20px !important;
    }
    
    .arrow-icon {
        width: 20px;
        height: 20px;
    }
    
    .arrow-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section-minimal {
        height: 350px;
    }
    
    .hero-title-minimal {
        font-size: 1.8rem;
    }
    
    .hero-subtitle-minimal {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .caption-content {
        padding: 0 20px;
    }
    
    .swiper-button-next-minimal,
    .swiper-button-prev-minimal {
        display: none !important;
    }
    
    .swiper-pagination-minimal {
        bottom: 80px !important;
    }
}

@media (max-width: 576px) {
    .hero-section-minimal {
        height: 300px;
    }
    
    .hero-title-minimal {
        font-size: 1.5rem;
    }
    
    .hero-subtitle-minimal {
        font-size: 0.9rem;
    }
    
    .hero-caption-minimal {
        padding: 10px 0!important;
    }
    
    .swiper-pagination-minimal {
        bottom: 60px !important;
    }
    
    .swiper-pagination-minimal .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
    
    .swiper-pagination-minimal .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* Add subtle animation to caption */
@keyframes captionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-caption-minimal {
    animation: captionFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

/* Add border gradient effect */
.hero-section-minimal {
    position: relative;
}

.hero-section-minimal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .swiper-button-next-minimal,
    .swiper-button-prev-minimal {
        opacity: 1;
        transform: scale(1);
        background: rgba(255, 255, 255, 0.2);
        display: flex !important;
    }
}

/* Ensure arrows are above everything */
.hero-section-minimal .swiper-button-next-minimal,
.hero-section-minimal .swiper-button-prev-minimal {
    z-index: 1000 !important;
}

/* Fix for Swiper container overflow */
.heroSwiperMinimal {
    position: relative;
    overflow: visible !important;
}

.heroSwiperMinimal .swiper-wrapper {
    overflow: hidden;
}

/* ===== SMOOTH STICKY NAVBAR FIX ===== */
@media (min-width: 992px) {
    .modern-header {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(0);
        will-change: transform;
    }
    
    .main-navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
        transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .logo-section {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transition-property: max-height, opacity, padding, margin;
        max-height: 180px;
        opacity: 1;
        overflow: hidden;
    }
    
    /* Scrolled state */
    .scrolled .logo-section {
        max-height: 0 !important;
        opacity: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: hidden !important;
    }
    
    .scrolled .main-navbar {
        padding: 5px 0 !important;
        background: rgba(11, 107, 181, 0.98) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Force remove any conflicting transitions */
    .navbar-collapse,
    .navbar-nav,
    .nav-item,
    .nav-link,
    .container,
    .row,
    .col-lg-* {
        transition: none !important;
    }
}

/* Fix for mobile - no sticky behavior */
@media (max-width: 991px) {
    .modern-header {
        position: relative !important;
    }
    
    .main-navbar {
        position: relative !important;
        top: auto !important;
    }
}

.testimonialsSwiper .swiper-button-next:after, .testimonialsSwiper .swiper-button-prev:after {
    color: var(--primary-blue)!important;
}

.campusSwiper .swiper-button-next:after, .campusSwiper .swiper-button-prev:after {
    color: var(--primary-blue)!important;
}

.partners-section .swiper {
    padding: 20px!important;
}



/* ===== SIMPLE MEGA MENU STYLES ===== */
.navbar-nav {
    position: static !important;
}

.mega-menu-item {
    position: static !important;
}

.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    border-top: 3px solid var(--accent-orange);
    margin-top: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 350px !important;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu .container {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 15px;
}

/* Simple single column layout for mega menus with submenus */
.mega-menu-container {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
}

.mega-menu-column {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

/* Regular single column layout for simple menus */
.mega-menu-simple .mega-menu-container {
    flex-direction: column;
    gap: 0;
}

.mega-menu-simple .mega-menu-column {
    width: 100%;
}

/* Mega menu list */
.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 15px;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

.mega-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mega-menu-link:hover {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.08), transparent);
    color: var(--primary-blue);
    padding-left: 20px;
    text-decoration: none;
}

.mega-menu-link:hover::before {
    transform: scaleY(1);
}

.mega-menu-link i {
    color: var(--primary-blue);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.mega-menu-link:hover i {
    color: var(--accent-orange);
    transform: translateX(3px);
}

/* Submenu indicator */
.mega-menu-link.has-submenu::after {
    content: '›';
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--medium-gray);
    transition: transform 0.3s ease;
}

.mega-menu-link.has-submenu:hover::after {
    color: var(--accent-orange);
    transform: translateX(3px);
}

/* Badges */
.mega-menu-link.new::after {
    content: 'NEW';
    background: var(--accent-orange);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
    animation: pulse 2s infinite;
}

.mega-menu-link.hot::after {
    content: 'HOT';
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* Category header for submenus */
.mega-category {
    margin-bottom: 0;
    padding: 5px 0;
/*    border-bottom: 1px solid rgba(11, 107, 181, 0.1);*/
}

.mega-category h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
/*    margin-bottom: 15px;*/
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.mega-category h4 i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* Simple category (no submenus) */
.simple-category {
    margin-bottom: 25px;
}

.simple-category h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid var(--accent-orange);
}

.simple-category .mega-menu-list {
    padding-left: 15px;
}

/* Active state for menu items */
.nav-item.active > .nav-link {
    color: var(--accent-orange) !important;
    background: rgba(255, 120, 0, 0.1);
}

.mega-menu-item.active > .nav-link {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white !important;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .mega-menu .container {
        max-width: 1200px !important;
    }
}

@media (max-width: 1200px) {
    .mega-menu .container {
        max-width: 1140px !important;
    }
    
    .mega-menu-container {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        position: static;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 20px;
        max-height: none;
        overflow: visible;
        display: none;
        border-top: none;
        border-radius: var(--border-radius);
        margin-top: 10px;
    }
    
    .mega-menu.show {
        display: block;
    }
    
    .mega-menu .container {
        padding: 0;
    }
    
    .mega-menu-container {
        flex-direction: column;
        gap: 0;
    }
    
    .mega-menu-column {
        min-width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .mega-menu-column:last-child {
        margin-bottom: 0;
    }
    
    .mega-category {
        margin-top: 25px;
    }
    
    .mega-category:first-child {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        padding: 15px;
    }
    
    .mega-menu-link {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .mega-category h4 {
        font-size: 1rem;
    }
    
    .mega-menu-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .simple-category h4 {
        font-size: 0.95rem;
    }

    .top-links {
        justify-content: center;
    }

    .motto {
        margin-bottom: 15px;
    }
}

/* Fix for bootstrap conflicts */
.mega-menu-item .dropdown-menu {
    display: none !important;
}

/* Ensure proper z-index */
.navbar {
    position: relative;
    z-index: 1030;
}

.mega-menu {
    z-index: 1029;
}

/* Animations */
@keyframes fadeInUpMenu {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-column {
    animation: fadeInUpMenu 0.5s ease forwards;
    opacity: 0;
}

.mega-menu-column:nth-child(1) { animation-delay: 0.1s; }
.mega-menu-column:nth-child(2) { animation-delay: 0.2s; }
.mega-menu-column:nth-child(3) { animation-delay: 0.3s; }
.mega-menu-column:nth-child(4) { animation-delay: 0.4s; }


/* ===== SIMPLE ATTRACTIVE MEGA MENU BACKGROUND ===== */

.mega-menu {
    background: 
        /* Soft blue gradient matching theme */
        linear-gradient(0deg, 
            rgba(194, 226, 251, 0.95) 0%,    /* var(--light-blue) */
            rgba(240, 248, 255, 0.98) 50%,   /* Very light blue */
            rgba(255, 255, 255, 0.99) 100%
        );
    
    /* Subtle border and shadow only */
    border: 1px solid rgba(11, 107, 181, 0.1);
    border-top: 3px solid var(--accent-orange);
    box-shadow: 
        0 20px 40px rgba(11, 107, 181, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Add only the border between columns */
.mega-menu-column:not(:last-child) {
    border-right: 1px solid rgba(11, 107, 181, 0.08);
}

/* Keep your existing hover effects, just enhance them */
.mega-menu-link:hover {
    background: linear-gradient(90deg, 
        rgba(11, 107, 181, 0.1) 0%,
        rgba(11, 107, 181, 0.05) 100%
    );
}

/* Add a subtle highlight to active menu item */
.mega-menu-item.active > .nav-link {
    background: rgba(255, 120, 0, 0.1);
}

/* Add to your modern-main.css file */

/* Enhanced Hero Section Animations */
.heroSwiperMinimal .swiper-slide-active .hero-image {
    animation: subtleZoom 8s ease-in-out forwards;
}

.hero-caption-minimal {
    animation: fadeInUpCaption 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.03);
    }
}

@keyframes fadeInUpCaption {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FIX FOR TAB CONTENT LOADING ISSUES ===== */

/* Remove all animations from tabs that might interfere with loading */
#contentTabsContent .tab-pane {
    animation: none !important;
    transition: none !important;
}

/* Ensure tab content is properly shown/hidden */
#contentTabsContent .tab-pane:not(.active) {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

#contentTabsContent .tab-pane.active {
    display: block !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    animation: fadeIn 0.3s ease !important;
}

/* Fix Bootstrap tab transitions */
.nav-tabs .nav-link {
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.nav-tabs .nav-link.active {
    animation: none !important;
}

/* Remove any wow.js animations from tab content */
#contentTabsContent .wow,
#contentTabsContent .animated {
    animation: none !important;
    visibility: visible !important;
}

/* Smooth tab switching */
.tab-content > .tab-pane {
    transition: opacity 0.15s linear;
}

.tab-content > .active {
    opacity: 1;
}

/* Ensure all tab content is visible when active */
#examination-content .announcement-item,
#scholarship-content .announcement-item,
#recruitment-content .announcement-item {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* ===== FIX TAB ACTIVE STATE CSS ===== */

/* Ensure only one tab pane is visible at a time */
#contentTabsContent .tab-pane {
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

#contentTabsContent .tab-pane.active.show {
    display: block !important;
    opacity: 1 !important;
}

/* Fix tab active state styling */
#contentTabs .nav-link {
    position: relative;
    background: transparent !important;
    border: none !important;
    color: var(--white) !important;
    transition: all 0.3s ease !important;
}

#contentTabs .nav-link.active {
    background: var(--white) !important;
    color: var(--primary-blue) !important;
    border-bottom: 4px solid var(--accent-orange) !important;
}

/* Remove any conflicting animations */
#contentTabs .nav-link .animated,
#contentTabs .nav-link .wow {
    animation: none !important;
}

/* Ensure Bootstrap's JS doesn't interfere */
#contentTabs .nav-link[data-toggle="tab"] {
    cursor: pointer;
}

/* Prevent multiple active states */
#contentTabs .nav-item:not(:first-child) .nav-link.active {
    border-left: none !important;
}

/* ===== ENHANCED ATTRACTIVE POPUP MODAL ===== */
#popupModal.modal.fade .modal-dialog {
    max-width: 50%;
    width: auto;
    margin: 0 auto;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#popupModal.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

#popupModal .modal-content {
    background: transparent;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    /*box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: modalGlow 3s ease-in-out infinite alternate;*/
}

@keyframes modalGlow {
    from {
        box-shadow: 
            0 30px 80px rgba(11, 107, 181, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    to {
        box-shadow: 
            0 30px 80px rgba(255, 120, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.15),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

#popupModal .modal-body {
    padding: 0;
    width: 100%;
    margin: auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b6bb5 0%, #000d6d 100%);
}

/* Close Button Enhancement */
#popupModal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white !important;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

#popupModal .close:hover {
    opacity: 1;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
}

#popupModal .close span {
    display: block;
    line-height: 1;
    margin-top: -2px;
}

/* Swiper Container Styling */
#popupModal .popupSwiper {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

#popupModal .swiper-wrapper {
    align-items: center;
}

#popupModal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
/*    opacity: 0.5;*/
    transition: opacity 0.3s ease;
}

#popupModal .swiper-slide-active {
    opacity: 1;
}

/* Image Styling with Auto-sizing */
#popupModal .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

#popupModal .swiper-slide img {
    max-width: 100%;
    max-height: 80vh;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#popupModal .swiper-slide:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Navigation Arrows */
#popupModal .swiper-button-next,
#popupModal .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: -30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}

#popupModal .swiper-button-next:after,
#popupModal .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

#popupModal .swiper-button-next:hover,
#popupModal .swiper-button-prev:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 15px 40px rgba(255, 120, 0, 0.4);
}

#popupModal .swiper-button-next {
    right: 20px;
}

#popupModal .swiper-button-prev {
    left: 20px;
}

/* Pagination */
#popupModal .swiper-pagination {
    bottom: 20px !important;
}

#popupModal .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#popupModal .swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
    transform: scale(1.3);
    border-color: white;
    box-shadow: 0 0 15px var(--accent-orange);
}

/* Modal Background Enhancement */
/*#popupModal.modal {
    background: rgba(0, 13, 109, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
*/
#popupModal.modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(11, 107, 181, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 120, 0, 0.2) 0%, transparent 50%);
    z-index: -1;
}

/* Modal Size Adjustment based on Image */
.modal-dialog.modal-lg {
    max-width: min(90%, 1200px); /* Responsive max width */
}

.modal-dialog.modal-lg .modal-body {
    padding: 0;
}

/* Image Info Overlay */
.image-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

#popupModal .swiper-slide:hover .image-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.image-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    #popupModal .modal-dialog {
        max-width: 95%;
    }
    
    #popupModal .swiper-slide img {
        max-height: 70vh;
    }
}

@media (max-width: 992px) {
    #popupModal .swiper-button-next,
    #popupModal .swiper-button-prev {
        width: 50px;
        height: 50px;
        margin-top: -25px;
    }
    
    #popupModal .swiper-button-next:after,
    #popupModal .swiper-button-prev:after {
        font-size: 20px;
    }
    
    #popupModal .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    #popupModal .modal-dialog {
        max-width: 98%;
        margin: 10px auto;
    }
    
    #popupModal .swiper-slide img {
        max-height: 60vh;
    }
    
    #popupModal .swiper-button-next,
    #popupModal .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        display: none !important; /* Hide on mobile for better touch */
    }
    
    #popupModal .swiper-pagination {
        bottom: 10px !important;
    }
    
    #popupModal .close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        top: 10px;
        right: 10px;
    }

    #popupModal .modal-body {
        width: 100%;
        margin: auto;
    }

    #popupModal.modal.fade .modal-dialog {
        max-width: 80%;
    }

}

@media (max-width: 576px) {
    #popupModal .modal-content {
        border-radius: 15px;
    }
    
    #popupModal .swiper-slide img {
        max-height: 50vh;
    }
    
    #popupModal .modal-body {
        border-radius: 10px;
    }

     #popupModal .modal-body {
        width: 100%;
        margin: auto;
    }
}

/* Animation for modal content */
@keyframes slideInUpModal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#popupModal .modal-content {
    animation: slideInUpModal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

/* Add this to ensure images fit properly */
#popupModal .swiper-slide {
    height: auto;
    min-height: 300px;
}

#popupModal .swiper-slide img {
    display: block;
    margin: 0 auto;
}

/* Add this for better image loading experience */
#popupModal .swiper-slide {
    background: rgba(255, 255, 255, 0.05);
}

#popupModal .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    animation: shimmer 2s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 1400px) {
    .navbar-nav > .nav-item > .nav-link{
        font-size: 0.8rem;
    }

    .mega-menu-link {
       font-size: 13px; 
    }
}

@media (max-width: 1280px) {
    .navbar-nav > .nav-item > .nav-link{
        font-size: 0.80rem;
    }
}

@media (max-width: 1200px) {
    .navbar-nav > .nav-item > .nav-link{
        font-size: 0.60rem;
    }
}

/* Highlighted Courses Offered Button */
.courses-offered-section {
  margin-top: 10px;
  padding-top: 0;
  border-top: 2px solid #eaeaea;
}

.courses-offered-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1e5799 0%, #207cca 51%, #1e5799 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 87, 153, 0.3);
  border: none;
}

.courses-offered-btn i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.courses-offered-btn:hover {
  background: linear-gradient(135deg, #207cca 0%, #1e5799 51%, #207cca 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 87, 153, 0.4);
  text-decoration: none;
}

.courses-offered-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(30, 87, 153, 0.3);
}

/* Animation for emphasis */
@keyframes pulse-highlight {
  0% { box-shadow: 0 4px 12px rgba(30, 87, 153, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(30, 87, 153, 0.5); }
  100% { box-shadow: 0 4px 12px rgba(30, 87, 153, 0.3); }
}

.courses-offered-btn {
  animation: pulse-highlight 2s infinite;
}

/* Sticky Social Media Links */
.sticky-social-links {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: none; /* Hidden by default for mobile */
}

@media (min-width: 992px) {
    .sticky-social-links {
        display: block;
    }
}

.social-links-container {
    position: relative;
}

/* Side Social Links */
.side-social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
 /*   background: rgba(255, 255, 255, 0.95);*/
    border-radius: 10px 0 0 10px;
    /*box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);*/
    padding: 10px 0;
/*    backdrop-filter: blur(10px);*/
   /* border: 1px solid rgba(0, 0, 0, 0.05);*/
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 5px 0;
    border-radius: 50%;
    background: #333;
}

.social-link:hover {
    transform: translateX(-5px);
    width: 60px;
    border-radius: 25px 50% 50% 25px;
    color: #fff;
}

.social-link.facebook {
    background: #1877F2;
}
.social-link.twitter {
    background: #000000;
}
.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}
.social-link.linkedin {
    background: #0077B5;
}
.social-link.youtube {
    background: #FF0000;
}
.social-link.whatsapp {
    background: #25D366;
}

/* Custom hover colors for each platform */
.social-link:hover.facebook {
    background: #0d65d9;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}
.social-link:hover.twitter {
    background: #000000;
    box-shadow: 0 0 15px rgba(29, 161, 242, 0.4);
}
.social-link:hover.instagram {
    background: linear-gradient(45deg, #2a4ad4, #4338ca, #6d28d9, #9d174d, #be185d, #dc2626);
    box-shadow: 0 0 15px rgba(131, 58, 180, 0.4);
}
.social-link:hover.linkedin {
    background: #006097;
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.4);
}
.social-link:hover.youtube {
    background: #cc0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}
.social-link:hover.whatsapp {
    background: #1da851;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.social-tooltip {
    position: absolute;
    right: 60px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Center Social Links (for bottom scrolling) */
.center-social-links {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 9997;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .center-social-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }
}

@media (min-width: 992px) {
    .center-social-links {
        display: none; /* Hide on desktop as we have side links */
    }
}

.social-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.social-icons-center {
    display: flex;
    gap: 15px;
}

.social-icon-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Platform colors for center icons */
.social-icon-center:nth-child(1) { background: #1877F2; } /* Facebook */
.social-icon-center:nth-child(2) { background: #1DA1F2; } /* Twitter */
.social-icon-center:nth-child(3) { 
    background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C); 
} /* Instagram */
.social-icon-center:nth-child(4) { background: #0077B5; } /* LinkedIn */
.social-icon-center:nth-child(5) { background: #FF0000; } /* YouTube */

/* Hover effects for center icons */
.social-icon-center:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon-center:hover:nth-child(1) {
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}
.social-icon-center:hover:nth-child(2) {
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}
.social-icon-center:hover:nth-child(3) {
    box-shadow: 0 5px 15px rgba(131, 58, 180, 0.3);
}
.social-icon-center:hover:nth-child(4) {
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}
.social-icon-center:hover:nth-child(5) {
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Animation for appearing/disappearing */
.center-social-links.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.center-social-links.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .side-social-links {
        display: none; /* Hide side links on mobile */
    }
    
    .center-social-links {
        padding: 8px 15px;
        bottom: 10px;
    }
    
    .social-icons-center {
        gap: 10px;
    }
    
    .social-icon-center {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    .social-links {

    }
}

/* Scrolling behavior for center social links */
body.scrolled .center-social-links {
    bottom: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.98);
}

/* WhatsApp floating button adjustment */
.whatsapp-float {
    z-index: 9999; /* Ensure WhatsApp is above social links */
}

/* Mobile menu arrow styles */
.mobile-side-menu .submenu-arrow {
    margin-left: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
    color: var(--medium-gray);
}

.mobile-side-menu .submenu-arrow i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotate arrow when submenu is active */
.mobile-menu-link.active .submenu-arrow i {
    transform: rotate(180deg);
    color: var(--white);
}

/* Hover effect for arrow */
.mobile-menu-link:hover .submenu-arrow i {
    color: var(--primary-blue);
}

/* Ensure only items with submenus have arrows */
.mobile-menu-item:not(.has-submenu) .submenu-arrow {
    display: none !important;
}

/* Clean mobile menu styling */
.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent;
}

/* Main menu items */
.mobile-menu-nav > .mobile-menu-item > .mobile-menu-link {
    border-left-color: var(--primary-blue);
    font-weight: 600;
    background: rgba(11, 107, 181, 0.03);
}

/* Submenu items */
.mobile-submenu .mobile-menu-link {
    border-left-color: rgba(11, 107, 181, 0.4);
    font-weight: 500;
    padding-left: 40px !important;
    background: rgba(11, 107, 181, 0.02);
}

/* Submenu items that also have submenus */
.mobile-submenu .has-submenu .mobile-menu-link {
    padding-right: 40px !important;
}

/* Sub-submenu items */
.mobile-subsubmenu .mobile-menu-link {
    border-left-color: rgba(255, 120, 0, 0.4);
    font-weight: 400;
    padding-left: 60px !important;
    background: rgba(255, 120, 0, 0.02);
}

/* Active states */
.mobile-menu-link.active {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue)) !important;
    color: var(--white) !important;
    border-left-color: var(--accent-orange) !important;
}

.mobile-menu-link.active i {
    color: var(--white) !important;
}

/* Hover states */
.mobile-menu-link:hover {
    background: rgba(11, 107, 181, 0.05);
    color: var(--primary-blue);
    transform: translateX(5px);
}

/* Icon styling */
.mobile-menu-link i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-link.active i {
    color: var(--white);
    transform: scale(1.1);
}

/* Ensure submenus are properly styled */
.mobile-submenu,
.mobile-subsubmenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 0;
}

.mobile-submenu.active,
.mobile-subsubmenu.active {
    max-height: 1000px;
}

/* Remove any default chevron indicators */
.mobile-side-menu .has-submenu .mobile-menu-link::after {
    display: none !important;
}

/* Different arrow sizes for different levels */
.mobile-submenu .submenu-arrow i {
    font-size: 0.75rem;
}

.mobile-subsubmenu .submenu-arrow i {
    font-size: 0.7rem;
}

/* Ensure mobile menu items are properly spaced */
.mobile-menu-item {
    margin: 0;
    padding: 0;
}

/* Fix for Courses Offered button in mobile */
.courses-offered-mobile {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 51%, #1e5799 100%);
    color: white !important;
    border-radius: 8px;
    margin: 15px 20px;
    padding: 12px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.courses-offered-mobile:hover {
    background: linear-gradient(135deg, #207cca 0%, #1e5799 51%, #207cca 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 87, 153, 0.3);
}

.courses-offered-mobile i {
    color: white !important;
    margin-right: 10px;
}

/* Make sure regular links don't have arrows */
.mobile-menu-item:not(.has-submenu) .mobile-menu-link {
    padding-right: 20px !important;
}

/* Desktop menu arrows */
.dropdown-arrow {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--white);
}

/* Ensure only items with submenus have arrows in desktop */
.mega-menu-item:not(.has-submenu) .dropdown-arrow {
    display: none !important;
}

/* Active state for desktop menu */
.mega-menu-item.active .dropdown-arrow i {
    transform: rotate(180deg);
    color: var(--white);
}

/* Hover state for desktop menu */
.mega-menu-item:hover .dropdown-arrow i {
    color: var(--accent-orange);
}

/* ===== FASTER MARQUEE WITH PAUSE-ON-HOVER ===== */
.announcement-title {
    position: relative;
    overflow: hidden;
}

.announcement-title a {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px;
    position: relative;
    will-change: transform;
}



/* Add gradient fade effect at edges */
.announcement-title::before,
.announcement-title::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.announcement-title::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.announcement-title::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

/* For responsive design */
@media (max-width: 768px) {
    .announcement-title a {
        padding-right: 30px;
    }
    
    .announcement-title::before,
    .announcement-title::after {
        width: 30px;
    }
}

.announcement-title {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
    position: relative;
}

.announcement-title a {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.announcement-title:active,
.announcement-title a:active {
    cursor: grabbing;
}

/* Enhanced gradient fade for better visual feedback */
.announcement-title::before,
.announcement-title::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.announcement-title::before {
    left: 0;
    background: linear-gradient(to right, 
        var(--white) 0%,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0) 100%);
}

.announcement-title::after {
    right: 0;
    background: linear-gradient(to left, 
        var(--white) 0%,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0) 100%);
}

/* Drag feedback styles */
.announcement-title.dragging {
    cursor: grabbing;
}

.announcement-title.dragging a {
    cursor: grabbing;
}

/* Hover effect for better UX */
.announcement-title:hover::before,
.announcement-title:hover::after {
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .announcement-title {
        cursor: grab;
    }
    
    .announcement-title a {
        padding-right: 30px;
        cursor: grab;
    }
    
    .announcement-title::before,
    .announcement-title::after {
        width: 40px;
    }
    
    /* Better touch target on mobile */
    .announcement-title {
        padding: 10px 0;
        margin: -10px 0;
    }
}

/* Smooth transitions for better UX */
.announcement-title a {
    transition: transform 0.1s ease-out;
}

/* Visual feedback during drag */
.announcement-row.dragging {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.1), transparent);
}

.announcement-row.dragging .announcement-title::before,
.announcement-row.dragging .announcement-title::after {
    opacity: 1;
}

/* Prevent text selection during drag */
.announcement-row * {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}





/* Special button style */
.courses-offered-btn-mobile {
    background: var(--accent-orange)!important;
    color: white !important;
    font-weight: bold;
    border-radius: 5px;
    margin: 10px;
}

.courses-offered-btn-mobile i {
    color: white !important;
}

.mobile-menu-item > .mobile-menu-link {
    justify-content: flex-start;
}


.navbar-nav > .nav-item > .nav-link:hover, .navbar-nav .nav-item.active > .nav-link {
    background: linear-gradient(135deg, #000a151c 0%, #0f4a7c 51%, #1e5799 100%)!important;
    color: #fff!important;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */

@media (max-width: 991px) {
  /* Reorder content layout for mobile */
  .main-content-section .row {
    display: flex;
    flex-direction: column;
  }
  
  /* Move announcements below VC message on mobile */
  .main-content-section .col-lg-3 {
    order: 1;
  }
  
  .main-content-section .col-lg-9 {
    order: 2;
  }
  
  /* Announcements Section Mobile Fix */
  .announcement-ticker {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
  }
  
  .ticker-header {
    padding: 12px 15px;
    font-size: 1rem;
  }
  
  .announcement-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .announcement-row:last-child {
    border-bottom: none;
  }
  
  .announcement-icon {
    margin-right: 0;
    margin-bottom: 15px;
    width: 45px;
    height: 45px;
  }
  
  .announcement-content {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .announcement-title {
    font-size: 1rem;
    margin-bottom: 8px;
    display: block;
  }
  
  .announcement-title a {
    white-space: normal;
    word-wrap: break-word;
    display: block;
    line-height: 1.4;
  }
  
  .announcement-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
  }
  
  .announcement-arrow {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
  }


  
  /* Forthcoming Events Mobile Fix */
  .upcoming-events .event-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .event-date {
    margin-bottom: 15px;
    min-width: 80px;
  }
  
  .event-details {
    width: 100%;
  }
  
  .event-details h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .event-link {
    font-size: 0.9rem;
  }
  
  /* VC Card adjustments */
  .vc-card {
    margin-bottom: 20px;
  }
  
  .vc-img {
    width: 120px;
    height: 120px;
  }
  
  .vc-name {
    font-size: 1.3rem;
  }
  
  .vc-message {
    font-size: 0.95rem;
  }
  
  /* Content Area adjustments */
  .content-area {
    margin-top: 20px;
  }
  
  .section-tabs {
    margin-bottom: 20px;
  }
  
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-tabs .nav-link {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 12px 15px;
  }
  
  .tab-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  
  .tab-header h3 {
    margin-bottom: 10px;
  }
  
  .view-all {
    font-size: 0.9rem;
  }
  
  /* News grid adjustments */
  .news-grid .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .news-grid .col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .news-item {
    margin-bottom: 20px;
  }
  
  .news-image {
    height: 180px;
  }
  
  .news-content h4 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  /* Events list scrollable on mobile */
  .events-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
  }
}

@media (max-width: 768px) {
  /* Announcement title responsive */
  .announcement-title a {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .new-badge {
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
  }
  
  /* Event items adjustments */
  .event-item {
    padding: 12px;
  }
  
  .event-date {
    min-width: 70px;
    padding: 10px;
  }
  
  .event-month {
    font-size: 0.8rem;
  }
  
  .event-day {
    font-size: 1.2rem;
  }
  
  .event-year {
    font-size: 0.8rem;
  }
  
  /* News items */
  .news-content {
    padding: 15px;
  }
  
  .news-content h4 {
    font-size: 1rem;
  }
  
  .news-meta {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  /* Compact announcements */
  .announcement-ticker {
    margin-top: 15px;
  }
  
  .ticker-header {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
  
  .announcement-row {
    padding: 12px;
  }
  
  .announcement-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  
  .announcement-title a {
    font-size: 0.9rem;
  }
  
  .announcement-meta {
    font-size: 0.75rem;
  }
  
  /* Compact event items */
  .event-item {
    padding: 10px;
  }
  
  .event-date {
    min-width: 60px;
    padding: 8px;
  }
  
  .event-month {
    font-size: 0.75rem;
  }
  
  .event-day {
    font-size: 1.1rem;
  }
  
  /* Compact news */
  .news-item {
    margin-bottom: 15px;
  }
  
  .news-image {
    height: 150px;
  }
  
  /* Fix for tab content */
  .tab-content {
    padding: 15px;
  }
  
  .announcements-list {
    max-height: 250px;
  }
  
  .announcement-item {
    padding: 15px;
    margin-bottom: 10px;
  }
  
  .announcement-content h5 {
    font-size: 0.95rem;
  }
  
  .btn-read {
    padding: 6px 15px;
    font-size: 0.85rem;
  }
}

/* ===== TOUCH-FRIENDLY MOBILE ENHANCEMENTS ===== */
@media (max-width: 991px) {
  /* Better touch targets */
  .nav-tabs .nav-link {
    padding: 15px 20px;
  }
  
  .announcement-title a,
  .event-link,
  .news-link,
  .btn-read-more {
    padding: 8px 0;
  }
  
  /* Prevent text overflow */
  .announcement-title {
    overflow: visible;
    white-space: normal;
  }
  
  .announcement-title a {
    animation: none !important;
    white-space: normal;
    padding-right: 0;
  }
  
  /* Remove marquee on mobile */
  .announcement-title::before,
  .announcement-title::after {
    display: none;
  }
  
  /* Better spacing */
  .vc-card {
    padding: 20px;
  }
  
  .card-links {
    padding: 15px;
  }
  
  .links-list a {
    padding: 10px 0;
  }
  
  /* Ensure proper scrolling */
  .mobile-side-menu .mobile-menu-content {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== SPECIFIC FIX FOR ANNOUNCEMENT ALIGNMENT ===== */
@media (max-width: 768px) {
  .announcement-row {
    position: relative;
    padding-right: 60px; /* Space for arrow */
  }
  
  .announcement-icon {
    position: absolute;
    top: 15px;
    left: 15px;
  }
  
  .announcement-content {
    padding-left: 55px;
  }
  
  .announcement-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
}

/* ===== IMPROVED FORTHCOMING EVENTS LAYOUT ===== */
@media (max-width: 768px) {
  .events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .event-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.9));
    border: 1px solid rgba(11, 107, 181, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
  
  .event-date {
    flex-shrink: 0;
    margin-right: 15px;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 12px;
    border-radius: 10px;
    min-width: 70px;
    text-align: center;
  }
  
  .event-details {
    flex: 1;
  }
  
  .event-details h4 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  .event-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
  }
  
  /* Add hover effect */
  .event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
  }
}

@media (max-width: 576px) {
  .event-item {
    flex-direction: column;
    padding: 12px;
  }
  
  .event-date {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }
  
  .event-month, .event-day, .event-year {
    display: inline-block;
    margin: 0 5px;
  }
  
  .event-details h4 {
    font-size: 0.95rem;
  }
}

/* ===== FIX FOR ANNOUNCEMENT TICKER TEXT OVERFLOW ===== */
.announcement-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8em;
  line-height: 1.4em;
}

/* ===== BETTER SPACING FOR MOBILE SECTIONS ===== */
@media (max-width: 991px) {
  .main-content-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  
  .vc-card {
    margin-bottom: 25px;
  }
  
  .announcement-ticker {
    margin-bottom: 25px;
  }
  
  .content-area {
    margin-top: 25px;
  }
}

/* ===== FIX FOR HOVER EFFECTS ON TOUCH DEVICES ===== */
@media (hover: none) and (pointer: coarse) {
  .announcement-row:hover,
  .event-item:hover,
  .news-item:hover,
  .vc-card:hover {
    transform: none !important;
  }
  
  .announcement-arrow {
    opacity: 1 !important;
  }
}

/* ===== MOBILE LAYOUT REORDERING FIX ===== */

@media (max-width: 991px) {
  /* Reorder content layout - Announcements below VC message */
  .main-content-section .row {
    display: flex;
    flex-direction: column;
  }
  
  /* VC card comes first */
  .main-content-section .col-lg-3 {
    order: 1;
  }
  
  /* Announcements come second */
  .main-content-section .col-lg-9 {
    order: 2;
  }
  
  /* Ensure proper spacing */
  .vc-card {
    margin-bottom: 25px;
  }
  
  .announcement-ticker {
    margin-top: 0;
    margin-bottom: 25px;
  }
  
  /* Rest of existing mobile fixes... */
}

@media (max-width: 576px) {
  /* Compact spacing for mobile */
  .vc-card {
    margin-bottom: 20px;
  }
  
  .announcement-ticker {
    margin-bottom: 20px;
  }
}

/* ===== ENHANCED ANNOUNCEMENTS MOBILE DISPLAY ===== */
@media (max-width: 768px) {
  .announcement-title {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 5px; /* Space for scroll indication */
  }
  
  .announcement-title a {
    display: inline-block;
    white-space: nowrap;
    min-width: 100%;
    text-align: left;
    padding-right: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  /* Scroll indicator for mobile */
  .announcement-title::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-size: 1.2rem;
    animation: bounceRight 1s infinite alternate;
    opacity: 0.7;
  }
  
  @keyframes bounceRight {
    from { transform: translateY(-50%) translateX(0); }
    to { transform: translateY(-50%) translateX(5px); }
  }
  
  /* Hide scroll indicator on desktop */
  @media (min-width: 769px) {
    .announcement-title::after {
      display: none;
    }
  }
}

@media (max-width: 576px) {
  .announcement-title a {
    font-size: 0.9rem;
  }
  
  /* Shorter announcement rows on very small screens */
  .announcement-row {
    padding: 12px 10px;
  }
  
  .announcement-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
  }
  
  .announcement-icon i {
    font-size: 1rem;
  }
  
  .announcement-arrow {
    width: 30px;
    height: 30px;
    top: 12px;
    right: 10px;
  }

  .logo-link {
    text-align: center;
  }
}

.announcement-title a {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    padding-right: 0;
    animation: none !important;
}

.announcement-title {
    overflow: visible;
}

.announcement-title::before,
.announcement-title::after {
    display: none;
}

/* ===== VERTICAL SCROLLING ANNOUNCEMENTS ===== */
.announcement-ticker {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    position: relative;
}

.ticker-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.announcements-scroll-container {
    position: relative;
    height: calc(88px * 3); /* Height for exactly 3 announcements */
    overflow: hidden;
}

.announcements-scroll-wrapper {
    position: relative;
    transition: transform 0.5s ease-out;
}

.announcement-row {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 88px!important;
    box-sizing: border-box; 
}

.announcement-row:last-child {
    border-bottom: none;
}

.announcement-row .new-badge {
    position: relative;
    top: 0;
    right: 12px;
}

.announcement-row:hover {
    background: linear-gradient(90deg, rgba(11, 107, 181, 0.05), transparent);
    transform: translateX(5px);
}

.announcement-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.announcement-row:hover::before {
    transform: scaleY(1);
}

.announcement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(11, 107, 181, 0.2);
    transition: all 0.3s ease;
}

.announcement-row:hover .announcement-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(11, 107, 181, 0.3);
}

.announcement-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.announcement-content {
    flex: 1;
    min-width: 0;
}

.announcement-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.announcement-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.announcement-title a:hover {
    color: var(--accent-orange);
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.announcement-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-meta-item i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.latest-announcement-date {
    color: var(--accent-orange);
    font-weight: 500;
}

.announcement-arrow {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.announcement-row:hover .announcement-arrow {
    background: var(--primary-blue);
    transform: translateX(5px);
}

.announcement-arrow i {
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.announcement-row:hover .announcement-arrow i {
    color: var(--white);
    transform: translateX(3px);
}

/* Scroll indicators */
.scroll-indicator {
    position: absolute;
    left: 0;
    right: 0;
   /* height: 20px;*/
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent);*/
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-indicator.top {
    top: 0;
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent);*/
}

.scroll-indicator.bottom {
    bottom: 0;
    /*background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);*/
}

.hide-indicator {
    opacity: 0;
}

/* View all button */
.announcement-view-all {
    display: block;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.announcement-view-all:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(11, 107, 181, 0.3);
}

.announcement-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.announcement-view-all:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {

    .announcements-scroll-container {
        height: calc(110px * 3); /* Taller for mobile */
    }
    .announcement-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        min-height: 110px;
    }
    
    .announcement-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 45px;
        height: 45px;
    }
    
    .announcement-content {
        width: 100%;
    }
    
    .announcement-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .announcement-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
    }
    
    .announcement-row:hover .announcement-arrow {
        transform: translateY(-50%) translateX(5px);
    }
    
    .announcement-title a {
        -webkit-line-clamp: 3; /* Show more lines on mobile */
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .announcement-ticker {
        max-height: 300px;
    }
    
    .announcements-scroll-container {
        height: calc(120px * 3);
    }
    
    .announcement-row {
        height: 120px;
        min-height: 120px;
        padding: 12px 15px;
    }
    
    .announcement-title a {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
    }
    
    .announcement-meta {
        font-size: 0.8rem;
    }
}

/* ===== MOBILE FIX FOR ANNOUNCEMENTS ===== */
@media (max-width: 768px) {
    .announcement-ticker {
        max-height: none !important;
    }
    
    .announcements-scroll-container {
        height: auto !important;
        max-height: 300px !important;
        overflow-y: auto !important;
    }
    
    .announcements-scroll-wrapper {
        transform: none !important;
        position: static !important;
    }
    
    .announcement-row {
        height: auto !important;
        min-height: 100px !important;
    }
    
    .scroll-indicator {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .announcement-ticker {
        margin: 15px 10px;
    }
    
    .announcements-scroll-container {
        max-height: 250px !important;
    }
    
    .announcement-row {
        padding: 12px !important;
        min-height: 90px !important;
    }
    
    .announcement-title a {
        font-size: 0.9rem !important;
        -webkit-line-clamp: 3 !important;
    }
}

/* Always show scrollbar on desktop when needed */
.announcements-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-blue);
}

.announcements-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.announcements-scroll-container::-webkit-scrollbar-track {
    background: var(--light-blue);
}

.announcements-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.announcements-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* ===== INFINITE SCROLL ENHANCEMENTS ===== */

/* Make sure all announcements are visible */
.announcement-row.clone {
    opacity: 0.9;
}

/* Smooth transitions */
.announcements-scroll-wrapper {
    transition: transform 0.1s linear; /* For auto-scroll */
}

/* When user is interacting, use smoother transition */
.announcements-scroll-container.user-interacting .announcements-scroll-wrapper {
    transition: transform 0.3s ease-out;
}

/* Infinite scroll indicator animation */
@keyframes infiniteScrollHint {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}

/* Add visual hint for infinite scroll */
.scroll-indicator::after {
    content: '⇅';
    display: block;
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
    animation: infiniteScrollHint 2s infinite;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .announcements-scroll-container {
        height: auto !important;
        max-height: 300px;
    }
    
    .announcement-row {
        min-height: 100px;
    }
}

/* Speed control classes (optional) */
.scroll-slow { scroll-speed: 0.8; }
.scroll-medium { scroll-speed: 0.9; }
.scroll-fast { scroll-speed: 1; }

/* ===== CRITICAL MOBILE SCROLLING FIXES ===== */
@media (max-width: 768px) {
    .announcement-ticker {
        margin: 20px 10px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    /* Mobile scrolling container */
    .announcements-scroll-container {
        height: 300px !important; /* Fixed height for mobile */
        overflow-y: auto !important; /* Enable scrolling */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
        scrollbar-width: thin; /* Firefox */
    }
    
    /* Hide scroll indicators on mobile since we have native scrolling */
    .scroll-indicator {
        display: none !important;
    }
    
    /* Mobile announcement styling */
    .announcement-row {
        min-height: 100px !important;
        padding: 15px !important;
        margin-bottom: 8px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .announcement-title a {
        font-size: 0.95rem !important;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Better touch targets */
    .announcement-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .announcement-arrow {
        width: 35px !important;
        height: 35px !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .announcement-row {
        cursor: pointer;
    }
    
    .announcement-title a {
        padding: 8px 0;
    }
    
    /* Disable hover effects on touch devices */
    .announcement-row:hover {
        transform: none !important;
    }
    
    /* Ensure proper scrolling */
    .announcements-scroll-container {
        overscroll-behavior: contain;
    }
}

/* Mobile scrollbar styling */
.announcements-scroll-container::-webkit-scrollbar {
    width: 4px;
}

.announcements-scroll-container::-webkit-scrollbar-track {
    background: rgba(11, 107, 181, 0.1);
    border-radius: 2px;
}

.announcements-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 2px;
}

.announcements-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Mobile scrolling fixes */
@media (max-width: 768px) {
    .announcements-scroll-container {
        height: 300px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin;
        padding-right: 5px;
    }
    
    .announcements-scroll-wrapper {
        transform: none !important;
        position: relative !important;
        transition: none !important;
    }
    
    .announcement-row {
        height: auto !important;
        min-height: 90px !important;
        margin-bottom: 10px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .announcement-title a {
        font-size: 0.95rem !important;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Hide scroll indicators on mobile */
    .scroll-indicator {
        display: none !important;
    }
}

/* Better scrollbar styling */
.announcements-scroll-container::-webkit-scrollbar {
    width: 4px;
}

.announcements-scroll-container::-webkit-scrollbar-track {
    background: rgba(11, 107, 181, 0.1);
    border-radius: 2px;
}

.announcements-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 2px;
}

.announcements-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Prevent body scroll on mobile when touching announcements */
@media (max-width: 768px) {
    .announcements-scroll-container {
        overscroll-behavior: contain;
    }
}

/* View All Link in Ticker Header */
.ticker-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ticker-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ticker-view-all:hover {
    background: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    gap: 12px;
    transform: translateY(-2px);
}

.ticker-view-all i {
    font-size: 0.75rem;
}

/* Alternative: View All Link at Bottom (if you prefer bottom placement) */
.announcement-footer-link {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--white);
}

.announcement-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.announcement-view-all:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    text-decoration: none;
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 107, 181, 0.3);
}

/* ===== FIX FOR FORTHCOMING EVENTS SCROLLING ON MOBILE ===== */
@media (max-width: 991px) {
    .events-list {
        max-height: 350px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-right: 5px;
    }
    
    /* Custom scrollbar styling */
    .events-list::-webkit-scrollbar {
        width: 4px;
    }
    
    .events-list::-webkit-scrollbar-track {
        background: rgba(11, 107, 181, 0.1);
        border-radius: 4px;
    }
    
    .events-list::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 4px;
    }
    
    /* Touch scrolling optimization */
    .events-list {
        touch-action: pan-y pinch-zoom;
    }
}

@media (max-width: 576px) {
    .events-list {
        max-height: 300px;
    }
}

/* ===== DISABLE ALL ANIMATIONS ON MOBILE ===== */
@media (max-width: 991px) {
    /* Disable all animation classes */
    .animated,
    .wow,
    [data-aos],
    [data-wow-delay],
    .animate__animated,
    .fadeIn,
    .fadeInUp,
    .fadeInDown,
    .fadeInLeft,
    .fadeInRight,
    .zoomIn,
    .slideInLeft,
    .slideInRight,
    .bounceIn,
    .pulse,
    .shake,
    .rubberBand,
    .flipInX {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
    }
    
    /* Disable hover animations */
    .vc-card:hover,
    .news-item:hover,
    .quick-link-card:hover,
    .testimonial-card:hover,
    .partner-logo:hover {
        transform: none !important;
        transition: none !important;
    }
    
    /* Disable infinite animations */
    .animated.infinite,
    .pulse.infinite,
    .slideInRight.infinite {
        animation: none !important;
    }
    
    /* Disable AOS */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Disable hover effects on cards */
    .campus-card:hover .campus-overlay {
        transform: none !important;
    }
    
    .campus-card:hover img {
        transform: none !important;
    }
}

/* ===== INNER HERO SECTION ===== */
.inner-hero-section {
    position: relative;
    background: linear-gradient(135deg, #0b6bb5 0%, #1a4b7a 100%);
    padding: 30px 0;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    margin-bottom: 30px;
}


.inner-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}


.inner-hero-section .container {
    position: relative;
    z-index: 2;
}

.inner-hero-content {
    text-align: center;
}

.inner-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.inner-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff7800;
    border-radius: 2px;
}

.inner-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inner-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.inner-breadcrumb a:hover {
    color: #ff7800;
}

.inner-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.inner-breadcrumb .current {
    color: #ff7800;
    font-weight: 500;
}

/* ===== EVENT DETAILS SECTION ===== */
.event-details-section {
    background: #f5f7fa;
    padding: 40px 0 60px;
}

/* Event Banner */
.event-banner-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-banner-wrapper:hover .event-banner-img {
    transform: scale(1.02);
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff7800;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Event Header */
.event-header {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0a3a62;
    margin-bottom: 20px;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #718096;
}

.meta-item i {
    color: #ff7800;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .inner-hero-title { font-size: 2.5rem; }
    .event-title { font-size: 1.6rem; }
    .event-meta { gap: 15px; }
    .meta-item { font-size: 0.85rem; }
}

@media (max-width: 768px) {
    .inner-hero-section { padding: 40px 0; }
    .inner-hero-title { font-size: 2rem; }
    .event-title { font-size: 1.4rem; }
    .event-meta { flex-direction: column; gap: 10px; }
    .event-content { padding: 20px; }
    .event-content h2 { font-size: 1.3rem; }
    .event-content h3 { font-size: 1.1rem; }
    .event-navigation { justify-content: center; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .event-tags-container { flex-direction: column; align-items: flex-start; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}

@media (max-width: 576px) {
    .inner-hero-title { font-size: 1.6rem; }
    .inner-breadcrumb a, .inner-breadcrumb .separator, .inner-breadcrumb .current { font-size: 0.8rem; }
    .event-title { font-size: 1.2rem; }
    .event-badge { padding: 5px 12px; font-size: 0.7rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .event-navigation a { padding: 8px 15px; font-size: 0.8rem; }
    .popular-tag { padding: 4px 10px; font-size: 0.7rem; }
    .sidebar-card { padding: 20px; }
    .lightbox-nav { width: 35px; height: 35px; font-size: 1rem; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-open > .active {
    background: linear-gradient(135deg, #df8e08 0%, #d9870f 51%, #d2760e 100%) !important;
    color: #fff !important;
    border-radius: 5px!important;
}

.mega-menu-list .active {
    font-weight: bold;
    color: #d9870f!important;
}

.navbar-expand-lg .navbar-collapse{
    justify-content: center;
}

/* ===== FIXED ACTION BUTTONS - SLIDE FROM LEFT ===== */
.sxuk-quick-fix-buttons {
    position: fixed;
    left: 0;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9996;
    animation: fadeInLeft 0.6s ease;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
}

.sxuk-quick-fix-buttons .fix-apply-btn,
.sxuk-quick-fix-buttons .fix-enquire-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 16px!important;
    border: none;
    border-radius: 0 12px 12px 0!important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-width: 48px;
    min-height: 48px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 12px;
}

/* Apply Now Button */
.sxuk-quick-fix-buttons .fix-apply-btn {
    background: linear-gradient(135deg, #ff7800, #e66700);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-left: none;
}

.sxuk-quick-fix-buttons .fix-apply-btn .btn-text {
    display: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-apply-btn {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(255, 120, 0, 0.4);
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-apply-btn .btn-text {
    display: inline-block;
    opacity: 1;
    transform: translateX(0);
    animation: textFadeIn 0.3s ease forwards;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-apply-btn .btn-icon {
    animation: iconBounce 0.4s ease;
}

/* Enquire Now Button */
.sxuk-quick-fix-buttons .fix-enquire-btn {
    background: linear-gradient(135deg, #0b6bb5, #0a3a62);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-left: none;
}

.sxuk-quick-fix-buttons .fix-enquire-btn .btn-text {
    display: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-enquire-btn {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(11, 107, 181, 0.4);
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-enquire-btn .btn-text {
    display: inline-block;
    opacity: 1;
    transform: translateX(0);
    animation: textFadeIn 0.3s ease forwards;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-enquire-btn .btn-icon {
    animation: iconBounce 0.4s ease;
}

/* Icons */
.sxuk-quick-fix-buttons .btn-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Arrow icon for Apply Now */
.sxuk-quick-fix-buttons .fix-apply-btn .btn-icon::after {
    content: '\f19d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Enquiry icon for Enquire Now */
.sxuk-quick-fix-buttons .fix-enquire-btn .btn-icon::after {
    content: '\f2b6';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Animations */
@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.3);
    }
    60% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Pulse animation for Apply Now icon */
.sxuk-quick-fix-buttons .fix-apply-btn .btn-icon {
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== TOOLTIP ON HOVER (Optional) ===== */
.sxuk-quick-fix-buttons .fix-btn-wrapper .tooltip-text {
    position: absolute;
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper .tooltip-text::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.85) transparent transparent;
}

.sxuk-quick-fix-buttons .fix-btn-wrapper:hover .tooltip-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}




/* High contrast mode */
@media (prefers-contrast: high) {
    .sxuk-quick-fix-buttons .fix-apply-btn,
    .sxuk-quick-fix-buttons .fix-enquire-btn {
        border-width: 3px;
        border-left: none;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .sxuk-quick-fix-buttons .fix-apply-btn .btn-icon {
        animation: none;
    }
    
    .sxuk-quick-fix-buttons .fix-btn-wrapper .fix-apply-btn,
    .sxuk-quick-fix-buttons .fix-btn-wrapper .fix-enquire-btn {
        transition: none;
    }
    
    .sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-apply-btn,
    .sxuk-quick-fix-buttons .fix-btn-wrapper:hover .fix-enquire-btn {
        transform: none;
    }
}

/* Print styles */
@media print {
    .sxuk-quick-fix-buttons {
        display: none !important;
    }
}

/* ===== FORTHCOMING EVENTS - MOBILE SCROLLING FIX ===== */

/* Ensure events list is scrollable on mobile */
@media (max-width: 991px) {
    .upcoming-events {
        overflow: hidden;
        position: relative;
    }
    
    .upcoming-events .events-list {
        max-height: 400px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding-right: 10px !important;
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
        display: block !important;
        /* Enable smooth scrolling */
        scroll-behavior: smooth !important;
    }
    
    /* Custom scrollbar styling for events list */
    .upcoming-events .events-list::-webkit-scrollbar {
        width: 5px !important;
        background: transparent !important;
    }
    
    .upcoming-events .events-list::-webkit-scrollbar-track {
        background: rgba(11, 107, 181, 0.05) !important;
        border-radius: 10px !important;
    }
    
    .upcoming-events .events-list::-webkit-scrollbar-thumb {
        background: var(--primary-blue) !important;
        border-radius: 10px !important;
    }
    
    .upcoming-events .events-list::-webkit-scrollbar-thumb:hover {
        background: var(--accent-orange) !important;
    }
    
    /* Ensure event cards don't break scrolling */
    .upcoming-events .event-notice-card {
        margin-bottom: 15px !important;
        flex-shrink: 0 !important;
        min-height: auto !important;
    }
    
    /* Add a subtle scroll indicator */
    .upcoming-events .events-list:after {
        content: '';
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(to top, #ffffff, transparent);
        pointer-events: none;
        display: block;
        margin-top: -30px;
        z-index: 1;
    }
}

/* Additional fix for smaller screens */
@media (max-width: 576px) {
    .upcoming-events .events-list {
        max-height: 350px !important;
        padding-right: 5px !important;
    }
    
    .upcoming-events .event-notice-card {
        padding: 15px !important;
    }
}