/**
 * =============================================================================
 * SHORT MEDIATION THEME STYLES
 * =============================================================================
 *
 * A modern, business-partner aesthetic for Short Mediation
 * Inspired by contemporary B2B platforms (Notion, Stripe, Basecamp)
 *
 * Table of Contents:
 * 1. CSS Variables / Custom Properties
 * 2. Base / Reset Styles
 * 3. Typography
 * 4. Layout / Container
 * 5. Navigation / Header
 * 6. Mobile Menu
 * 7. Buttons & CTAs
 * 8. Hero Section
 * 9. Welcome Section
 * 10. Services Teaser Section
 * 11. CTA Section
 * 12. Footer
 * 13. Blog / Posts
 * 14. Forms
 * 15. Utilities
 * 16. Animations
 * 17. Responsive / Media Queries
 * 18. Accessibility
 */


/* =============================================================================
   1. CSS VARIABLES / CUSTOM PROPERTIES
   ============================================================================= */

:root {
    /* -------------------------------------------------------------------------
       Brand Colors - Primary Accents
       ------------------------------------------------------------------------- */
    --color-pacific-blue: #2B7A9B;
    --color-grass-green: #5A8F7B;
    --color-deep-pacific: #1A5570;
    --color-sage-highlight: #7BA99A;

    /* -------------------------------------------------------------------------
       Neutral Foundation
       ------------------------------------------------------------------------- */
    --color-soft-slate: #2C3E50;
    --color-charcoal-gray: #4A5568;
    --color-light-gray: #CBD5E0;
    --color-pale-smoke: #F7FAFC;
    --color-white: #FFFFFF;
    --color-footer-bg: #1A2332;

    /* -------------------------------------------------------------------------
       Typography Colors
       ------------------------------------------------------------------------- */
    --text-primary: #4A5568;
    --text-heading: #2C3E50;
    --text-light: #FFFFFF;
    --text-link: #2B7A9B;
    --text-link-hover: #1A5570;
    --text-muted: rgba(74, 85, 104, 0.7);

    /* -------------------------------------------------------------------------
       Background Colors
       ------------------------------------------------------------------------- */
    --bg-primary: #F7FAFC;
    --bg-secondary: #F8F8F8;
    --bg-accent: rgba(123, 169, 154, 0.1);

    /* -------------------------------------------------------------------------
       Button Colors
       ------------------------------------------------------------------------- */
    --button-primary-bg: #2B7A9B;
    --button-primary-hover: #1A5570;
    --button-primary-text: #FFFFFF;
    --button-secondary-bg: #5A8F7B;
    --button-secondary-hover: #4a7a68;
    --button-secondary-text: #FFFFFF;

    /* -------------------------------------------------------------------------
       UI Elements
       ------------------------------------------------------------------------- */
    --border-light: #CBD5E0;
    --border-medium: #A0AEC0;
    --divider: #E2E8F0;

    /* -------------------------------------------------------------------------
       Header & Footer
       ------------------------------------------------------------------------- */
    --header-bg: #2C3E50;
    --header-text: #FFFFFF;
    --footer-bg: #1A2332;
    --footer-text: #CBD5E0;

    /* -------------------------------------------------------------------------
       Icons
       ------------------------------------------------------------------------- */
    --icon-primary: #2B7A9B;
    --icon-secondary: #5A8F7B;
    --icon-bg-blue: rgba(43, 122, 155, 0.15);
    --icon-bg-green: rgba(90, 143, 123, 0.15);

    /* -------------------------------------------------------------------------
       Interactive States
       ------------------------------------------------------------------------- */
    --state-hover: #1A5570;
    --state-active: #134051;
    --state-focus: rgba(43, 122, 155, 0.3);

    /* -------------------------------------------------------------------------
       Shadows
       ------------------------------------------------------------------------- */
    --shadow-sm: 0 1px 2px 0 rgba(44, 62, 80, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(44, 62, 80, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(44, 62, 80, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(44, 62, 80, 0.1);

    /* -------------------------------------------------------------------------
       Typography - Font Families
       ------------------------------------------------------------------------- */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* -------------------------------------------------------------------------
       Spacing Scale
       ------------------------------------------------------------------------- */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */

    /* -------------------------------------------------------------------------
       Border Radius
       ------------------------------------------------------------------------- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* -------------------------------------------------------------------------
       Transitions
       ------------------------------------------------------------------------- */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-out;

    /* -------------------------------------------------------------------------
       Z-Index Scale
       ------------------------------------------------------------------------- */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
}


/* =============================================================================
   2. BASE / RESET STYLES
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

img {
    border-style: none;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-link-hover);
}

a:focus-visible {
    outline: 3px solid var(--state-focus);
    outline-offset: 2px;
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

::selection {
    background-color: var(--color-pacific-blue);
    color: var(--color-white);
}


/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

/* Headings - Combined viewport approach */
.sm-h1,
h1 {
    font-size: clamp(2rem, calc(2.5vw + 2.5vh), 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-heading);
    margin-bottom: clamp(1rem, calc(1vw + 1vh), 1.5rem);
    letter-spacing: -0.02em;
}
.sm-h2,
h2 {
    font-size: clamp(1.75rem, calc(2vw + 2vh), 3.375rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
    margin-bottom: clamp(0.75rem, calc(0.75vw + 0.75vh), 1.25rem);
    letter-spacing: -0.01em;
}
.sm-h3,
h3 {
    font-size: clamp(1.375rem, calc(1.5vw + 1.5vh), 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-heading);
    margin-bottom: clamp(0.5rem, calc(0.5vw + 0.5vh), 1rem);
}
.sm-h4,
h4 {
    font-size: clamp(1.125rem, calc(1vw + 1vh), 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-heading);
    margin-bottom: clamp(0.5rem, calc(0.5vw + 0.5vh), 0.75rem);
}

/* Body Text */
.sm-body-large {
    font-size: clamp(1.0em, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-primary);
}

.sm-body-small {
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.6;
    color: var(--text-primary);
}

.sm-caption {
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    line-height: 1.5;
    color: var(--text-muted);
}

/* WYSIWYG Content */
.sm-wysiwyg p {
    margin-bottom: 1.5em;
}

.sm-wysiwyg p:last-child {
    margin-bottom: 0;
}

.sm-wysiwyg a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.sm-wysiwyg ul,
.sm-wysiwyg ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.sm-wysiwyg li {
    margin-bottom: 0.5em;
}

.sm-wysiwyg ul li {
    list-style-type: disc;
}

.sm-wysiwyg ol li {
    list-style-type: decimal;
}


/* =============================================================================
   4. LAYOUT / CONTAINER
   ============================================================================= */

.sm-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.5rem, 4vw, 4rem);
    padding-right: clamp(1.5rem, 4vw, 4rem);
}

/* Wider container for single blog posts */
.single-post .sm-container {
    max-width: 1400px;
}

.sm-content-width {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.sm-section {
    padding-top: clamp(3rem, 8vw, 3.5rem);
    padding-bottom: clamp(3rem, 8vw, 7.5rem);
}

.sm-section--white {
    background-color: var(--bg-secondary);
}

.sm-section--pale {
    background-color: var(--bg-primary);
}

.sm-section--accent {
    background-color: var(--bg-accent);
}

.sm-section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xl);
}

.sm-main {
    min-height: 100vh;
}


/* =============================================================================
   NAVIGATION - COMPLETE WITH RESPONSIVE FIXES AND ACTIVE STYLING
   ============================================================================= */

/* ==========================================================================
   HEADER STYLES - IMPROVED RESPONSIVE BEHAVIOR
   ========================================================================== */

/* Header Base */
.sm-header {
    background-color: var(--color-pale-smoke);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky, 500);
    transition: box-shadow var(--transition-base);
}

/* Add subtle shadow when scrolled */
.sm-header.is-sticky {
    box-shadow: var(--shadow-md);
}

/* Header Container - More aggressive responsive padding */
.sm-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 2.5vw, 4rem); /* Reduced min padding */
    gap: clamp(1rem, 2vw, 2rem); /* More responsive gap */
}

/* Logo Styles */
.sm-header-branding {
    flex-shrink: 0;
}

.sm-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.sm-logo-link:hover {
    opacity: 0.85;
}

/* Logo - Slightly smaller on intermediate screens */
.sm-logo-image {
    height: clamp(30px, 4vw, 30px); /* Scale down more aggressively */
    width: auto;
    object-fit: contain;
}

.sm-site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-soft-slate);
    letter-spacing: -0.02em;
}

/* Primary Navigation - Show at slightly smaller breakpoint */
.sm-nav-primary {
    display: none;
    flex: 1;
    justify-content: center;
}

@media (min-width: 900px) { /* Changed from 1024px */
    .sm-nav-primary {
        display: flex;
    }
}

/* Navigation List - More responsive spacing */
.sm-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 2.5rem); /* Much smaller minimum gap */
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-nav-item {
    position: relative;
}

/* Navigation Links - Responsive font sizing */
.sm-nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: clamp(0.875rem, 1.5vw, 1rem); /* Scale down font size */
    font-weight: 500;
    color: #2B7A9B; /* Changed from var(--color-soft-slate) to Pacific Blue */
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Underline effect on hover */
.sm-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-pacific-blue);
    transition: width var(--transition-base);
}

.sm-nav-link:hover {
    color: #4B596A; /* Changed from var(--color-pacific-blue) */
}

.sm-nav-link:hover::after {
    width: 100%;
}

/* Active state - CURRENT PAGE INDICATOR */
.sm-nav-item--active .sm-nav-link {
   color: #2B7A9B; /* Changed from var(--color-pacific-blue) - keeps Pacific Blue for active */
    font-weight: 600;
}

.sm-nav-item--active .sm-nav-link::after {
    width: 100%; /* Always show underline for active page */
}

/* Focus state for accessibility */
.sm-nav-link:focus {
    outline: none;
}

.sm-nav-link:focus-visible {
    outline: 2px solid var(--color-pacific-blue);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Header Actions - More responsive */
.sm-header-actions {
    display: none;
    flex-shrink: 0;
}

@media (min-width: 900px) { /* Changed from 1024px */
    .sm-header-actions {
        display: flex;
        align-items: center;
    }
}

/* Header CTA - Responsive sizing */
.sm-header-cta {
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
    font-weight: 600;
    white-space: nowrap;
}

/* Button Base Styles (if not already defined elsewhere) */
.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
}

.sm-btn-primary {
    background-color: var(--color-pacific-blue);
    color: var(--color-pure-white);
    box-shadow: var(--shadow-sm);
}

.sm-btn-primary:hover {
    background-color: var(--color-deep-pacific);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.sm-btn-primary:active {
    transform: translateY(0);
}

.sm-btn-primary:focus-visible {
    outline: 3px solid rgba(43, 122, 155, 0.3);
    outline-offset: 2px;
}

/* Hamburger Menu Button */
.sm-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 900px) { /* Changed from 1024px */
    .sm-hamburger {
        display: none;
    }
}

.sm-hamburger-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.sm-hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-soft-slate);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Hamburger active state (X) */
.sm-hamburger.is-active .sm-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.sm-hamburger.is-active .sm-hamburger-line:nth-child(2) {
    opacity: 0;
}

.sm-hamburger.is-active .sm-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   SPECIFIC BREAKPOINT ADJUSTMENTS
   ========================================================================== */

/* Tablets and Small Laptops (900px - 1100px) */
@media (min-width: 900px) and (max-width: 1100px) {
    .sm-nav-list {
        gap: clamp(0.75rem, 1.5vw, 1.25rem); /* Tighter spacing */
    }
    
    .sm-nav-link {
        font-size: 0.875rem; /* Smaller font */
    }
    
    .sm-header-cta {
        padding: 0.5rem 1rem; /* Smaller button */
        font-size: 0.8125rem;
    }
}

/* Small Laptops (1100px - 1280px) */
@media (min-width: 1101px) and (max-width: 1280px) {
    .sm-nav-list {
        gap: clamp(1rem, 2vw, 1.75rem);
    }
    
    .sm-nav-link {
        font-size: 0.9375rem;
    }
}

/* Optional: Hide CTA button at very tight widths while keeping nav visible */
@media (min-width: 900px) and (max-width: 1000px) {
    .sm-header-actions {
        display: none; /* Hide CTA to give nav more room */
    }
}

/* Bring back CTA at comfortable width */
@media (min-width: 1001px) {
    .sm-header-actions {
        display: flex;
    }
}

/* ==========================================================================
   MOBILE MENU - VISUALLY STRIKING & ENERGETIC
   This menu has PERSONALITY. Not boring. Not dull. BOLD.
   ========================================================================== */

/* Full-Screen Overlay with Animated Gradient */
.sm-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(90, 143, 123, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(43, 122, 155, 0.3) 0%, transparent 50%),
        linear-gradient(165deg, #1A5570 0%, #2C3E50 50%, #1a2332 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Floating Geometric Decorations */
.sm-mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 180px;
    height: 180px;
    border: 3px solid rgba(43, 122, 155, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.sm-mobile-menu-overlay::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(90, 143, 123, 0.2);
    transform: rotate(45deg);
    animation: floatRotate 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -30px);
    }
}

@keyframes floatRotate {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        transform: rotate(45deg) translate(-25px, 20px);
    }
}

/* Main Menu Container */
.sm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 2rem clamp(1.5rem, 5vw, 3rem);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sm-mobile-menu.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Diagonal Accent Stripe - Visual Interest */
.sm-mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        transparent 0%, 
        transparent 40%, 
        rgba(43, 122, 155, 0.1) 45%, 
        rgba(90, 143, 123, 0.1) 55%, 
        transparent 60%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
}

/* Header - Logo and Close */
.sm-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(2.5rem, 6vh, 4rem);
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

@keyframes fadeSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo - Bright and Prominent */
.sm-mobile-menu-logo {
    height: clamp(38px, 5vh, 48px);
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

/* Close Button - Bold Circle, Top Right */
.sm-mobile-menu-close {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.sm-mobile-menu-close::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(43, 122, 155, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sm-mobile-menu-close:hover::before {
    opacity: 1;
}

.sm-mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(180deg) scale(1.15);
}

.sm-mobile-menu-close:active {
    transform: rotate(180deg) scale(1.05);
}

/* Navigation - THE STAR OF THE SHOW */
.sm-mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
}

.sm-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vh, 1.25rem);
}

.sm-mobile-nav-list .menu-item,
.sm-mobile-nav-item {
    opacity: 0;
    transform: translateX(-60px) rotate(-2deg);
    animation: slideRotateIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered dramatic entrance */
.sm-mobile-nav-list .menu-item:nth-child(1),
.sm-mobile-nav-item:nth-child(1) { animation-delay: 0.2s; }
.sm-mobile-nav-list .menu-item:nth-child(2),
.sm-mobile-nav-item:nth-child(2) { animation-delay: 0.3s; }
.sm-mobile-nav-list .menu-item:nth-child(3),
.sm-mobile-nav-item:nth-child(3) { animation-delay: 0.4s; }
.sm-mobile-nav-list .menu-item:nth-child(4),
.sm-mobile-nav-item:nth-child(4) { animation-delay: 0.5s; }
.sm-mobile-nav-list .menu-item:nth-child(5),
.sm-mobile-nav-item:nth-child(5) { animation-delay: 0.6s; }
.sm-mobile-nav-list .menu-item:nth-child(6),
.sm-mobile-nav-item:nth-child(6) { animation-delay: 0.7s; }

@keyframes slideRotateIn {
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

/* Navigation Links - BOLD, ASYMMETRIC, DRAMATIC */
.sm-mobile-nav-list .menu-item > a,
.sm-mobile-nav-link {
    display: inline-block;
    font-size: clamp(1.25rem, 7vw, 1.75rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}



/* Animated gradient underline */
.sm-mobile-nav-list .menu-item > a::before,
.sm-mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.25rem;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, #2B7A9B, #5A8F7B);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glow effect on hover */
.sm-mobile-nav-list .menu-item > a::after,
.sm-mobile-nav-link::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at center, rgba(43, 122, 155, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.sm-mobile-nav-list .menu-item > a:hover,
.sm-mobile-nav-list .menu-item > a:focus,
.sm-mobile-nav-link:hover,
.sm-mobile-nav-link:focus {
    color: #FFFFFF;
    text-shadow: 0 0 30px rgba(43, 122, 155, 0.5);
    transform: translateX(15px) scale(1.05);
    letter-spacing: 0.01em;
}

.sm-mobile-nav-list .menu-item > a:hover::before,
.sm-mobile-nav-list .menu-item > a:focus::before,
.sm-mobile-nav-link:hover::before,
.sm-mobile-nav-link:focus::before {
    width: 100%;
}

.sm-mobile-nav-list .menu-item > a:hover::after,
.sm-mobile-nav-list .menu-item > a:focus::after,
.sm-mobile-nav-link:hover::after,
.sm-mobile-nav-link:focus::after {
    opacity: 1;
}

/* Current page - WHITE with full gradient line */
.sm-mobile-nav-list .current-menu-item > a,
.sm-mobile-nav-list .current_page_item > a,
.sm-mobile-nav-link.current-page {
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(43, 122, 155, 0.4);
}

.sm-mobile-nav-list .current-menu-item > a::before,
.sm-mobile-nav-list .current_page_item > a::before,
.sm-mobile-nav-link.current-page::before {
    width: 100%;
}

/* CTA Button - Bottom, Bold Statement */
.sm-mobile-menu-cta {
    padding: 1.5rem 0 2rem;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-mobile-menu-cta-button {
    display: block;
    width: 100%;
    padding: clamp(1.25rem, 3vh, 1.75rem) 2rem;
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: 800;
    text-align: center;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2B7A9B 0%, #5A8F7B 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 
        0 10px 40px rgba(43, 122, 155, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
}

/* Animated shimmer sweep */
.sm-mobile-menu-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.7s ease;
}

.sm-mobile-menu-cta-button:hover::before {
    left: 100%;
}

.sm-mobile-menu-cta-button:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(43, 122, 155, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
    color:white;
}

.sm-mobile-menu-cta-button:active {
    transform: translateY(-3px) scale(1.01);
}

/* Optional Contact Info */
.sm-mobile-menu-contact {
    margin-top: 1.5rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.sm-mobile-menu-contact a {
    display: inline-block;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.sm-mobile-menu-contact a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(43, 122, 155, 0.5);
}

/* ===== ACCESSIBILITY ===== */

/* Focus states */
.sm-mobile-nav-link:focus,
.sm-mobile-menu-cta-button:focus,
.sm-mobile-menu-close:focus {
    outline: 3px solid rgba(43, 122, 155, 0.6);
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .sm-mobile-menu-overlay::before,
    .sm-mobile-menu-overlay::after {
        animation: none !important;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 390px) {
    .sm-mobile-nav-link {
        font-size: 2.25rem;
    }
    
    .sm-mobile-nav-item:nth-child(even) .sm-mobile-nav-link {
        padding-left: 1.5rem;
    }
}

@media (min-height: 800px) {
    .sm-mobile-nav-list {
        gap: 1.5rem;
    }
    
    .sm-mobile-nav-link {
        font-size: 3.75rem;
    }
}

@media (max-height: 700px) {
    .sm-mobile-menu-header {
        margin-bottom: 1.5rem;
    }
    
    .sm-mobile-nav-list {
        gap: 0.5rem;
    }
    
    .sm-mobile-nav-link {
        font-size: 2.25rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .sm-mobile-menu {
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .sm-mobile-menu-header {
        margin-bottom: 1rem;
    }
    
    .sm-mobile-nav {
        padding: 1rem 0;
    }
    
    .sm-mobile-nav-link {
        font-size: 2rem;
    }
    
    .sm-mobile-nav-list {
        gap: 0.25rem;
    }
}

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */

.sm-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background-color: var(--color-pacific-blue);
    color: var(--color-pure-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.sm-skip-link:focus {
    top: 1rem;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* =============================================================================
   7. BUTTONS & CTAs
   ============================================================================= */

.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.sm-btn:focus-visible {
    outline: 3px solid var(--state-focus);
    outline-offset: 2px;
}

/* Primary Button - Pacific Blue */
.sm-btn-primary {
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    box-shadow: var(--shadow-sm);
}

.sm-btn-primary:hover {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    color: var(--button-primary-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sm-btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Secondary Button - Grass Green */
.sm-btn-secondary {
    background-color: var(--button-secondary-bg);
    border-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
}

.sm-btn-secondary:hover {
    background-color: var(--button-secondary-hover);
    border-color: var(--button-secondary-hover);
    color: var(--button-secondary-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline Button */
.sm-btn-outline {
    background-color: transparent;
    border-color: var(--button-primary-bg);
    color: var(--button-primary-bg);
}

.sm-btn-outline:hover {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
}

/* Large Button */
.sm-btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}


/* =============================================================================
   8. HERO SECTION
   ============================================================================= */
.sm-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding-top: calc(var(--space-xl));
    padding-right: 0;
    padding-bottom: 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

/* Background image container */
.sm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Uniform semi-transparent overlay */
/* Gradient overlay - solid on left (text side), transparent on right (image side) */
.sm-hero-bg::after {
content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}




.sm-hero-container {
    /* Remove position: relative so image positions relative to .sm-hero instead */
    z-index: 3;
    max-width: 1400px;
    width: 100%;
}

.sm-hero-content {
    position: relative; /* Add positioning context for proper z-index */
    z-index: 3;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: clamp(280px, 35vw, 320px);
}

@media (min-width: 1024px) {
    .sm-hero-content {
        text-align: left;
        max-width: 55%;
        margin: 0;
        padding-bottom: var(--space-2xl);
        padding-right: var(--space-2xl);
    }
}

.sm-hero-heading {
    max-width: 70ch;
    margin-bottom: var(--space-md);
}

.headline-accent {font-style: italic; color:  #7BA99A}

.sm-hero-subheading {
    max-width: 55ch;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

@media (min-width: 1024px) {
    .sm-hero-subheading {
        margin-bottom: var(--space-xl);
    }
}

.sm-hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);

}

.sm-hero-content .sm-btn {min-width: 260px; font-size:16px;  padding: 1rem 1rem; }

@media (min-width: 768px) {
    .sm-hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .sm-hero-cta {
        justify-content: flex-start;
    }
}

/* Hero Image - Absolutely Positioned at Bottom - ALL WIDTHS */
.sm-hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    margin: 0;
    padding: 0;
    line-height: 0;
}

@media (min-width: 1024px) {
    .sm-hero-image {
        left: auto;
        right: 80px;
        transform: none;
    }
}

.sm-hero-image img {
    display: block;
    width: 100%;
    max-width: clamp(280px, 40vw, 350px);
    height: auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

@media (min-width: 1024px) {
    .sm-hero-image img {
        max-width: 480px;
    }
}

/* Name Label Overlay - Bottom Right */
.sm-hero-name-label {
    position: absolute;
    bottom: 25px;
    right: 0;
    z-index: 5;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(43, 122, 155, 0.75) 20%,
        rgba(43, 122, 155, 0.95) 100%
    );
    border-radius: var(--radius-md) 0 0 0;
    backdrop-filter: blur(8px);
    box-shadow: -4px -4px 16px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.sm-hero-name-label:hover {
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(43, 122, 155, 0.85) 20%,
        var(--color-pacific-blue) 100%
    );
}

.sm-hero-name-link {
    display: block;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: letter-spacing var(--transition-fast);
}

.sm-hero-name-link:hover {
    letter-spacing: 0.05em;
    color: var(--text-light);
}

/* Adjust positioning for desktop */
@media (min-width: 1024px) {
	
	
    
        .sm-hero-name-label {
        right: -80px; /* Compensate for parent's right: 80px */
        padding: 1rem 2rem 1rem 2rem;
    }
    
    .sm-hero-name-link {
        font-size: 16px;
    }
    
}

/* Responsive adjustments for tablets */
@media (min-width: 640px) and (max-width: 1023px) {
    .sm-hero-name-label {
        padding: 0.875rem 1.75rem;
    }
}


/* Mobile */
@media (max-width: 1024px) {
	
	.sm-hero-image img {
    display: block;
    width: 230px;
    max-width: clamp(280px, 40vw, 350px);
    height: auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

.sm-hero-bg::after {
content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}


}
	

/* Mobile */
@media (max-width: 768px) {
	
	.sm-hero-image img {
    display: block;
    width: 200px;
    max-width: clamp(280px, 40vw, 350px);
    height: auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}
	
	.sm-hero-bg::after {
content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}


    .sm-hero-name-label {
        padding: 0.625rem 1rem;
    }
    
    .sm-hero-name-link {
        font-size: 0.875rem;
    }
}

/* =============================================================================
   9. WELCOME SECTION
   ============================================================================= */

/* Welcome Section with Background Image */
        .welcome-section {
            position: relative;
            background-color: #2C3E50;
            padding: clamp(5rem, 10vw, 8rem) 0;
            overflow: hidden;
        }
        
        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 clamp(1.5rem, 4vw, 4rem);
        }

        /* Background Image Layer */
        .welcome-section {
    position: relative;
    background-color: #2C3E50;
    background-image: url('/wp-content/uploads/2026/01/city-eastern-shore-cape-henlopen-composte.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(5rem, 10vw, 8rem) 0;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    opacity: 0.15;
    z-index: 0;
}

         /* Gradient Overlay */
        .welcome-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, 
                rgba(44, 62, 80, 0.75) 0%, 
                rgba(44, 62, 80, 0.7) 25%,
                rgba(44, 62, 80, 0.68) 50%,
                 rgba(44, 62, 80, 0.5) 75%,
                rgba(90, 143, 123, 0.35) 100%);
            z-index: 1;
        }
        
        /* Mobile */
@media (max-width: 768px) {
         .welcome-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, 
                rgba(44, 62, 80, 0.93) 0%, 
                rgba(44, 62, 80, 0.93) 25%,
                rgba(44, 62, 80, 0.85) 50%,
                 rgba(44, 62, 80, 0.5) 75%,
                rgba(90, 143, 123, 0.35) 100%);
            z-index: 1;
        }
        }

        /* Content Container */
        .welcome-content {
            position: relative;
            z-index: 2;
        }

        /* Accent line */
        .accent-line {
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #5A8F7B, #7BA99A);
            margin-bottom: 2rem;
            border-radius: 2px;
        }

        /* Split Layout */
        .welcome-split {
            display: grid;
            grid-template-columns: 1fr;
            gap: clamp(2.5rem, 5vw, 4rem);
            align-items: center;
        }

        @media (min-width: 900px) {
            .welcome-split {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Left Column - Narrative */
        .welcome-narrative {
            color: #FFFFFF;
        }

        .welcome-heading {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            color: #FFFFFF;
            line-height: 1.2;
            margin-bottom: clamp(1.5rem, 3vw, 2rem);
        }

        .welcome-text {
            font-size: clamp(1rem, 1.5vw, 1.125rem);
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 1.5rem;
        }

        .welcome-text:last-child {
            margin-bottom: 0;
        }

        /* Emphasis text */
        .highlight-text {
            font-weight: 600;
            color: #FFFFFF;
        }

        /* Right Column - Summary & CTA */
        .welcome-summary {
            background: rgba(255, 255, 255, 0.97);
            padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .summary-heading {
            font-size: clamp(1.5rem, 2.5vw, 1.875rem);
            font-weight: 700;
            color: #2B7A9B;
            line-height: 1.3;
            margin-bottom: 1.5rem;
        }

        /* Summary List */
        .summary-list {
            list-style: none;
            margin-bottom: 2rem;
        }

        .summary-list li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 1rem;
            font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
            line-height: 1.7;
            color: #4A5568;
        }

        .summary-list li:last-child {
            margin-bottom: 0;
        }

        /* Custom checkmark bullet */
        .summary-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 0;
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #5A8F7B, #7BA99A);
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.875rem;
        }

        /* CTA Button */
        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, #2B7A9B, #1A5570);
            color: #FFFFFF;
            padding: 1rem 2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 250ms ease-in-out;
            box-shadow: 0 4px 6px rgba(43, 122, 155, 0.2);
            border: none;
            cursor: pointer;
        }

        .cta-button:hover {
            background: linear-gradient(135deg, #1A5570, #134051);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(43, 122, 155, 0.3);
            color: #FFFFFF;
        }

        .cta-button:active {
            transform: translateY(0);
        }



/* =============================================================================
   10. SERVICES TEASER SECTION
   ============================================================================= */

     /* ===== SERVICES SECTION ===== */
        .sm-services-section {
            background: linear-gradient(135deg, 
                var(--color-pale-smoke) 0%, 
                rgba(247, 250, 252, 0.4) 50%, 
                var(--color-pale-smoke) 100%);
            padding: clamp(1.5rem, 8vw, 3rem) 0;
            position: relative;
            overflow: hidden;
        }
        
        .warm-gradient-bg { background: linear-gradient(135deg, 
                var(--color-pale-smoke) 0%, 
                rgba(247, 250, 252, 0.4) 50%, 
                var(--color-pale-smoke) 100%);}
        
        /* Subtle decorative element */
        .sm-services-section::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, 
                rgba(43, 122, 155, 0.03) 0%, 
                transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        
        .sm-services-section::after {
            content: '';
            position: absolute;
            bottom: -150px;
            left: -150px;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, 
                rgba(90, 143, 123, 0.03) 0%, 
                transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        
        .sm-services-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 clamp(1.5rem, 4vw, 4rem);
            position: relative;
            z-index: 1;
        }
        
        /* Section Header */
        .sm-services-header {
            text-align: center;
            margin-bottom: clamp(3rem, 5vw, 4rem);
            animation: fadeInUp 0.6s ease-out;
        }
        
        .sm-services-eyebrow {
            font-size: clamp(0.875rem, 1vw, 1rem);
            font-weight: 600;
            color: var(--color-pacific-blue);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: var(--space-sm);
            display: inline-block;
            position: relative;
        }
        
        .sm-services-eyebrow::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                var(--color-pacific-blue), 
                transparent);
        }
        
        .sm-services-heading {
            font-size: clamp(2rem, 4vw, 4rem);
            font-weight: 700;
            color: var(--color-soft-slate);
            line-height: 1.2;
            margin-bottom: var(--space-md);
        }
        
        .sm-services-description {
            font-size: clamp(1rem, 1.5vw, 1.125rem);
            color: var(--color-charcoal-gray);
            max-width: 680px;
            margin: 0 auto;
            line-height: 1.7;
        }
        
        /* Services Grid */
        .sm-services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: clamp(1.5rem, 3vw, 2rem);
            margin-top: var(--space-2xl);
        }
        
        @media (min-width: 1024px) {
            .sm-services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        /* Service Card */
        .sm-service-card {
            background: white;
            border-radius: var(--radius-xl);
            padding: clamp(2rem, 4vw, 2.5rem);
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(203, 213, 224, 0.3);
            transition: all var(--transition-slow);
            position: relative;
            overflow: hidden;
            animation: fadeInUp 0.6s ease-out backwards;
        }
        
        .sm-service-card:nth-child(1) {
            animation-delay: 0.1s;
        }
        
        .sm-service-card:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .sm-service-card:nth-child(3) {
            animation-delay: 0.3s;
        }
        
        /* Decorative gradient on card */
        .sm-service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, 
                var(--color-pacific-blue), 
                var(--color-grass-green));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform var(--transition-slow);
        }
        
        .sm-service-card:hover {
            box-shadow: var(--shadow-xl);
            border-color: rgba(43, 122, 155, 0.2);
        }
        
        .sm-service-card:hover::before {
            transform: scaleX(1);
        }
        
        /* Icon Container */
        .sm-icon-container {
            width: 72px;
            height: 72px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--space-lg);
            position: relative;
            transition: all var(--transition-base);
        }
        
        /* Alternating icon colors */
        .sm-service-card:nth-child(odd) .sm-icon-container {
            background: rgba(43, 122, 155, 0.08);
            color: var(--color-pacific-blue);
        }
        
        .sm-service-card:nth-child(even) .sm-icon-container {
            background: rgba(90, 143, 123, 0.08);
            color: var(--color-grass-green);
        }
        

        
        .sm-service-card:nth-child(odd):hover .sm-icon-container {
            background: var(--color-pacific-blue);
            color: white;
            box-shadow: 0 8px 16px rgba(43, 122, 155, 0.25);
        }
        
        .sm-service-card:nth-child(even):hover .sm-icon-container {
            background: var(--color-grass-green);
           color: white;
            box-shadow: 0 8px 16px rgba(90, 143, 123, 0.25);
        }
        
        .sm-icon {
            width: 36px;
            height: 36px;
            stroke-width: 2;
        }
        
        /* Card Content */
        .sm-service-card-heading {
            font-size: clamp(1.25rem, 2vw, 1.5rem);
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: var(--space-sm);
            transition: color var(--transition-fast);
        }
        
        .sm-service-card:nth-child(odd) .sm-service-card-heading {
            color: var(--color-soft-slate);
        }
        
        .sm-service-card:nth-child(even) .sm-service-card-heading {
            color: var(--color-soft-slate);
        }
        
        .sm-service-card:hover .sm-service-card-heading {
            color: var(--color-pacific-blue);
        }
        
        .sm-service-card-description {
            color: var(--color-charcoal-gray);
            line-height: 1.7;
            margin-bottom: var(--space-lg);
            font-size: clamp(0.9375rem, 1.2vw, 1rem);
        }
        
        .sm-service-card-features {
            list-style: none;
            margin-bottom: var(--space-lg);
        }
        
        .sm-service-card-features li {
            position: relative;
            padding-left: 1.75rem;
            margin-bottom: var(--space-sm);
            font-size: 0.9375rem;
            color: var(--color-charcoal-gray);
            line-height: 1.6;
        }
        
        .sm-service-card-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            font-weight: 700;
            font-size: 1rem;
        }
        
        .sm-service-card:nth-child(odd) .sm-service-card-features li::before {
            color: var(--color-pacific-blue);
        }
        
        .sm-service-card:nth-child(even) .sm-service-card-features li::before {
            color: var(--color-grass-green);
        }
        
        /* Learn More Link */
        .sm-service-card-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            font-size: 0.9375rem;
            text-decoration: none;
            transition: all var(--transition-fast);
            position: relative;
        }
        
        .sm-service-card:nth-child(odd) .sm-service-card-link {
            color: var(--color-pacific-blue);
        }
        
        .sm-service-card:nth-child(even) .sm-service-card-link {
            color: var(--color-grass-green);
        }
        
        .sm-service-card-link::after {
            content: '→';
            transition: transform var(--transition-fast);
        }
        
        .sm-service-card:hover .sm-service-card-link::after {
            transform: translateX(4px);
        }
        
        .sm-service-card:nth-child(odd):hover .sm-service-card-link {
            color: var(--color-deep-pacific);
        }
        
        .sm-service-card:nth-child(even):hover .sm-service-card-link {
            color: #477063;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive adjustments */
        @media (max-width: 767px) {
            .sm-services-grid {
                grid-template-columns: 1fr;
            }
            
            .sm-service-card {
                animation: fadeIn 0.6s ease-out backwards;
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
/* =================================================================
   SERVICES HERO SECTION
   ================================================================= */

.sm-services-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

/* Background image container */
.sm-services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-services-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* Gradient overlay - solid on LEFT (text side), transparent on RIGHT (image side) */
.sm-services-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}



/* Content sits above the overlay */
.sm-services-hero .sm-container {
    position: relative;
    z-index: 3;
}

.sm-services-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* Content positioned on LEFT */
.sm-services-hero-content {
    max-width: 550px;
    grid-column: 1;
    grid-row: 1;
}

/* Spacer on RIGHT */
.sm-services-hero-spacer {
    grid-column: 2;
    grid-row: 1;
}

/* Mobile: full gradient coverage for readability */
@media (max-width: 767px) {
.sm-services-hero-bg::after {
 content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 00%,
        rgba(247, 250, 252, 0.90) 45%,
        rgba(247, 250, 252, 0.90) 60%,
        rgba(247, 250, 252, 0.90) 100%,
        transparent 100%
    );
    z-index: 2;
}

       .sm-services-hero {
    position: relative;
    height: 50vh;}
    
    .sm-services-hero-content {
        max-width: 100%;
    }
   
}

/* Tablet and up */
@media (min-width: 768px) {
    .sm-services-hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .sm-services-hero-grid {
        min-height: 550px;
    }
    
    .sm-services-hero-content {
        max-width: 600px;
    }
}

@media (min-width: 1280px) {
    .sm-services-hero-grid {
        min-height: 600px;
    }
}

.sm-services-hero-content .sm-h1 {
    color: var(--text-heading);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.sm-services-hero-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.sm-services-hero-text p {
    margin-bottom: 1.25em;
}

.sm-services-hero-text p:last-child {
    margin-bottom: 0;
}        
        
        /* =================================================================
   SUBJECT MATTER EXPERTISE SECTION
   ================================================================= */


.sm-services-expertise {background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23eeeeee' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");}

.sm-expertise-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .sm-expertise-list {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 2vw, 1.5rem);
    }
}

.sm-expertise-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.sm-expertise-item:hover {
    background-color: #adc8c1;    
    transform: translateX(4px);

}

.sm-check-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--color-grass-green);
    margin-top: 2px;
}

.sm-expertise-item span {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
}

.sm-expertise-item:hover span {
        color:#2C3E50;
    line-height: 1.6;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
}


/* =============================================================================
   11. CTA SECTION
   ============================================================================= */

.sm-cta {
    text-align: center;
}

.sm-cta-container {
    max-width: 720px;
}

.sm-cta-heading {
    color: var(--text-heading);
}

.sm-cta-text {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}


/* =============================================================================
   12. FOOTER
   ============================================================================= */

/* ============================================================================
   FOOTER STYLES - Short Mediation Website (BOLD REDESIGN)
   ============================================================================ */

/* Main Footer Container with Gradient Background */
.sm-footer {
    background: linear-gradient(135deg, #0f1419 0%, #1A2332 50%, #0f1419 100%);
    position: relative;
    color: var(--footer-text, #CBD5E0);
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem) 0;
    margin-top: auto;
    overflow: hidden;
}

/* Subtle Background Pattern */
.sm-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(43, 122, 155, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(90, 143, 123, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.sm-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    position: relative;
    z-index: 1;
}

/* ============================================================================
   Main Footer Content - Card-Based Three Columns
   ============================================================================ */

.sm-footer-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* Footer Column Cards */
.sm-footer-column {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    transition: transform var(--transition-base, 250ms ease-in-out);
}

.sm-footer-column-inner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: clamp(2rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg, 12px);
    height: 100%;
    position: relative;
    transition: all var(--transition-base, 250ms ease-in-out);
}

.sm-footer-column:hover .sm-footer-column-inner {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Colored Accent Borders */
.sm-footer-contact .sm-footer-column-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-pacific-blue, #2B7A9B) 0%, var(--color-deep-pacific, #1A5570) 100%);
    border-radius: 12px 0 0 12px;
}

.sm-footer-availability .sm-footer-column-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-grass-green, #5A8F7B) 0%, #477063 100%);
    border-radius: 12px 0 0 12px;
}

/* Icon Wrapper with Circular Background */
.sm-footer-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
    transition: all var(--transition-base, 250ms ease-in-out);
}

.sm-footer-icon-pacific {
    background: linear-gradient(135deg, rgba(43, 122, 155, 0.2) 0%, rgba(43, 122, 155, 0.1) 100%);
    border: 1px solid rgba(43, 122, 155, 0.3);
}

.sm-footer-icon-green {
    background: linear-gradient(135deg, rgba(90, 143, 123, 0.2) 0%, rgba(90, 143, 123, 0.1) 100%);
    border: 1px solid rgba(90, 143, 123, 0.3);
}

.sm-footer-column:hover .sm-footer-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.sm-footer-column:hover .sm-footer-icon-pacific {
    background: linear-gradient(135deg, var(--color-pacific-blue, #2B7A9B) 0%, var(--color-deep-pacific, #1A5570) 100%);
    border-color: var(--color-pacific-blue, #2B7A9B);
    box-shadow: 0 4px 16px rgba(43, 122, 155, 0.4);
}

.sm-footer-column:hover .sm-footer-icon-green {
    background: linear-gradient(135deg, var(--color-grass-green, #5A8F7B) 0%, #477063 100%);
    border-color: var(--color-grass-green, #5A8F7B);
    box-shadow: 0 4px 16px rgba(90, 143, 123, 0.4);
}

.sm-footer-icon {
    width: 24px;
    height: 24px;
    color: var(--color-pacific-blue, #2B7A9B);
    transition: color var(--transition-base, 250ms ease-in-out);
}

.sm-footer-icon-green .sm-footer-icon {
    color: var(--color-grass-green, #5A8F7B);
}

.sm-footer-column:hover .sm-footer-icon {
    color: var(--text-light, #FFFFFF);
}

/* Footer Headings */
.sm-footer-heading {
    color: var(--text-light, #FFFFFF);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

/* Footer Text */
.sm-footer-text {
    color: var(--footer-text, #CBD5E0);
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================================
   Contact Column - Contact List
   ============================================================================ */

.sm-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.875rem, 1.5vw, 1.125rem);
}

.sm-footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
    line-height: 1.6;
}

.sm-footer-contact-label {
    color: var(--footer-text, #CBD5E0);
    font-weight: 600;
    font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.sm-footer-contact-link {
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast, 150ms ease-in-out);
    font-weight: 500;
}

.sm-footer-contact-link:hover {
    color: var(--text-light, #FFFFFF);
    padding-left: 4px;
}

.sm-footer-contact-link:focus {
    outline: 2px solid var(--state-focus, rgba(43, 122, 155, 0.3));
    outline-offset: 2px;
    border-radius: 2px;
}

.sm-footer-contact-text {
    color: var(--footer-text, #CBD5E0);
    line-height: 1.6;
}

/* Mobile Responsive - Stack columns on smaller screens */
@media (max-width: 768px) {
    .sm-footer-main {
        grid-template-columns: 1fr;
    }
}


/* ============================================================================
   Call-to-Action Section (NEW - Prominent CTA)
   ============================================================================ */

.sm-footer-cta-section {
    background: linear-gradient(135deg, rgba(43, 122, 155, 0.1) 0%, rgba(90, 143, 123, 0.1) 100%);
    border: 1px solid rgba(43, 122, 155, 0.2);
    border-radius: var(--radius-lg, 12px);
    padding: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.sm-footer-cta-content {
    flex: 1;
    min-width: 250px;
}

.sm-footer-cta-heading {
    color: var(--text-light, #FFFFFF);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.sm-footer-cta-text {
    color: var(--footer-text, #CBD5E0);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    margin: 0;
    line-height: 1.5;
}

.sm-footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1.75rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, var(--color-pacific-blue, #2B7A9B) 0%, var(--color-deep-pacific, #1A5570) 100%);
    color: var(--text-light, #FFFFFF);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all var(--transition-base, 250ms ease-in-out);
    box-shadow: 0 4px 16px rgba(43, 122, 155, 0.3);
}

.sm-footer-cta-button:hover {
    background: linear-gradient(135deg, var(--color-deep-pacific, #1A5570) 0%, #0f3d4d 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(43, 122, 155, 0.5);
    border-color: var(--color-pacific-blue, #2B7A9B);
    color:white;
}

.sm-footer-cta-button:active {
    transform: translateY(0) scale(1);
}

.sm-footer-cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base, 250ms ease-in-out);
}

.sm-footer-cta-button:hover .sm-footer-cta-arrow {
    transform: translateX(4px);
}

/* ============================================================================
   Pill-Shaped Navigation (Enhanced)
   ============================================================================ */

.sm-footer-nav {
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    justify-content: center;
}

.sm-footer-nav-item {
    flex-shrink: 0;
}

.sm-footer-nav-link {
    display: inline-block;
    padding: clamp(0.625rem, 1.2vw, 0.75rem) clamp(1.25rem, 2.5vw, 1.75rem);
    background: rgba(255, 255, 255, 0.05);
    color: var(--footer-text, #CBD5E0);
    text-decoration: none;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition-base, 250ms ease-in-out);
    position: relative;
    overflow: hidden;
}

.sm-footer-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.sm-footer-nav-link:hover::before {
    left: 100%;
}

.sm-footer-nav-link:hover {
    background: linear-gradient(135deg, var(--color-pacific-blue, #2B7A9B) 0%, var(--color-deep-pacific, #1A5570) 100%);
    color: var(--text-light, #FFFFFF);
    border-color: var(--color-pacific-blue, #2B7A9B);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 122, 155, 0.3);
}

.sm-footer-nav-link:focus {
    outline: 2px solid var(--state-focus, rgba(43, 122, 155, 0.3));
    outline-offset: 3px;
}

.sm-footer-nav-link:active {
    transform: translateY(0);
}

/* ============================================================================
   Subfooter - Copyright and Credit
   ============================================================================ */

.sm-subfooter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.sm-subfooter-left,
.sm-subfooter-right {
    margin: 0;
}

.sm-subfooter-copyright,
.sm-subfooter-credit {
    color: var(--footer-text, #CBD5E0);
    font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
    opacity: 0.7;
    margin: 0;
}

.sm-subfooter-link {
    color: var(--footer-text, #CBD5E0);
    text-decoration: none;
    transition: all var(--transition-fast, 150ms ease-in-out);
    position: relative;
}

.sm-subfooter-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-pacific-blue, #2B7A9B);
    transition: width var(--transition-base, 250ms ease-in-out);
}

.sm-subfooter-link:hover {
    color: var(--color-pacific-blue, #2B7A9B);
}

.sm-subfooter-link:hover::after {
    width: 100%;
}

.sm-subfooter-link:focus {
    outline: 2px solid var(--state-focus, rgba(43, 122, 155, 0.3));
    outline-offset: 2px;
    border-radius: 2px;
}

/* ============================================================================
   Responsive Design - Mobile Adjustments
   ============================================================================ */

/* Tablet and below */
@media (max-width: 1023px) {
    .sm-footer-main {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    
    .sm-footer-cta-section {
        flex-direction: column;
        text-align: center;
    }
    
    .sm-footer-cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sm-footer {
        padding: clamp(3rem, 8vw, 4rem) 0 clamp(1.5rem, 4vw, 2rem) 0;
    }
    
    .sm-footer-main {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: clamp(2.5rem, 6vw, 3rem);
    }
    
    .sm-footer-cta-section {
        padding: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: clamp(2.5rem, 6vw, 3rem);
    }
    
    .sm-footer-nav {
        margin-bottom: clamp(2.5rem, 6vw, 3rem);
        padding-bottom: clamp(2.5rem, 6vw, 3rem);
    }
    
    .sm-footer-nav-list {
        justify-content: flex-start;
    }
    
    .sm-subfooter {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sm-subfooter-left,
    .sm-subfooter-right {
        width: 100%;
    }
}

/* ============================================================================
   Print Styles
   ============================================================================ */

@media print {
    .sm-footer {
        background: transparent;
        color: #000;
        padding: 2rem 0 1rem 0;
    }
    
    .sm-footer::before {
        display: none;
    }
    
    .sm-footer-nav,
    .sm-footer-cta-section {
        display: none;
    }
    
    .sm-footer-main {
        display: block;
        border-bottom: 1px solid #ccc;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .sm-footer-column {
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
    
    .sm-footer-column-inner {
        background: transparent;
        border: 1px solid #ccc;
    }
    
    .sm-subfooter {
        border-top: 1px solid #ccc;
        padding-top: 1rem;
    }
    
    .sm-subfooter-copyright,
    .sm-subfooter-credit {
        color: #000;
    }
}

/* ============================================================================
   Accessibility - Reduced Motion
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .sm-footer-column,
    .sm-footer-icon-wrapper,
    .sm-footer-contact-link,
    .sm-footer-cta-button,
    .sm-footer-cta-arrow,
    .sm-footer-nav-link,
    .sm-subfooter-link {
        transition: none;
    }
    
    .sm-footer-column:hover,
    .sm-footer-cta-button:hover,
    .sm-footer-nav-link:hover {
        transform: none;
    }
    
    .sm-footer-nav-link::before {
        display: none;
    }
}


/* =============================================================================
   13. BLOG / POSTS
   ============================================================================= */

.sm-page-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.sm-page-title {
    margin-bottom: var(--space-sm);
}

.sm-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .sm-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sm-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sm-post-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.sm-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sm-post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.sm-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.sm-post-card:hover .sm-post-card-image img {
    transform: scale(1.05);
}

.sm-post-card-content {
    padding: var(--space-md);
}

.sm-post-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.sm-post-card-category {
    color: var(--color-pacific-blue);
    font-weight: 500;
}

.sm-post-card-title {
    margin-bottom: var(--space-sm);
}

.sm-post-card-title a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sm-post-card-title a:hover {
    color: var(--color-pacific-blue);
}

.sm-post-card-excerpt {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sm-post-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-link);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sm-post-card-link:hover {
    color: var(--text-link-hover);
}

/* Pagination */
.sm-pagination {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
}

.sm-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.sm-pagination a,
.sm-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sm-pagination a:hover {
    border-color: var(--color-pacific-blue);
    color: var(--color-pacific-blue);
}

.sm-pagination .current {
    background-color: var(--color-pacific-blue);
    border-color: var(--color-pacific-blue);
    color: var(--color-white);
}

/* No Posts */
.sm-no-posts {
    text-align: center;
    padding: var(--space-2xl);
}

.sm-no-posts-title {
    margin-bottom: var(--space-sm);
}

.sm-no-posts-text {
    margin-bottom: var(--space-lg);
}


/* =============================================================================
   14. FORMS
   ============================================================================= */

.sm-form-group {
    margin-bottom: var(--space-lg);
}

.sm-form-label {
    display: block;
    color: var(--text-heading);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.sm-form-input,
.sm-form-textarea,
.sm-form-select {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sm-form-input:focus,
.sm-form-textarea:focus,
.sm-form-select:focus {
    outline: none;
    border-color: var(--color-pacific-blue);
    box-shadow: 0 0 0 3px var(--state-focus);
}

.sm-form-input::placeholder,
.sm-form-textarea::placeholder {
    color: var(--text-muted);
}

.sm-form-textarea {
    min-height: 120px;
    resize: vertical;
}


/* =============================================================================
   15. UTILITIES
   ============================================================================= */

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip Link */
.sm-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-pacific-blue);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: top var(--transition-fast);
}

.sm-skip-link:focus {
    top: 0;
}

/* Text Alignment */
.sm-text-center { text-align: center; }
.sm-text-left { text-align: left; }
.sm-text-right { text-align: right; }

/* Spacing Utilities */
.sm-mt-sm { margin-top: var(--space-sm); }
.sm-mt-md { margin-top: var(--space-md); }
.sm-mt-lg { margin-top: var(--space-lg); }
.sm-mt-xl { margin-top: var(--space-xl); }

.sm-mb-sm { margin-bottom: var(--space-sm); }
.sm-mb-md { margin-bottom: var(--space-md); }
.sm-mb-lg { margin-bottom: var(--space-lg); }
.sm-mb-xl { margin-bottom: var(--space-xl); }


/* =============================================================================
   16. ANIMATIONS
   ============================================================================= */

/* Fade In Animation */
.sm-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sm-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.sm-stagger-1 { transition-delay: 0.1s; }
.sm-stagger-2 { transition-delay: 0.2s; }
.sm-stagger-3 { transition-delay: 0.3s; }
.sm-stagger-4 { transition-delay: 0.4s; }





/* =============================================================================
   18. ACCESSIBILITY
   ============================================================================= */

/* Focus Visible */
:focus-visible {
    outline: 3px solid var(--state-focus);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .sm-fade-in {
        opacity: 1;
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-light: #718096;
        --shadow-sm: none;
        --shadow-md: none;
        --shadow-lg: none;
    }

    .sm-service-card,
    .sm-post-card {
        border-width: 2px;
    }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   Template: page-about.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   About Hero Section
   -------------------------------------------------------------------------- */

.sm-about-hero {
 position: relative;
   height: 600px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-color: var(--bg-primary);
    overflow: hidden;

}

/* Background image container */
.sm-about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* Gradient overlay - solid on LEFT (text side), transparent on RIGHT (image side) */
.sm-about-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}

/* Content sits above the overlay */
.sm-about-hero .sm-container {
    position: relative;
    z-index: 3;
}

.sm-about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* Content positioned on LEFT */
.sm-about-hero-content {
    max-width: 550px;
    grid-column: 1;
    grid-row: 1;
}

/* Spacer on RIGHT */
.sm-about-hero-spacer {
    grid-column: 2;
    grid-row: 1;
}

/* Mobile: full gradient coverage for readability */
@media (max-width: 767px) {
    .sm-about-hero-bg::after {
        background: linear-gradient(
            to bottom,
            var(--bg-primary) 0%,
            rgba(247, 250, 252, 0.95) 40%,
            rgba(247, 250, 252, 0.7) 100%
        );
    }
    
     .sm-about-hero-content {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .sm-about-hero-content {
        max-width: 100%;
        justify-content: center
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .sm-about-hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .sm-about-hero-grid {
        min-height: 550px;
    }
    
    .sm-about-hero-content {
        max-width: 600px;
    }
}

@media (min-width: 1280px) {
    .sm-about-hero-grid {
        min-height: 600px;
    }
}

.sm-eyebrow {
    display: inline-block;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-pacific-blue);
    margin-bottom: var(--space-sm);
}

.sm-about-hero-content .sm-h1 {
    color: var(--text-heading);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.sm-about-hero-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.sm-about-hero-text p {
    margin-bottom: 1.25em;
}

.sm-about-hero-text p:last-child {
    margin-bottom: 0;
}

.sm-about-hero-image {
    order: 1;
    position: relative;
}

@media (min-width: 768px) {
    .sm-about-hero-image {
        order: 2;
    }
}

.sm-about-hero-image picture {
    display: block;
    position: relative;
}

/* =============================================================================
   HERO PORTRAIT - CIRCULAR IMAGE
   ============================================================================= */

.sm-about-hero-portrait {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4; /* Sits above the gradient overlay */
}

.sm-hero-portrait-circle {
    position: relative;
    width: clamp(280px, 35vw, 450px);
    height: clamp(280px, 35vw, 450px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(43, 122, 155, 0.15),
        0 4px 12px rgba(43, 122, 155, 0.1);
    background-color: var(--color-white);
    /* Subtle border for definition */
    border: 4px solid #A9C2C1;
}

.sm-hero-portrait-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}




/* Mobile and Portrait Tablet: Image below text */
@media (max-width: 767px) {
    /* Reset grid to single column with portrait below */
    .sm-about-hero-grid,
    .sm-blog-hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-xl);
    }
    
    /* Content in first row */
    .sm-about-hero-content,
    .sm-blog-hero-content {
        grid-column: 1;
        grid-row: 1;
        max-width: 100%;
    }
    
      .sm-blog-hero-bg::after {
        background: linear-gradient(
            to bottom,
            var(--bg-primary) 0%,
            rgba(247, 250, 252, 0.95) 40%,
            rgba(247, 250, 252, 0.7) 100%
        );
    }
    
     .sm-blog-hero-content {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    /* Portrait in second row, centered */
    .sm-about-hero-portrait {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        margin-top: var(--space-md);
    }
    
    /* Smaller portrait on mobile */
    .sm-hero-portrait-circle {
        width: clamp(200px, 50vw, 280px);
        height: clamp(200px, 50vw, 280px);
    }
}

/* Tablet Portrait: Slightly larger circle */
@media (min-width: 600px) and (max-width: 767px) {
    .sm-hero-portrait-circle {
        width: clamp(250px, 45vw, 320px);
        height: clamp(250px, 45vw, 320px);
    }
}

/* Tablet Landscape: Side-by-side layout with smaller circle */
@media (min-width: 768px) and (max-width: 1023px) {
    .sm-hero-portrait-circle {
        width: clamp(250px, 30vw, 350px);
        height: clamp(250px, 30vw, 350px);
    }
}

/* Desktop: Full size */
@media (min-width: 1024px) {
    .sm-hero-portrait-circle {
        width: clamp(320px, 35vw, 450px);
        height: clamp(320px, 35vw, 450px);
    }
}

/* Large screens: Slightly larger */
@media (min-width: 1440px) {
    .sm-hero-portrait-circle {
        width: 480px;
        height: 480px;
    }
}

/* Note: The following styles are for rectangular image treatment (if used elsewhere) */
.sm-about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Decorative accent behind rectangular image */
.sm-about-hero-image::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--color-pacific-blue) 0%, var(--color-grass-green) 100%);
    border-radius: var(--radius-lg);
    opacity: 0.15;
    z-index: -1;
}

@media (min-width: 768px) {
    .sm-about-hero-image::before {
        top: -16px;
        right: -16px;
        bottom: 16px;
        left: 16px;
    }
}


/* --------------------------------------------------------------------------
   Bio Section with Sidebar
   -------------------------------------------------------------------------- */

.sm-about-bio {
    background-color: var(--bg-secondary);
}

.sm-about-bio .sm-container {
    padding-left: clamp(1.5rem, 4vw, 4rem);
    padding-right: clamp(1.5rem, 4vw, 4rem);
}

/* Two-column grid: main content + sidebar */
.sm-about-bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

@media (min-width: 1024px) {
    .sm-about-bio-grid {
        grid-template-columns: 60% 35%;
    }
}

/* Main bio content - left column */
.sm-about-bio-content {
    max-width: 100%;
}

.sm-about-bio-content .sm-h2 {
    color: var(--text-heading);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.sm-about-bio-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.sm-about-bio-text p {
    margin-bottom: 1.5em;
}

.sm-about-bio-text p:last-child {
    margin-bottom: 0;
}

.sm-about-bio-text strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* Sidebar - right column */
.sm-about-bio-sidebar {
    background-color: #F9FAFB;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--border-light);
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .sm-about-bio-sidebar {
        margin-top: 1.5rem;
    }
}

/* Sidebar sections */
.sm-sidebar-section {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.sm-sidebar-section:last-of-type {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.sm-sidebar-heading {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: var(--color-pacific-blue);
    margin-bottom: var(--space-sm);
}

.sm-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sm-sidebar-list li {
    font-size: clamp(0.875rem, 1vw, 0.8375rem);
    line-height: 1.6;
    color: var(--text-primary);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.sm-sidebar-list li:last-child {
    margin-bottom: 0;
}

/* Custom bullet points */
.sm-sidebar-list li::before {
    content: "•";
    color: var(--color-pacific-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Logo stack */
.sm-sidebar-logos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 40px;
}

.sm-logo-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.sm-logo-item:hover {
    border-color: var(--color-pacific-blue);
    box-shadow: var(--shadow-sm);
}

.sm-logo-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Expertise Section (keeping existing styles)
   -------------------------------------------------------------------------- */

.sm-about-expertise {
    background-color: var(--bg-primary);
}

.sm-section-heading {
    text-align: center;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.sm-section-intro {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
}

.sm-expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 640px) {
    .sm-expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sm-expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sm-expertise-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.sm-expertise-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.sm-icon-container {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.sm-icon-container svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.sm-icon-container--primary {
    background-color: rgba(43, 122, 155, 0.12);
    color: var(--color-pacific-blue);
}

.sm-icon-container--secondary {
    background-color: rgba(90, 143, 123, 0.12);
    color: var(--color-grass-green);
}

.sm-expertise-card:hover .sm-icon-container--primary {
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    transform: scale(1.05);
}

.sm-expertise-card:hover .sm-icon-container--secondary {
    background-color: var(--color-grass-green);
    color: var(--text-light);
    transform: scale(1.05);
}

.sm-expertise-card-heading {
    color: var(--color-pacific-blue);
    margin-bottom: var(--space-sm);
}

.sm-expertise-card-description {
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}



/* =============================================================================
   CTA SECTION STYLES
   Add this to your assets/css/styles.css file
   ============================================================================= */

/* Section Container */
.sm-cta-section {
	border-top: 1px solid #2B7A9B;
  position: relative;
  padding: 120px 24px;
  background: linear-gradient(135deg, #F7FAFC 0%, #E8F2F7 100%);
  overflow: hidden;
}


/* Main Content Container */
.sm-cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Icon Wrapper and Icon */
.sm-cta-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.sm-cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2B7A9B 0%, #1A5570 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(43, 122, 155, 0.2);
  transition: transform 0.3s ease;
}



.sm-cta-icon svg {
  stroke: #FFFFFF;
}

/* Heading */
.sm-cta-heading {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Subtext */
.sm-cta-subtext {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-primary);
  text-align: center;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Button Wrapper */
.sm-cta-button-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA Button */
.sm-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #2B7A9B 0%, #1A5570 100%);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(43, 122, 155, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.sm-cta-button:hover {
  background: linear-gradient(135deg, #1A5570 0%, #134051 100%);
  box-shadow: 0 12px 32px rgba(43, 122, 155, 0.35), 0 0 0 4px rgba(43, 122, 155, 0.1);
  transform: translateY(-2px) scale(1.02);
  color: #FFFFFF;
}

.sm-cta-button:active {
  transform: translateY(0) scale(1);
}

/* Button Text and Arrow */
.sm-cta-button-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-cta-arrow {
  transition: transform 0.3s ease;
}

.sm-cta-button:hover .sm-cta-arrow {
  transform: translateX(4px);
}

/* Button Shine Effect */
.sm-cta-button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sm-cta-button:hover .sm-cta-button-shine {
  opacity: 1;
  animation: sm-shine 0.6s ease-in-out;
}

@keyframes sm-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Trust Indicator */
.sm-cta-trust {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--color-grass-green);
  font-size: 0.95rem;
  font-weight: 500;
}

.sm-cta-trust svg {
  flex-shrink: 0;
  stroke: currentColor;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .sm-cta-section {
    padding: 80px 24px;
  }

  .sm-cta-icon-wrapper {
    margin-bottom: 24px;
  }

  .sm-cta-icon {
    width: 64px;
    height: 64px;
  }

  .sm-cta-icon svg {
    width: 32px;
    height: 32px;
  }

  .sm-cta-heading {
    margin-bottom: 20px;
  }

  .sm-cta-subtext {
    margin-bottom: 32px;
  }

  .sm-cta-button {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .sm-cta-trust {
    margin-top: 32px;
    font-size: 0.875rem;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Hide decorative elements on mobile for cleaner look */
  .sm-cta-bg-circle-1,
  .sm-cta-bg-circle-2 {
    opacity: 0.5;
  }

  .sm-cta-geometric {
    display: none;
  }
}

@media (max-width: 480px) {
  .sm-cta-button {
    width: 100%;
    max-width: 300px;
  }
}

/* --------------------------------------------------------------------------
   Fade-in Animation
   -------------------------------------------------------------------------- */

.sm-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sm-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for expertise cards */
.sm-expertise-card:nth-child(1) { transition-delay: 0ms; }
.sm-expertise-card:nth-child(2) { transition-delay: 100ms; }
.sm-expertise-card:nth-child(3) { transition-delay: 200ms; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .sm-fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .sm-expertise-card,
    .sm-icon-container,
    .sm-credential-card {
        transition: none;
    }
    
    .sm-expertise-card:hover,
    .sm-about-hero-image::before {
        transform: none;
    }
}

/* ==================================================================
   FAQs PAGE STYLES
   ================================================================== */

.sm-faqs-page {
    background-color: var(--bg-primary);
}

/* =================================================================
   FAQs PAGE - HERO SECTION
   ================================================================= */

.sm-faqs-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow: hidden;
}

/* Background image container */
.sm-faqs-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-faqs-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* Gradient overlay - solid on LEFT (text side), transparent on RIGHT (image side) */
.sm-faqs-hero-bg::after {
  content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}



/* Content sits above the overlay */
.sm-faqs-hero .sm-container {
    position: relative;
    z-index: 3;
}

.sm-faqs-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* Content positioned on LEFT */
.sm-faqs-hero-content {
    max-width: 550px;
    grid-column: 1;
    grid-row: 1;
}

/* Spacer on RIGHT */
.sm-faqs-hero-spacer {
    grid-column: 2;
    grid-row: 1;
}

.sm-faqs-hero-content .sm-h1 {
    color: var(--text-heading);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.sm-faqs-hero-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.sm-faqs-hero-text p {
    margin-bottom: 1.25em;
}

.sm-faqs-hero-text p:last-child {
    margin-bottom: 0;
}

/* Mobile: full gradient coverage for readability */
@media (max-width: 767px) {
.sm-faqs-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 00%,
        rgba(247, 250, 252, 0.90) 45%,
        rgba(247, 250, 252, 0.90) 60%,
        rgba(247, 250, 252, 0.90) 100%,
        transparent 100%
    );
    z-index: 2;
}


       .sm-faqs-hero {
    position: relative;
    height: 50vh;}
    
    .sm-faqs-hero-content {
        max-width: 100%;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .sm-faqs-hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .sm-faqs-hero-grid {
        min-height: 550px;
    }
    
    .sm-faqs-hero-content {
        max-width: 600px;
    }
}

@media (min-width: 1280px) {
    .sm-faqs-hero-grid {
        min-height: 600px;
    }
}

/* Page Header */
.sm-page-header {
    text-align: center;
}

.sm-page-intro {
    max-width: 800px;
    margin: var(--space-lg) auto 0;
    color: var(--text-primary);
}

/* =================================================================
   FAQS PAGE - ENHANCED ACCORDION DESIGN
   ================================================================= */

/* =================================================================
   FAQs PAGE - HERO SECTION
   ================================================================= */

.sm-faqs-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

/* Background image container */
.sm-faqs-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-faqs-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* Gradient overlay - solid on LEFT (text side), transparent on RIGHT (image side) */
.sm-faqs-hero-bg::after {
  content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}


       .sm-faqs-hero {
    position: relative;
    height: 50vh;}

/* Content sits above the overlay */
.sm-faqs-hero .sm-container {
    position: relative;
    z-index: 3;
}

.sm-faqs-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* Content positioned on LEFT */
.sm-faqs-hero-content {
    max-width: 550px;
    grid-column: 1;
    grid-row: 1;
}

/* Spacer on RIGHT */
.sm-faqs-hero-spacer {
    grid-column: 2;
    grid-row: 1;
}

.sm-faqs-hero-content .sm-h1 {
    color: var(--text-heading);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.sm-faqs-hero-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.sm-faqs-hero-text p {
    margin-bottom: 1.25em;
}

.sm-faqs-hero-text p:last-child {
    margin-bottom: 0;
}

/* Mobile: full gradient coverage for readability */
@media (max-width: 767px) {
    .sm-faqs-hero-bg::after {
        background: linear-gradient(
            to bottom,
            var(--bg-primary) 0%,
            rgba(247, 250, 252, 0.90) 40%,
            rgba(247, 250, 252, 0.90) 100%
        );
    }
    
    .sm-faqs-hero-content {
        max-width: 100%;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .sm-faqs-hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .sm-faqs-hero-grid {
        min-height: 550px;
    }
    
    .sm-faqs-hero-content {
        max-width: 600px;
    }
}

@media (min-width: 1280px) {
    .sm-faqs-hero-grid {
        min-height: 600px;
    }
}

/* FAQ Content Section */
.sm-faqs-content {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-color: var(--bg-secondary);
}

/* FAQ Category Container */
.sm-faq-category {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
    transition: all var(--transition-base);
}

.sm-faq-category:hover {
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
    transform: translateY(-2px);
}

/* Category Header */
.sm-faq-category-header {
   width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2rem);
    background: #FFFFFF;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.sm-faq-category-header:hover {
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.8) 0%, var(--bg-secondary) 100%);
}

.sm-faq-category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-pacific-blue) 0%, transparent 100%);
    opacity: 0.2;
}

/* Alternate colors for different categories */
.sm-faq-category:nth-child(even) .sm-faq-category-header {
    border-left-color: var(--color-grass-green);
}

.sm-faq-category:nth-child(even) .sm-faq-category-icon {
    background-color: rgba(90, 143, 123, 0.1);
    color: var(--color-grass-green);
}

/* Category Icon */
.sm-faq-category-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 122, 155, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-pacific-blue);
    transition: all var(--transition-base);
}

.sm-faq-category-header:hover .sm-faq-category-icon {
    transform: scale(1.05);
    background-color: rgba(43, 122, 155, 0.15);
}

/* Category Title Wrapper */
.sm-faq-category-title-wrapper {
    flex: 1;
}

.sm-faq-category-title {
    color: var(--text-heading);
    font-size: clamp(0.9rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.sm-faq-category-subtitle {
    color: var(--text-primary);
    opacity: 0.7;
    font-size: clamp(0.875rem, 1.25vw, 1rem);
    margin: 0;
}

/* Category Toggle Button */
.sm-faq-category-toggle {
    flex-shrink: 0;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-pacific-blue);
}

.sm-faq-category-toggle {
    margin-left: auto;
}

.sm-faq-category-toggle:hover {
    background-color: rgba(43, 122, 155, 0.1);
}

.sm-faq-category-toggle .sm-chevron {
    transition: transform var(--transition-base);
}

.sm-faq-category.is-open .sm-faq-category-toggle .sm-chevron {
    transform: rotate(180deg);
}

/* Category Items Container */
.sm-faq-category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.sm-faq-category.is-open .sm-faq-category-items {
    max-height: 5000px;
    transition: max-height 0.6s ease-in;
}

/* Individual FAQ Item */
.sm-faq-item {
    border-bottom: 1px solid rgba(203, 213, 224, 0.3);
}

.sm-faq-item:last-child {
    border-bottom: none;
}

/* FAQ Question Button */
.sm-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2rem);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.sm-faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--color-pacific-blue);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.sm-faq-question:hover {
    background-color: rgba(247, 250, 252, 0.5);
}

.sm-faq-question:hover::before {
    opacity: 1;
}

.sm-faq-question[aria-expanded="true"] {
    background-color: rgba(247, 250, 252, 0.8);
}

.sm-faq-question[aria-expanded="true"]::before {
    opacity: 1;
}

.sm-faq-question-text {
    flex: 1;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.5;
}

/* FAQ Question Icon */
.sm-faq-question-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 122, 155, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-pacific-blue);
    transition: all var(--transition-base);
}

.sm-faq-question:hover .sm-faq-question-icon {
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    transform: rotate(90deg);
}

.sm-faq-question[aria-expanded="true"] .sm-faq-question-icon {
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    transform: rotate(45deg);
}

/* FAQ Answer */
.sm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.sm-faq-question[aria-expanded="true"] + .sm-faq-answer {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.sm-faq-answer-content {
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
    color: var(--text-primary);
    line-height: 1.7;
    background:#FFFFFF;
}

.sm-faq-answer-content p {
    margin-bottom: 1rem;
}

.sm-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.sm-faq-answer-content ul {
    margin: 1rem 0;
    padding-left: 0; /* Remove default padding */
    list-style: none; /* Remove default bullets */
}

.sm-faq-answer-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
}

/* Checkmark for odd categories (Pacific Blue) */
.sm-faq-category:nth-child(odd) .sm-faq-answer-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1em;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-pacific-blue);
}

/* Checkmark for even categories (Grass Green) */
.sm-faq-category:nth-child(even) .sm-faq-answer-content li::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Pro";
    font-weight: 900; /* solid style */
    position: absolute;
    left: 0;
    top: 0.15em;
    font-size: 1.05em;
    color: var(--color-grass-green);
}


/* Remove the old marker style */
/* Delete or comment out:
.sm-faq-answer-content li::marker {
    color: var(--color-grass-green);
}
*/

/* FAQ CTA Section */
.sm-faqs-cta {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, 
        rgba(43, 122, 155, 0.03) 0%, 
        rgba(90, 143, 123, 0.03) 100%);
}

.sm-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sm-cta-content h2 {
    color: var(--text-heading);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.sm-cta-content .sm-body-large {
    color: var(--text-primary);
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
}

.sm-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .sm-faq-category-header {
        flex-wrap: wrap;
        padding: clamp(1rem, 3vw, 1.5rem); /* Slightly reduced padding on mobile */
    }
    
    .sm-faq-category-icon {
        width: 16px;  /* Slightly smaller than 48px */
        height: 16px;
    }
    

    
    .sm-faq-category-icon svg {
        width: 20px;  /* Slightly smaller than 24px */
        height: 20px;
    }
    
    .sm-faq-category-title-wrapper {
        flex: 1 1 auto;
        min-width: 200px;
    }
    
    .sm-faq-category-toggle {
        /* Keep as is - it's working well */
    }
    
    .sm-faq-question {
        padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 1.5rem); /* Better mobile spacing */
    }
    
    .sm-faq-answer-content {
        padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
    }

    
    .sm-cta-buttons {
        flex-direction: column;
    }
    
    .sm-cta-buttons .sm-btn {
        width: 100%;
    }
}

/* Animation for Opening Categories */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-faq-category.is-open .sm-faq-item {
    animation: fadeInUp 0.3s ease-out forwards;
}

.sm-faq-category.is-open .sm-faq-item:nth-child(1) {
    animation-delay: 0.05s;
}

.sm-faq-category.is-open .sm-faq-item:nth-child(2) {
    animation-delay: 0.1s;
}

.sm-faq-category.is-open .sm-faq-item:nth-child(3) {
    animation-delay: 0.15s;
}

.sm-faq-category.is-open .sm-faq-item:nth-child(4) {
    animation-delay: 0.2s;
}

.sm-faq-category.is-open .sm-faq-item:nth-child(5) {
    animation-delay: 0.25s;
}

/* Focus States for Accessibility */
.sm-faq-category-toggle:focus-visible,
.sm-faq-question:focus-visible {
    outline: 3px solid var(--state-focus);
    outline-offset: 2px;
}

/* Remove default focus outline for mouse users */
.sm-faq-category-toggle:focus:not(:focus-visible),
.sm-faq-question:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .sm-faq-category,
    .sm-faq-category-icon,
    .sm-faq-category-toggle .sm-chevron,
    .sm-faq-question-icon,
    .sm-faq-item {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
   BOOK A MEDIATION PAGE STYLES
   ============================================================================= */

/* Hero Section
   ========================================================================== */

.sm-booking-hero {
    position: relative;
    background-color: var(--bg-primary);
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
    overflow: hidden;
}

.sm-booking-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sm-booking-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sm-booking-hero-bg::after {
 content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}

.sm-booking-hero-bg--placeholder {
    background: linear-gradient(
        135deg,
        var(--bg-primary) 0%,
        rgba(43, 122, 155, 0.05) 100%
    );
}

.sm-booking-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

@media (min-width: 768px) {
    .sm-booking-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
.sm-booking-hero-bg::after {
 content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 00%,
        rgba(247, 250, 252, 0.90) 45%,
        rgba(247, 250, 252, 0.90) 60%,
        rgba(247, 250, 252, 0.90) 100%,
        transparent 100%
    );
    z-index: 2;
}
}


.sm-booking-hero-content {
    max-width: 600px;
}

.sm-booking-hero-content .sm-eyebrow {
    display: inline-block;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-pacific-blue);
    margin-bottom: var(--space-sm);
}

.sm-booking-hero-content .sm-h1 {
    color: var(--text-heading);
    margin-bottom: var(--space-md);
}

.sm-booking-hero-text {
    color: var(--text-primary);
    line-height: 1.7;
}

.sm-booking-hero-text p {
    margin-bottom: 0;
}

.sm-booking-hero-spacer {
    display: none;
}

@media (min-width: 768px) {
    .sm-booking-hero-spacer {
        display: block;
    }
}


/* Intro Section with Calendly Widget (Two-Column Layout)
   ========================================================================== */

.sm-booking-intro {
    background-color: var(--bg-secondary);
}

.sm-booking-intro-calendly-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

@media (min-width: 1024px) {
    .sm-booking-intro-calendly-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(3rem, 5vw, 4rem);
    }
}

/* Intro Content (LEFT COLUMN) */
.sm-booking-intro-content {
    /* Remove max-width constraint so content can fill the column */
}

.sm-booking-intro-content .sm-h2 {
    color: var(--text-heading);
    margin-bottom: var(--space-lg);
}

.sm-booking-intro-text {
    color: var(--text-primary);
    line-height: 1.7;
}

.sm-booking-intro-text p {
    margin-bottom: var(--space-md);
}

.sm-booking-intro-text p:last-child {
    margin-bottom: 0;
}

/* Calendly Sidebar (RIGHT COLUMN) */
.sm-booking-calendly-sidebar {
    /* Calendly widget container */
}

.sm-calendly-container {
    background-color: var(--color-pale-smoke);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    position: sticky;
    top: 2rem;
}

/* Calendly widget responsive adjustments */
.calendly-inline-widget {
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width: 767px) {
    .calendly-inline-widget {
        min-height: 600px !important;
        height: 600px !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .calendly-inline-widget {
        height: 650px !important;
    }
}

@media (min-width: 1024px) {
    .calendly-inline-widget {
        height: 700px !important;
    }
}


/* Placeholder for missing Calendly URL */
.sm-calendly-placeholder {
    padding: 2rem;
    text-align: center;
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}


/* Accessibility & States
   ========================================================================== */

.sm-booking-hero:focus-within,
.sm-booking-intro:focus-within {
    outline: none;
}

/* Ensure content is readable for screen readers */
.sm-booking-hero-bg[aria-hidden="true"] {
    pointer-events: none;
}


/* Print Styles
   ========================================================================== */

@media print {
    .sm-booking-hero-bg {
        display: none;
    }
    
    .sm-calendly-container {
        border: 2px solid var(--border-light);
        box-shadow: none;
    }
}


/* Loading State for Calendly
   ========================================================================== */

.calendly-inline-widget::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-primary);
    border-top-color: var(--color-pacific-blue);
    border-radius: 50%;
    animation: sm-calendly-spin 1s linear infinite;
    margin: 2rem auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.calendly-inline-widget iframe {
    position: relative;
    z-index: 2;
}

@keyframes sm-calendly-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* Enhanced Responsive Design
   ========================================================================== */

/* Mobile First: Base styles above are mobile */

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .sm-booking-hero {
        padding: clamp(5rem, 8vw, 7rem) 0 clamp(4rem, 6vw, 5rem);
    }
    
    /* Stack Calendly below content on tablet */
    .sm-booking-intro-calendly-grid {
        grid-template-columns: 1fr;
    }
    
    .sm-booking-calendly-sidebar {
        order: 2;
    }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
    .sm-booking-hero {
        padding: 8rem 0 6rem;
    }
    
    .sm-booking-hero-content {
        max-width: 650px;
    }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
    .sm-booking-intro-calendly-grid {
        gap: 5rem;
    }
    
    .sm-calendly-container {
        padding: 2.5rem;
    }
}


/* Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    @keyframes sm-calendly-spin {
        to {
            transform: translate(-50%, -50%) rotate(0deg);
        }
    }
    
    .sm-calendly-container {
        position: static;
    }
}


/* =================================================================
   CONTACT PAGE
   ================================================================= */

/* Contact Section - Account for fixed header */
.sm-contact-section {
    background-color: var(--bg-secondary);
    padding-top: clamp(6rem, 10vw, 6rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
    min-height: calc(100vh - 80px); /* Keep content above fold */
    display: flex;
    align-items: center;
}

.sm-contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

/* Left Column - Portrait + Intro + CTA */
.sm-contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Contact Portrait */
.sm-contact-portrait {
    margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.sm-contact-portrait-circle {
    width: 215px;
    height: 215px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(43, 122, 155, 0.15);
    transition: all var(--transition-base);
}

.sm-contact-portrait-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(43, 122, 155, 0.2);
}

.sm-contact-portrait-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Introduction */
.sm-contact-intro {
    margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.sm-contact-intro .sm-eyebrow {
    display: block;
    color: var(--color-pacific-blue);
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.sm-contact-intro .sm-h1 {
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.sm-contact-intro .sm-body-large {
    color: var(--text-primary);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
}

/* Contact CTA */
.sm-contact-cta .sm-btn {
    min-width: 240px;
    margin-bottom:30px;
}

/* Right Column - Contact Details */
.sm-contact-right {
    display: flex;
    align-items: center;
    min-height: 100%;
}

/* Contact Details */
.sm-contact-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 3vw, 2.5rem);
    background-color: white;
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 3vw, 3rem);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
}

/* Contact Item */
.sm-contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.sm-contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pacific-blue);
    transition: all var(--transition-base);
}

.sm-contact-item:hover .sm-contact-icon {
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    transform: scale(1.05);
}

.sm-contact-item-content {
    flex: 1;
    padding-top: 0.5rem;
}

.sm-contact-label {
    display: block;
    color: var(--text-heading);
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sm-contact-link {
    color: var(--text-link);
    text-decoration: none;
    font-size: clamp(1rem, 1.125vw, 1.125rem);
    transition: color var(--transition-fast);
    display: inline-block;
}

.sm-contact-link:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.sm-contact-address {
    color: var(--text-primary);
    font-style: normal;
    font-size: clamp(1rem, 1.125vw, 1.125rem);
    line-height: 1.6;
}

/* Tablet Layout (768px - 1023px) */
@media (max-width: 1023px) {
    .sm-contact-section {
        min-height: auto;
    }
    
    .sm-contact-content {
        gap: clamp(2.5rem, 5vw, 3rem);
    }
    
    .sm-contact-intro .sm-h1 {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
}

/* Mobile Layout (767px and below) */
@media (max-width: 767px) {
    .sm-contact-section {
        padding-top: clamp(5rem, 8vw, 6rem);
    }
    
    .sm-contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sm-contact-left {
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--border-light);
    }
    
    .sm-contact-details {
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
}

/* ============================================================================
   BLOG LISTING PAGE (index.php) STYLES
   ============================================================================ */

/* Blog Hero Section
   ========================================================================== */

.sm-blog-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.sm-blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-blog-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.sm-blog-hero::after {
 content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index:1;
}

.sm-blog-hero-bg--placeholder {
    background: linear-gradient(135deg, var(--color-pacific-blue) 0%, var(--color-grass-green) 100%);
    opacity: 0.08;
}

.sm-blog-hero-grid,
.sm-blog-hero-content {
    position: relative;
    z-index: 3;
}

.sm-blog-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.sm-blog-hero-content {
    max-width: 680px;
}

.sm-blog-hero-spacer {
    /* Empty spacer for grid balance */
}

.sm-blog-hero-text {
    margin-top: var(--space-lg);
}

.sm-blog-hero-text p {
    margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sm-blog-hero {
        min-height: 50vh;
    }
    
    .sm-blog-hero::after {
 content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2)100%,
        transparent 100%
    );
    z-index:1;
}
    
    .sm-blog-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .sm-blog-hero-spacer {
        display: none;
    }
}


/* Blog Posts Section
   ========================================================================== */

.sm-blog-posts-section {
    background-color: var(--bg-primary);
    padding: clamp(4rem, 10vw, 8rem) 0;
}


.sm-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-primary);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.sm-meta-separator {
    color: var(--border-light);
}

.sm-post-date,
.sm-post-reading-time {
    font-weight: 500;
}

.sm-post-category {
    color: var(--color-pacific-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.sm-post-category:hover {
    color: var(--color-deep-pacific);
}


/* Blog Grid
   ========================================================================== */

.sm-blog-grid {
    display: grid;
    grid-template-columns: 3fr;
    gap: clamp(2rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
    .sm-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Blog Card
   ========================================================================== */

.sm-blog-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.sm-blog-card:hover {
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
    transform: translateY(-6px);
    border-color: var(--color-pacific-blue);
}

.sm-blog-card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(43, 122, 155, 0.1) 0%, rgba(90, 143, 123, 0.1) 100%);
    aspect-ratio: 16 / 10;
}

.sm-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.sm-blog-card:hover .sm-blog-card-image img {
    transform: scale(1.08);
}

.sm-blog-card-content {
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sm-post-meta-compact {
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
}

.sm-card-category-tag {
    display: inline-block;
    background-color: rgba(43, 122, 155, 0.1);
    color: var(--color-pacific-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    margin-bottom: 1rem;
    align-self: flex-start;
    transition: all var(--transition-fast);
}

.sm-card-category-tag:hover {
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
}

.sm-blog-card-title {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.sm-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sm-blog-card-title a:hover {
    color: var(--color-pacific-blue);
}

.sm-blog-card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sm-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-pacific-blue);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    align-self: flex-start;
}

.sm-blog-card-link:hover {
    color: var(--color-deep-pacific);
    transform: translateX(4px);
}

.sm-blog-card-link .sm-arrow-icon {
    transition: transform var(--transition-fast);
}

.sm-blog-card-link:hover .sm-arrow-icon {
    transform: translateX(4px);
}

/* Pagination
   ========================================================================== */

.sm-blog-pagination {
    margin-top: clamp(3rem, 6vw, 5rem);
    display: flex;
    justify-content: center;
}

.sm-blog-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.sm-blog-pagination li {
    margin: 0;
}

.sm-blog-pagination a,
.sm-blog-pagination span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    min-width: 44px;
    justify-content: center;
}

.sm-blog-pagination a:hover {
    border-color: var(--color-pacific-blue);
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
}

.sm-blog-pagination .current {
    border-color: var(--color-pacific-blue);
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
}

.sm-blog-pagination .prev,
.sm-blog-pagination .next {
    padding: 0.75rem 1.5rem;
}

.sm-blog-pagination svg {
    width: 20px;
    height: 20px;
}

/* No Posts State
   ========================================================================== */

.sm-no-posts {
    text-align: center;
    padding: clamp(4rem, 8vw, 6rem) 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.sm-no-posts-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(43, 122, 155, 0.1) 0%, rgba(90, 143, 123, 0.1) 100%);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.sm-no-posts-icon svg {
    color: var(--color-pacific-blue);
}

.sm-no-posts h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.sm-no-posts p {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Mobile Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .sm-featured-post-image {
        min-height: 300px;
    }
    
    .sm-featured-badge {
        top: 1rem;
        left: 1rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .sm-featured-icon {
        width: 14px;
        height: 14px;
    }
}

/* Print Styles
   ========================================================================== */

@media print {
    .sm-blog-hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
    }
    
    .sm-blog-hero-overlay {
        display: none;
    }
    
    .sm-blog-hero-heading,
    .sm-blog-hero-subheading {
        color: var(--text-heading);
    }
    
    .sm-blog-pagination {
        display: none;
    }
}

/* ============================================================================
   SINGLE BLOG POST (single.php) STYLES
   ============================================================================ */

/* Post Hero Section
   ========================================================================== */

.sm-post-hero {
    position: relative;
   height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-primary);

}

.sm-post-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Post hero background with gradient overlay */
.sm-post-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 30%,
        rgba(247, 250, 252, 0.85) 45%,
        rgba(247, 250, 252, 0.5) 60%,
        rgba(247, 250, 252, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
}

/* Ensure content sits above the gradient */
.sm-post-hero-content {
    position: relative;
    z-index: 3;
}


.sm-post-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.sm-post-hero-bg--placeholder {
    background: linear-gradient(135deg, var(--color-pacific-blue) 0%, var(--color-grass-green) 100%);
    opacity: 0.08;
}

.sm-post-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
   
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.sm-post-hero-content {
    max-width: 100%;
}

.sm-post-hero-spacer {
    /* Empty spacer for grid balance */
}

/* Category Badges */

.sm-post-categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    flex-wrap: wrap;
}

.sm-post-category-badge {
    display: inline-block;
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sm-post-category-badge:hover {
    background-color: var(--state-hover);
    transform: translateY(-2px);
}

/* Post Title */

.sm-post-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.15;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

/* Author Meta Section */

.sm-post-author-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.sm-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.sm-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sm-author-name {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1rem;
}

.sm-post-meta-items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    opacity: 0.8;
}

.sm-post-meta-separator {
    color: var(--text-primary);
    opacity: 0.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sm-post-hero {
        min-height: 50vh;
    }
    
    .sm-post-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .sm-post-hero-spacer {
        display: none;
    }
    
    .sm-post-author-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Featured Image */

.sm-post-featured-image {
    background-color: var(--bg-primary);
    padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.sm-featured-image-container {
    margin: clamp(-3rem, -6vw, -5rem) auto 0;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.2);
}

.sm-featured-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content Wrapper */

.sm-post-content-wrapper {
    background-color: white;
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.sm-post-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 1024px) {
    .sm-post-content-grid {
        grid-template-columns: 1fr 320px;
    }
}

/* Main Content */

.sm-post-main-content {
    min-width: 0; /* Prevents grid overflow */
}

.sm-post-content {
    background-color: var(--bg-secondary);
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Content Typography */

.sm-post-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
    margin: 2.5rem 0 1rem;
}

.sm-post-content h2:first-child {
    margin-top: 0;
}

.sm-post-content h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    margin: 2rem 0 1rem;
}

.sm-post-content h4 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    margin: 1.5rem 0 0.75rem;
}

.sm-post-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.sm-post-content a {
    color: var(--color-pacific-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.sm-post-content a:hover {
    color: var(--color-deep-pacific);
}

.sm-post-content ul,
.sm-post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.sm-post-content li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.sm-post-content blockquote {
    border-left: 4px solid var(--color-pacific-blue);
    padding: 1.5rem 0 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(43, 122, 155, 0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.sm-post-content blockquote p {
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-heading);
}

.sm-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.sm-post-content pre {
    background: var(--color-soft-slate);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.sm-post-content code {
    background: rgba(43, 122, 155, 0.08);
    color: var(--color-deep-pacific);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.sm-post-content pre code {
    background: none;
    color: var(--text-light);
    padding: 0;
}

/* Tags */

.sm-post-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
    margin-bottom: 2rem;
}

.sm-tags-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.sm-tags-label svg {
    color: var(--color-pacific-blue);
}

.sm-tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.sm-post-tag {
    display: inline-block;
    background-color: rgba(43, 122, 155, 0.08);
    color: var(--color-pacific-blue);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sm-post-tag:hover {
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Post Navigation */

.sm-post-navigation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .sm-post-navigation {
        grid-template-columns: 1fr 1fr;
    }
}

.sm-post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.sm-post-nav-link:hover {
    border-color: var(--color-pacific-blue);
    box-shadow: 0 4px 16px rgba(43, 122, 155, 0.12);
    transform: translateY(-2px);
}

.sm-nav-link-next {
    text-align: right;
}

.sm-nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sm-nav-link-next .sm-nav-direction {
    justify-content: flex-end;
}

.sm-nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
}

.sm-post-nav-link:hover .sm-nav-title {
    color: var(--color-pacific-blue);
}

/* Sidebar */

.sm-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sm-sidebar-widget {
    background-color: #fcfcfc;
    padding:  2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
    margin-top: 2rem;
}

.sm-widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-pacific-blue);
}

/* Table of Contents */

.sm-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sm-toc-item {
    margin-bottom: 0.75rem;
}

.sm-toc-item-sub {
    margin-left: 1.25rem;
    margin-top: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.sm-toc-item-sub::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-pacific-blue);
    font-weight: 600;
}

.sm-toc-link {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    padding: 0.375rem 0;
    transition: color var(--transition-fast);
    position: relative;
}

.sm-toc-link::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background-color: var(--color-pacific-blue);
    border-radius: 2px;
    transition: height var(--transition-fast);
}

.sm-toc-link:hover {
    color: var(--color-pacific-blue);
}

.sm-toc-link:hover::before {
    height: 100%;
}

/* Disable the hover bar for sub-items since they have bullets */
.sm-toc-item-sub .sm-toc-link::before {
    display: none;
}

.sm-toc-item-sub .sm-toc-link:hover {
    color: var(--color-pacific-blue);
}

/* Author Card */

.sm-author-card {
    text-align: center;
}

.sm-author-card-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-pacific-blue);
}

.sm-author-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-author-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.sm-author-card-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.sm-author-posts-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-pacific-blue);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sm-author-posts-link:hover {
    color: var(--color-deep-pacific);
    transform: translateX(4px);
}

/* Related Posts */

.sm-related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sm-related-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.sm-related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sm-related-post-image {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sm-related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.sm-related-post:hover .sm-related-post-image img {
    transform: scale(1.1);
}

.sm-related-post-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sm-related-post-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.sm-related-post-title a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sm-related-post-title a:hover {
    color: var(--color-pacific-blue);
}

.sm-related-post-date {
    font-size: 0.8125rem;
    color: var(--text-primary);
    opacity: 0.7;
}

/* Back to Blog */

.sm-back-to-blog {
    background-color: var(--bg-primary);
    padding: 2rem 0 clamp(4rem, 8vw, 6rem);
}

.sm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.sm-back-link:hover {
    border-color: var(--color-pacific-blue);
    color: var(--color-pacific-blue);
    transform: translateX(-4px);
}

.sm-back-link svg {
    transition: transform var(--transition-fast);
}

.sm-back-link:hover svg {
    transform: translateX(-4px);
}

/* Mobile Adjustments */

@media (max-width: 1023px) {
    .sm-post-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    @media (min-width: 640px) {
        .sm-post-sidebar {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (max-width: 639px) {
    .sm-post-navigation {
        gap: 1rem;
    }
    
    .sm-nav-link-next {
        text-align: left;
    }
    
    .sm-nav-link-next .sm-nav-direction {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
}

/* Print Styles */

@media print {
    .sm-post-header {
        background: none;
        padding: 2rem 0;
    }
    
    .sm-post-header-overlay {
        display: none;
    }
    
    .sm-post-title,
    .sm-author-name,
    .sm-post-meta-items {
        color: var(--text-heading);
    }
    
    .sm-post-sidebar,
    .sm-post-navigation,
    .sm-back-to-blog {
        display: none;
    }
    
    .sm-post-content-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   CATEGORY ARCHIVE (category.php) STYLES
   ============================================================================ */

/* Category Hero Section
   ========================================================================== */

.sm-category-hero {
    position: relative;
    min-height: clamp(350px, 45vh, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-grass-green) 0%, var(--color-pacific-blue) 100%);
    overflow: hidden;
}

.sm-category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 143, 123, 0.88) 0%,
        rgba(43, 122, 155, 0.88) 100%
    );
}

.sm-category-hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.sm-category-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.sm-category-hero-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.sm-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.sm-category-icon svg {
    color: var(--text-light);
}

.sm-category-hero-heading {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sm-category-hero-description {
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.sm-category-hero-description p {
    margin: 0;
}

.sm-category-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.sm-category-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Category Posts Section
   ========================================================================== */

.sm-category-posts-section {
    background-color: var(--bg-primary);
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Breadcrumb Navigation
   ========================================================================== */

.sm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding: 1.25rem 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.06);
}

.sm-breadcrumb-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.sm-breadcrumb-link:hover {
    color: var(--color-pacific-blue);
}

.sm-breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--border-light);
}

.sm-breadcrumb-separator svg {
    width: 16px;
    height: 16px;
}

.sm-breadcrumb-current {
    color: var(--color-pacific-blue);
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Category Posts Grid
   ========================================================================== */

.sm-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 640px) {
    .sm-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sm-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* All Categories Link
   ========================================================================== */

.sm-category-all-link {
    display: flex;
    justify-content: center;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.sm-all-categories-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.sm-all-categories-btn:hover {
    border-color: var(--color-pacific-blue);
    background-color: var(--color-pacific-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 122, 155, 0.2);
}

.sm-all-categories-btn svg {
    transition: transform var(--transition-fast);
}

.sm-all-categories-btn:hover svg {
    transform: scale(1.1);
}

/* Related Categories Section
   ========================================================================== */

.sm-related-categories {
    background: linear-gradient(135deg, rgba(43, 122, 155, 0.03) 0%, rgba(90, 143, 123, 0.03) 100%);
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.sm-related-categories-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sm-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .sm-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sm-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Category Card
   ========================================================================== */

.sm-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.sm-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-pacific-blue) 0%, var(--color-grass-green) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.sm-category-card:hover {
    border-color: var(--color-pacific-blue);
    box-shadow: 0 8px 24px rgba(43, 122, 155, 0.15);
    transform: translateY(-6px);
}

.sm-category-card:hover::before {
    transform: scaleX(1);
}

.sm-category-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(43, 122, 155, 0.1) 0%, rgba(90, 143, 123, 0.1) 100%);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.sm-category-card:hover .sm-category-card-icon {
    background: linear-gradient(135deg, var(--color-pacific-blue) 0%, var(--color-grass-green) 100%);
    transform: scale(1.1);
}

.sm-category-card-icon svg {
    color: var(--color-pacific-blue);
    transition: color var(--transition-base);
}

.sm-category-card:hover .sm-category-card-icon svg {
    color: var(--text-light);
}

.sm-category-card-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.sm-category-card:hover .sm-category-card-name {
    color: var(--color-pacific-blue);
}

.sm-category-card-count {
    font-size: 0.875rem;
    color: var(--text-primary);
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.sm-category-card-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

/* No Posts State Enhancement
   ========================================================================== */

.sm-category-posts-section .sm-no-posts p a {
    color: var(--color-pacific-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.sm-category-posts-section .sm-no-posts p a:hover {
    color: var(--color-deep-pacific);
}

/* Mobile Adjustments
   ========================================================================== */

@media (max-width: 639px) {
    .sm-category-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    
    .sm-category-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .sm-breadcrumb {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .sm-breadcrumb-link,
    .sm-breadcrumb-current {
        font-size: 0.875rem;
    }
}

@media (max-width: 1023px) {
    .sm-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles
   ========================================================================== */

@media print {
    .sm-category-hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
    }
    
    .sm-category-hero-overlay {
        display: none;
    }
    
    .sm-category-hero-heading,
    .sm-category-meta {
        color: var(--text-heading);
    }
    
    .sm-category-icon {
        background: none;
        border: 2px solid var(--text-heading);
    }
    
    .sm-category-icon svg {
        color: var(--text-heading);
    }
    
    .sm-blog-pagination,
    .sm-category-all-link,
    .sm-related-categories {
        display: none;
    }
}

/* Accessibility Enhancements
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .sm-category-card::before,
    .sm-category-card-icon,
    .sm-all-categories-btn svg {
        transition: none;
    }
    
    .sm-category-card:hover {
        transform: none;
    }
}

/* Focus States for Keyboard Navigation
   ========================================================================== */

.sm-breadcrumb-link:focus,
.sm-all-categories-btn:focus,
.sm-category-card:focus {
    outline: 3px solid var(--state-focus);
    outline-offset: 2px;
}

.sm-breadcrumb-link:focus-visible,
.sm-all-categories-btn:focus-visible,
.sm-category-card:focus-visible {
    outline: 3px solid var(--state-focus);
    outline-offset: 2px;
}

/* Dark Mode Support (if implemented)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    /* 
    Future dark mode styles can be added here
    if the website implements a dark mode toggle
    */
}

