html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Custom theme colors */
:root {
    --bs-primary: #004085; /* Dark blue */
    --bs-primary-rgb: 0, 64, 133;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
}

.bg-alumni {
    background: linear-gradient(90deg, #002b5c, #00509e); /* Professional blue */
}

.bg-alumni-dark {
    background-color: #001f3f; /* Subtle dark for contrast */
}

.navbar .nav-link,
.navbar .dropdown-toggle {
    color: #ffffff;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
    color: #ffc107 !important;
    text-decoration: underline;
}

.navbar-brand h4,
.navbar-brand small {
    color: white;
}

.text-white small {
    font-size: 0.85rem;
}

/* Footer styling */
footer.footer {
    background: linear-gradient(90deg, #003366, #00509e);
    padding: 15px 0;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    border-top: 1px solid #dee2e6;
    line-height: 10px !important;
}

/* Content spacing */
main[role="main"] {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Card hover effect */
.card {
    
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

/* Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: #002752;
        border-color: #002752;
    }

/* Responsive logo */
.navbar-brand img {
    max-height: 45px;
    margin-right: 0.5rem;
}
/* Add to site.css or inside <style> in _Layout.cshtml */

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

    .transition-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

/* Sync with navbar theme */
.card-title {
    font-weight: 600;
    color: #0d6efd; /* Bootstrap primary */
}

.card-text {
    color: #6c757d;
}
/**
    slide images after 2 sec
    
*/
.slideshow-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.slideshow {
    width: 100%;
    height: 600px; /* Reduced height */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit:fill; /* Makes it full banner-style */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

    .slide-image.active {
        opacity: 1;
        z-index: 1;
    }


.prev, .next {
    position: absolute;
    top: 15rem; /* Move to top */
    transform: translateY(0); /* Remove vertical center transform */
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 6px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

    .prev:hover, .next:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

.slideshow:hover .prev,
.slideshow:hover .next {
    opacity: 1;
}

.prev, .next {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.dots-container {
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

    .dot.active {
        background-color: #007bff;
    }

    /*
        director msg
    */
.president-message-section {
    background-color: #e8f1fb;
    color: #003870;
}

@media (max-width: 768px) {
    .president-message-section .col-md-3 img {
        margin-top: 1rem;
    }
}
.scroll-row-wrapper {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.scroll-row {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

.scroll-left {
    animation-direction: normal;
}

.scroll-right {
    animation-direction: reverse;
}

.alumnus-card {
    min-width: 150px;
    max-width: 180px;
    text-align: center;
    transition: transform 0.3s ease;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
}

    .alumnus-card:hover {
        transform: scale(1.05);
        box-shadow: 0px 6px 15px rgba(0,0,0,0.15);
    }

.alumnus-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    /*border: 3px solid #0d6efd;*/
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Wrapping container */
/*.scroll-row-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);*/ /* For fade effect */
    /*-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}*/

/* Scrolling container inside wrapper */
/*.scroll-row {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    white-space: nowrap;
    align-items: center;
    will-change: transform;
}*/

/* Scroll animations */
/*.scroll-left {
    animation: scroll-left 40s linear infinite;
}

.scroll-right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}*/

/* Alumnus Card */
/*.alumnus-card {
    display: flex;
    align-items: center;
    min-width: 280px;
    max-width: 300px;
    padding: 12px 16px;
    background-color: #E8F1FB ;*//*#89B0E2; /*#E8F1FB ;/*#faf9f6;*/
    /*border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #004085;
}

    .alumnus-card:hover {
        transform: translateY(-2px);
    }

.photo {
    flex: 0 0 60px;
}

.alumnus-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.info {
    flex: 1;
    padding-left: 12px;
}*/


.social-icons a {
    color: #444;
    transition: color 0.3s;
}

    .social-icons a:hover {
        color: #007bff;
    }

.scrollable-section::-webkit-scrollbar {
    width: 6px;
}

.scrollable-section::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.scrollable-section {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.engage-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.engage-box {
    background-color: #E8F1FB; /* Bootstrap primary */
    color: #002244;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

    .engage-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(13, 110, 253, 0.3);
    }

.engage-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background-color: #002244;
    color: #E8F1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.engage-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.engage-description {
    font-size: 0.95rem;
    color: #dce5ff;
}

.scrollable-section {
    max-height: 450px;
    overflow-y: auto;
}


.news-event-box {
    padding: 1.5rem;
    background-color: #f4f9ff; /* softer blue-tinted background */
    border-bottom: 1px solid #d0dbe8;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .news-event-box:hover {
        background-color: #e6f0fc;
        transform: translateY(-2px);
    }

.news-event-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #003366; /* deep navy */
    margin-bottom: 0.25rem;
}

.news-event-date {
    font-size: 0.95rem;
    color: #5a6872; /* more muted and readable */
    margin-bottom: 0.2rem;
}

.news-event-type {
    font-size: 0.9rem;
    color: #1b4f72;
    font-weight: 600;
}

.news-event-btn {
    border: 1px solid #0d6efd;
    color: #0d6efd;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
}

    .news-event-btn:hover {
        background-color: #0d6efd;
        color: #ffffff;
        text-decoration: none;
    }

.modal-header.bg-primary {
    background-color: #0d6efd !important;
}

.alumni-memoir {
    background-color: #E8F1FB;
}

.logoarea {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
}

img.topLogoImg-1 {
    margin-right: 50px;
}

.logoarea img {
    width: 100px;
    margin-right: 10px;
    margin-bottom: 5px;
    background: #fff;
    height: 100px;
    border-radius: 50%;
    padding: 2px;
    object-fit: contain;
}

.toserBox {
    position: absolute;
    right: 20px;
    top: 50px;
}

p.top-logoHeading span {
    font-size: 30px;
}

.logoarea p {
    color: #000;
    margin: 0px;
    text-align: center;
    font-weight: 600;
    font-size: 30px;
}

/*:root {
    --bs-body-font-family: 'Playfair Display', Arial, sans-serif;
}
*/
/*body {
    font-family: 'Playfair Display', serif;
}*/

h1, h2, h3, h4, h5, h6,a {
    font-family: 'Playfair Display', serif;
}

/*p{
    font-family: 'Roboto-Slab', serif;
}
*/


.alumni-slider {
    background: #f8f9fa;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-track {
    column-gap: 168px;
    display: flex;
    width: calc(200px * 12); /* image width * number of images */
    animation: scroll 25s linear infinite;
}

.slide {
    width: 200px;
    margin: 0 15px;
    flex-shrink: 0;
    text-align: center;
}

    .slide img {
        gap: 30px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

/* Smooth continuous scrolling */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


@media print {
    body

{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12pt;
    color: #000;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th, .table td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: left;
    }

    .table th {
        background-color: #f8f9fa;
    }

/* Keep icons in print */
.bi, .fas {
    font-family: "Bootstrap-icons", "Font Awesome 5 Free";
    font-weight: 900;
}

/* Hide unnecessary buttons */
.btn, .no-print {
    display: none !important;
}

}