  :root {
	 --primary-color: #b6955c;
	 --dark-bg: #0a0a0a;
	 --light-text: #ffffff;
	 --light-blue: #6790ae;
	 --charcoal: #414042;
	 --muted-red: #ae3e44;
}
 body {
	 margin: 0;
	 padding: 0;
	 text-align: justify;
	 text-justify: inter-word;
	 color: var(--light-text);
	 font-family: "Assistant", sans-serif;
	 background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b6955c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	 background-color: #111110;
}
 .alt-section{
	 background-color: #181817 !important;
}
 h1, h2, h3, h4, h5, h6 {
	 font-family: "DM Serif Text", serif;
}
 section {
	 padding: 4rem 0;
	 position: relative;
	/*border-bottom: 1px solid rgba(182, 149, 92, 0.2);
	 */
}
 a{
	 text-decoration: none;
	 color: #ffffff;
	 text-decoration: underline;
}
 .article-alternate{
	 background-color: #414042;
}
 .section-header {
	 font-family: "DM Serif Text", serif;
	 color: var(--primary-color);
	 font-size: 3.6rem;
	 margin-bottom: 1rem;
	 text-align: center;
}
 .golden-line {
	 height: 2px;
	 background-color: var(--primary-color);
	 width: 100%;
	 margin-bottom: 2rem;
}
 .section-description {
	 font-size: 1.1rem;
	 line-height: 1.6;
	 color: var(--light-text);
}
/* Navbar */
 .navbar {
	 padding: 0.5rem 0;
	 background-color: rgba(0, 0, 0, 0.7) !important;
	 backdrop-filter: blur(5px);
	 border-bottom-left-radius: 16px;
	 border-bottom-right-radius: 16px;
}
 .nav-logo {
	 height: 50px;
	 width: auto;
	 max-width: 100%;
	 max-height: 40px;
}
/* Banner Section */
 .banner-section {
	 height: 800px;
	 position: relative;
	 overflow: hidden;
}
 .parallax-container {
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 overflow: hidden;
	 transform: translateZ(-1px) scale(2);
}
 .banner-img {
	 width: 100%;
	 height: 100%;
	 object-fit: cover;
	 transform: translateZ(0);
	 will-change: transform;
}
 @media (max-width: 1920px) {
	 .banner-section {
		 height: 41.67vw;
		/* 800px / 1920px * 100 */
	}
}
 @media (max-width: 768px) {
	 .banner-section {
		 height: 50vh;
	}
}
/* Quote Section */
 .quote-section {
	 padding: 2rem 0;
	 background-color: var(--primary-color);
}
 .banner-quote {
	 text-align: center;
	 color: var(--dark-bg);
	 font-size: 1.5rem;
	 margin: 0;
	 font-style: italic;
	 line-height: 1.6;
	 transition: text-shadow 0.3s ease;
}
 .quote-section:hover .banner-quote {
	 text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
/* Legacy Section */
 .legacy-section {
	/*background-color: var(--dark-bg);
	 */
	 padding: 4rem 0;
}
 .legacy-section .section-description {
	 margin-bottom: 2rem;
	 color: var(--light-text);
}
/* Stories Section */
 .stories-section {
	/*background-color: #1a1a1a;
	 */
	 padding: 4rem 0;
}
 .story-card {
	 position: relative;
	 height: 500px;
	 overflow: hidden;
	 border-radius: 16px;
	 cursor: pointer;
	 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .story-card:hover {
	 transform: scale(1.02);
	 box-shadow: 0 10px 30px rgba(182, 149, 92, 0.3);
}
 .story-img {
	 width: 100%;
	 height: 100%;
	 object-fit: cover;
}
 .story-content {
	 position: absolute;
	 bottom: 0;
	 left: 0;
	 padding: 2rem;
	 background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
	 width: 100%;
}
 .story-content h3 {
	 color: var(--light-text);
	 margin-bottom: 0.5rem;
	 font-size: 1.8rem;
}
 .story-content p {
	 color: var(--light-text);
	 font-size: 1.2rem;
}
/* Carousel Animation */
 .carousel-item {
	 transition: transform 0.6s ease-in-out;
}
 .carousel-item-next:not(.carousel-item-start), .active.carousel-item-end {
	 transform: translateX(100%);
}
 .carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start {
	 transform: translateX(-100%);
}
 .carousel-item-next.carousel-item-start, .carousel-item-prev.carousel-item-end {
	 transform: translateX(0);
}
/* Stats Section */
 .stats-section {
	 background-image: url("https://www.wcmo.edu/marketing/museum/legacy-that-lasts/files/Bell-tower-of-ANCM-St-Marys.jpeg");
	 background-attachment: fixed;
	 background-position: center;
	 background-repeat: no-repeat;
	 background-size: cover;
	 position: relative;
	 padding: 6rem 0;
}
 .stats-section::before {
	 content: "";
	 position: absolute;
	 top: 0;
	 left: 0;
	 right: 0;
	 bottom: 0;
	 background: rgba(0, 0, 0, 0.8);
}
 .stats-container {
	 position: relative;
	 z-index: 1;
}
 .stats-grid {
	 display: grid;
	 grid-template-columns: repeat(3, 1fr);
	 gap: 2rem;
	 padding: 2rem;
}
 .stat-item {
	 text-align: center;
	 padding: 2rem;
	 background: rgba(0, 0, 0, 0.7);
	 border-radius: 16px;
	 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .stat-item:hover {
	 transform: translateY(-10px);
	 box-shadow: 0 10px 30px rgba(182, 149, 92, 0.3);
}
 .stat-item h3 {
	 font-size: 3.5rem;
	 color: var(--primary-color);
	 margin-bottom: 0.5rem;
}
 .stat-item p {
	 color: var(--light-text);
	 font-size: 1rem;
	 line-height: 1.6;
}
/* Video Sections */
 .fellows-section, .youtube-section {
	/*background-color: var(--dark-bg);
	 */
}
 .video-container {
	 position: relative;
	 padding-bottom: 56.25%;
	/* 16:9 aspect ratio */
	 height: 0;
	 overflow: hidden;
	 border-radius: 16px;
	 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .video-container:hover {
	 transform: translateY(-10px);
	 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
 .video-container iframe {
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
}
/* Victor Section */
 #featured-exhibit {
	/*background-color: #1a1a1a;
	 */
	 padding: 4rem 0;
	 overflow: hidden;
}
 #featured-exhibit .card {
	 background-color: transparent;
	 border: none;
	 color: var(--light-text);
	 border-radius: 16px;
	 height: 100%;
}
 #featured-exhibit .text-card {
	 padding: 2rem;
}
 #featured-exhibit .image-card {
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 overflow: hidden;
}
 #featured-exhibit img {
	 width: 95%;
	 height: auto;
	 object-fit: contain;
	 border-radius: 16px;
}
/* Collections Section */
 #collections {
	/*background-color: var(--dark-bg);
	 */
	 padding: 4rem 0;
}
 .collection-tile {
	 position: relative;
	 height: 300px;
	 margin-bottom: 2rem;
	 overflow: hidden;
	 border-radius: 16px;
	 cursor: pointer;
	 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .collection-tile:hover {
	 transform: scale(1.02);
	 box-shadow: 0 10px 30px rgba(182, 149, 92, 0.3);
}
 .collection-tile img {
	 width: 100%;
	 height: 100%;
	 object-fit: cover;
	 transition: transform 0.3s ease;
}
 .collection-tile:hover img {
	 transform: scale(1.1);
}
 .collection-tile h3 {
	 position: absolute;
	 bottom: 0;
	 left: 0;
	 right: 0;
	 padding: 1rem;
	 background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
	 color: var(--light-text);
	 margin: 0;
}
 .card-body p{
	 font-size: 1.2rem;
}
/* Final ANCM Section */
 .ancm-final {
	 background-image: url("https://www.wcmo.edu/marketing/museum/legacy-that-lasts/files/LTL-Child.png");
	 background-size: cover;
	 background-position: center;
	 padding: 6rem 0;
	 position: relative;
}
 .ancm-final::before {
	 content: "";
	 position: absolute;
	 top: 0;
	 left: 0;
	 right: 0;
	 bottom: 0;
	 background: rgba(0, 0, 0, 0.5);
}
 .final-card {
	 position: relative;
	 background: rgba(255, 255, 255, 0.1);
	 border-radius: 16px;
	 overflow: hidden;
	 backdrop-filter: blur(10px);
	 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
 .final-banner {
	 background-color: var(--primary-color);
	 padding: 2rem;
	 text-align: center;
}
 .final-banner h2 {
	 color: var(--dark-bg);
	 margin: 0;
	 font-size: 2.5rem;
}
/* Footer */
 footer {
	 background-color: #0a0a0a;
	 padding: 4rem 0 2rem;
	 color: var(--light-text);
}
 .footer-content {
	 display: grid;
	 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	 gap: 2rem;
	 margin-bottom: 2rem;
}
 .footer-section h3 {
	 color: var(--primary-color);
	 margin-bottom: 1rem;
}
 .footer-section p {
	 margin-bottom: 0.5rem;
}
 .social-icons {
	 display: flex;
	 gap: 1rem;
}
 .social-icons a {
	 color: var(--light-text);
	 text-decoration: none;
	 transition: color 0.3s ease;
}
 .social-icons a:hover {
	 color: var(--primary-color);
}
 .copyright {
	 text-align: center;
	 padding-top: 2rem;
	 border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Buttons */
 .museum-button {
	 background-color: var(--primary-color);
	 color: var(--light-text);
	 border: none;
	 padding: 1rem 2rem;
	 border-radius: 16px;
	 font-size: 1.1rem;
	 cursor: pointer;
	 transition: background-color 0.3s ease;
	 width: 100% !important;
	 margin-top: 1rem;
	 text-decoration: none;
	 text-align: center;
}
 .museum-button:hover {
	 background-color: #8b6d3d;
}
/* Popup */
 .popup {
	 display: none;
	 position: fixed;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background: rgba(0, 0, 0, 0.8);
	 z-index: 1000;
}
 .popup-content {
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 background: var(--dark-bg);
	 padding: 2rem;
	 border-radius: 16px;
	 max-width: 600px;
	 width: 90%;
	 color: var(--light-text);
	 opacity: 0;
	 transition: opacity 0.3s ease;
	 display: flex;
	 flex-direction: column;
	 align-items: center;
}
 .popup-image {
	 width: 100%;
	 height: 200px;
	 object-fit: cover;
	 border-radius: 16px 16px 0 0;
}
 .popup-title {
	 margin-top: 1rem;
	 font-size: 1.5rem;
	 color: var(--primary-color);
}
 .popup-text {
	 margin-top: 1rem;
	 text-align: center;
}
/* New rule for the button wrapper to control its display */
.button-wrapper {
    display: block; /* Ensures the wrapper takes full width */
    width: 100%; /* Makes the wrapper take 100% of its parent's width */
    margin-top: 1rem; /* Apply top margin to the wrapper instead of the button directly */
}

.popup-button {
    /* Removed margin-top as it's now on the wrapper */
    width: 100%; /* Ensures the button takes 100% of its wrapper's width */
    padding: 1rem 1.5rem; /* Increased padding for a bigger button */
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center; /* Center the text within the button */
    display: inline-block; /* Ensure it behaves like a block-level element for width/padding but allows text centering */
    font-size: 1.25rem; /* Increased font size for boldness */
    font-weight: bold; /* Made the text bold */
    text-transform: uppercase; /* Optional: Make text uppercase for more prominence */
    letter-spacing: 0.05em; /* Optional: Add letter spacing for emphasis */
}

.popup-button:hover {
    background-color: #8b6d3d;
}
 .popup.show .popup-content {
	 opacity: 1;
}
 .close {
	 position: absolute;
	 right: 1rem;
	 top: 1rem;
	 font-size: 2rem;
	 cursor: pointer;
	 color: var(--light-text);
}
/* Responsive Design */
 @media (max-width: 992px) {
	 .stats-grid {
		 grid-template-columns: repeat(2, 1fr);
	}
}
 @media (max-width: 768px) {
	 .section-header {
		 font-size: 2.5rem;
		 text-align: center;
		 white-space: normal;
	}
	 .header-section {
		 padding: 2rem 0;
	}
	 #featured-exhibit .row {
		 flex-direction: column-reverse;
	}
	 #featured-exhibit .text-card, #featured-exhibit .image-card {
		 margin-bottom: 1rem;
	}
	 #featured-exhibit img {
		 width: 100%;
		 max-width: 300px;
		 margin: 0 auto;
	}
	 .stats-grid {
		 grid-template-columns: 1fr;
	}
	 .story-card {
		 height: 350px;
	}
	 .collection-tile {
		 height: 200px;
	}
	 .fellows-section .row, .youtube-section .row {
		 flex-direction: column;
	}
	 .fellows-section .section-header, .youtube-section .section-header {
		 margin-bottom: 1rem;
	}
	 .fellows-section .video-container, .youtube-section .video-container {
		 margin-bottom: 1rem;
	}
}
 @media (max-width: 576px) {
	 .nav-logo {
		 max-height: 30px;
	}
	 .section-header {
		 font-size: 2rem;
	}
	 .story-card {
		 height: 300px;
	}
	 .collection-tile {
		 height: 200px;
	}
	 .final-banner h2 {
		 font-size: 1.8rem;
	}
}
/* Golden box shadow */
 .golden-shadow {
	 box-shadow: 0 0 20px rgba(182, 149, 92, 0.5);
	 transition: box-shadow 0.3s ease;
}
 .golden-shadow:hover {
	 box-shadow: 0 0 30px rgba(182, 149, 92, 0.8);
}
/* Animated image */
 .animated-image {
	 transition: transform 0.3s ease;
}
 .animated-image:hover {
	 transform: scale(1.05);
}
/* Animated text */
 .animated-text {
	 transition: color 0.3s ease;
}
 .animated-text:hover {
	 color: white;
}
 .final-card a {
	 color: inherit;
	 text-decoration: none;
}
/* Align button to bottom */
 .text-card {
	 display: flex;
	 flex-direction: column;
}
 .align-bottom {
	 margin-top: auto;
}
/* Ensure the carousel maintains its shape with the new shadow */
 #storiesCarousel {
	 border-radius: 16px;
	 overflow: hidden;
}
 #victor-image {
	 transition: none;
}
 #victor-image.floating {
	 position: fixed;
	 bottom: 20px;
	 right: 20px;
	 width: 60px;
	/* Smaller size */
	 height: auto;
	 z-index: 1000;
	 cursor: pointer;
	/* Add cursor style to indicate it's clickable */
}
/* Updated Footer Styles */
 .footer-bottom {
	 display: flex;
	 justify-content: space-between;
	 align-items: center;
	 padding-top: 2rem;
	 border-top: 1px solid rgba(255, 255, 255, 0.1);
}
 .footer-logo {
	 max-height: 50px;
	 width: auto;
}
 .copyright {
	 margin: 0;
}
 @media (max-width: 768px) {
	 .footer-bottom {
		 flex-direction: column;
		 text-align: center;
	}
	 .footer-logo {
		 margin-bottom: 1rem;
	}
}
 