body {
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
}
a:link {
    text-decoration: none;
}
h1 {
    font-size: 1.5em;
}
h2 {
    font-size: 1.3em;
}
h3 {
    font-size: 1.2em;
}
h1, h2, h3 {
    font-weight: 500;
}
hr {
    margin: 2rem auto;
    border-top: 1px solid #999;
}
#logo img {
    height: 40px !important;
    width: auto !important;
}
.nav-item {
    text-transform: uppercase;
    letter-spacing: -.5px;;
}
.dropdown-item {
    text-transform: none;
    letter-spacing: normal;
}
@media screen and (max-width: 791px) {
    .dropdown-toggle::after {
        display: none;
    }
    h1 {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1.2em;
    }
    h3 {
        font-size: 1.2em;
    }
}
.ph-sm {
    font-size: 1.2em;
}
.ph-2x {
    font-size: 2em;
}
.ph-3x {
    font-size: 2.5em;
}
.bg-ttv {
    background-color: #006885;
}
.btn-vpt {
    background: linear-gradient(to right, #006885 0%, #006885 50%, #fc0 50%, #fc0 100%);
    background-size: 200% 100%;
    background-position: right;
    color: #000;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: background-position 0.4s ease, color 0.4s ease;
}
.btn-vpt:hover {
    background-position: left;
    color: #fff;
    text-decoration: none;
}
.btn-vpt:focus,
.btn-vpt:active {
    background-position: left;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}
.btn-vpt-dark {
    background: linear-gradient(to right, #f70 0%, #f70 50%, #006885 50%, #006885 100%);
    background-size: 200% 100%;
    background-position: right;
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 0.6rem 2rem;
    transition: background-position 0.4s ease, color 0.4s ease;
}
.btn-vpt-dark:hover {
    background-position: left;
    color: #fff;
    text-decoration: none;
}
.btn-vpt-dark:focus,
.btn-vpt-dark:active {
    background-position: left;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

.btn-outline-vpt {
    background: linear-gradient(to right, #ffcc00 0%, #ffcc00 50%, transparent 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: right;
    color: #006885;
    border: 1px solid #006885;
    font-weight: 500;
    padding: 0.4rem 2rem;
    transition: background-position 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.btn-outline-vpt:hover {
    background-position: left;
    color: #000;
    border-color: #ffcc00;
    text-decoration: none;
}
.btn-outline-vpt:focus,
.btn-outline-vpt:active {
    background-position: left;
    color: #000;
    border-color: #ffcc00;
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}
/* Navigation Menu Styles */
.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #fc0 !important;
}
.nav-link.active {
    color: #f70 !important;
}

.dropdown-menu {
    background-color: #d3dfe5;
}

.dropdown-item {
    text-transform: none;
    letter-spacing: normal;
    color: #006885;
}
.dropdown-item a {
    color: #000;
}
.dropdown-item:hover {
    color: #000;
    background-color: inherit;
}
.dropdown-item.active {
    color: #f70;
    background-color: #d3dfe5;
}

.dropdown-divider {
    border-top-color: #b5c3b8 !important;
}
.border-footer {
    border-top-color: #ccc !important;
}
.border-vpt {
    border-color: #006885 !important;
}
.border-gray {
    border-color: #ccc !important;
}

.vpt-link {
    color: #000;
    position: relative;
    text-decoration: none;
    background: linear-gradient(to right, #fc0 0%, #fc0 100%);
    background-size: 100% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 4px;
    padding-top: 4px;
    transition: background-size 0.3s ease;
}
.vpt-link:hover {
    background-size: 100% 100%;
    color: #000;
}
#footer a,
.footer-link a,
.social-links a,
.hover-effect {
    color: #006885 !important;
}
.social-links a:hover,
.footer-link a:hover
.hover-effect:hover {
    color: #f70 !important;
    text-decoration: none;
}
.hover-effect {
    position: relative;
}
.hover-effect::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    color: #f70 !important;
    background-color: #f70;
    transition: width 0.3s ease;
}

.hover-effect:hover::after {
    width: 100%;
}
.bg-ttv {
    background: #006885 !important;
}
.text-yellow {
    color: #d17e38 !important;
}
/* Active Navigation Link */
.navbar-nav .nav-link.nav-active {
    color: #fc0 !important;
}
.dropdown-menu .dropdown-item.nav-active {
    color: #f70 !important;
}
@media (min-width: 992px) {
    .nav-item.border-bottom {
        border-bottom: none !important;
    }
}

/* Sidebar Navigation List Styling */
.sidebar ul.list-unstyled li {
    position: relative;
    padding-left: 12px;
    color: #004d5f;
}

.sidebar ul.list-unstyled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: #6c757d;
    transition: background-color 0.3s ease;
}

.sidebar ul.list-unstyled li:hover::before {
    background-color: #f70;
}

.sidebar ul.list-unstyled li.active::before {
    background-color: #f70;
}

.sidebar ul.list-unstyled li.active a {
    color: #f70;
}

.footer-brand p {
    line-height: 1.6;
}

/* Check List Style */
ul.check {
    list-style: none;
    padding-left: 0;
}

ul.check li {
    position: relative;
    padding-left: 1.8em;
}

ul.check li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.2em;
    height: 1.2em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="%23999" viewBox="0 0 256 256"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Print Gallery - 5 Column Layout */
.slide-container {
    width: 100%;
}

.slide-row-wrapper {
    column-count: 5;
    column-gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.slide-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    break-inside: avoid;
    margin-bottom: 20px;
}

.slide-item-image {
    width: 100%;
    border: 1px solid #ddd;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.slide-item-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

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

.slide-item-title {
    text-align: center;
    font-size: 0.95rem;
    word-wrap: break-word;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1399px) {
    .slide-row-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) {
    .slide-row-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .slide-row-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .slide-item {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .slide-row-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .slide-item {
        gap: 15px;
    }
}

/* Modal Styling */
.modal.fade .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.modal-dialog {
    max-width: 900px;
    width: 90%;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-body {
    padding: 30px;
}

.modal-body img {
    max-height: 600px;
    width: auto;
    max-width: 100%;
}

/* Gallery Modal Specific Styling */
#galleryModal.modal .modal-dialog {
    max-width: 90vw;
    width: 90vw;
}

#galleryCarousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#galleryCarousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#galleryCarousel .carousel-item {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#galleryCarousel .carousel-item.active {
    display: flex;
    position: relative;
}

#galleryCarousel img {
    max-height: 600px;
    width: auto;
}

/* Gallery Thumbnails Column Layout */
#galleryThumbnails,
.gallery-thumbnails-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 8px !important;
}

.gallery-thumbnail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
    cursor: pointer;
}

.gallery-thumbnail-image {
    width: 100%;
    border: 2px solid #ddd;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.gallery-thumbnail-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover .gallery-thumbnail-image {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.gallery-thumbnail:hover .gallery-thumbnail-img {
    transform: scale(1.05);
}

.gallery-thumbnail.active .gallery-thumbnail-image {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.5);
}

.zoom-in {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-in img {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-top: 8px;
    padding-bottom: 8px;
    box-sizing: border-box;
}

.zoom-in:hover img {
    transform: scale(1.1);
}