﻿:root {
    --ss-blue: #1c2f6d;
    --ss-light-blue: #30458c;
    --ss-dark: #111111;
    --ss-border: #dddddd;
    /* Force light mode - override system preferences */
    color-scheme: light only;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only;
    }

    * {
        color-scheme: light only !important;
    }
}

html {
    color-scheme: light only;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ss-dark);
    background: white;
    /* Force light mode */
    color-scheme: light only;
}

main {
    min-height: 80vh;
}

/* =========================================
   TOP BAR / SOCIAL
========================================= */

.calendar-wrapper {
    background: #fff;
    border: 1px solid #d9e1f2;
    border-bottom: 6px solid #1f3478;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

    .calendar-wrapper iframe {
        width: 100%;
        min-height: 700px;
    }


.top-accent-bar {
    height: 5px;
    background: var(--ss-blue);
}

.top-social-bar {
    background: white;
    border-bottom: 1px solid var(--ss-border);
    padding: 10px 0;
}

.social-icon {
    width: 42px;
    height: 42px;
    margin-left: 12px;
    border-radius: 50%;
    background: #39424e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .2s;
}

    .social-icon:hover {
        background: var(--ss-blue);
        transform: translateY(-2px);
    }

/* =========================================
   NAVBAR
========================================= */

.seismic-navbar {
    background: white;
    border-bottom: 1px solid var(--ss-border);
    padding: 18px 0;
}

.site-logo {
    height: 100px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #444;
    font-weight: 700;
    font-size: 1rem;
    margin-left: 18px;
    letter-spacing: .5px;
}

    .navbar-nav .nav-link:hover {
        color: var(--ss-blue);
    }

.custom-toggler {
    border: 2px solid var(--ss-blue);
}

    .custom-toggler:focus {
        box-shadow: none;
    }

/* =========================================
   DROPDOWNS
========================================= */

.dropdown-menu {
    border-radius: 0;
    border-top: 4px solid var(--ss-blue);
    padding: 0;
}

.dropdown-item {
    padding: 12px 16px;
    font-weight: 600;
}

    .dropdown-item:hover {
        background: var(--ss-blue);
        color: white;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

/* =========================================
   HOME HERO
========================================= */

/* =========================================
   FEATURED FORCE X SECTION
========================================= */

.featured-product-home {
    padding: 80px 0;
    background: white;
}

.featured-product-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border: 1px solid #dfe4ef;
    border-left: 6px solid var(--ss-blue);
    padding: 45px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.featured-product-image {
    background: #f8faff;
    border: 1px solid #dfe4ef;
    border-bottom: 6px solid var(--ss-blue);
    padding: 25px;
    text-align: center;
}

    .featured-product-image img {
        width: 100%;
        max-height: 420px;
        object-fit: contain;
    }

.featured-product-content h2 {
    color: floralwhite;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.featured-product-content p {
    color: floralwhite;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.featured-forcex-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ss-dark);
    color: white;
    text-decoration: none;
    padding: 16px 28px;
    font-weight: 800;
    transition: .22s ease;
    margin-top: 10px;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

    .featured-forcex-btn:hover {
        background: var(--ss-light-blue);
        color: white;
        transform: translateY(-4px);
    }

@media (max-width: 991px) {

    .featured-product-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .featured-product-content h2 {
        font-size: 2.2rem;
    }

    .featured-product-image img {
        max-height: 280px;
    }
}

.home-hero {
    background: linear-gradient(rgba(20,35,85,.60), rgba(20,35,85,.70)), url('/images/seisbannerbetter.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

    .home-hero h1 {
        font-size: 4rem;
        font-weight: 800;
    }

    .home-hero p {
        font-size: 1.35rem;
        margin-top: 16px;
    }

.hero-description {
    max-width: 950px;
    margin: 24px auto 0;
    line-height: 1.8;
    font-size: 1.15rem;
    color: rgba(255,255,255,.92);
}

/* =========================================
   CATEGORY TILES
========================================= */

.category-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ss-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 50px;
}

.category-tile {
    display: block;
    position: relative;
    min-height: 300px;
    margin-bottom: 30px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

    .category-tile:hover {
        transform: translateY(-6px);
    }

    .category-tile::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(10,20,45,.42), rgba(10,20,45,.88));
        transition: .25s;
    }

    .category-tile:hover::before {
        background: linear-gradient(rgba(28,47,109,.55), rgba(28,47,109,.95));
    }

.category-main-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.category-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    color: white;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    pointer-events: none;
}

    .category-overlay h3 {
        font-size: clamp(1.4rem, 2vw, 2rem);
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 12px;
        max-width: 95%;
        overflow-wrap: break-word;
        text-shadow: 0 2px 6px rgba(0,0,0,.35);
    }

    .category-overlay p {
        font-size: .96rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.category-btn {
    background: white;
    color: var(--ss-blue);
    padding: 8px 14px;
    border-radius: 25px;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid white;
    transition: .2s;
    position: relative;
    z-index: 6;
}

    .category-btn:hover {
        background: var(--ss-blue);
        color: white;
    }

/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    background: linear-gradient(rgba(20,35,85,.58), rgba(20,35,85,.58)), url('/images/bannerseis2-2.jpg');
    background-size: cover;
    background-position: top;
    color: white;
    padding: 90px 0;
}

    .page-header h1 {
        font-size: 3rem;
        font-weight: 800;
    }


@media (max-width: 768px) {
    .page-header {
        min-height: 260px;
        padding: 55px 0 45px;
        background-position: center center;
        display: flex;
        align-items: center;
    }

        .page-header h1 {
            font-size: 2.6rem;
            line-height: 1.05;
            margin-bottom: 12px;
        }

        .page-header p {
            font-size: 1rem;
            line-height: 1.45;
            max-width: 90%;
        }
}


.page-content {
    padding: 70px 0;
}

/* =========================================
   BUTTONS
========================================= */

.btn-seismic {
    background: var(--ss-blue);
    color: white;
    border: none;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

    .btn-seismic:hover {
        background: var(--ss-light-blue);
        color: white;
    }

.btn-outline-seismic {
    border: 2px solid var(--ss-blue);
    color: var(--ss-blue);
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

    .btn-outline-seismic:hover {
        background: var(--ss-blue);
        color: white;
    }

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #111;
    color: white;
    margin-top: 70px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    flex-wrap: wrap;
}

.footer-contact h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-contact p {
    margin: 0;
    color: #c9c9c9;
    line-height: 1.7;
    font-size: .95rem;
}

.footer-contact a {
    color: #4db2ff;
    text-decoration: none;
}

    .footer-contact a:hover {
        color: white;
    }

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: #d0d0d0;
        text-decoration: none;
        font-weight: 600;
        transition: .2s;
    }

        .footer-links a:hover {
            color: white;
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 16px 0;
    color: #9d9d9d;
    font-size: .9rem;
}

/* =========================================
   LARGE SEISMIC PAGE
========================================= */

.large-seismic-page {
    padding: 70px 0;
    background: #f7f8fb;
}

.category-intro {
    max-width: 980px;
    margin-bottom: 45px;
}

    .category-intro h2 {
        color: var(--ss-blue);
        font-weight: 800;
        font-size: 2.35rem;
        margin-bottom: 14px;
    }

.access {
    color: var(--ss-blue);
    font-weight: 800;
    font-size: 1.35rem;
    margin-left:5rem;
}

.category-intro p {
    color: #555;
    font-size: 1.08rem;
    line-height: 1.8;
}

.featured-product-box {
    background: linear-gradient(rgba(20,35,85,.88), rgba(20,35,85,.88)), url('/images/large-seismic.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 46px;
    margin-bottom: 45px;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.featured-product-content {
    max-width: 760px;
}

.product-label {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    color: white;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 14px;
}

.operation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.operation-card {
    background: white;
    border: 1px solid #e3e6ef;
    border-top: 5px solid var(--ss-blue);
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.operation-card-header h3 {
    color: var(--ss-blue);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.operation-card-header p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 22px;
}

.product-list {
    display: grid;
    gap: 14px;
}

.operation-product {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px;
    background: #f7f9ff;
    border: 1px solid #dfe6f8;
    border-radius: 5px;
    text-decoration: none;
    transition: .2s;
}

    .operation-product h4 {
        color: #222;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .operation-product p {
        color: #555;
        margin: 0;
        line-height: 1.55;
    }

    .operation-product span {
        color: var(--ss-blue);
        font-weight: 800;
        white-space: nowrap;
    }

    .operation-product:hover {
        background: var(--ss-blue);
        transform: translateY(-3px);
    }

        .operation-product:hover h4,
        .operation-product:hover p,
        .operation-product:hover span {
            color: white;
        }

.standalone-section {
    margin-top: 55px;
}

    .standalone-section h2 {
        color: var(--ss-blue);
        font-weight: 800;
        margin-bottom: 24px;
    }

.standalone-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.standalone-card {
    display: block;
    background: linear-gradient(rgba(20,35,85,.86), rgba(20,35,85,.86)), url('/images/large-seismic.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 34px;
    border-radius: 6px;
    text-decoration: none;
    transition: .2s;
    min-height: 260px;
}

    .standalone-card h3 {
        font-size: 1.7rem;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .standalone-card p {
        color: rgba(255,255,255,.9);
        line-height: 1.7;
    }

    .standalone-card strong {
        color: white;
        border-bottom: 2px solid white;
    }

    .standalone-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }

/* =========================================
   CONTACT PAGE
========================================= */

.contact-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.contact-main-office {
    background: white;
    border-left: 6px solid var(--ss-blue);
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    padding: 34px;
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    gap: 34px;
    margin-bottom: 60px;
}

.contact-label {
    display: inline-block;
    background: #eaf0ff;
    color: var(--ss-blue);
    font-weight: 800;
    font-size: .78rem;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.contact-main-office h2,
.contact-main-office h3,
.contact-section-heading h2,
.staff-name h3,
.rep-item h3 {
    color: var(--ss-blue);
    font-weight: 800;
}

.contact-main-office p,
.rep-item p,
.staff-description p,
.contact-section-heading p {
    color: #444;
    line-height: 1.75;
}

.contact-main-office a,
.rep-item a,
.staff-description a {
    color: var(--ss-blue);
    font-weight: 700;
    text-decoration: none;
}

.contact-office-note {
    background: linear-gradient(180deg, #f3f6ff, #ffffff);
    padding: 34px;
    border: 1px solid #dfe6f8;
    border-top: 5px solid var(--ss-blue);
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}

.rep-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 70px;
}

.rep-item {
    background: white;
    border: 1px solid #e1e5ef;
    border-top: 4px solid var(--ss-blue);
    padding: 26px;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.staff-heading {
    border-top: 1px solid #d9deea;
    padding-top: 45px;
}

.staff-list {
    background: white;
    border: 1px solid #e1e5ef;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.staff-row {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 34px;
    padding: 30px 34px;
    border-bottom: 1px solid #e6e9f1;
}

    .staff-row:last-child {
        border-bottom: none;
    }

.staff-photo {
    width: 150px;
    height: 170px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    border: 1px solid #d9deea;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,.10);
    background-color: #f5f5f5;
}

.support-list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

    .support-list li {
        padding: 12px 0 12px 28px;
        border-bottom: 1px solid #e1e6f3;
        position: relative;
        color: #444;
        font-weight: 600;
    }

        .support-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--ss-blue);
            font-weight: 900;
        }

.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

html {
    scroll-behavior: smooth;
}

.contact-hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.staff-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--ss-blue);
    padding: 14px 24px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid white;
    transition: .22s;
}

    .staff-scroll-btn:hover {
        background: var(--ss-blue);
        color: white;
        transform: translateY(-3px);
    }

.staff-feature-intro {
    background: linear-gradient(180deg, #ffffff, #f3f6ff);
    border: 1px solid #dfe6f8;
    border-left: 6px solid var(--ss-blue);
    padding: 36px;
    margin: 70px 0 30px;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}

    .staff-feature-intro h2 {
        color: var(--ss-blue);
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .staff-feature-intro p {
        color: #555;
        max-width: 850px;
        line-height: 1.8;
        margin: 0;
    }

@media (max-width: 768px) {
    .staff-scroll-btn {
        width: 100%;
        justify-content: center;
    }

    .staff-feature-intro {
        padding: 26px;
        margin-top: 45px;
    }

        .staff-feature-intro h2 {
            font-size: 1.75rem;
        }
}


/* =========================================
   OVERVIEW IMAGES
========================================= */

.overview-image-wrap {
    display: flex;
    justify-content: center;
    margin: 35px 0 55px;
}

.overview-image {
    width: 100%;
    max-width: 1050px;
    height: 420px;
    object-fit: contain;
    object-position: center;
    border: 1px solid #d7ddea;
    border-bottom: 6px solid var(--ss-blue);
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
    border-radius: 4px;
    background-color: #f5f7fb;
    padding: 18px;
}

@media (max-width: 768px) {

    .overview-image-wrap {
        width: 100%;
        margin: 25px auto 40px;
    }

    .overview-image {
        width: 100%;
        min-height: 260px;
        object-fit: cover;
        object-position: center;
    }
}

/* =========================================
   GOOGLE MAP
========================================= */

.office-map {
    margin-top: 24px;
    border: 1px solid #d7ddea;
    border-bottom: 5px solid var(--ss-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    overflow: hidden;
    border-radius: 4px;
    background: white;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .seismic-navbar {
        padding: 10px 0;
    }

    .site-logo {
        height: 58px;
        max-width: 230px;
        object-fit: contain;
    }

    .navbar-collapse {
        background: white;
        border-top: 1px solid var(--ss-border);
        margin-top: 14px;
        padding: 12px 0;
    }

    .navbar-nav {
        margin-top: 20px;
    }

        .navbar-nav .nav-link {
            color: var(--ss-blue);
            margin-left: 0;
            padding: 12px 16px;
            border-bottom: 1px solid #eee;
        }

    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
    }

    .dropdown-submenu > .dropdown-toggle {
        background: #eaf0ff;
        color: var(--ss-blue) !important;
        font-weight: 800;
        border-radius: 4px;
        margin-bottom: 4px;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        display: none;
        background: #fafafa;
        border-left: 3px solid var(--ss-blue);
        margin-left: 14px;
        padding: 6px 0;
        margin-bottom: 10px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        display: none;
    }

    .operation-grid,
    .standalone-grid,
    .rep-list,
    .contact-main-office,
    .staff-row {
        grid-template-columns: 1fr;
    }

    .staff-row {
        gap: 12px;
    }
}

/* =========================================
   PHONE
========================================= */

@media (max-width: 768px) {

    .home-hero {
        padding: 85px 0;
    }

        .home-hero h1 {
            font-size: 2.5rem;
        }

    .category-overlay {
        padding: 22px;
    }

        .category-overlay h3 {
            font-size: 1.4rem;
            line-height: 1.1;
        }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
        gap: 18px;
    }

    .large-seismic-page,
    .contact-page {
        padding: 45px 0;
    }

    .contact-main-office,
    .rep-item,
    .staff-row {
        padding: 24px;
    }

    .overview-image {
        height: 260px;
    }
}


.home-about {
    background: white;
    padding: 85px 0;
}

.home-section-label {
    display: inline-block;
    background: #eaf0ff;
    color: var(--ss-blue);
    font-weight: 800;
    font-size: .78rem;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-about h2 {
    color: var(--ss-blue);
    font-size: 2.20rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
}

.home-about p {
    color: #555;
    font-size: 1.12rem;
    line-height: 2;
    margin-bottom: 2rem;
    max-width: 850px;
    text-indent: 1rem;
}


/* First paragraph - style as lead/intro paragraph */
    .home-about p:first-of-type {
        font-size: 1.15rem;
        line-height: 1.95;
        text-indent: 1rem;
        color: #555;
    }

.about-home-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.about-image-box {
    height: 100%;
    min-height: 520px;
    background: white;
    border: 15px solid #dfe4ef;
    border-bottom: 18px solid var(--ss-blue);
    border-top: 8px solid var(--ss-blue);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    overflow: hidden;
    padding: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .home-about {
        padding: 60px 0;
    }

    .home-about h2 {
        font-size: 1.75rem;
        margin-bottom: 18px;
    }

    .home-about p {
        font-size: 1.05rem;
        line-height: 1.85;
        text-indent: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .home-about p:first-of-type {
        text-indent: 0;
    }

    .about-image-box {
        min-height: 380px;
        border-width: 10px;
        margin-bottom: 30px;
    }
}

/* LARGE SEISMIC PRODUCT CARD LAYOUT */

/* =========================================
   PRODUCT CARDS
========================================= */

.product-category-block {
    margin-bottom: 75px;
}

    .product-category-block h2 {
        color: var(--ss-blue);
        font-weight: 800;
        font-size: 2rem;
        margin-bottom: 24px;
        border-bottom: 3px solid var(--ss-blue);
        padding-bottom: 10px;
    }

.product-display-card {
    display: block;
    height: 100%;
    background: white;
    border: 1px solid #dfe4ef;
    border-bottom: 5px solid var(--ss-blue);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .22s ease;
    overflow: hidden;
}

    .product-display-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 28px rgba(0,0,0,.15);
    }

    .product-display-card img {
        width: 100%;
        height: 240px;
        object-fit: contain;
        object-position: center;
        background: white;
        padding: 24px;
        border-bottom: 1px solid #e3e8f1;
    }

.product-display-body {
    padding: 26px 22px 30px;
    text-align: center;
}

    .product-display-body h3 {
        color: var(--ss-blue);
        font-size: 1.45rem;
        font-weight: 800;
        margin-bottom: 20px;
    }

.learn-more-btn {
    display: inline-block;
    background: var(--ss-blue);
    color: white;
    padding: 10px 18px;
    font-weight: 700;
    transition: .2s ease;
}

.product-display-card:hover .learn-more-btn {
    background: var(--ss-light-blue);
}
/* =========================================
   DOWNLOADS PAGE
========================================= */

.downloads-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.downloads-intro {
    max-width: 900px;
    margin-bottom: 45px;
}

    .downloads-intro h2 {
        color: var(--ss-blue);
        font-weight: 800;
        font-size: 2.35rem;
        margin-bottom: 14px;
    }

    .downloads-intro p {
        color: #555;
        font-size: 1.08rem;
        line-height: 1.8;
    }

.download-section {
    background: white;
    border: 1px solid #e1e5ef;
    border-left: 6px solid var(--ss-blue);
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
    padding: 34px;
    margin-bottom: 42px;
}

.download-section-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    border-bottom: 1px solid #e3e7f0;
    padding-bottom: 22px;
    margin-bottom: 24px;
}

    .download-section-header h2 {
        color: var(--ss-blue);
        font-weight: 800;
        margin-bottom: 0;
    }

    .download-section-header p {
        color: #555;
        max-width: 420px;
        line-height: 1.7;
        margin: 0;
    }

.download-label {
    display: inline-block;
    background: #eaf0ff;
    color: var(--ss-blue);
    font-weight: 800;
    font-size: .78rem;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.download-list {
    display: grid;
    gap: 16px;
}

.download-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #f7f9ff;
    border: 1px solid #dfe6f8;
    padding: 18px;
    text-decoration: none;
    transition: .22s;
}

    .download-item:hover {
        background: var(--ss-blue);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
    }

.download-icon {
    width: 54px;
    height: 54px;
    background: white;
    color: var(--ss-blue);
    border: 1px solid #dbe3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.download-info h3 {
    color: var(--ss-blue);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.download-info p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.download-button {
    background: var(--ss-blue);
    color: white;
    padding: 9px 16px;
    font-weight: 800;
    white-space: nowrap;
}

.download-item:hover .download-info h3,
.download-item:hover .download-info p {
    color: white;
}

.download-item:hover .download-button {
    background: white;
    color: var(--ss-blue);
}

@media (max-width: 768px) {
    .download-section-header {
        flex-direction: column;
    }

    .download-item {
        grid-template-columns: 1fr;
    }

    .download-button {
        width: fit-content;
    }
}

/* =========================================
   CASE STUDY FEATURE
========================================= */

.case-study-feature {
    background: linear-gradient(rgba(20,35,85,.88), rgba(20,35,85,.88)), url('/images/near-surface.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 46px;
    margin-top: 30px;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.case-study-content {
    max-width: 780px;
}

    .case-study-content h2 {
        font-size: 2.15rem;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .case-study-content p {
        color: rgba(255,255,255,.9);
        line-height: 1.8;
        margin-bottom: 24px;
    }

@media (max-width: 768px) {
    .case-study-feature {
        padding: 32px;
    }

    .case-study-content h2 {
        font-size: 1.75rem;
    }
}

.product-detail-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.product-hero-box {
    background-color:white;
    text-align: center;
    border: 1px solid #dfe4ef;
    border-bottom: 6px solid var(--ss-blue);
    padding: 36px;
    margin-bottom: 35px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.product-detail-image {
    max-width: 460px;
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 24px;
}

.product-hero-box h2 {
    color: var(--ss-blue);
    font-weight: 800;
    font-size: 2.4rem;
}

.product-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 0;
}

    .product-tabs .nav-link {
        width: 100%;
        border: 1px solid #d8dce6;
        background: #e6e6e6;
        color: #666;
        font-weight: 800;
        padding: 22px;
        border-radius: 8px 8px 0 0;
    }

        .product-tabs .nav-link.active {
            background: white;
            color: var(--ss-blue);
            border-bottom: 1px solid white;
        }

.product-tab-content {
    background: white;
    border: 1px solid #d8dce6;
    padding: 36px;
    margin-bottom: 45px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

    .product-tab-content h3 {
        color: var(--ss-blue);
        font-weight: 800;
        margin-bottom: 16px;
    }

    .product-tab-content p,
    .product-tab-content li {
        color: #444;
        line-height: 1.75;
    }

.product-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.product-bottom-card {
    background: white;
    border: 1px solid #dfe4ef;
    padding: 32px;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

    .product-bottom-card h3 {
        color: var(--ss-blue);
        font-weight: 800;
        margin-bottom: 18px;
    }

.brochure-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f7f9ff;
    border: 1px solid #dfe6f8;
    color: var(--ss-blue);
    padding: 16px 20px;
    font-weight: 800;
    text-decoration: none;
}

    .brochure-link i {
        color: #d92323;
        font-size: 1.5rem;
    }

    .brochure-link:hover {
        background: var(--ss-blue);
        color: white;
    }

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eef3ff;
    color: var(--ss-blue);
    border: 1px solid #d9e2f4;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 34px;
    transition: .2s;
}

    .back-button:hover {
        background: var(--ss-blue);
        color: white;
        transform: translateX(-3px);
    }

@media (max-width: 768px) {
    .product-tabs {
        grid-template-columns: 1fr;
    }

    .product-bottom-grid {
        grid-template-columns: 1fr;
    }

    .product-tab-content {
        padding: 24px;
    }
}

/* =========================================
   GALLERY PAGE
========================================= */

.gallery-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.gallery-intro {
    max-width: 900px;
    margin-bottom: 40px;
}

    .gallery-intro h2 {
        color: var(--ss-blue);
        font-weight: 800;
        font-size: 2.3rem;
        margin-bottom: 14px;
    }

    .gallery-intro p {
        color: #555;
        line-height: 1.8;
        font-size: 1.05rem;
    }

.gallery-category {
    margin-bottom: 58px;
}

    .gallery-category h2 {
        color: var(--ss-blue);
        font-weight: 800;
        font-size: 1.8rem;
        margin-bottom: 22px;
        border-bottom: 3px solid var(--ss-blue);
        padding-bottom: 10px;
    }

.gallery-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    background: white;
    border: 1px solid #dfe4ef;
    border-bottom: 5px solid var(--ss-blue);
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    transition: .25s;
    object-fit: contain;
    object-fit: contain;
}


.gallery-itemv {
    display: block;
    overflow: hidden;
    background: white;
    border: 1px solid #dfe4ef;
    border-bottom: 5px solid var(--ss-blue);
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    transition: .25s;
}

    .gallery-itemv img {
        width: 100%;
        height: 700px;
        object-fit: cover;
        object-position: center top;
        background: #f8faff;
        display: block;
    }

    .gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0,0,0,.16);
    }

    .gallery-item img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
    }

@media (max-width: 991px) {
    .gallery-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding: 45px 0;
    }

    .gallery-category-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 260px;
    }
}

/* Ponca City staff/team photo */
.gallery-staff-photo img {
    height: 420px;
    object-fit: contain;
    object-position: center;
    background: #f8faff;
}

@media (max-width: 768px) {
    .gallery-staff-photo img {
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

.gallery-wide-photo img {
    height: auto;
    object-fit: contain;
    background: #f8faff;
}



/* =========================================
   GALLERY MOBILE IMAGE FIX
========================================= */

@media (max-width: 768px) {

    .gallery-item img,
    .gallery-itemv img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center top;
        background: #f8faff;
    }

    .gallery-item,
    .gallery-itemv {
        overflow: visible;
    }
}

/* =========================================
   CASE STUDIES PAGE
========================================= */

.case-studies-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.case-study-category {
    margin-bottom: 70px;
}

    .case-study-category h2 {
        color: var(--ss-blue);
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 28px;
        border-bottom: 3px solid var(--ss-blue);
        padding-bottom: 12px;
    }

.case-study-grid {
    display: grid;
    gap: 34px;
}

.case-study-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    background: white;
    border: 1px solid #dfe4ef;
    border-bottom: 6px solid var(--ss-blue);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: contain;
    display: block;
}

.case-study-content {
    padding: 36px;
}

    .case-study-content h3 {
        color: var(--ss-blue);
        font-size: 1.7rem;
        font-weight: 800;
        margin-bottom: 18px;
    }

    .case-study-content p {
        color: #555;
        line-height: 1.85;
        margin-bottom: 26px;
    }

.case-study-downloads {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.download-case-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ss-blue);
    color: white;
    padding: 14px 20px;
    font-weight: 700;
    text-decoration: none;
    transition: .22s ease;
}

    .download-case-btn:hover {
        background: var(--ss-light-blue);
        color: white;
        transform: translateY(-2px);
    }

.secondary-download {
    background: #eef3ff;
    color: var(--ss-blue);
    border: 1px solid #d5def2;
}

    .secondary-download:hover {
        background: var(--ss-blue);
        color: white;
    }

@media (max-width: 991px) {

    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-study-image img {
        min-height: 260px;
    }
}

@media (max-width: 768px) {

    .case-studies-page {
        padding: 45px 0;
    }

    .case-study-content {
        padding: 26px;
    }

        .case-study-content h3 {
            font-size: 1.45rem;
        }
}

.case-study-feature {
    background: linear-gradient( 135deg, #f7f9fd 0%, #eef3ff 100% );
    border: 1px solid #dfe4ef;
    border-bottom: 6px solid var(--ss-blue);
    padding: 55px;
    margin: 70px 0;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.case-study-content {
    max-width: 760px;
}

    .case-study-content h2 {
        color: var(--ss-blue);
        font-size: 2.4rem;
        font-weight: 800;
        margin: 16px 0 22px;
    }

.case-study-text {
    color: #555;
    font-size: 1.08rem;
    line-height: 1.9;
    margin-bottom: 28px;
}
.case-study-resource-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.case-resource-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    background: #f7f9ff;
    border: 1px solid #dfe6f8;
    border-left: 5px solid var(--ss-blue);
    padding: 16px;
    text-decoration: none;
    transition: .22s ease;
}

    .case-resource-item:hover {
        background: var(--ss-blue);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
    }

.case-resource-icon {
    width: 48px;
    height: 48px;
    background: white;
    color: var(--ss-blue);
    border: 1px solid #dbe3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.case-resource-text h4 {
    color: var(--ss-blue);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.case-resource-text p {
    color: #555;
    line-height: 1.55;
    margin: 0;
}

.case-resource-item:hover h4,
.case-resource-item:hover p {
    color: white;
}

.nav-product-search {
    position: relative;
    display: flex;
    margin-left: 22px;
}

    .nav-product-search input {
        border: 1px solid #d9e2f4;
        padding: 8px 12px;
        min-width: 220px;
    }

    .nav-product-search button {
        background: var(--ss-blue);
        color: white;
        border: none;
        padding: 8px 12px;
    }

.search-suggestions {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dfe4ef;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 9999;
}

    .search-suggestions a {
        display: block;
        padding: 10px 12px;
        color: var(--ss-blue);
        text-decoration: none;
        font-weight: 700;
    }

        .search-suggestions a:hover {
            background: var(--ss-blue);
            color: white;
        }


.search-results-page {
    padding-top: 45px;
}

/*QUOTES*/

.quote-nav-link {
    background: var(--ss-blue);
    color: white !important;
    padding: 9px 16px !important;
    margin-left: 18px;
}

    .quote-nav-link:hover {
        background: var(--ss-light-blue);
        color: white !important;
    }

.quote-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.quote-form {
    display: grid;
    gap: 34px;
}

.quote-section {
    background: white;
    border: 1px solid #dfe4ef;
    border-left: 6px solid var(--ss-blue);
    padding: 34px;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}

    .quote-section h2 {
        color: var(--ss-blue);
        font-weight: 800;
        margin-bottom: 24px;
    }

    .quote-section label {
        color: #333;
        font-weight: 700;
        margin-bottom: 7px;
    }

    .quote-section .form-control {
        border-radius: 0;
        border: 1px solid #d9e2f4;
        padding: 11px 13px;
    }

        .quote-section .form-control:focus {
            border-color: var(--ss-blue);
            box-shadow: 0 0 0 .18rem rgba(28,47,109,.15);
        }

.quote-option {
    display: block;
    height: 100%;
    background: #f7f9ff;
    border: 1px solid #dfe6f8;
    border-bottom: 5px solid var(--ss-blue);
    padding: 22px;
    cursor: pointer;
    transition: .22s;
}

    .quote-option:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0,0,0,.12);
    }

    .quote-option input {
        margin-right: 8px;
    }

    .quote-option strong {
        color: var(--ss-blue);
        display: block;
        font-size: 1.15rem;
        margin: 10px 0;
    }

    .quote-option span {
        color: #555;
        line-height: 1.6;
    }

.quote-submit-btn {
    background: var(--ss-blue);
    color: white;
    border: none;
    padding: 16px 28px;
    font-weight: 800;
    font-size: 1.05rem;
    width: fit-content;
    transition: .22s;
}

    .quote-submit-btn:hover {
        background: var(--ss-light-blue);
        transform: translateY(-3px);
    }

.quote-success {
    background: #eaf8ef;
    border-left: 6px solid #198754;
    padding: 18px 22px;
    margin-bottom: 28px;
    font-weight: 700;
    color: #145c32;
}

.quote-error {
    background: #fff1f1;
    border-left: 6px solid #dc3545;
    padding: 18px 22px;
    margin-bottom: 28px;
    font-weight: 700;
    color: #842029;
}

@media (max-width: 991px) {
    .quote-nav-link {
        display: inline-block;
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .quote-page {
        padding: 45px 0;
    }

    .quote-section {
        padding: 24px;
    }

    .quote-submit-btn {
        width: 100%;
    }
}

.quote-helper-text {
    color: #666;
    font-size: .95rem;
    font-style: italic;
    margin-bottom: 24px;
}


@media (max-width: 991px) {

    .quote-nav-link {
        display: inline-block;
        margin-bottom: 16px;
    }
}

/* =========================================
   BIG BANG CATEGORY VIDEO
========================================= */

.category-video-overview {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
    background: white;
    border: 1px solid #dfe4ef;
    border-left: 6px solid var(--ss-blue);
    padding: 34px;
    margin-bottom: 42px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.category-video-box {
    background: #111;
    border: 1px solid #dfe4ef;
    border-bottom: 6px solid var(--ss-blue);
    padding: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.category-demo-video {
    width: 100%;
    min-height: 360px;
    max-height: 460px;
    object-fit: cover;
    display: block;
    background: black;
}

.category-video-content h2 {
    color: var(--ss-blue);
    font-weight: 800;
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.category-video-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.specification-comparison {
    background: white;
    border: 1px solid #dfe4ef;
    border-left: 6px solid var(--ss-blue);
    padding: 32px;
    margin-bottom: 50px;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

    .specification-comparison h3 {
        color: var(--ss-blue);
        font-size: 1.55rem;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .specification-comparison p {
        color: #555;
        line-height: 1.75;
    }

    .specification-comparison ul {
        list-style: none;
        padding: 0;
        margin: 18px 0 0;
    }

    .specification-comparison li {
        padding: 13px 0;
        border-bottom: 1px solid #e3e7f0;
        color: #444;
        line-height: 1.65;
    }

        .specification-comparison li:last-child {
            border-bottom: none;
        }

    .specification-comparison strong {
        color: var(--ss-blue);
    }

.product-subtitle {
    font-size: .95rem;
    color: #666;
    margin: 6px 0 18px;
}

@media (max-width: 991px) {
    .category-video-overview {
        grid-template-columns: 1fr;
    }

    .category-demo-video {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .category-video-overview,
    .specification-comparison {
        padding: 24px;
    }

    .category-video-content h2 {
        font-size: 1.85rem;
    }
}

/* =========================================
   PRODUCT MINI BADGES
========================================= */

.product-mini-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 20px;
}

    .product-mini-links span {
        background: #eef3fb;
        color: var(--ss-blue);
        border: 1px solid #d5deef;
        padding: 5px 10px;
        font-size: .82rem;
        font-weight: 700;
        border-radius: 30px;
        transition: .2s ease;
    }

.product-display-card:hover .product-mini-links span {
    background: rgba(255,255,255,.15);
    color: white;
    border-color: rgba(255,255,255,.25);
}



/* =========================================
   Events Page
========================================= */
.top-social-bar {
    background: white;
    border-bottom: 1px solid var(--ss-border);
    padding: 10px 0;
}

.social-icons-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.events-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ss-blue);
    color: white;
    padding: 12px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: .22s ease;

}

    .events-top-btn:hover {
        background: var(--ss-light-blue);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(28,47,109,.2);
    }

    .events-top-btn i {
        font-size: 1rem;
    }

.social-icon {
    width: 42px;
    height: 42px;
    margin-left: 12px;
    border-radius: 50%;
    background: #39424e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .2s;
}

    .social-icon:hover {
        background: var(--ss-blue);
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .top-social-bar {
        padding: 12px 0;
    }

    .events-top-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.9rem;
        margin-right: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        margin-left: 8px;
    }
}


.events-page {
    background: #f7f8fb;
    padding: 70px 0;
}

.ev-container {
    max-width: 950px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.ev-header h2 {
    color: var(--ss-blue);
    font-weight: 800;
    margin-bottom: 24px;
}

.ev-month-label {
    color: var(--ss-blue);
    font-weight: 800;
    font-size: 1.15rem;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6eaf2;
}

.ev-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.ev-date-box {
    background: var(--ss-blue);
    color: white;
    border-radius: 6px;
    text-align: center;
    padding: 12px 6px;
    height: fit-content;
}

.ev-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.ev-month {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

.ev-date-range {
    color: #666;
    font-size: .9rem;
    margin-bottom: 5px;
}

.ev-title {
    color: #222;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.ev-location,
.ev-description {
    color: #555;
    margin: 0 0 6px;
    line-height: 1.6;
}

.ev-status {
    color: #777;
    text-align: center;
    padding: 30px;
}

@media (max-width: 600px) {
    .ev-container {
        padding: 22px;
    }

    .ev-item {
        grid-template-columns: 1fr;
    }

    .ev-date-box {
        width: 82px;
    }
}

/* =========================================
   TOP BAR / SOCIAL
========================================= */

.top-social-bar {
    background: white;
    border-bottom: 1px solid var(--ss-border);
    padding: 10px 0;
}

.social-icons-container {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Events Link - Subtle styling */
.events-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 16px;
    transition: .22s ease;
    border-radius: 3px;
    background-color: #1c2f6d;
    color:white;
}

    .events-top-link:hover {
        color: var(--ss-blue);
        background: #f0f4fb;
    }

    .events-top-link i {
        font-size: 0.95rem;
        color: #999;
    }

    .events-top-link:hover i {
        color: var(--ss-blue);
    }

.social-icon {
    width: 42px;
    height: 42px;
    margin-left: 12px;
    border-radius: 50%;
    background: #39424e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .2s;
}

    .social-icon:hover {
        background: var(--ss-blue);
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .top-social-bar {
        padding: 12px 0;
    }

    .events-top-link {
        padding: 6px 8px;
        font-size: 0.85rem;
        margin-right: 8px;
    }

        .events-top-link span {
            display: none;
        }

    .social-icon {
        width: 38px;
        height: 38px;
        margin-left: 6px;
    }
}
/* =========================================
   DROPDOWNS
========================================= */

.dropdown-menu {
    border-radius: 0;
    border-top: 4px solid var(--ss-blue);
    padding: 0;
    min-width: 280px;
}

.dropdown-item {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecf1;
    color: #333;
    gap: 16px;
}

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: var(--ss-blue);
        color: white;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-toggle::before {
        display: none !important;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        content: '›';
        font-size: 1.3rem;
        color: currentColor;
        margin-left: auto;
        flex-shrink: 0;
        border: none !important;
        background: none !important;
    }


/* =========================================
   GALLERY MODALS - mobile friendly
========================================= */

.gallery-item,
.gallery-itemv {
    cursor: pointer;
}

dialog.gallery-modal {
    all: unset;
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    box-sizing: border-box;
}

    dialog.gallery-modal:target {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.gallery-modal-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

    .gallery-modal-content img {
        display: block;
        max-width: 92vw;
        max-height: 92vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 6px;
    }

.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    color: white;
    font-size: 42px;
    font-weight: 200;
    text-decoration: none;
    width: auto;
    height: auto;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
    transition: .2s ease;
}

    .gallery-modal-close:hover {
        transform: scale(1.15);
        color: #fff;
    }

@media (max-width: 768px) {
    dialog.gallery-modal {
        padding: 8px;
    }

    .gallery-modal-content img {
        max-width: 96vw;
        max-height: 88vh;
    }

    .gallery-modal-close {
        width: 42px;
        height: 42px;
        font-size: 26px;
        top: 10px;
        right: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media (max-width: 768px) {

    .gallery-modal-close {
        position: fixed;
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
        width: 52px;
        height: 52px;
        font-size: 34px;
        background: rgba(0,0,0,.75);
        backdrop-filter: blur(12px);
        box-shadow: 0 6px 20px rgba(0,0,0,.45);
    }

        .gallery-modal-close:active {
            transform: scale(.92);
        }
}