/* Blue theme color */
:root {
    --theme-blue: #124489;
    --theme-blue-light: #77A2D6;
}


* {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@keyframes blink {
    0% {
        box-shadow: 0 0 5px #17a2b8;
    }

    50% {
        box-shadow: 0 0 20px #17a2b8;
    }

    s 100% {
        box-shadow: 0 0 5px #17a2b8;
    }
}

.section-title {
    background-color: #F6F6F6;
    padding: 5px 5px !important;
    margin-top: 0px !important;
    position: relative !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    /* box-shadow: 0 1px 0.5px var(--theme-blue-light); */
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -o-transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
        -webkit-transform: translateX(-30px);
        -moz-transform: translateX(-30px);
        -ms-transform: translateX(-30px);
        -o-transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
        -webkit-transform: translateX(30px);
        -moz-transform: translateX(30px);
        -ms-transform: translateX(30px);
        -o-transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bg-light-blue {
    background-color: var(--theme-blue-light) !important;
    color: #fff !important;
}


/* Text */
.text-info {
    color: var(--theme-blue) !important;
}

/* Backgrounds */
.bg-info {
    background-color: var(--theme-blue) !important;
    color: #fff !important;
}

/* Buttons */
.btn-outline-info {
    border-color: var(--theme-blue) !important;
    color: var(--theme-blue) !important;
}

.btn-outline-light {
    border-color: #f8f9fa !important;
    color: #f8f9fa !important;
}


.btn-info {
    background-color: var(--theme-blue) !important;
    color: #fff !important;
}

.btn-info:hover,
.btn-outline-info:hover,
.btn-outline-light:hover {
    background-color: var(--theme-blue) !important;
    color: #fff !important;
}

.navbar-nav .nav-link {

    font-size: 13px;
}

h2 {
    font-size: 20px;
}

/* Animation classes */
.fadeInDown {
    animation: fadeInDown 1s ease forwards;
}

.fadeInLeft {
    animation: fadeInLeft 2s ease forwards;
    animation-delay: 0.5s;
    -webkit-animation: fadeInLeft 2s ease forwards;
}

.fadeInRight {
    animation: fadeInRight 2s ease forwards;
    animation-delay: 1s;
    -webkit-animation: fadeInRight 2s ease forwards;
}

.zoomIn {
    animation: zoomIn 2s ease forwards;
    animation-delay: 1.5s;
    -webkit-animation: zoomIn 2s ease forwards;
}

.counter {
    font-size: 2.5rem;
    transition: all 0.3s ease-in-out;
}

/* Base nav link style */
.navbar-nav .nav-link {
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Active state */
.navbar-nav .nav-link.active {
    color: var(--theme-blue) !important;
    border-bottom-color: var(--theme-blue);
    font-weight: 600;
    width: auto;
}

/* Hover state */
.navbar-nav .nav-link:hover {
    color: var(--theme-blue) !important;
    border-bottom-color: var(--theme-blue);
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 67vh;
}

footer {
    margin-top: auto;
    bottom: 0 !important;
}

.badge-info {
    background-color: var(--theme-blue) !important;
    color: white !important;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: var(--theme-blue);
    text-decoration: underline;
}

.text-primary {
    color: var(--theme-blue-light) !important;
}

.bg-info {
    background-color: var(--theme-blue-light) !important;
}

.bg-primary {
    background-color: var(--theme-blue) !important;
}

.border-primary {
    border-color: var(--theme-blue-light) !important;
}

.slider-wrapper {
    height: 100vh;
    max-height: 700px;
    background-color: #000;
}

.object-fit-cover {
    object-fit: cover;
}


.category-scroll-wrapper {
    -webkit-overflow-scrolling: touch;
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.05);
}

.image-div {
    -webkit-column-count: 3;
    -webkit-column-gap: 0px;
    -moz-column-count: 3;
    -moz-column-gap: 0px;
    column-count: 3;
    column-gap: 5px;
    align-items: start;
}

.image-div>div {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 5px;
    width: 100%;
}

.program-div {
    -webkit-column-count: 4;
    -webkit-column-gap: 0px;
    -moz-column-count: 4;
    -moz-column-gap: 0px;
    column-count: 4;
    column-gap: 2px;
    align-items: start;
}

.program-div>div {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 4px;
    width: 100%;
    padding: 3px !important;
}

.download-div {
    -webkit-column-count: 3;
    -webkit-column-gap: 0px;
    -moz-column-count: 3;
    -moz-column-gap: 0px;
    column-count: 3;
    column-gap: 2px;
    align-items: start;
}

.download-div>div {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 4px;
    width: 100%;
    padding: 3px !important;
}

.dropdown .dropdown-menu::before {
    border: 0 !important;
    color: var(--theme-blue-light) !important;
}

.dropdown .dropdown-menu::after {
    border: 0 !important;
    color: var(--theme-blue-light) !important;
}

.list-group .nav-item {
    margin: 0px !important;
}

.list-group .nav-item .nav-link {
    padding: 0px !important;
}

.list-group .nav-item a:hover {
    background-color: white !important;
    color: var(--theme-blue) !important;
    border-radius: 1.5rem;
}

@media (max-width: 960px) {
    .image-div {
        column-count: 3;
    }

    .program-div {
        column-count: 3;
    }

    div.download-div {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .image-div {
        column-count: 2;
    }

    .program-div {
        column-count: 2;
    }

    div.download-div {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .image-div {
        column-count: 1;
    }

    .program-div {
        column-count: 1;
    }

    div.download-div {
        column-count: 1;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(87, 86, 86, 0.4);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Pagination container */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

/* Pagination links */
.page-link {
    background-color: var(--theme-blue) !important;
    border-color: var(--theme-blue) !important;
    color: #fff !important;
    width: auto !important;
    height: auto !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0 0.15rem !important;
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.page-link:hover {
    background-color: var(--theme-blue) !important;
    /* darker shade */
    color: #fff !important;
}

/* Active page link */
.page-item.active .page-link {
    background-color: var(--theme-blue) !important;
    border-color: var(--theme-blue) !important;
    color: #fff !important;
}

/* Disabled state */
.page-item.disabled .page-link {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Small screens */
@media (max-width: 576px) {
    .page-link {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

.dropdown-menu {
    background-color: var(--theme-blue-light) !important;
    color: #ffffff !important;
}

.dropdown-item {
    color: #ffffff !important;
    background-color: var(--theme-blue-light) !important;
}

.iti {
    width: 100% !important;
}

/* Ribbon container */
#ribbon {
    color: #fff;
    min-height: 40px !important;
    height: auto;
    padding: 0.4rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.7s ease-in-out;
}

/* Smooth navbar movement */
#navbarPresentationShadow {
    transition: top 0.7s ease-in-out;
}

/* Social icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

/* Hover effects */
.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

#mainHeader {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.image-div {
    -webkit-column-count: 6;
    -webkit-column-gap: 0px;
    -moz-column-count: 6;
    -moz-column-gap: 0px;
    column-count: 6;
    column-gap: 5px;
}

.image-div>div {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 5px;
    width: 100%;
}

@media (max-width: 768px) {
    .image-div {
        column-count: 4;
    }
}

@media (max-width: 576px) {
    .image-div {
        column-count: 2;
    }
}

.gallery-image-div {
    -webkit-column-count: 4;
    -webkit-column-gap: 0px;
    -moz-column-count: 4;
    -moz-column-gap: 0px;
    column-count: 4;
    column-gap: 5px;
}

.gallery-image-div>div {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 5px;
    width: 100%;
}

@media (max-width: 768px) {
    .gallery-image-div {
        column-count: 3;
    }
}

@media (max-width: 576px) {
    .gallery-image-div {
        column-count: 2;
    }
}

/* social link footer */
.social-link {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: var(--theme-blue-light);
    width: 36px;
    height: 36px;
    position: relative;
}

.social-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-color: var(--theme-blue-light);
}

.social-link:hover {
    background: var(--theme-blue-light);
    border: var(--theme-blue);
    transform: scale(1.15);

}

.social-link:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px currentColor;
}

/* Pulse animation on hover */
.social-link .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-link:hover .pulse {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.section-title:hover .title-underline {
    width: 80px;
    background: white;
}

/* About Section */
.logo-container {
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-image {
    transition: all 0.3s ease;
    max-width: 200px;
}

.logo-container:hover .logo-image {
    filter: brightness(1.1);
}

.about-text {
    line-height: 1.6;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.about-text:hover {
    opacity: 1;
}

.text-highlight {
    color: #ffd700;
    transition: all 0.3s ease;
}

.text-highlight:hover {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.mission-badge {
    animation: fadeInUp 0.6s ease;
}

/* Quick Links Section */
.quick-links {
    list-style: none;
    padding: 0;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.link-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    padding-left: 10px;
}

.link-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.link-item:hover .link-icon {
    transform: translateX(3px);
    color: #ffd700 !important;
}

.link-text {
    transition: all 0.3s ease;
}

.external-badge {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: auto;
    font-size: 0.8rem;
}

.link-item:hover .external-badge {
    opacity: 1;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);

}

.icon-wrapper {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: #ffd700 !important;

}

.icon-wrapper i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-detail {
    flex: 1;
}

.contact-detail .label {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail .value {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-detail .value:hover {
    color: #ffd700 !important;
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
}

.action-btn {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Working Hours Section */
.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700 !important;

}

.hours-item.closed {
    opacity: 0.7;
}

.day {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.time .badge {
    font-weight: normal;
    transition: all 0.3s ease;
}

.hours-item:hover .badge {
    transform: scale(1.02);
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.status-indicator.open {
    background: rgba(40, 167, 69, 0.2);
}

.status-indicator.closed {
    background: rgba(220, 53, 69, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-indicator.open .status-dot {
    background: #28a745;
}

.status-indicator.closed .status-dot {
    background: #dc3545;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section,
.quick-links-section,
.contact-section,
.hours-section {
    animation: fadeInUp 0.6s ease forwards;
}

.quick-links-section {
    animation-delay: 0.1s;
}

.contact-section {
    animation-delay: 0.2s;
}

.hours-section {
    animation-delay: 0.3s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-item {
        padding: 5px;
    }

    .quick-actions {
        justify-content: center;
    }

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .section-title {
        text-align: center;
    }

    .title-underline {
        left: 50%;
        transform: translateX(-50%);
    }
}

.policy-links .policy-link:hover {
    color: #ffd700 !important;
}

.phone-input {
    width: 100% !important;
}


a>div:hover * {
    color: var(--theme-blue) !important;
}