.elementor-1139 .elementor-element.elementor-element-18dcf45{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-01f91fb *//* --- Global Section Core Base --- */
#PEARL_Gallery_Section {
    background-color: #05070c; /* Matte Black background matching screen */
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Typographical Rules --- */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.small-tag-gallery {
    color: #00f29c; /* Vivid Mint matching Digital Clinical Access text */
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.gallery-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.shimmer-green {
    color: #00f29c;
    background: linear-gradient(to right, #ffffff, #00f29c, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}

.gallery-subtitle {
    color: #8a929e; /* Muted slate grey text matching body details */
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Layout Track Viewport --- */
.gallery-slider-viewport {
    width: 100%;
    position: relative;
    border-radius: 24px;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Interactive Grid Styling --- */
.gallery-item {
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

/* Dynamic Bento expansion class handles layout distribution beautifully */
.gallery-item.active {
    grid-column: span 2;
}

.gallery-card-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.03);
    isolation: isolate;
}

/* --- Neon Spinning Aura Border Border Animation Engine --- */
.animated-glow-border::before {
    content: "";
    position: absolute;
    top: -150%;
    left: -50%;
    width: 200%;
    height: 400%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 40%,
        #00f29c 50%, 
        transparent 60%,
        transparent 100%
    );
    animation: galleryBorderSpin 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item.active .animated-glow-border::before,
.gallery-item:hover .animated-glow-border::before {
    opacity: 1;
}

.gallery-img-wrap {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #0b0f19;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: grayscale(40%) brightness(70%);
}

.gallery-item.active img,
.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(90%);
}

/* --- Info Hover Overlays --- */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 30px 30px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(5,7,12,0.95) 0%, rgba(5,7,12,0.6) 60%, transparent 100%);
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.5s ease;
}

.gallery-overlay h3 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
}

.gallery-overlay p {
    color: #8a929e;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.gallery-item.active .gallery-overlay {
    transform: translateY(0);
}

.gallery-item.active .gallery-overlay p {
    opacity: 1;
    max-height: 60px;
    margin-top: 5px;
}

/* --- Navigation Interfaces --- */
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    background: #00f29c;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 242, 156, 0.6);
}

/* --- Backdrop Glow Orbs --- */
.gallery-ambient-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.gallery-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,242,156,0.06) 0%, transparent 70%);
    filter: blur(60px);
}
.g-1 { top: -10%; left: -10%; }
.g-2 { bottom: -10%; right: -10%; }

/* --- Keyframe Matrix Animations --- */
@keyframes galleryBorderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- Clean Mobile Adaptation Breakpoints --- */
@media (max-width: 991px) {
    .gallery-track { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.active { grid-column: span 2; }
}
@media (max-width: 767px) {
    .gallery-title { font-size: 34px; }
    .gallery-track { grid-template-columns: 1fr; }
    .gallery-item.active { grid-column: span 1; }
    .gallery-card-inner { height: 320px; }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-18dcf45 */.full-stretch{
  width:100vw !important;
  max-width:100vw !important;
  
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  
  padding-left:0 !important;
  padding-right:0 !important;
}/* End custom CSS */