/* =============================================
   Showcase MD - Landing Page Styles
   ============================================= */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    ;
}

/* =============================================
   Lenis Smooth Scroll Styles
   ============================================= */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #0a0604;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* =============================================
   Navigation Link Hover Animation
   ============================================= */
.nav-link {
    position: relative;
    overflow: hidden;
    height: 20px;
    display: block;
}

.nav-link .nav-text {
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link .nav-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link:hover .nav-text {
    transform: translateY(-100%);
}

.nav-link:hover .nav-text-hover {
    transform: translateY(-100%);
}

/* Navigation text colors - white on homepage, black on other pages */
body.home #header .nav-text,
body.home #header .nav-text-hover,
body.front-page #header .nav-text,
body.front-page #header .nav-text-hover {
    color: white !important;
}

body:not(.home):not(.front-page) #header .nav-text,
body:not(.home):not(.front-page) #header .nav-text-hover {
    color: #2a2a2a !important;
}

/* Navigation dropdown arrow SVGs - white on homepage, black on other pages */
body.home #header nav svg.w-3.h-3,
body.front-page #header nav svg.w-3.h-3 {
    color: white !important;
    stroke: white !important;
}

body:not(.home):not(.front-page) #header nav svg.w-3.h-3 {
    color: #2a2a2a !important;
    stroke: #2a2a2a !important;
}

/* =============================================
   Figma Button Hover Animation (similar to nav-link)
   ============================================= */
.figma-button-text-wrapper {
    position: relative;
    overflow: hidden;
}

.figma-button-text {
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.figma-button-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.figma-button:hover .figma-button-text {
    transform: translateY(-100%);
}

.figma-button:hover .figma-button-text-hover {
    transform: translateY(-100%);
}

.figma-button-icon {
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.figma-button:hover .figma-button-icon {
    transform: rotate(45deg);
}

/* =============================================
   Pricing Button Hover Animation (similar to nav-link and figma-button)
   ============================================= */
.pricing-btn-text-wrapper {
    position: relative;
    overflow: hidden;
}

.pricing-btn-text {
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.pricing-btn-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.pricing-btn:hover .pricing-btn-text {
    transform: translateY(-100%);
}

.pricing-btn:hover .pricing-btn-text-hover {
    transform: translateY(-100%);
}

/* =============================================
   WordPress Admin Bar Positioning
   ============================================= */
/* Ensure admin bar stays at the top */
#wpadminbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
}

/* Adjust header position when admin bar is present */
.admin-bar #header {
    top: 32px !important;
}

/* Mobile admin bar height */
@media screen and (max-width: 782px) {
    .admin-bar #header {
        top: 46px !important;
    }
}

/* Ensure admin bar doesn't overlap content */
html.admin-bar {
    margin-top: 0 !important;
}

/* =============================================
   Header States
   ============================================= */
.header-scrolled {
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(24px);
}

/* Header on white background - change colors to black */
header.header-on-white {
    color: #2a2a2a !important;
}

header.header-on-white .nav-text,
header.header-on-white .nav-text-hover {
    color: #2a2a2a !important;
}

header.header-on-white .hamburger-line {
    background-color: #2a2a2a !important;
}

header.header-on-white svg {
    color: #2a2a2a !important;
}

/* Keep arrow icons white when header-on-white is active */
header.header-on-white .nav-arrow-icon {
    color: white !important;
    stroke: white !important;
}

header.header-on-white .font-bold.tracking-\[0\.15em\] {
    color: #2a2a2a !important;
}

header.header-on-white>div>div.absolute.bottom-0 {
    background-color: rgba(42, 42, 42, 0.2) !important;
}

header.header-on-white>div>div.absolute.left-4,
header.header-on-white>div>div.absolute.right-4 {
    background-color: rgba(42, 42, 42, 0.1) !important;
}

header.header-on-white .border-l {
    border-color: rgba(42, 42, 42, 0.1) !important;
}

header.header-on-white img[alt="decoration"] {
    filter: brightness(0) !important;
}

/* =============================================
   Mega Menu Styles
   ============================================= */
.mega-menu {
    pointer-events: none;
}

.group:hover .mega-menu {
    pointer-events: auto;
}

/* Ensure mega menu stays visible on hover */
.group:hover .group-hover\:visible {
    pointer-events: auto;
}

/* =============================================
   Pulse Animation for Status Dot
   ============================================= */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* =============================================
   Background Layer Transitions
   ============================================= */
.bg-layer {
    will-change: transform, opacity;
}

/* =============================================
   Hero Section Touch Optimization
   ============================================= */
#hero {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

#hero .sticky {
    touch-action: pan-y;
}

/* Reduce hero height on mobile for smoother scroll experience */
@media (max-width: 768px) {
    #hero {
        height: 280vh;
        overscroll-behavior: none;
    }
}

/* Tablet height adjustment */
@media (min-width: 769px) and (max-width: 1024px) {
    #hero {
        height: 320vh;
    }
}

/* ScrollTrigger normalizeScroll styles */
.gsap-normalizer-touch {
    touch-action: none !important;
}

/* =============================================
   Board & Monitor Styles
   ============================================= */
#board-container {
    will-change: transform, opacity;
}

#video-container {
    will-change: opacity;
}

#board-content {
    will-change: opacity;
}

/* =============================================
   Title Animations Setup
   ============================================= */
.title-line {
    will-change: transform, opacity;
}

/* =============================================
   Feature Cards
   ============================================= */
.feature-card {
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 22.56em;
}

@media (max-width: 768px) {
    .feature-card {
        height: auto;
    }
}

/* =============================================
   Button Hover Effects
   ============================================= */
#demo-btn {
    position: relative;
    overflow: hidden;
}

#demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

#demo-btn:hover::before {
    left: 100%;
}

/* =============================================
   Smooth Scroll Indicator (optional)
   ============================================= */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* =============================================
   Custom Scrollbar (optional)
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0604;
}

::-webkit-scrollbar-thumb {
    background: rgba(236, 72, 153, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 72, 153, 0.8);
}

/* =============================================
   Selection Color
   ============================================= */
::selection {
    background-color: rgba(236, 72, 153, 0.3);
    color: white;
}

/* =============================================
   Superpowers Section
   ============================================= */
.superpower-tab {
    transition: opacity 0.4s ease;
    opacity: 0.4;
}

.superpower-tab.active {
    opacity: 1;
}

.superpower-tab .tab-number {
    color: #e5e5e5;
    transition: color 0.4s ease;
}

.superpower-tab.active .tab-number {
    color: #2a2a2a;
    /* Dark color for active number on white background */
}

.superpower-tab .tab-text {
    color: #2a2a2a;
    transition: color 0.4s ease;
}

.superpowers-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
}

.superpower-desc {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
}

.superpower-desc.active {
    opacity: 1;
    visibility: visible;
}

/* Tablet specific scrolling behavior (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #superpowers {
        max-height: 100vh !important;
        height: 100vh !important;
        padding-top: 1rem !important;
        padding-bottom: 0.5rem !important;
    }

    #superpowers .max-w-\[1440px\] {
        height: 100%;
        max-height: 100%;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .superpower-tab {
        opacity: 0.2;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .superpower-tab.active {
        opacity: 1;
        transform: translateY(0);
    }

    .superpower-desc {
        opacity: 0;
        transform: translateY(15px);
        grid-area: 1 / 1;
        /* Maintain grid stacking on tablet */
    }

    .superpower-desc.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width : 768px) {
    .superpowers-content {
        padding: 0.5rem 1rem;
    }
}

#lottie-superpowers {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
}

@media (max-width: 1024px) {
    #lottie-superpowers {
        height: 600px !important;
    }
}

/* Mobile Tabs Scroll Enhancement */
@media (max-width: 767px) {
    .superpowers-tabs {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
    }
}

/* =============================================
   CEO Section & Chat bubbles
   ============================================= */
#ceo-section {
    background-color: #ffffff;
}

.chat-bubble {
    position: relative;
    will-change: transform, opacity;
}

.cta-box {
    will-change: transform, opacity;
    box-shadow: 0 20px 40px rgba(255, 99, 42, 0.2);
}

.ceo-profile img {
    filter: grayscale(0.2);
    transition: filter 0.5s ease;
}

.ceo-profile:hover img {
    filter: grayscale(0);
}

/* =============================================
   Brands Section & Marquee
   ============================================= */
#brands-section {
    background-color: #ffffff;
}

.marquee-container {
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
}

.brand-logo {
    transition: color 0.3s ease;
    user-select: none;
}

.brand-logo:hover {
    color: #2a2a2a;
}

.brand-logo-allergan {
    position: relative;
    letter-spacing: 0.05em;
}

.brand-logo-allergan::first-letter {
    font-size: 1.1em;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =============================================
   CTA Section
   ============================================= */
#cta-section {
    background-color: #ffffff;
}

#cta-section img {
    will-change: transform;
    transition: transform 0.8s ease;
}

#cta-section:hover img {
    transform: scale(1.05);
}

.cta-button {
    will-change: transform, opacity;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button .text-2xl {
    transition: transform 0.3s ease;
}

.cta-button:hover .text-2xl {
    transform: rotate(90deg);
}

/* =============================================
   Pricing Section
   ============================================= */
#pricing-section {
    background-color: #ffffff;
}

.pricing-card {
    will-change: transform, opacity;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
    border-radius: .63em;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 28.75em;
    padding: 1.25em;
    display: flex;
    position: relative;
    overflow: hidden;
}

.pricing-card-video {
    z-index: -1;
    mix-blend-mode: darken;
    width: 49em;
    max-width: none;
    height: 38em;
    position: absolute;
    inset: auto -20em 0% auto;
}

.pricing-card-image1 {
    z-index: -1;
    width: 27em;
    max-width: none;
    position: absolute;
    inset: auto -7.5em -1.2em auto;
}

.pricing-card-image2 {
    z-index: -1;
    width: 28em;
    max-width: none;
    position: absolute;
    inset: auto -11.5em -2.2em auto;
}

.pricing-card-image3 {
    z-index: -1;
    width: 22em;
    max-width: none;
    position: absolute;
    inset: auto -6.5em 2.8em auto;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card video,
.pricing-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.pricing-card:hover video,
.pricing-card:hover img {
    transform: scale(1.05);
}

.pricing-btn {
    will-change: transform;
}

.pricing-card-bottom {
    will-change: transform, opacity;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pricing-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
        gap: 0rem;
        min-height: 220px;
        position: relative;
        overflow: hidden;
    }

    .pricing-card .mb-6 {
        margin-bottom: 2rem;
        position: relative;
        z-index: 2;
    }

    .pricing-card .pricing-btn,
    .pricing-card .flex-col {
        width: fit-content;
        max-width: none;
        position: relative;
        z-index: 2;
    }

    .pricing-btn {
        padding: 0.8rem 1.75rem !important;
    }

    .pricing-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
        max-width: 70%;
    }

    .pricing-card p {
        font-size: 1.1rem;
        opacity: 0.6;
    }

    .pricing-card br {
        display: none !important;
    }

    /* Fix image containers for mobile - positioned to the right */
    .pricing-card-video,
    .pricing-card-image1,
    .pricing-card-image2,
    .pricing-card-image3 {
        position: absolute !important;
        width: 200px !important;
        height: 200px !important;
        z-index: 1 !important;
        pointer-events: none;
    }

    /* Specific adjustments for individual images to match reference */
    .pricing-card-video {
        width: 227px !important;
        height: 257px !important;
        right: -45px !important;
        bottom: -21px !important;
    }

    .pricing-card-image1 {
        right: -45px !important;
        bottom: 0px !important;
    }

    .pricing-card-image2 {
        right: -90px !important;
        width: 270px !important;
        bottom: 0px !important;
    }

    .pricing-card-image3 {
        right: -66px !important;
        bottom: 11px !important;
        width: 215px !important;
    }

    .pricing-card video,
    .pricing-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }
}

/* =============================================
   Hamburger Menu
   ============================================= */
#hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

#hamburger-btn.active .hamburger-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Hide hamburger button when menu is open */
body.menu-open #hamburger-btn {
    opacity: 0;
    pointer-events: none;
}

/* =============================================
   Mobile Menu
   ============================================= */
#mobile-menu.active {
    pointer-events: auto;
}

#mobile-menu.active #mobile-menu-backdrop {
    opacity: 1;
}

#mobile-menu.active #mobile-menu-panel {
    transform: translateX(0);
}

#mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation for nav links */
#mobile-menu.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

#mobile-menu.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

#mobile-menu.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

#mobile-menu.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

#mobile-menu.active .mobile-nav-link:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav-link {
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

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

/* Mobile menu panel scrolling */
#mobile-menu-panel {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

#mobile-menu-panel>div:first-of-type {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    min-height: min-content;
}

/* =============================================
   Mobile Mega Menu Styles
   ============================================= */
#mobile-brands-menu,
#mobile-services-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-brands-menu.max-h-\[2000px\],
#mobile-services-menu.max-h-\[2000px\] {
    overflow: visible;
}

#mobile-brands-toggle svg,
#mobile-services-toggle svg {
    transition: transform 0.3s ease;
}

/* Prevent closing menu when clicking inside brands/services menu */
#mobile-brands-menu a,
#mobile-services-menu a {
    pointer-events: auto;
}

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 768px) {
    .nav-link {
        height: 18px;
    }
}

.city-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.03) 0%, rgba(236, 72, 153, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.city-card:hover {
    border-color: rgba(236, 72, 153, 0.2);
}

.city-card:hover::before {
    opacity: 1;
}

.city-card:hover h3 {
    color: #ec4899;
}

.city-card h3 {
    transition: all 0.4s ease;
}

.hero-title-line {
    will-change: transform, opacity;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =============================================
   Blog Section Styles
   ============================================= */
.blog-filter-btn {
    transition: all 0.3s ease;
    white-space: nowrap;
}

.blog-filter-btn.active {
    background-color: #ec4899;
    color: white;
    border-color: #ec4899;
}

.blog-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image-wrapper img {
    transform: scale(1.05);
}

.blog-card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.blog-card:hover .blog-card-arrow {
    background: #ec4899;
    color: white;
}

.blog-card-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-arrow svg {
    transform: translate(2px, -2px);
}

/* =============================================
   Contact Hero Styles (Social Media Management)
   ============================================= */
.bg-grid-pattern {
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

.sparkle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hero-form-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-input-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-input-icon {
    left: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    pointer-events: none;
    position: absolute;
    z-index: 10;
    top: 1.2rem;
}



.form-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    background: #f9fafb;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    background: white;
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #1d4ed8;
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.3);
}

.form-submit-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(29, 78, 216, 0.4);
}

.screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
}


/* =============================================
   Content Sections (Alternating)
   ============================================= */
.content-section {
    padding: 8rem 0;
}

.content-image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.content-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   FAQ Section Styles
   ============================================= */
.faq-item {
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 1rem;
    background-color: #f9fafb;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: rgba(236, 72, 153, 0.5);
    background-color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.1);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.faq-question-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: #2a2a2a;
    transition: color 0.4s ease;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-content {
    height: 0;
    overflow: hidden;
    will-change: height;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-width: 100%;
}

.faq-plus {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-plus-line {
    position: absolute;
    background-color: #2a2a2a;
    transition: background-color 0.4s ease, transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.faq-item.active .faq-plus-line {
    background-color: #ec4899;
}

.faq-plus-line.h {
    width: 20px;
    height: 2px;
}

.faq-plus-line.v {
    width: 2px;
    height: 20px;
}

.faq-item.active .faq-plus-line.v {
    transform: rotate(90deg);
}

.faq-list {
    display: flex;
    flex-direction: column;
}





.strategy-call-card {
    background: #f9fafb;
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    position: sticky;
    top: 100px;
}

.strategy-call-card .profile-pic {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .strategy-call-card {
        position: static;
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 0;
    }

    .faq-section {
        padding: 5rem 0;
    }

    .faq-trigger {
        padding: 1.25rem 1.25rem;
    }

    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem 1.25rem;
        max-width: 100%;
    }

    .faq-item {
        margin-bottom: 0.75rem;
    }

    .hero-form-card {
        padding: 1.5rem;
    }

    .faq-question-text {
        font-size: 1rem;
        font-weight: 500;
        padding-right: 1rem;
        line-height: 1.3;
    }
}

/* =============================================
   Cities Page Template Styles
   ============================================= */
body.page-template-page-cities #page {
    background: white !important;
}

body.page-template-page-cities #bg-image,
body.page-template-page-cities .bg-gradient-to-b {
    display: none !important;
}

body.page-template-page-cities .fixed.inset-0.z-0:first-of-type {
    background: white !important;
}

/* Header starts with white background style */
body.page-template-page-cities #header {
    color: #2a2a2a !important;
}

body.page-template-page-cities #header .nav-text,
body.page-template-page-cities #header .nav-text-hover {
    color: #2a2a2a !important;
}

body.page-template-page-cities #header .hamburger-line {
    background-color: #2a2a2a !important;
}

body.page-template-page-cities #header svg {
    color: #2a2a2a !important;
}

body.page-template-page-cities #header>div>div.absolute.bottom-0 {
    background-color: rgba(42, 42, 42, 0.2) !important;
}

body.page-template-page-cities #header>div>div.absolute.left-4,
body.page-template-page-cities #header>div>div.absolute.right-4 {
    background-color: rgba(42, 42, 42, 0.1) !important;
}

body.page-template-page-cities #header .border-l {
    border-color: rgba(42, 42, 42, 0.1) !important;
}

body.page-template-page-cities #header img[alt="decoration"] {
    filter: brightness(0) !important;
}

.hero-cities-title span {
    font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
    font-style: italic;
    font-weight: 500;
}

/* =============================================
   City Page Styles
   ============================================= */

/* Override background for city pages */
body.single-city_page #page {
    background: white !important;
}

body.single-city_page #bg-image,
body.single-city_page .bg-gradient-to-b {
    display: none !important;
}

body.single-city_page .fixed.inset-0.z-0:first-of-type {
    background: white !important;
}

/* Form input styling */

/* Contact Form 7 overrides */
.hero-form-card .wpcf7-form-control-wrap {
    display: block;
    position: relative;
    margin-bottom: 1rem;
}

.hero-form-card .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: #f9fafb;
    padding-left: 3rem;
    font-size: 14px;
}

.hero-form-card .wpcf7-form-control:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.hero-form-card .wpcf7-textarea {
    height: 120px;
    resize: none;
}

.hero-form-card .wpcf7-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-form-card .wpcf7-submit:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-form-card .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.hero-form-card .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: 0.5rem;
}

.hero-form-card .wpcf7-response-output {
    padding: 0 !important;
    font-size: 14px !important;
}

.hero-form-card .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.75rem !important;
    margin-top: 0.25rem;
    padding-left: 0.5rem !important;
}

/* Content section styling */
.content-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.content-image-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.content-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* FAQ styling - Consolidated styles above */

.strategy-call-card {
    background: #f9fafb;
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(42, 42, 42, 0.05);
}

.strategy-call-card .profile-pic {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .strategy-call-card {
        position: static;
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 0;
    }

    .faq-section {
        padding: 4rem 0;
    }

    .faq-question-text {
        font-size: 1rem;
    }
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pagination-container .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination-container .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(42, 42, 42, 0.15);
    background-color: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2a2a2a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pagination-container .page-numbers:hover:not(.current):not(.dots) {
    border-color: #ec4899;
    color: #ec4899;
    background-color: rgba(236, 72, 153, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.pagination-container .page-numbers.current {
    background-color: #ec4899;
    color: white;
    border-color: #ec4899;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.pagination-container .page-numbers.dots {
    border: none;
    background-color: transparent;
    cursor: default;
    min-width: auto;
    padding: 0 0.5rem;
}

.pagination-container .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    background-color: transparent;
}

.pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(42, 42, 42, 0.15);
    background-color: white;
    color: #2a2a2a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-arrow:hover {
    border-color: #ec4899;
    background-color: rgba(236, 72, 153, 0.05);
    color: #ec4899;
    transform: translateY(-2px);
}

.pagination-arrow.prev:hover svg {
    transform: translateX(-2px);
}

.pagination-arrow.next:hover svg {
    transform: translateX(2px);
}

.pagination-arrow svg {
    transition: transform 0.3s ease;
}

.prev.page-numbers,
.next.page-numbers {
    border: none;
}

/* Disabled state for prev/next when not available */
.pagination-container .page-numbers.prev.disabled,
.pagination-container .page-numbers.next.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Single Post Styles */
.single-post-article .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.single-post-article .entry-content p {
    margin-bottom: 2rem;
}

.single-post-article .entry-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.single-post-article .entry-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-article .entry-content blockquote {
    border-left: 4px solid #ec4899;
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.5rem;
    color: #2a2a2a;
    line-height: 1.5;
}

.single-post-article .entry-content a {
    color: #ec4899;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.single-post-article .entry-content a:hover {
    opacity: 0.7;
}

.single-post-article .entry-content ul,
.single-post-article .entry-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.single-post-article .entry-content li {
    margin-bottom: 0.75rem;
}

.single-post-article .entry-content img {
    border-radius: 1.5rem;
    margin: 3rem 0;
}

/* Post Navigation */
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    width: 50%;
}

@media (max-width: 768px) {
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 2.5rem;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
    }

    .single-post-article .entry-content {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .pagination-container .nav-links {
        gap: 0.5rem;
    }

    .pagination-container .page-numbers {
        min-width: 2.5rem;
        height: 2.5rem;
        font-size: 0.8125rem;
    }

    .pagination-arrow {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Avatar fix */
.single-post-article header img.avatar {
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}