:root {
    --mu-blue: #0f5e9c;
    --mu-gold: #ffc107;
    --mu-dark-blue: #1a237e;
    --text-color: #212121;
    --text-light: #757575;
}

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

* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 70px;
    background-color: #f9f9f9;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
/* Section Headers */
.nta-header {
    color: white !important;
}

/* About Section Text Alignment */
.about-content {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin-bottom: 1.5rem;
}

/* Responsive text alignment */
@media (max-width: 991.98px) {
    .about-content {
        text-align: left;
    }

    .about-content p {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 767.98px) {
    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

/* Enhanced typography for better readability */
@media (min-width: 992px) {
    .about-content p {
        font-size: 1.05rem;
        line-height: 1.75;
        letter-spacing: 0.3px;
    }
}

/* About section mobile improvements */
@media (max-width: 991.98px) {
    #about .row {
        text-align: center;
    }

    #about .col-lg-6 {
        margin-bottom: 2rem;
    }

    #about h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    #about h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    #about {
        padding: 2rem 0;
    }

    #about h1 {
        font-size: 1.75rem;
    }

    #about h3 {
        font-size: 1.1rem;
    }

    #about .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Alert Banner */
.alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #dc3545, #e74c3c);
    color: white;
    z-index: 1050;
    height: 40px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border-top: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(0,0,0,0.2);
}

/* Alert Banner Below Hero */
.alert-banner-below {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #dc3545, #e74c3c);
    color: white;
    z-index: 10;
    height: 50px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border-top: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(0,0,0,0.2);
}

.alert-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}

.alert-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 60s linear infinite;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
    cursor: pointer;
}

.alert-banner:hover .alert-text,
.alert-text:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 8px 0;
        position: fixed;
        top: 0;
        width: 100%;
        min-height: 70px;
    }
    
    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-toggler {
        padding: 6px 8px;
        font-size: 1.1rem;
        border: 1px solid rgba(255,255,255,0.3);
    }
    
    .navbar-brand {
        padding: 5px 0;
        margin-right: auto;
    }
    
    .navbar-brand img {
        height: 45px;
        width: 45px;
    }
    
    .brand-text {
        font-size: 15px !important;
        margin-left: 8px;
    }
    
    .alert-text {
        font-size: 13px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--mu-dark-blue);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--mu-blue);
}

/* Navigation - Mumbai University Style */
.navbar {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--mu-dark-blue) !important;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    min-height: 70px;
    width: 100%;
}



.navbar-scrolled {
    background: rgba(26, 35, 126, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    padding: 5px 0;
    margin: 0;
    margin-right: 15px;
    position: relative;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mu-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.5, 1.2);
}

.navbar-brand:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    border-color: #fff;
}

.brand-text {
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    margin-left: 10px;
}

.navbar-brand:hover .brand-text {
    color: var(--mu-gold) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateX(2px);
}

/* Navigation Buttons */
.navbar .btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 38px;
}

.navbar .btn i {
    margin-right: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Login Button */
.navbar .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    position: relative;
    z-index: 1;
}

.navbar .btn-outline-light:hover {
    background: white;
    color: var(--mu-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.navbar .btn-outline-light:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Register Button */
.navbar .btn-primary {
    background: var(--mu-gold);
    border: 2px solid var(--mu-gold);
    color: var(--mu-dark-blue);
    position: relative;
    z-index: 1;
    min-width: 140px;
}

.navbar .btn-primary:hover {
    background: transparent;
    color: var(--mu-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.navbar .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Donate Button */
.navbar .btn-danger {
    background: #e74c3c;
    border: 2px solid #e74c3c;
    color: white;
    position: relative;
    z-index: 1;
    min-width: 160px;
}

.navbar .btn-danger:hover {
    background: transparent;
    color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.navbar .btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin: 0 -15px;
        width: calc(100% + 30px);
        padding: 1rem 0;
    }
    
    .navbar .btn {
        margin: 0.5rem auto;
        width: 90%;
        max-width: 280px;
        display: block;
    }
    
    .navbar .nav-item {
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .navbar .btn i {
        margin-right: 6px;
    }
    
    .navbar-brand {
        padding: 5px 0;
    }
    
    .navbar-brand img {
        height: 50px;
        width: 50px;
    }
    
    .brand-text {
        font-size: 16px;
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin: 0;
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        font-weight: 500;
        padding: 12px 20px !important;
        color: #fff !important;
        text-transform: uppercase;
        font-size: 14px;
        position: relative;
        text-decoration: none !important;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link i {
        min-width: 25px;
        text-align: center;
    }
    
    .navbar-nav .btn {
        margin: 8px 0;
        padding: 10px 15px !important;
        font-size: 14px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .navbar-nav .btn i {
        margin-right: 5px;
    }
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--mu-gold) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.btn {
    color: var(--mu-dark-blue) !important;
    background: var(--mu-gold) !important;
    border-radius: 25px !important;
    margin-left: 10px;
    padding: 8px 20px !important;
}

.navbar-nav .nav-link.btn:hover {
    color: #fff !important;
    background: var(--mu-dark-blue) !important;
    transform: translateY(-2px);
}

/* Ensure all buttons are clickable */
.btn {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    padding: 6px 10px !important;
    margin-right: 0 !important;
    background: transparent !important;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
    outline: none !important;
}

.navbar-toggler:active,
.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em !important;
    height: 1.5em !important;
}

/* @media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--mu-dark-blue) !important;
        padding: 10px 15px;
        margin: 8px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 9998;
        width: 100%;
        box-sizing: border-box;
        display: none;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-collapse.collapsing {
        display: block !important;
        height: auto !important;
        transition: none !important;
    }
    

    
    .navbar-collapse.show {
        background: var(--mu-dark-blue) !important;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff !important;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link.btn {
        margin: 10px 0 !important;
        text-align: center;
        border-radius: 25px !important;
        border-bottom: none !important;
    }
    
    .navbar-brand:after {
        display: none;
    }
    

} */

/* Hero Slider - Mumbai University Style */
.hero-slider {
    position: relative;
    margin-top: 0;
    z-index: 1;
    border-bottom: 5px solid var(--mu-gold);
}

.slide {
    height: 100vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-attachment: scroll;
    padding: 80px 0 20px;
}

.slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 94, 156, 0.4) 0%, rgba(26, 35, 126, 0.3) 100%);
    z-index: -1;
}

.slide-content {
    max-width: 700px;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.slide h1:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--mu-gold);
}

.slide p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: var(--mu-dark-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: slideInDown 1s ease;
    margin-bottom: 15px;
}

.slide-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.slide-actions .btn {
    animation: slideInUp 1s ease 0.5s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Button Styles */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 14px;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
}

.btn: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: all 0.6s ease;
    z-index: 1;
}

.btn:hover:before {
    left: 100%;
}

.btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--mu-gold) 0%, #ffb300 100%);
    color: var(--mu-dark-blue);
    font-weight: 700;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffb300 0%, var(--mu-gold) 100%);
    color: var(--mu-dark-blue);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Outline Primary Button */
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--mu-gold);
    color: var(--mu-gold);
    position: relative;
    z-index: 1;
}

.btn-outline-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--mu-gold) 0%, #ffb300 100%);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-outline-primary:hover {
    color: var(--mu-dark-blue);
    border-color: var(--mu-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.btn-outline-primary:hover:before {
    width: 100%;
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--mu-dark-blue) 0%, var(--mu-blue) 100%);
    color: #fff;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--mu-blue) 0%, var(--mu-dark-blue) 100%);
    color: #fff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(15, 94, 156, 0.4);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: 2px solid transparent;
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    color: #fff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* UGC NET NTA Style News & Events */
.nta-widget {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 10px;
}

.nta-header {
    background: linear-gradient(135deg, var(--mu-gold), #ffb300);
    color: var(--mu-dark-blue);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.nta-content {
    padding: 6px;
}

.nta-news-item {
    display: flex;
    align-items: flex-start;
    padding: 3px 0;
    border-bottom: 1px dotted #eee;
    font-size: 11px;
    line-height: 1.3;
}

.nta-news-item:last-child {
    border-bottom: none;
}

.nta-date {
    background: var(--mu-dark-blue);
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
    margin-right: 6px;
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

.nta-news-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
}

.nta-news-item a:hover {
    color: var(--mu-blue);
    text-decoration: underline;
}

.nta-event {
    display: flex;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px dotted #eee;
    font-size: 10px;
}

.nta-event:last-child {
    border-bottom: none;
}

.nta-event-date {
    background: var(--mu-blue);
    color: #fff;
    text-align: center;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    margin-right: 6px;
    min-width: 25px;
}

.nta-event-info strong {
    font-size: 10px;
    color: var(--mu-dark-blue);
}

.nta-event-info small {
    font-size: 9px;
    color: #666;
}

.nta-link {
    display: block;
    padding: 2px 0;
    color: #333;
    text-decoration: none;
    font-size: 10px;
    border-bottom: 1px dotted #eee;
}

.nta-link:last-child {
    border-bottom: none;
}

.nta-link:hover {
    color: var(--mu-blue);
    text-decoration: underline;
}

/* Donation Section Mobile Responsive */
@media (max-width: 991.98px) {
    #donation .row {
        flex-direction: column;
    }
    
    #donation .col-lg-7,
    #donation .col-lg-5 {
        width: 100%;
        max-width: 100%;
    }
    
    .donation-info,
    .donation-form {
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .donation-info h3 {
        font-size: 1.3rem !important;
    }
    
    .donation-form h5 {
        font-size: 1.1rem !important;
    }
    
    .impact-card {
        padding: 8px !important;
    }
    
    .donation-form .row.g-1 {
        gap: 2px;
    }
    
    .donation-form .btn {
        font-size: 11px !important;
        padding: 4px !important;
    }
}

@media (max-width: 575.98px) {
    .donation-info,
    .donation-form {
        padding: 15px !important;
    }
    
    .donation-info h3 {
        font-size: 1.2rem !important;
    }
    
    .donation-form h5 {
        font-size: 1rem !important;
    }
    
    .impact-card {
        padding: 6px !important;
    }
    
    .impact-card div {
        font-size: 12px !important;
    }
    
    .impact-card small {
        font-size: 10px !important;
    }
}

/* Mobile-First Responsive Design */
@media (max-width: 991.98px) {
    .slide {
        height: 60vh !important;
        min-height: 400px !important;
        padding: 40px 0 20px !important;
        background-position: center center !important;
    }
    
    .slide h1 {
        font-size: 1.8rem !important;
    }
    
    #about .row {
        flex-direction: column-reverse;
    }
    
    #services .card i {
        font-size: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .slide {
        height: 50vh !important;
        min-height: 350px !important;
    }
    
    .slide h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .slide-actions .btn {
        font-size: 12px !important;
        padding: 8px 16px !important;
        margin: 5px !important;
    }
    
    .alert-text {
        font-size: 12px !important;
    }
    
    .card-body {
        padding: 15px !important;
    }
    
    .founder-img {
        height: 250px !important;
    }
    
    .co-founder-img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 70px !important;
    }
    
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .slide {
        height: 45vh !important;
        min-height: 300px !important;
        padding: 40px 0 15px !important;
    }
    
    .slide h1 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }
    
    .slide-actions {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .slide-actions .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .card-body {
        padding: 12px !important;
    }
    
    .founder-img {
        height: 200px !important;
    }
    
    .co-founder-img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .co-founder-card h5 {
        font-size: 12px !important;
    }
    
    footer {
        padding: 30px 0 !important;
    }
    
    p {
        line-height: 1.6 !important;
    }
}

/* Co-Founders Slider Controls Mobile */
@media (max-width: 767.98px) {
    .prev-slide,
    .next-slide {
        font-size: 12px !important;
        padding: 8px 12px !important;
        margin: 0 5px !important;
    }
    
    .slide-counter {
        font-size: 14px !important;
        margin: 0 10px !important;
    }
}

@media (max-width: 575.98px) {
    .prev-slide,
    .next-slide {
        font-size: 11px !important;
        padding: 6px 10px !important;
        margin: 0 3px !important;
        min-width: 80px;
    }
    
    .prev-slide i,
    .next-slide i {
        font-size: 10px !important;
    }
    
    .slide-counter {
        font-size: 12px !important;
        margin: 0 8px !important;
        min-width: 40px;
    }
    
    .text-center.mt-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .text-center.mt-4 .slide-counter {
        order: -1;
        margin-bottom: 5px;
    }
    
    .text-center.mt-4 .prev-slide,
    .text-center.mt-4 .next-slide {
        width: 100px;
        margin: 0;
    }
}


.mu-section-header {
    border-bottom: 1px solid var(--mu-gold);
    padding-bottom: 8px;
}

.mu-news-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mu-news-header {
    background: linear-gradient(135deg, var(--mu-dark-blue), var(--mu-blue));
    color: #fff;
    padding: 6px 10px;
    margin: -1px -1px 8px -1px;
}

.mu-news-item {
    border-bottom: 1px solid #eee;
    padding: 6px 10px;
    transition: all 0.3s ease;
}

.mu-news-item:last-child {
    border-bottom: none;
}

.mu-news-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.mu-news-item.featured {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border: 2px solid var(--mu-gold);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 20px;
}

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

.mu-news-title {
    color: var(--mu-dark-blue);
    font-weight: 600;
    line-height: 1.4;
}

.mu-news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.mu-news-meta {
    font-size: 12px;
}

.mu-date-box {
    background: var(--mu-dark-blue);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 4px;
    min-width: 35px;
}

.mu-date-box .day {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.mu-date-box .month {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mu-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mu-widget-header {
    background: linear-gradient(135deg, var(--mu-gold), #ffb300);
    color: var(--mu-dark-blue);
    padding: 6px 10px;
    font-weight: 600;
    font-size: 14px;
}

.mu-widget-body {
    padding: 8px;
}

.mu-event-item {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.mu-event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mu-event-date {
    background: var(--mu-blue);
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 4px;
    min-width: 35px;
    margin-right: 8px;
    flex-shrink: 0;
}

.mu-event-date .day {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.mu-event-date .month {
    display: block;
    font-size: 7px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mu-event-content h6 {
    color: var(--mu-dark-blue);
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 11px;
}

/* Memorial Section Styles */
.memorial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* Inauguration Modal Styles */
.modal-xl {
    max-width: 1200px;
}

.modal-header {
    border-bottom: 2px solid var(--mu-gold);
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.inauguration-modal .modal-dialog {
    margin-top: 5vh;
}

.inauguration-modal .modal-content {
    border: 2px solid var(--mu-gold);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.inauguration-modal .modal-header {
    background: linear-gradient(135deg, var(--mu-dark-blue), var(--mu-blue));
    border-bottom: none;
    border-radius: 13px 13px 0 0;
}

.inauguration-modal .modal-title {
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.inauguration-modal .modal-body {
    background: #f8f9fa;
}

.inauguration-modal .alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 10px;
    color: white;
}

.inauguration-modal .alert-success .alert-heading {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.inauguration-modal .modal-footer {
    border-top: 2px solid var(--mu-gold);
    background: white;
    border-radius: 0 0 13px 13px;
}

/* Responsive modal adjustments */
@media (max-width: 991.98px) {
    .modal-xl {
        max-width: 95vw;
    }
    
    .inauguration-modal .modal-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .inauguration-modal .modal-dialog {
        margin: 2vh auto;
    }
    
    .inauguration-modal .modal-title {
        font-size: 1.1rem;
    }
    
    .inauguration-modal .modal-body {
        max-height: 60vh;
    }
}

.memorial-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.memorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.memorial-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 3rem;
}

.memorial-name {
    color: var(--mu-dark-blue);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.memorial-info-enhanced {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mu-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.date-display {
    font-size: 18px;
    font-weight: 600;
    color: var(--mu-dark-blue);
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.date-separator {
    color: #6c757d;
    margin: 0 8px;
}

.death-highlight {
    color: #dc3545;
    font-weight: 700;
}

.memorial-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.memorial-details p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.detail-value {
    color: var(--text-color);
    font-weight: 500;
}

.memorial-quote {
    font-size: 18px;
    font-style: italic;
    color: #6c757d;
}

.memorial-quote .highlighted-quote {
    color: var(--mu-gold);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Carousel Controls */
.memorial-control-prev,
.memorial-control-next {
    background: rgba(255, 193, 7, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.memorial-control-prev {
    left: 20px;
}

.memorial-control-next {
    right: 20px;
}

.memorial-control-prev:hover,
.memorial-control-next:hover {
    background: var(--mu-gold);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.memorial-control-icon {
    color: var(--mu-dark-blue);
    font-size: 20px;
    font-weight: bold;
}

.memorial-indicators {
    bottom: -50px;
}

.memorial-indicator {
    background: rgba(255, 193, 7, 0.5);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.memorial-indicator.active,
.memorial-indicator:hover {
    background: var(--mu-gold);
}

/* Mobile Responsive Styles for Memorial Section */
@media (max-width: 991.98px) {
    .memorial-slider {
        padding: 15px 0;
    }

    .memorial-card {
        margin: 0 15px;
        padding: 20px 15px;
    }

    .memorial-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .memorial-name {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .memorial-info-enhanced {
        margin-bottom: 20px;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 14px;
    }

    .date-display {
        font-size: 16px;
        padding: 6px 0;
    }

    .memorial-details p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .memorial-quote {
        font-size: 16px;
    }

    .memorial-control-prev,
    .memorial-control-next {
        width: 40px;
        height: 40px;
        opacity: 0.9;
    }

    .memorial-control-prev {
        left: 10px;
    }

    .memorial-control-next {
        right: 10px;
    }

    .memorial-control-icon {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .memorial-slider {
        padding: 10px 0;
    }

    .memorial-card {
        margin: 0 10px;
        padding: 15px 12px;
        border-radius: 12px;
    }

    .memorial-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .memorial-name {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .memorial-info-enhanced {
        margin-bottom: 15px;
        gap: 6px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    .date-display {
        font-size: 14px;
        padding: 5px 0;
    }

    .memorial-details {
        margin-top: 15px;
        padding-top: 15px;
    }

    .memorial-details p {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .memorial-quote {
        font-size: 14px;
    }

    .memorial-control-prev,
    .memorial-control-next {
        width: 35px;
        height: 35px;
        opacity: 0.9;
    }

    .memorial-control-icon {
        font-size: 14px;
    }

    .memorial-indicators {
        bottom: -40px;
    }

    .memorial-indicator {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

@media (max-width: 575.98px) {
    .memorial-slider {
        padding: 5px 0;
    }

    .memorial-card {
        margin: 0 5px;
        padding: 12px 10px;
    }

    .memorial-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .memorial-name {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .memorial-info-enhanced {
        margin-bottom: 12px;
        gap: 5px;
    }

    .info-label {
        font-size: 10px;
    }

    .info-value {
        font-size: 12px;
    }

    .date-display {
        font-size: 13px;
        padding: 4px 0;
    }

    .memorial-details {
        margin-top: 12px;
        padding-top: 12px;
    }

    .memorial-control-prev,
    .memorial-control-next {
        width: 30px;
        height: 30px;
        opacity: 0.8;
    }

    .memorial-control-prev {
        left: 5px;
    }

    .memorial-control-next {
        right: 5px;
    }

    .memorial-control-icon {
        font-size: 12px;
    }

    .memorial-indicators {
        bottom: -35px;
    }

    .memorial-indicator {
        width: 8px;
        height: 8px;
        margin: 0 2px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .memorial-card {
        margin: 0 3px;
        padding: 10px 8px;
    }

    .memorial-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .memorial-name {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .memorial-control-prev,
    .memorial-control-next {
        width: 28px;
        height: 28px;
        opacity: 0.7;
    }

    .memorial-control-prev {
        left: 3px;
    }

    .memorial-control-next {
        right: 3px;
    }

    .memorial-control-icon {
        font-size: 11px;
    }

    .memorial-details p {
        font-size: 11px;
        line-height: 1.2;
    }

    .memorial-quote {
        font-size: 12px;
    }

    .memorial-indicators {
        bottom: -30px;
    }

    .memorial-indicator {
        width: 6px;
        height: 6px;
        margin: 0 1px;
    }
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 4px 0;
    color: #666;
}

.list-group-item:hover {
    background: #f8f9fa;
    color: var(--mu-blue);
    transform: translateX(5px);
    text-decoration: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
    min-width: 180px;
}

/* Special Donate Button */
.btn-donate {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%) !important;
    color: #fff !important;
    border: 2px solid transparent !important;
    animation: pulse 2s infinite;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
}

.btn-donate:hover {
    background: linear-gradient(135deg, #ad1457 0%, #e91e63 100%) !important;
    color: #fff !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.5) !important;
    animation: none !important;
    text-decoration: none !important;
}

.btn-donate:focus,
.btn-donate:active {
    background: linear-gradient(135deg, #ad1457 0%, #e91e63 100%) !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3) !important;
    text-decoration: none !important;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3); }
    50% { box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3); }
}

/* Memorial Section Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .memorial-card {
        padding: 20px !important;
        margin: 0 10px;
    }
    
    .memorial-photo {
        margin-bottom: 15px !important;
    }
    
    .memorial-photo .bg-secondary {
        width: 120px !important;
        height: 120px !important;
        font-size: 48px !important;
    }
    
    .memorial-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .memorial-card p {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .memorial-card .lead {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    
    .memorial-details p {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }
}

@media (max-width: 767.98px) {
    .memorial-card {
        padding: 15px !important;
        margin: 0 5px;
    }
    
    .memorial-photo .bg-secondary {
        width: 100px !important;
        height: 100px !important;
        font-size: 40px !important;
    }
    
    .memorial-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }
    
    .memorial-card p {
        font-size: 0.85rem !important;
        margin-bottom: 6px !important;
    }
    
    .memorial-card .lead {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }
    
    .memorial-details p {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }
    
    .memorial-card .text-muted {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 575.98px) {
    .memorial-card {
        padding: 12px !important;
        margin: 0;
    }
    
    .memorial-photo {
        margin-bottom: 12px !important;
    }
    
    .memorial-photo .bg-secondary {
        width: 80px !important;
        height: 80px !important;
        font-size: 32px !important;
    }
    
    .memorial-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 6px !important;
    }
    
    .memorial-card p {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    
    .memorial-card .lead {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
    
    .memorial-details p {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    }
    
    .memorial-card .text-muted {
        font-size: 0.75rem !important;
    }
    
    /* Ensure carousel controls are visible on small screens */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        opacity: 0.8 !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 15px !important;
        height: 15px !important;
    }
}

/* Memorial Section Styles */
.memorial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    margin: 0 auto;
}

.memorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.memorial-photo {
    text-align: center;
    margin-bottom: 20px;
}

.memorial-photo .bg-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #1a237e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.memorial-card h3 {
    color: var(--mu-dark-blue);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.memorial-card p {
    text-align: center;
    margin-bottom: 10px;
}

.memorial-card .lead {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.memorial-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.memorial-details p {
    margin-bottom: 8px;
    color: #666;
}

.memorial-details strong {
    color: var(--mu-dark-blue);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
}

/* Hero Slider Image Enhancement */
.hero-slider .slide {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 60vh;
    min-height: 400px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Enhanced brightness and quality for banner images */
.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: brightness(1.2) contrast(1.1) saturate(1.15) hue-rotate(5deg);
    z-index: 1;
    animation: imageEnhance 2s ease-in-out;
}

@keyframes imageEnhance {
    0% {
        filter: brightness(1) contrast(1) saturate(1) hue-rotate(0deg);
        opacity: 0.8;
    }
    100% {
        filter: brightness(1.2) contrast(1.1) saturate(1.15) hue-rotate(5deg);
        opacity: 1;
    }
}

/* Dark overlay for better text readability */
.hero-slider .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(15, 94, 156, 0.4) 0%,
        rgba(26, 35, 126, 0.3) 50%,
        rgba(15, 94, 156, 0.4) 100%
    );
    z-index: 2;
}

/* Ensure text appears above overlays */
.hero-slider .slide > * {
    position: relative;
    z-index: 3;
}

/* Gallery Images Enhancement */
#gallery img, .gallery img, .img-fluid {
    filter: brightness(1.15) contrast(1.05) saturate(1.1);
    transition: all 0.3s ease;
}

#gallery img:hover, .gallery img:hover {
    filter: brightness(1.25) contrast(1.1) saturate(1.2);
    transform: scale(1.02);
}

/* About Section Image Enhancement */
#about img.img-fluid {
    filter: brightness(1.1) contrast(1.08) saturate(1.12);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#about img.img-fluid:hover {
    filter: brightness(1.2) contrast(1.12) saturate(1.2);
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Founder Images Enhancement */
.founder-img img, .co-founder-img img {
    filter: brightness(1.1) contrast(1.05) saturate(1.08);
    transition: all 0.3s ease;
}

.founder-card:hover .founder-img img,
.co-founder-card:hover .co-founder-img img {
    filter: brightness(1.2) contrast(1.1) saturate(1.15);
}

/* Memorial Carousel Styles */
#memorialCarousel {
    position: relative;
    overflow: hidden;
}

.memorial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.memorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.memorial-avatar {
    width: 120px;
    height: 120px;
    color: white;
    font-size: 48px;
    border: 5px solid #1a237e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.memorial-name {
    color: var(--mu-dark-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Enhanced Memorial Info Display */
.memorial-info-enhanced {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.info-item {
    background: rgba(26, 35, 126, 0.05);
    border: 2px solid rgba(26, 35, 126, 0.15);
    border-radius: 12px;
    padding: 12px 20px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nsid-item {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.08), rgba(26, 35, 126, 0.12));
    border-color: rgba(26, 35, 126, 0.25);
    font-size: 1.1rem;
    font-weight: 700;
}

.date-item {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0.12));
    border-color: rgba(220, 53, 69, 0.25);
    font-size: 1rem;
    font-weight: 600;
}

.info-label {
    color: var(--mu-dark-blue);
    font-weight: 700;
    margin-right: 8px;
    font-size: 0.95rem;
}

.info-value {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
}

.date-display {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.date-separator {
    color: #666;
    margin: 0 8px;
    font-weight: 300;
}

.death-highlight {
    color: #dc3545;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(220, 53, 69, 0.3);
}

.memorial-quote {
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    background: rgba(26, 35, 126, 0.05);
    padding: 12px 15px 15px;
    border-radius: 8px;
    border: 1px solid rgba(26, 35, 126, 0.1);
}

/* Memorial Carousel Controls */
.memorial-control-prev,
.memorial-control-next {
    width: 50px;
    height: 50px;
    background: rgba(26, 35, 126, 0.9);
    border-radius: 50%;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.memorial-control-prev {
    left: 10px;
}

.memorial-control-next {
    right: 10px;
}

.memorial-control-prev:hover,
.memorial-control-next:hover {
    background: rgba(26, 35, 126, 1);
    transform: translateY(-50%) scale(1.1);
}

.memorial-control-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

/* Memorial Indicators */
.memorial-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.memorial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(26, 35, 126, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.memorial-indicator.active {
    background-color: #1a237e;
    transform: scale(1.2);
}

.memorial-indicator:hover {
    background-color: rgba(26, 35, 126, 0.7);
}

/* Mobile Memorial Styles */
@media (max-width: 991.98px) {
    .memorial-card {
        padding: 20px !important;
        margin: 0 15px;
    }

    .memorial-avatar {
        width: 100px !important;
        height: 100px !important;
        font-size: 40px !important;
    }

    .memorial-name {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }

    .memorial-info-enhanced {
        gap: 10px !important;
        margin-bottom: 15px !important;
    }

    .info-item {
        padding: 10px 15px !important;
        min-width: 180px !important;
        border-radius: 10px !important;
    }

    .nsid-item {
        font-size: 1rem !important;
    }

    .date-item {
        font-size: 0.95rem !important;
    }

    .info-label {
        font-size: 0.9rem !important;
    }

    .info-value {
        font-size: 0.95rem !important;
    }

    .date-display {
        font-size: 0.95rem !important;
    }

    .death-highlight {
        font-size: 1rem !important;
    }

    .memorial-description {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }

    .memorial-details p {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
    }

    .memorial-quote {
        font-size: 1.1rem !important;
        padding: 15px 12px 18px !important;
        margin-top: 12px !important;
        font-weight: 600 !important;
        color: #555 !important;
        background: rgba(26, 35, 126, 0.08) !important;
        border: 1px solid rgba(26, 35, 126, 0.15) !important;
    }
}

@media (max-width: 767.98px) {
    .memorial-card {
        padding: 18px !important;
        margin: 0 10px;
    }

    .memorial-avatar {
        width: 90px !important;
        height: 90px !important;
        font-size: 36px !important;
    }

    .memorial-name {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }

    .memorial-info-enhanced {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .info-item {
        padding: 8px 12px !important;
        min-width: 160px !important;
        border-radius: 8px !important;
    }

    .nsid-item {
        font-size: 0.95rem !important;
    }

    .date-item {
        font-size: 0.9rem !important;
    }

    .info-label {
        font-size: 0.85rem !important;
    }

    .info-value {
        font-size: 0.9rem !important;
    }

    .date-display {
        font-size: 0.9rem !important;
    }

    .death-highlight {
        font-size: 0.95rem !important;
    }

    .memorial-description {
        font-size: 0.9rem !important;
    }

    .memorial-details p {
        font-size: 0.75rem !important;
    }

    /* Adjust controls for mobile */
    .memorial-control-prev,
    .memorial-control-next {
        width: 45px !important;
        height: 45px !important;
    }

    .memorial-control-prev {
        left: 5px !important;
    }

    .memorial-control-next {
        right: 5px !important;
    }

    .memorial-indicators {
        bottom: -35px !important;
    }
}

@media (max-width: 575.98px) {
    .memorial-card {
        padding: 15px !important;
        margin: 0 5px;
    }

    .memorial-avatar {
        width: 80px !important;
        height: 80px !important;
        font-size: 32px !important;
    }

    .memorial-name {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }

    .memorial-info-enhanced {
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .info-item {
        padding: 6px 10px !important;
        min-width: 140px !important;
        border-radius: 6px !important;
    }

    .nsid-item {
        font-size: 0.9rem !important;
    }

    .date-item {
        font-size: 0.85rem !important;
    }

    .info-label {
        font-size: 0.8rem !important;
    }

    .info-value {
        font-size: 0.85rem !important;
    }

    .date-display {
        font-size: 0.85rem !important;
    }

    .death-highlight {
        font-size: 0.9rem !important;
    }

    .memorial-description {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .memorial-details p {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
    }

    /* Ensure controls are visible on small screens */
    .memorial-control-prev,
    .memorial-control-next {
        width: 40px !important;
        height: 40px !important;
        opacity: 0.9 !important;
    }

    .memorial-indicator {
        width: 10px !important;
        height: 10px !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    #memorialCarousel {
        -webkit-overflow-scrolling: touch;
    }

    .carousel-item {
        touch-action: pan-y pinch-zoom;
    }
}

/* Carousel Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 13px;
        min-width: 120px;
    }
    
    .btn-lg {
        padding: 14px 32px;
        font-size: 14px;
        min-width: 140px;
    }
}





.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    padding: 30px 20px;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card i {
    color: var(--mu-blue);
    margin-bottom: 20px;
}

.card-title {
    font-weight: 600;
    margin-bottom: 15px;
}



.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: none;
}

/* Footer - Mumbai University Style */
footer {
    background: var(--mu-dark-blue);
    color: #fff;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--mu-gold);
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--mu-gold);
    color: var(--mu-dark-blue) !important;
    transform: translateY(-3px) scale(1.1);
    border-color: var(--mu-gold);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.social-links a i {
    font-size: 18px;
    line-height: 1;
}

/* Fallback text for social icons */
.social-text {
    display: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

/* Show fallback text if Font Awesome fails to load */
.social-links a:not([class*="fa-"]) .social-text,
.social-links a i:not([class*="fa-"]) + .social-text {
    display: inline;
}

.social-links a i[class*="fa-"] + .social-text {
    display: none;
}

/* Force display of social links */
.social-links {
    min-height: 45px;
}

.social-links a {
    min-width: 45px;
    min-height: 45px;
    background: #333 !important;
    color: #fff !important;
    text-decoration: none !important;
}



.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--mu-gold);
    color: var(--mu-dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    background: var(--mu-dark-blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.founder-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.founder-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    background: #f8f9fa;
}

.founder-card:hover .founder-img img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 94, 156, 0.8);
    padding: 12px 0;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.founder-card:hover .social-links {
    transform: translateY(0);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    margin: 0 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--mu-gold);
    color: var(--mu-dark-blue);
    transform: translateY(-3px);
}

.founder-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-info h3 {
    color: var(--mu-dark-blue);
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.designation {
    color: var(--mu-gold);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.designation:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--mu-gold);
}

.founder-bio {
    margin: 20px 0;
    flex: 1;
}

.founder-bio p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 15px;
}

.quote {
    font-style: italic;
    color: var(--mu-blue);
    padding: 12px 15px;
    background: rgba(15, 94, 156, 0.05);
    border-left: 3px solid var(--mu-gold);
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1199.98px) {
    .founder-img {
        height: 280px;
    }
}

@media (max-width: 991.98px) {
    .founder-info {
        padding: 20px;
    }
    
    .founder-img {
        height: 320px;
    }
}

@media (max-width: 767.98px) {
    .founder-img {
        height: 380px;
    }
    
    .founder-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .founder-img {
        height: 300px;
    }
    
    .founder-info {
        padding: 20px 15px;
    }
    
    .founder-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.co-founders-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
}

.co-founders-layer {
    display: none;
    transition: all 0.5s ease;
    padding: 15px 0;
}

.co-founders-layer.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.co-founder-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.co-founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.co-founder-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--mu-gold);
    padding: 3px;
}

.co-founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.co-founder-card:hover .co-founder-img img {
    transform: scale(1.05);
}

.co-founder-card h5 {
    color: var(--mu-dark-blue);
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.co-founder-card .designation {
    color: var(--mu-gold);
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
}

.slide-counter {
    display: inline-block;
    min-width: 60px;
    color: var(--mu-dark-blue);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .co-founder-img {
        width: 100px;
        height: 100px;
    }
    
    .co-founder-card h5 {
        font-size: 16px;
    }
    
    .co-founder-card .designation {
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .co-founders-slider {
        margin: 0 -10px;
    }
    
    .co-founder-card {
        padding: 15px 10px;
    }
    
    .co-founder-img {
        width: 90px;
        height: 90px;
    }
}

/* Dashboard toast and avatar tweaks */
.toast-body {
    font-weight: 600;
    color: #fff;
}
.avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    color: var(--mu-dark-blue);
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    background-color: #f8f9fa;
}

.auth-wrapper {
    display: flex;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.auth-left {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, var(--mu-blue), var(--mu-dark-blue));
    color: white;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/auth-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.auth-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 94, 156, 0.85);
}

.auth-overlay {
    position: relative;
    z-index: 1;
    max-width: 100%;
    text-align: center;
    padding: 20px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.auth-logo img {
    max-width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid var(--mu-gold);
}

.auth-logo h1 {
    font-size: 24px;
    color: var(--mu-dark-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-logo p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 14px;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.auth-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 13px;
    display: block;
}

.auth-form .form-control {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
    font-size: 14px;
    height: auto;
}

.auth-form .form-control:focus {
    border-color: var(--mu-blue);
    box-shadow: 0 0 0 0.2rem rgba(15, 94, 156, 0.15);
}

.auth-form .input-group-text {
    background: #f8f9fa;
    border-right: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    border: 1px solid #dee2e6;
}

.auth-form .input-group .form-control {
    border-left: none;
    padding: 10px 12px;
}

.auth-form .input-group-text i {
    color: var(--mu-blue);
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .auth-wrapper {
        flex-direction: column;
        max-width: 500px;
    }
    
    .auth-left {
        width: 100%;
        padding: 30px;
        min-height: auto;
    }
    
    .auth-right {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .auth-container {
        padding: 90px 15px 30px;
    }
    
    .auth-left {
        padding: 25px 20px;
    }
    
    .auth-logo h1 {
        font-size: 22px;
    }
    
    .auth-logo img {
        max-width: 70px;
        height: 70px;
    }
    
    .auth-form .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.toggle-password {
    border-left: none !important;
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-left: none !important;
    cursor: pointer !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 50px !important;
    transition: all 0.3s ease !important;
    border-radius: 0 6px 6px 0 !important;
}

.toggle-password:hover {
    background: #e9ecef !important;
    border-color: var(--mu-blue) !important;
    transform: scale(1.05) !important;
}

.toggle-password:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 94, 156, 0.25) !important;
    border-color: var(--mu-blue) !important;
}

.toggle-password:active {
    background: #dee2e6 !important;
    transform: scale(0.98) !important;
}

.toggle-password i {
    color: #495057 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.toggle-password:hover i {
    color: var(--mu-blue) !important;
    transform: scale(1.1) !important;
}

/* Desktop specific enhancements */
@media (min-width: 992px) {
    .toggle-password {
        background: #e9ecef !important;
        border-color: #ced4da !important;
        min-width: 55px !important;
        padding: 0 18px !important;
    }
    
    .toggle-password i {
        font-size: 20px !important;
        color: #343a40 !important;
    }
    
    .toggle-password:hover {
        background: #dee2e6 !important;
        border-color: var(--mu-blue) !important;
        box-shadow: 0 2px 8px rgba(15, 94, 156, 0.2) !important;
    }
    
    .toggle-password:hover i {
        color: var(--mu-blue) !important;
        text-shadow: 0 1px 2px rgba(15, 94, 156, 0.3) !important;
    }
}

.forgot-password {
    font-size: 14px;
    color: var(--mu-blue);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}



.auth-divider {
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
    z-index: 1;
}

.auth-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #6c757d;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-login .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.benefits-list i {
    color: var(--mu-gold);
    margin-right: 10px;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }
    
    .slide {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
        text-align: center;
        padding: 20px 0;
    }
    
    .slide-content {
        margin: 0 auto;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .slide h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .slide h1:after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    
    .slide p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .slide-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .slide-actions {
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        margin-top: 0;
    }
    
    .slide h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .slide p.lead {
        font-size: 16px !important;
    }
    
    .slide-actions .btn {
        padding: 8px 15px !important;
        font-size: 14px !important;
        margin: 5px 0 !important;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .slide {
        height: 100vh;
        min-height: 500px;
        padding: 80px 0 20px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .slide .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide-content {
        padding: 20px;
        max-width: 100%;
        text-align: center;
    }
    
    .slide h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: #fff !important;
    }
    
    .slide h1:after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
    }
    
    .slide p {
        font-size: 1rem;
        margin-bottom: 25px;
        color: rgba(255,255,255,0.9) !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    #about, #services, #gallery, #contact {
        padding: 70px 0;
    }
}

@media (max-width: 575.98px) {
    .slide {
        height: 55vh;
        min-height: 400px;
        padding: 10px 0;
    }
    
    .slide-content {
        padding: 0 10px;
    }
    
    .slide h1 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }
    
    .slide h1:after {
        width: 40px;
        height: 2px;
    }
    
    .slide p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .slide-badge {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }
    
    .slide-actions .btn {
        padding: 10px 20px;
        font-size: 12px;
        max-width: 200px;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease forwards;
}
/* Enhanced Mobile-Only Optimizations */
@media (max-width: 576px) {
    .navbar-brand {
        flex-direction: row !important;
        align-items: center !important;
        max-width: 75%;
    }
    
    .navbar-brand img {
        height: 50px !important;
        width: 50px !important;
        margin-right: 10px !important;
    }
    
    .brand-text {
        font-size: 14px !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }
    
    .slide {
        height: 60vh !important;
        min-height: 400px !important;
        padding: 60px 0 20px !important;
    }
    
    .slide h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .slide p {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    
    .slide-actions {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    
    .slide-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        text-align: center !important;
        margin-bottom: 25px !important;
    }
    
    .card {
        padding: 25px 20px !important;
        margin-bottom: 20px !important;
    }
    
    .card i {
        font-size: 2.5rem !important;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .alert-text {
        font-size: 13px !important;
    }
    
    .contact-form .form-control {
        font-size: 16px !important;
        padding: 12px !important;
    }
    
    .contact-info h5 {
        font-size: 1.1rem !important;
    }
    
    .contact-info p {
        font-size: 0.9rem !important;
    }
    
    .social-links a {
        font-size: 20px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
}

/* Tablet optimizations */
@media (min-width: 577px) and (max-width: 768px) {
    .navbar-brand img {
        height: 55px !important;
        width: 55px !important;
    }
    
    .brand-text {
        font-size: 16px !important;
    }
    
    .slide h1 {
        font-size: 2.2rem !important;
    }
    
    .slide p {
        font-size: 1.1rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}

/* Touch improvements for all mobile devices */
@media (max-width: 768px) {
    .btn, .nav-link, .dropdown-item {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        text-align: center !important;
    }
    
    .dropdown-menu {
        width: 100% !important;
        text-align: center !important;
    }
    
    .form-control {
        font-size: 16px !important;
    }
    
    .hero-section {
        padding: 3rem 0 !important;
        margin-top: 70px !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.1rem !important;
    }
}

/* Co-Founders Slider Styles */
.co-founders-slider {
    position: relative;
    overflow: hidden;
}

.co-founders-layer {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.co-founders-layer.active {
    display: block;
    opacity: 1;
}

.co-founder-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.co-founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.co-founder-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--mu-blue);
}

.co-founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-founder-card h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--mu-dark-blue);
}

.co-founder-card .designation {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.slide-counter {
    font-weight: 600;
    color: var(--mu-blue);
}

@media (max-width: 768px) {
    .co-founder-img {
        width: 60px;
        height: 60px;
    }
    
    .co-founder-card h5 {
        font-size: 12px;
    }
    
    .co-founder-card .designation {
        font-size: 10px;
    }
}

/* Users Page Mobile Improvements */
@media (max-width: 768px) {
    .member-avatar {
        margin-bottom: 1rem !important;
    }
    
    .member-info small {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    .pagination {
        font-size: 14px !important;
    }
    
    .pagination .page-link {
        padding: 8px 12px !important;
        margin: 2px !important;
    }
    
    .empty-state {
        padding: 2rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .member-avatar div {
        width: 70px !important;
        height: 70px !important;
        font-size: 20px !important;
    }
    
    .badge {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
    
    .pagination .page-link {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    
    .d-flex.gap-2 .btn {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
}