/* Universal Box Sizing & Foundational Styles */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
    background-color: #f9fafb;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.text-center {
    text-align: center;
}
@media (min-width: 768px) { .container { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 20;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
.site-header .logo {
    height: 4.5rem;
    width: auto;
}
.desktop-nav {
    display: none;
}
.desktop-nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.desktop-nav li {
    margin-left: 1rem;
    position: relative;
}
.desktop-nav a {
    color: #374151;
    font-weight: 600;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out; 
    display: inline-flex;
    align-items: center;
    padding: 1rem 0;
}
.desktop-nav a:hover {
    color: #111827;
    text-shadow: 0 0 8px rgba(156, 163, 175, 0.9);
}
.desktop-nav a.cta-button-header {
    background-color: #2D3748;
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease-in-out;
    margin-left: 0.5rem;
}
.desktop-nav a.cta-button-header:hover {
    background-color: #4A5568;
    color: #ffffff;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    min-width: 13rem;
    z-index: 30; 
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.desktop-nav .group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #1f2937;
    transition: background-color 0.2s, text-shadow 0.2s ease-in-out; 
}
.dropdown-menu a:hover {
    background-color: #f3f4f6;
    text-shadow: 0 0 8px rgba(156, 163, 175, 0.9);
}
.mobile-menu-button {
    display: block;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem; 
    border-radius: 0.375rem; 
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; 
}
.mobile-menu-button:hover {
    color: #111827;
    background-color: #f3f4f6; 
}
.mobile-menu-button .w-6 { width: 1.5rem; }
.mobile-menu-button .h-6 { height: 1.5rem; }
.mobile-nav {
    padding-top: 1rem;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav li { margin-bottom: 0.5rem; }
.mobile-nav a {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    font-weight: 600;
}
.mobile-nav a:hover { color: #111827; }
.is-hidden { display: none; }

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background: linear-gradient(rgba(45, 55, 72, 0.85), rgba(45, 55, 72, 0.85)), url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: 50% 42%;
    color: #9ca3af;
    padding: 2rem 1.5rem;
    font-size: 0.875rem;
    position: relative;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.footer-contact, .footer-copyright { margin-bottom: 1rem; }
.site-footer h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.site-footer p { margin: 0; line-height: 1.5; }
.site-footer a {
    color: inherit;
    transition: color 0.3s ease-in-out;
}
.site-footer a:hover { color: #A0AEC0; }
.footer-logo {
    height: 5rem;
    width: auto;
    margin-bottom: 1rem;
}
.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}
.footer-badge-img { height: 6.8rem; width: auto; }
.itar-badge { height: 7.8rem; }

/* ==========================================================================
   Reusable Page Components
   ========================================================================== */
.page-hero {
    position: relative;
    color: white;
    padding: 6rem 1.5rem;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #111827;
    opacity: 0.7;
    z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    word-wrap: break-word;
}
@media (max-width: 640px) {
    .page-hero-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
}
.main-content-box {
    background-color: white;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 10;
}
.content-wrapper {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}
.content-text {
    color: #374151;
    line-height: 1.625;
    font-size: 1.125rem;
}
.content-text p { margin-bottom: 1rem; }
.content-text a:not(.cta-button),
.content-text a:visited:not(.cta-button) {
    color: #2563eb; 
    font-weight: 600;
}
.content-text a:not(.cta-button):hover { color: #1d4ed8; }
a.cta-button {
    display: inline-block;
    background-color: #2D3748;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease-in-out;
}
a.cta-button:hover {
    background-color: #4A5568;
    color: #ffffff;
}

/* --- START: Added Feature Card Styles for Subpages --- */
.page-intro-text {
    text-align: center;
    color: #374151;
    line-height: 1.625;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: center;
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.feature-card {
    display: flex;
    background-size: cover;
    background-position: center;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    height: 250px; 
    width: 100%;
}
.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: translateY(-0.25rem);
}
.feature-card-content {
    padding: 2rem;
    flex: 1;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.75);
    color: white;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}
.feature-card:hover .feature-card-content {
    background-color: rgba(17, 24, 39, 0.85);
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.feature-card p {
    color: #d1d5db;
}
/* --- END: Added Feature Card Styles for Subpages --- */


/* ==========================================================================
   Home Page Styles (index.html)
   ========================================================================== */
.hero-section {
    position: relative;
    color: white;
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
    overflow: hidden;
    height: 60vh;
}
.hero-section .container { 
    position: relative; 
    height: 100%; 
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-section .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(17, 24, 39, 0.4); 
    z-index: 1;
}
.hero-section h1 {
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: #d1d5db;
}
.hero-section .cta-button {
    position: relative;
    bottom: unset;
    left: unset;
    transform: none;
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 700;
    padding: 1rem 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    margin-top: auto;
}
.hero-section .cta-button:hover {
    background-color: #9ca3af;
    color: #1f2937;
    border-color: #6b7280;
}
.slideshow-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
}
.mySlides {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.mySlides.active { opacity: 1; }
.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px; 
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 10; 
}
.prev { left: 0; border-radius: 0 3px 3px 0; }
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }

.alternating-features {
    padding: 8rem 1.5rem 4rem 1.5rem;
    background-color: #f3f4f6;
}
.alternating-features .section-title {
    display: inline-block;
    background-color: #2D3748;
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-size:2.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4rem;
}
.alternating-feature-block {
    display: grid;
    margin-bottom: 4rem;
    position: relative;
}
.alternating-feature-block > * { grid-area: 1 / 1; }
.alternating-feature-block:nth-child(odd) .feature-text-content { justify-self: end; }
.alternating-feature-block:nth-child(even) .feature-text-content { justify-self: start; }
.feature-image-card {
    height: 100%;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 0.75rem;
    z-index: 1;
    position: relative;
}
.feature-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.4);
    border-radius: 0.75rem;
    z-index: 1;
    transition: background-color 0.3s ease;
}
.alternating-feature-block:hover .feature-image-card::before {
    background-color: rgba(17, 24, 39, 0.6);
}
.alternating-feature-block .feature-text-content {
    background-color: rgba(55, 65, 81, 0.8);
    color: #d1d5db;
    box-sizing: border-box;
    height: auto;
    width: 50%;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    position: relative;
    z-index: 2;
}
.feature-text-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 1.5rem;
}
.feature-text-content p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.learn-more-btn {
    display: inline-block;
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}
.learn-more-btn:hover { background-color: #d1d5db; }

.cta-section {
    background-image: linear-gradient(rgba(10, 17, 40, 0.8), rgba(10, 17, 40, 0.8)), url('../images/indexcollaboratebg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section .content-wrapper { max-width: 48rem; margin: auto; position: relative; }
.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
.cta-section p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: #d1d5db;
}
.cta-section .cta-button {
    display: inline-block;
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 700;
    padding: 1rem 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    border: 2px solid transparent;
    border-radius: 0.75rem;
}
.cta-section .cta-button:hover {
    background-color: #9ca3af;
    color: #1f2937;
    transform: scale(1.05);
    border-color: #6b7280;
}

/* ==========================================================================
   About Page Styles (about.html)
   ========================================================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}
.story-column h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}
.story-text { font-size: 1.125rem; color: #374151; }
.story-text p + p { margin-top: 1rem; }
.timeline-column { position: relative; }
.timeline-line {
    position: absolute;
    left: 0.75rem;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #d1d5db;
    border-radius: 9999px;
}
.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.timeline-item.is-visible { opacity: 1; transform: translateY(0); }
.timeline-item + .timeline-item { margin-top: 2rem; }
.timeline-marker-container {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-marker {
    position: absolute;
    background-color: white;
    border: 4px solid #0A1128;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    z-index: 1;
}
.timeline-content-wrapper { margin-left: 2rem; width: 100%; }
.timeline-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}
.timeline-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.timeline-year {
    font-weight: 800;
    font-size: 1.25rem;
    color: #111827;
}
.timeline-description {
    margin-top: 0.5rem;
    color: #374151;
    line-height: 1.625;
}
.image-container { margin-top: 2rem; }
.image-container img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Contact Page Styles (contact.html)
   ========================================================================== */
.contact-container { max-width: 64rem; }
.contact-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
    letter-spacing: 0.025em;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}
.contact-info p {
    color: #374151;
    line-height: 1.75;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.contact-info a {
    color: #374151;
    transition: color 0.3s ease-in-out;
}
.contact-info a:hover { color: #111827; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label {
    display: block;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
    appearance: none;
    border: 1px solid #d1d5db;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #374151;
    line-height: 1.25;
    background-color: #f9fafb;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6b7280;
}
.contact-form button {
    background-color: #1f2937;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    border: 2px solid transparent;
    cursor: pointer;
}
.contact-form button:hover {
    background-color: #374151;
    transform: scale(1.05);
    border-color: #6b7280;
}
.map-container { margin-top: 4rem; }
.map-embed {
    width: 100%;
    height: 24rem;
    background-color: #e5e7eb;
}

/* ==========================================================================
   Certifications Page Styles
   ========================================================================== */
.certification-button {
    display: inline-block;
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 700;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    border: 2px solid transparent;
    margin-top: 2rem;
    text-align: center;
}
.certification-button:hover {
    background-color: #9ca3af;
    color: #1f2937;
    transform: scale(1.05);
    border-color: #6b7280;
}

/* ==========================================================================
   Equipment Page Styles
   ========================================================================== */
.equipment-intro {
    text-align: center;
    color: #374151;
    line-height: 1.625;
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.equipment-section {
    margin-bottom: 3rem;
    color: #1f2937;
}
.equipment-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid #d1d5db;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.equipment-section ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 0;
}
.equipment-section li { margin-bottom: 0.5rem; }

/* ==========================================================================
   Page-Specific Component Styles
   ========================================================================== */
.page-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.page-list {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1rem;
}
.page-list li {
     margin-bottom: 0.5rem;
}


/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (min-width: 768px) {
    .site-header { padding-left: 2.5rem; padding-right: 2.5rem; }
    .desktop-nav { display: flex; }
    .mobile-menu-button { display: none; }
    .site-footer { padding-left: 2.5rem; padding-right: 2.5rem; }
    .footer-container { flex-direction: row; text-align: left; }
    .footer-contact, .footer-copyright, .footer-spacer { width: 33.333333%; margin-bottom: 0; }
    .footer-copyright { text-align: right; }
    .page-hero { padding-left: 2.5rem; padding-right: 2.5rem; }
    .page-hero-content h1 { font-size: 3.75rem; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .content-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .alternating-feature-block .feature-text-content { width: 75%; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5rem; }
    .hero-section p { font-size: 1.1rem; padding: 0 1rem; }
    .cta-section h2 { font-size: 2rem; }
    .cta-section p { font-size: 1.1rem; }
    .learn-more-btn { align-self: center; }
    .alternating-feature-block:nth-child(odd) .feature-text-content,
    .alternating-feature-block:nth-child(even) .feature-text-content {
        width: 100%;
        text-align: center;
        justify-self: center;
}
}

/* ==========================================================================
   Equipment Lightbox Styles
   ========================================================================== */

/* Style for the new links in the equipment list */
.equipment-lightbox-link {
    color: inherit; /* Keeps the text color the same as parent <li> */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.equipment-lightbox-link:hover {
    color: #2563eb; /* Adds a hover color, like your other links */
}

/* The full-screen overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.85); /* Dark overlay, similar to your others */
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Hide the lightbox by default (using your existing class) */
.lightbox-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    /* We use opacity/visibility instead of display:none for the transition */
}

/* The image inside the lightbox */
.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    border-radius: 0.5rem;
}

/* The 'X' close button */
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}