/* ============================================
   Veriground Public Site Styles
   ============================================ */

body.public-page {
    margin-bottom: 0;
}

:root {
    --vg-accent: #5E625F;
    --vg-accent-hover: #4a4e4b;
    --vg-dark: #282a28;
    --vg-darker: #1a1a1a;
    --vg-text-light: #c2c2c2;
    --vg-text-muted: #6E6E6E;
    --vg-bg-light: #F0F0F0;
}

/* ---- Navbar ---- */
.public-navbar {
    background-color: var(--vg-dark);
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s ease;
}

.public-navbar .navbar-brand img {
    height: 40px;
}

.public-navbar .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
}

.public-navbar .nav-link:hover {
    color: var(--vg-text-light) !important;
}

.public-navbar .nav-link-highlight {
    background-color: #4caf50;
    border-radius: 4px;
    padding: 0.4rem 1rem !important;
    color: #fff !important;
    font-weight: 700;
}

.public-navbar .nav-link-highlight:hover {
    background-color: #43a047;
    color: #fff !important;
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem 1.5rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ---- Power BI iframe ---- */
.pbi-frame {
    width: 100%;
    height: 635px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.chart-instructions {
    color: #FFD700;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

/* ---- Hero subheadings ---- */
.hero-subheading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 0.75rem;
}

.hero-cta-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 0.75rem;
}

/* ---- Buttons ---- */
.btn-vg-cta {
    background-color: #4a90d9;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid #4a90d9;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-vg-cta:hover {
    background-color: #3a7bc8;
    border-color: #3a7bc8;
    color: #fff;
}

.btn-vg-cta-outline {
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid #4a90d9;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-vg-cta-outline:hover {
    background-color: #4a90d9;
    color: #fff;
}

.btn-vg-primary {
    background-color: var(--vg-accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 32px;
    border: 2px solid var(--vg-accent);
    border-radius: 2px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-vg-primary:hover {
    background-color: var(--vg-accent-hover);
    border-color: var(--vg-accent-hover);
    color: #fff;
}

.btn-vg-outline {
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 32px;
    border: 2px solid #fff;
    border-radius: 2px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-vg-outline:hover {
    background-color: #fff;
    color: var(--vg-dark);
}

/* On light backgrounds */
.btn-vg-outline-dark {
    background-color: transparent;
    color: var(--vg-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 32px;
    border: 2px solid var(--vg-accent);
    border-radius: 2px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-vg-outline-dark:hover {
    background-color: var(--vg-accent);
    color: #fff;
}

/* ---- Promo / Content Sections ---- */
.promo-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background-color: var(--vg-bg-light);
}

.promo-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
}

.promo-section h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--vg-text-muted);
    margin-bottom: 1.5rem;
}

.promo-section p {
    font-size: 1rem;
    color: var(--vg-text-muted);
    max-width: 650px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

/* ---- Public Footer ---- */
.public-footer {
    background-color: var(--vg-darker);
    color: var(--vg-text-light);
    padding: 3.5rem 2rem 1.5rem;
    font-size: 0.9rem;
}

.public-footer h6 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.public-footer a {
    color: var(--vg-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.public-footer a:hover {
    color: #fff;
}

.public-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-footer ul li {
    margin-bottom: 0.4rem;
}

.footer-contact p {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Who We Are Page ---- */
.wwa-banner {
    min-height: 45vh;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
}

.wwa-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.wwa-scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* ---- Contact Page ---- */
.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

.contact-input {
    border: 1px solid #bbb;
    border-radius: 2px;
    padding: 0.6rem 0.75rem;
}

.contact-input:focus {
    border-color: var(--vg-accent);
    box-shadow: 0 0 0 2px rgba(94, 98, 95, 0.15);
}

/* ---- Where We Are Page ---- */
.wwa-map-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.wwa-image-collage img {
    width: 100%;
}

.wwa-team-card {
    background: #fff;
}

.wwa-team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    border-radius: 6px 6px 0 0;
}

.wwa-team-info {
    padding: 1.5rem 0.5rem;
}

.wwa-team-role {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--vg-text-muted);
}

.wwa-team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 0.25rem 0 0.5rem;
}

.wwa-team-title {
    font-size: 0.85rem;
    font-weight: 600;
    font-style: italic;
    color: var(--vg-text-muted);
    margin-bottom: 1rem;
}

.wwa-team-info p:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

.wwa-grid-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding-bottom: 1rem;
}

.wwa-grid-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
}

.wwa-grid-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0.75rem 0.75rem 0.15rem;
}

.wwa-grid-role {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--vg-text-muted);
    padding: 0 0.75rem;
}

/* ---- What We Do Page ---- */
.wwd-video-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: #000;
}

.wwd-video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.wwd-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.wwd-video-overlay h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    padding: 0 1.5rem;
}

.wwd-section {
    padding: 4.5rem 1.5rem;
}

.wwd-section-light {
    background-color: var(--vg-bg-light);
}

.wwd-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vg-text-muted);
    margin-bottom: 0.5rem;
}

.wwd-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.25rem;
}

.wwd-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--vg-text-muted);
    margin-bottom: 1.5rem;
}

.wwd-section p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 1rem;
}

.wwd-feature-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.wwd-feature-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.wwd-feature-list li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0.4rem;
}

.wwd-img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    max-height: 480px;
}

.wwd-station-diagram {
    max-width: 100%;
    height: auto;
}

.wwd-cta-section {
    padding: 3rem 1.5rem;
    background-color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn-vg-primary,
    .hero-content .btn-vg-outline {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .promo-section {
        padding: 3rem 1rem;
    }

    .promo-section h2 {
        font-size: 1.5rem;
    }

    .pbi-frame {
        height: 400px;
    }

    .wwd-video-hero {
        height: 60vh;
    }

    .wwd-video-overlay h1 {
        font-size: 1.75rem;
    }

    .wwd-section {
        padding: 3rem 1rem;
    }

    .wwd-title {
        font-size: 1.4rem;
    }

    .wwd-img {
        max-height: 350px;
        margin-top: 1.5rem;
    }
}
