/* style.css */
.pb-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
}

/* Video Containers and Frames */
.pb-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.pb-hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-video-frame {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Embed scaling for YouTube/Vimeo inside video container */
.pb-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    transform: translate(-50%, -50%);
}

/* Slideshow Background */
.pb-hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.pb-hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.pb-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
    box-sizing: border-box;
}

.pb-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.pb-slide-overlay-content {
    background: rgba(4, 15, 36, 0.85);
    padding: 30px;
    max-width: 350px;
    color: #fff;
    border-left: 3px solid #0D47A1;
    z-index: 5;
    text-align: left;
}

.pb-slide-overlay-content h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
}

.pb-slide-overlay-content p {
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.5;
    opacity: 0.9;
}

.pb-slideshow-arrows {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
}

.pb-slideshow-prev,
.pb-slideshow-next {
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    user-select: none;
    transition: background 0.3s;
}

.pb-slideshow-prev:hover,
.pb-slideshow-next:hover {
    background: #0D47A1;
}

.pb-slideshow-dots {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 4;
}

.pb-slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.pb-slideshow-dot.active {
    background: #0D47A1;
}

/* Overlays */
.pb-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.pb-overlay-none {
    display: none;
}

/* Content Area */
.pb-hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.pb-heading {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.pb-subheading {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
}

.pb-accent-line {
    margin-bottom: 25px;
}

.pb-support {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.pb-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.pb-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}

.pb-btn-1 {
    background-color: #0D47A1;
    color: #fff;
    border: 1px solid #0D47A1;
}
.pb-btn-1:hover {
    background-color: #002171;
    border-color: #002171;
}

.pb-btn-2, .pb-btn-3 {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.pb-btn-2:hover, .pb-btn-3:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Independent, dedicated search shortcode container */
.pb-search-container {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 700px;
    min-height: 130px;
    margin-top: 35px;
}

/* Force shortcode/widget inside to span 100% of container */
.pb-search-container > * {
    width: 100% !important;
    max-width: 100% !important;
}

.pb-footer-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.pb-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.pb-icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-icon-label {
    font-size: 16px;
    font-weight: 400;
}

.pb-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .pb-search-container {
        width: 100%;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .pb-heading { font-size: 40px; }
    .pb-subheading { font-size: 20px; }
    .pb-buttons-wrapper { flex-direction: column; width: 100%; }
    .pb-btn { width: 100%; }
    .pb-icons-wrapper { flex-direction: column; gap: 15px; }
    .pb-hero-content {
        max-width: 100% !important;
        width: 100% !important;
    }
    .pb-search-container {
        width: 100%;
    }
}
