﻿/* =============================================================================
   LAYOUT.CSS
   Scope: Page-level structure and section shells (header, hero, footer, etc.)
   Notes:
   - Keep type styles in typography.css; component skins in components.css.
   - This file focuses on structure: sizing, positioning, stacking, spacing.
   - Works alongside Bootstrap 5 utilities.
   ========================================================================== */


/* ==========================================================================
   HEADER
   Purpose: Align logo and navigation; small spacing refinements.
   -------------------------------------------------------------------------- */

/* Base: no shadow */
.awc-header {
    transition: box-shadow .2s ease, backdrop-filter .2s ease, background-color .2s ease;
    z-index: 1030;
}

    /* When page is scrolled, add a soft shadow */
    .awc-header.is-scrolled {
        box-shadow: 0 6px 20px rgba(0,0,0,.06);
        /* optional glass effect if you like: */
        /* backdrop-filter: saturate(180%) blur(6px); */
        /* background-color: rgba(255,255,255,.9); */
    }

/* default padding from your navbar (example) */
.navbar {
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.awc-header.is-scrolled .navbar {
    padding-top: .55rem;
    padding-bottom: .55rem;
}


/* Ensure the brand logo renders without any leftover effects/shadows. */
.awc-header .navbar-brand img {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

/* Slightly increase the clickable area of nav links without changing font size. */
.awc-header .nav-link {
    padding: 0.75rem 1rem;
    padding-bottom: 0px;
}

.nav-link:hover {
    text-decoration: none !important;
    color: var(--awc-brand);
}

/* Remove Bootstrap container left padding so the logo is flush to the viewport.
   NOTE: !important is used to win over Bootstrap's container padding. */
.awc-header .container {
    padding-left: 0 !important;
}

.nav-item:hover {
    text-decoration: none !important;
}


/* ==========================================================================
   HERO
   Purpose: Full-width hero with optional background image or video,
            plus a fixed-width, semi-transparent blue panel that holds the copy.
   Structure:
     .awc-hero                 -> Section shell (positioned)
       ├─ .awc-hero__bg        -> (Optional) background image (absolute cover)
       ├─ .awc-hero__video     -> (Optional) background video (absolute cover)
       └─ .awc-hero__panel     -> Blue overlay panel (absolute; contains content)
            └─ .awc-hero__content -> Foreground copy + buttons
   -------------------------------------------------------------------------- */

/* Section shell */
.awc-hero {
    background: #eaf5f4; /* Fallback surface under media */
    min-height: clamp(420px, 60vh, 640px); /* Responsive hero height */
    position: relative; /* Anchor for absolute layers */
    overflow: hidden; /* Clip overflowing media */
}

/* ---- Background IMAGE option -------------------------------------------- */
.awc-hero__bg {
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0; /* Base layer (under panel+content) */
}

/* ---- Background VIDEO option (desktop/tablet) ---------------------------- */
.awc-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Base layer (under panel+content) */
    overflow: hidden;
}

    /* Make iframe behave like a responsive “cover” background.
   Center it and ensure it always fills the hero with a 16:9 baseline. */
    .awc-hero__video iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        /* 16:9 baseline sizing */
        width: 100vw;
        height: 56.25vw; /* 9/16 of width */
        /* Ensure coverage in tall/narrow viewports */
        min-height: 100%;
        min-width: 177.78vh; /* 16/9 of height */
        transform: translate(-50%, -50%);
        border: 0;
        pointer-events: none; /* Pass clicks through to CTAs */
    }

/* ---- Blue overlay panel (contains the text) ------------------------------ */
/* Real element (not ::after) so content lives inside and never “spills.” */
.awc-hero__panel {
    position: absolute;
    top: 0;
    left: 0; /* Change to right: 0 for right panel */
    width: 40%;
    min-width: 500px; /* Desktop panel width */
    height: 100%;
    z-index: 1; /* Over media, below content z:2 */
    background: rgba(0, 102, 204, 0.55); /* Semi-transparent blue */
    display: flex; /* Vertical centering helper */
    align-items: center; /* Center .awc-hero__content vertically */
    box-sizing: border-box;
    padding-left: 40px;
}

/* Poster image overlay */
.awc-hero__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Above video, below panel */
    opacity: 1;
    /* Show for 2s, then fade out over 0.75s */
    animation: awc-hero-poster-fade 0.75s ease-out 5s forwards;
}

/* Ensure stacking order */
.awc-hero__video {
    z-index: 0;
}

.awc-hero__panel {
    z-index: 2;
}

/* Fade-out keyframes */
@keyframes awc-hero-poster-fade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.awc-info-bar {
    background: #f3f8fa;
    padding: 20px 10px;
    border-radius: 8px;
    border: 1px solid #e2eef1;
    display: none;
}

/* Foreground content inside the panel */
.awc-hero__content {
    width: 100%;
    max-width: 460px; /* Keeps lines readable */
    margin: 0 auto 0 0; /* Bias left inside the panel */
    color: #fff;
    padding: 2rem 1.25rem;
    z-index: 2;
}

    .awc-hero__content .display-5,
    .awc-hero__content .lead,
    .awc-hero__content p,
    .awc-hero__content h1,
    .awc-hero__content h2,
    .awc-hero__content h3 {
        color: #fff;
    }

    /* Outline button variant: ensure visibility on the blue panel. */
    .awc-hero__content .btn-outline-brand {
        border-color: #fff;
        color: #fff;
    }

        .awc-hero__content .btn-outline-brand:hover,
        .awc-hero__content .btn-outline-brand:focus {
            background: #fff;
            color: #0066cc; /* Matches overlay hue */
        }

.awc-hero-loader {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);    /* black while video loads */
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==========================================================================
   RESPONSIVE BEHAVIOR
   - Tablet: step overlay width down.
   - Mobile: remove video, full-width overlay panel, optional image fallback.
   -------------------------------------------------------------------------- */

/* Tablet and below: narrow the panel a bit for balance */
@media (max-width: 992px) {
    .awc-hero__panel {
        width: 420px;
    }
}

@media (max-width: 768px) {
    .awc-hero__panel {
        width: 360px;
    }

    .awc-hero__content {
        max-width: 320px;
    }
}

/* Mobile adjustments:
   - Remove video
   - Make overlay full width
   - Reduce hero height to fit text + padding comfortably
   - Center text vertically (optional tweak below) */
@media (max-width: 576px) {
    /* Hide background video for performance */
    .awc-hero__video {
        display: none;
    }

    /* Make hero auto-height so it hugs the content */
    .awc-hero {
        background-image: url('../../assets/img/blog/blog-newyear.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: auto; /* Remove forced min-height */
        padding-top: 0rem; /* Top breathing space */
        padding-bottom: 0rem; /* Bottom breathing space */
        overflow: visible; /* just in case it was hidden */
    }

    /* Full-width overlay */
    .awc-hero__panel {
        position: relative; /* No absolute overlay on mobile */
        width: 100%;
        max-width: 100%;
        height: auto;
        left: 0; /* ✅ reset desktop positioning */
        transform: none; /* ✅ critical to prevent shifting */
        background: rgba(0, 102, 204, 0.75); /* Slightly more opaque for readability */
        align-items: flex-start; /* Keep text near top */
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Content adapts naturally */
    .awc-hero__content {
        max-width: 80%;
        margin: 0;
        padding: 0;
        padding-right: 10px !important;
        box-sizing: border-box; /* ✅ prevent overflow from padding */
    }

        /* Optional: adjust heading size slightly for small screens */
        .awc-hero__content h1 {
            font-size: 1.75rem;
            line-height: 1.2;
        }

        .awc-hero__content .lead {
            font-size: 1rem;
        }
}


/* Save bandwidth for users who prefer reduced data: also hide video. */
@media (prefers-reduced-data: reduce) {
    .awc-hero__video {
        display: none;
    }
}

/* Accessibility hook for future animations (none active currently). */
@media (prefers-reduced-motion: reduce) {
    /* No animations to reduce at this time. */
}


/* ==========================================================================
   FOOTER
   Purpose: Simple section shell; detailed link/text styles live elsewhere.
   -------------------------------------------------------------------------- */

.awc-footer {
    /*background-color: #0f3e3b;  deep, natural green */
    background-color: #000; /* deep, natural green */
    color: #eaeaea;
    font-size: 0.95rem;
    border-top: none;
}

    .awc-footer a {
        color: #8fe3d3; /* soft mint accent */
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .awc-footer a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

    .awc-footer h6 {
        color: #ffffff;
    }

    .awc-footer hr {
        border-color: rgba(255, 255, 255, 0.2);
        opacity: 0.5;
    }

    .awc-footer img {
        /*filter: brightness(0) invert(1);  optional: white logo effect if needed */
        background-color: #fff;
        border-radius: 8px;
    }

    .awc-footer .text-muted {
        color: #e0e0e0 !important; /* light gray for readability */
    }


/* Section padding helper for consistent vertical rhythm */
.section-pad {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (max-width: 768px) {
    .section-pad {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .awc-footer {
        text-align: center;
    }

        .awc-footer .col-md-4 {
            text-align: center;
        }

        .awc-footer img {
            display: block;
            margin: 0 auto 1rem auto; /* center logo on mobile */
        }

        .awc-footer ul {
            padding-left: 0; /* remove default list indent */
        }

            .awc-footer ul li {
                margin-bottom: 0.35rem; /* tighten spacing a bit */
            }

        .awc-footer .mt-2 a {
            display: inline-block;
            margin-right: 0.75rem;
            font-size: 1.25rem; /* give social icons a little more presence */
        }

            .awc-footer .mt-2 a:last-child {
                margin-right: 0;
            }
}

/* === AWC Sections: structure for Courses & Health Products ================= */

/* Section shell with consistent vertical rhythm */
.awc-section {
    padding-block: var(--awc-section-y, clamp(48px, 6vw, 96px));
    background: var(--awc-surface, #fff);
    color: var(--awc-dark);
}

/* Optional alternate surface */
.awc-section--alt {
    background: var(--awc-light, #f7f9f9);
}

/* Divider between adjacent sections (non-intrusive) */
.awc-section + .awc-section {
    border-top: 1px solid var(--awc-border, #e7ecec);
}

/* Section header: title/lead left, CTA right — collapses nicely on mobile */
.awc-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--awc-space-4);
    margin-bottom: var(--awc-space-5);
    flex-wrap: wrap;
}

/* Lead paragraph width control (typing/color lives in typography.css) */
.awc-section__lead {
    max-width: 68ch;
    color: var(--awc-muted);
}

/* Optional narrow container if you want a tighter read width */
.container-narrow {
    max-width: min(980px, 100%);
    margin-inline: auto;
}

/* Subtle horizontal separator you can drop anywhere inside a section */
.awc-separator {
    border-top: 1px solid var(--awc-border, #e7ecec);
    margin: var(--awc-space-5) 0;
}

/* Equal-height helper: makes child .awc-card stretch evenly in grid rows */
.awc-equal > [class*="col"] > .awc-card {
    height: 100%;
}

.dropdown-menu {
    border-radius: .5rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
    padding: .75rem !important;
}

.dropdown-item {
    border-radius: .4rem !important;
    padding: .55rem .75rem !important;
}

/* Responsive header stacking */
@media (max-width: 992px) {
    .awc-section__head {
        align-items: start;
    }

}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-toggle::after {
        vertical-align: 0.15em;
    }
}

/* AWC Benefit Card Styling */
.srv-awc-card {
    background: #fff;
    border: 1px solid #e8eded;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    text-align: left;
}

    .srv-awc-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        border-color: #dfe8e8;
    }

    /* Icon container */
    .srv-awc-card .card-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin-bottom: 1rem;
        color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    /* Icon colors by order */
    .srv-awc-card:nth-child(1) .card-icon {
        background: #1e6f64;
    }
    /* deep green */
    .srv-awc-card:nth-child(2) .card-icon {
        background: #3b82f6;
    }
    /* calming blue */
    .srv-awc-card:nth-child(3) .card-icon {
        background: #10b981;
    }
    /* soft green */
    .srv-awc-card:nth-child(4) .card-icon {
        background: #f59e0b;
    }
    /* warm amber */
    .srv-awc-card:nth-child(5) .card-icon {
        background: #8b5cf6;
    }
    /* lavender */
    .srv-awc-card:nth-child(6) .card-icon {
        background: #ef4444;
    }
    /* coral red */

    /* Text adjustments */
    .srv-awc-card .card-title {
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        color: #0f2624;
    }

    .srv-awc-card .card-text {
        color: #424646;
        line-height: 1.7;
    }

/* Section padding helper (if not defined globally) */
.section-pad {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .srv-awc-card {
        padding: 1.5rem;
    }

        .srv-awc-card .card-icon {
            width: 52px;
            height: 52px;
            margin-bottom: 0.8rem;
        }
}

/* Section spacing helper (if not defined globally) */
.section-pad {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ================================
   AWC Custom FAQ / Accordion
   Completely overrides Bootstrap look
=================================== */

.awc-accordion {
    --awc-accent: #155e5a; /* main teal */
    --awc-accent-soft: #e6f1ef; /* soft teal background */
    --awc-text-main: #102524;
    --awc-text-muted: #505656;
}

    /* Base item */
    .awc-accordion .accordion-item {
        position: relative;
        border: none;
        border-radius: 18px;
        margin-bottom: 1.1rem;
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
        overflow: hidden;
        transition: box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
    }

        /* Left accent bar */
        .awc-accordion .accordion-item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(180deg, #1c7a74, #3a81bf);
            opacity: 0.9;
        }

        /* Hover elevation */
        .awc-accordion .accordion-item:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
        }

    /* Question button */
    .awc-accordion .accordion-button {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 1.2rem 1.6rem 1.1rem 1.8rem;
        font-weight: 600;
        font-size: 1.05rem;
        color: var(--awc-text-main);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        /* Remove default Bootstrap background + arrow */
        .awc-accordion .accordion-button::after {
            background-image: none !important;
        }

        /* Add custom + / – icon on the right */
        .awc-accordion .accordion-button::after {
            content: "+";
            width: 1.9rem;
            height: 1.9rem;
            border-radius: 999px;
            border: 1px solid rgba(21, 94, 90, 0.28);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.05rem;
            color: #155e5a;
            background: #f5fbfa;
            flex-shrink: 0;
            transform: none;
            transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
        }

        /* Expanded state: change icon to – and invert colors */
        .awc-accordion .accordion-button:not(.collapsed)::after {
            content: "–";
            background: #155e5a;
            color: #ffffff;
            border-color: #155e5a;
        }

        /* Expanded header background */
        .awc-accordion .accordion-button:not(.collapsed) {
            background: var(--awc-accent-soft);
            color: #0f3a37;
        }

        /* Remove focus ring ugliness, use our own */
        .awc-accordion .accordion-button:focus {
            box-shadow: none;
            outline: none;
        }

    /* Body */
    .awc-accordion .accordion-body {
        padding: 0 1.8rem 1.35rem 1.8rem;
        padding-top: 10px;
        font-size: 0.98rem;
        line-height: 1.75;
        color: var(--awc-text-muted);
        background-color: #ffffff;
        border-top: 1px solid #edf2f2;
    }

/* Compact mobile adjustments */
@media (max-width: 576px) {
    .awc-accordion .accordion-item {
        border-radius: 14px;
        margin-bottom: 0.9rem;
    }

    .awc-accordion .accordion-button {
        padding: 1rem 1.2rem 0.9rem 1.4rem;
        font-size: 1rem;
    }

    .awc-accordion .accordion-body {
        padding: 0 1.3rem 1.1rem 1.4rem;
    }
}

/* =========================================================
   Modern table styling for Laser page (NO pills)
   ========================================================= */

/* Colored backdrop BEHIND the table */
.awc-table-bg {
    background: linear-gradient(135deg, #eef2ff, #fdf2f8);
    padding: 2.5rem 2rem;
    border-radius: 24px;
}

/* Table base */
.awc-table-modern {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4e9ee;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    background-color: #ffffff;
    margin-bottom: 0;
    
}

    /* Header */
    .awc-table-modern thead th {
        border-bottom: 1px solid #dde4ec;
        background: linear-gradient(135deg, #0f172a, #1e293b);
        color: #f9fafb;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 0.95rem 1.25rem;
    }

    /* Base cells */
    .awc-table-modern tbody td {
        position: relative; /* needed for overlay */
        overflow: hidden;
        font-size: 0.95rem;
        padding: 0.85rem 1.25rem;
        border-top: 1px solid #eef2f7;
        color: #1f2933;
        font-weight: 500;
    }

    /* Zebra striping */
    .awc-table-modern tbody tr:nth-child(odd) td {
        background-color: #f9fafc;
    }

    .awc-table-modern tbody tr:nth-child(even) td {
        background-color: #ffffff;
    }

    /* ---------------------------------------------------------
   Column “pop” without overriding zebra striping:
   soft tint overlay per column
   --------------------------------------------------------- */
    .awc-table-modern tbody td::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.26; /* increase to 0.35 for more color */
        pointer-events: none;
    }

    /* Column tint overlays */
    .awc-table-modern tbody td:nth-child(1)::before {
        background: linear-gradient(120deg, rgba(99,102,241,0.35), rgba(99,102,241,0.05));
    }

    .awc-table-modern tbody td:nth-child(2)::before {
        background: linear-gradient(120deg, rgba(20,184,166,0.30), rgba(20,184,166,0.05));
    }

    .awc-table-modern tbody td:nth-child(3)::before {
        background: linear-gradient(120deg, rgba(236,72,153,0.28), rgba(236,72,153,0.05));
    }

    /* ---------------------------------------------------------
   Extra “pop”: subtle left accent per column (non-clickable)
   --------------------------------------------------------- */
    .awc-table-modern tbody td:nth-child(1) {
        box-shadow: inset 4px 0 0 rgba(99,102,241,0.55);
    }

    .awc-table-modern tbody td:nth-child(2) {
        box-shadow: inset 4px 0 0 rgba(20,184,166,0.55);
    }

    .awc-table-modern tbody td:nth-child(3) {
        box-shadow: inset 4px 0 0 rgba(236,72,153,0.55);
    }

    /* Hover state (keep it subtle so it doesn’t feel clickable) */
    .awc-table-modern tbody tr:hover td {
        background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(15, 23, 42, 0.02));
        transition: background 0.18s ease;
    }


/* Compact on mobile */
@media (max-width: 576px) {
    .awc-table-modern thead th,
    .awc-table-modern tbody td {
        padding: 0.7rem 0.85rem;
        font-size: 0.9rem;
    }
}

/* Tooltip inner box */
.tooltip .tooltip-inner {
    background-color: #fffbe8 !important; /* light, soft yellow */
    color: #5a4b23 !important; /* warm, readable text */
    border: 2px solid #f1c84b !important; /* deeper yellow border */
    padding: .55rem .95rem !important;
    border-radius: 7.25rem !important; /* rounded/pill shape */
    font-weight: 400 !important;
    font-size: .85rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10) !important;
}

/* Tooltip arrow colors (match border) */
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #f1c84b !important;
}

.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #f1c84b !important;
}

.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #f1c84b !important;
}

.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #f1c84b !important;
}

/* Header base */
.new-awc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* Logo */
.new-awc-logo {
    max-width: 210px;
    height: auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .new-awc-logo:hover {
        transform: translateY(-1px);
        opacity: 0.95;
    }

/* Navbar spacing */
.new-awc-navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.new-awc-nav-list {
    gap: 0.1rem;
}

/* Nav links */
.new-awc-nav-link {
    position: relative;
    padding: 0.65rem 0.9rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #2b3b3c;
    transition: color 0.2s ease;
    display: inline-block; /* helps the ::after line match the link width nicely */
}

    /* Underline base */
    .new-awc-nav-link::after {
        content: "";
        position: absolute;
        left: 0; /* full width */
        right: 0; /* full width */
        bottom: 0.25rem; /* adjust to taste */
        height: 2px;
        border-radius: 999px;
        background: var(--awc-brand, #1d7770);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.2s ease;
    }

    /* Hover */
    .new-awc-nav-link:hover {
        color: var(--awc-brand, #1d7770);
    }

        .new-awc-nav-link:hover::after {
            transform: scaleX(1);
        }

/* Active page */
.new-awc-nav-link-active {
    color: var(--awc-brand, #1d7770);
}

    .new-awc-nav-link-active::after {
        transform: scaleX(1);
    }

/* Href */
.awc-href-link {
    color: #3c83db;
    text-decoration: none;
    cursor: pointer;
}

    .awc-href-link:hover {
        color: #1a4c92;
        text-decoration: underline;
    }

/* Dropdown */
.new-awc-dropdown {
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
    border: 1px solid #e3eded;
    min-width: 15rem;
}

    .new-awc-dropdown .dropdown-item {
        border-radius: 0.45rem;
        padding: 0.45rem 0.75rem;
        font-size: 0.93rem;
    }

        .new-awc-dropdown .dropdown-item:hover {
            background-color: rgba(29, 119, 112, 0.06);
        }

/* CTA button */
.new-awc-cta-btn {
    padding-inline: 1.4rem;
    padding-block: 0.55rem;
    font-weight: 600;
    border-radius: 999px;
}

/* Hamburger icon */
.new-awc-toggler-icon {
    display: inline-block;
    width: 22px;
    height: 2px;
    background-color: #2b3b3c;
    position: relative;
    border-radius: 999px;
}

    .new-awc-toggler-icon::before,
    .new-awc-toggler-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background-color: #2b3b3c;
        border-radius: 999px;
    }

    .new-awc-toggler-icon::before {
        top: -6px;
    }

    .new-awc-toggler-icon::after {
        top: 6px;
    }

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive */
@media (min-width: 992px) {
    .new-awc-navbar {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .new-awc-logo {
        max-width: 200px;
    }
}

@media (max-width: 991.98px) {
    .new-awc-nav-list {
        align-items: flex-start !important;
        padding-top: 0.5rem;
        padding-bottom: 0.8rem;
    }

    .new-awc-nav-link::after {
        left: 0;
        right: 0;
    }

    .new-awc-cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* SERVICE ROW WRAPPER */
/* SERVICE ROW WRAPPER 
.awc-srv-row {
    padding: 16px 10px;
    border-top: 1px solid #dde4ea;
    transition: background-color 0.25s ease, transform 0.4s ease, opacity 0.4s ease;
    /* initial "hidden" state for animation
    opacity: 0;
    transform: translateY(20px);
}

    /* Hover state 
    .awc-srv-row:hover {
        background-color: #ecf2f7;
    }

    /* When row is in view, animate it in 
    .awc-srv-row .awc-in-view {
        opacity: 1;
        transform: translateY(0);
    }

    /* Top-align all columns in the row 
    .awc-srv-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

.awc-srv-col {
    padding-left: 20px !important;
}*/

/* SERVICE ROW ANIMATION */

.awc-srv-row {
    padding: 16px 10px;
    border-top: 1px solid #dde4ea;
    transition: background-color 0.25s ease, transform 0.4s ease, opacity 0.4s ease;
    /* initial "hidden" state for animation */
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

    /* Hover state */
    .awc-srv-row:hover {
        background-color: #ecf2f7;
    }

    /* Final visible state */
    .awc-srv-row.awc-in-view {
        opacity: 1;
        transform: translateY(0);
    }

    /* Top-align all columns in the row */
    .awc-srv-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

.awc-srv-col {
    padding-left: 20px !important;
}

/* Service row base state */
.row.awc-srv-row {
    padding: 16px 10px;
    border-top: 1px solid #dde4ea;
    opacity: 0 !important;
    transform: translateX(-150px) !important; /* ← start off-screen to the left */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background-color 0.25s ease !important;
}

    /* When row is “in view” */
    .row.awc-srv-row.awc-in-view {
        opacity: 1 !important;
        transform: translateX(0) !important; /* ← slide back to normal position */
    }

/*
.awc-srv-row {
    padding: 16px 10px;
    border-top: 1px solid #dde4ea;
    transition: background-color 0.25s ease, transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;  start hidden
    transform: translateY(24px); /* slightly pushed down 
}

    /* Hover state 
    .awc-srv-row:hover {
        background-color: #ecf2f7;
    }

    /* When row is “activated” by JS
    .awc-srv-row.awc-in-view {
        opacity: 1;
        transform: translateY(0);
    }

    /* Top-align all columns in the row
    .awc-srv-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

.awc-srv-col {
    padding-left: 20px !important;
}
*/

/* Image */
.awc-srv-home-img {
    width: 100%;
    height: 90px;
    border-radius: 6px;
}

.awc-srv-cost-text {
    font-size: 0.95rem;
    color: #45525b;
}

/* Inline "More..." link */
.awc-href-link {
    color: #0066cc;
    text-decoration: none;
}

    .awc-href-link:hover {
        text-decoration: underline;
    }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .awc-srv-row {
        transition: none;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 576px) {
    /* Hero: reserve space at the top for media (16:9) */
    .awc-hero {
        position: relative;
        padding-top: 56.25vw; /* 16:9 media area at the top */
        min-height: auto;
        padding-bottom: 0;
        background: #eaf5f4;
        overflow: visible;
    }

    /* MEDIA LAYER: video + poster stacked in the same slot */

    /* Video becomes visible and fills the reserved area */
    .awc-hero__video {
        display: block; /* override any display:none */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 56.25vw; /* match the 16:9 area */
        overflow: hidden;
        z-index: 0;
        pointer-events: auto; /* allow taps for fullscreen, etc. */
    }

        .awc-hero__video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%; /* fill the media slot */
            min-width: 0;
            min-height: 0;
            transform: none;
            border: 0;
        }

    /* Poster image: sits on top of the video, then fades out */
    .awc-hero__poster {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 56.25vw;
        object-fit: cover;
        z-index: 1;
        opacity: 1;
        /* reuse your existing keyframes: starts visible, then fades */
        animation: awc-hero-poster-fade 0.75s ease-out 5s forwards;
    }

    /* PANEL / TEXT: now a block under the media slot */
    .awc-hero__panel {
        position: relative; /* no overlay on mobile */
        width: 100%;
        max-width: 100%;
        height: auto;
        left: 0;
        background: rgba(0, 102, 204, 0.80);
        display: block;
        padding: 1.25rem 1.5rem 1.75rem;
        box-sizing: border-box;
        margin-top: 0; /* sits just under the media area */
    }

    .awc-hero__content {
        max-width: 100%;
        margin: 0;
        padding: 0;
        padding-right: 10px;
        box-sizing: border-box;
    }

        .awc-hero__content h1 {
            font-size: 1.75rem;
            line-height: 1.2;
        }

        .awc-hero__content .lead {
            font-size: 1rem;
        }

    .awc-srv-home-img {
        height: 250px; /* a bit taller for comfort */
        object-fit: cover;
        object-position: top center; /* 👈 keep the top of the image in view */
        border-radius: 6px;
    }
}
