/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

body {
    font-family: Inter, system-ui, Segoe UI, Helvetica, Arial, sans-serif;
    color: #111;
    background: #fff
}

/* Local Agatho_ LightCAPS font for hero */
@font-face {
    font-family: Agatho;
    src: url('../font/Agatho_ LightCAPS.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Agatho_ LightCAPS Light */
@font-face {
    font-family: Agatho_ LightCAPS;
    src: url('../font/Agatho_ LightCAPS.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Gotham Medium */
@font-face {
    font-family: Gotham Medium;
    src: url('../font/Gotham Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 60
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
    position: relative;
    width: 100%
}

.logo {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    font-family: Playfair Display, serif;
    font-size: 24px;
    letter-spacing: 6px;
    text-decoration: none;
    color: #fff
}

.logo-mark {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-weight: 700
}

.menu-toggle {
    background: none;
    border: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 8px 6px
}

/* Menu toggle on about page (white background) - make it black */
body.about-page .menu-toggle {
    color: #111
}

/* Menu toggle on what-we-do page (light background) - make it black */
body.wwd-page .menu-toggle {
    color: #111
}

/* Menu toggle on services page (light background) - make it black */
body.services-page .menu-toggle {
    color: #111
}

/* Menu toggle on contact page (light background) - make it black */
body.contact-page .menu-toggle {
    color: #000
}

.menu-toggle .hamburger {
    font-size: 18px
}

.menu-toggle .menu-text {
    letter-spacing: 4px
}

.header-right {
    position: absolute;
    right: 24px;
    top: 22px
}

.find-dealer {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 2px
}

.find-dealer .search-icon {
    font-size: 14px
}

.main-nav {
    position: relative;
    display: flex;
    gap: 22px;
    margin-left: auto;
    margin-right: 40px;
    align-items: center;
    flex-shrink: 0
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap
}



/* Menu overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms ease
}

.menu-overlay[aria-hidden="false"] {
    pointer-events: auto;
    opacity: 1
}

/* Remove global dim/blur so rest of view stays clear */
.menu-overlay::before {
    display: none
}

/* Keep the menu content pinned to the left, not centered */
.menu-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0
}

.menu-inner.container {
    margin: 0
}

/* Place the close button at the top-left of the viewport */
.menu-close {
    position: fixed;
    left: 16px;
    top: 16px;
    background: none;
    border: 0;
    color: #fff;
    padding: 18px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    z-index: 130
}

/* Menu close button on about page (white background) - make it black */
body.about-page .menu-close {
    color: #111
}

/* Menu close button on what-we-do page (light background) - make it black */
body.wwd-page .menu-close {
    color: #111
}

/* Menu close button on services page (light background) - make it black */
body.services-page .menu-close {
    color: #111
}

/* Menu close button on contact page (light background) - make it black */
body.contact-page .menu-close {
    color: #000
}

.menu-list {
    list-style: none;
    margin-top: 40px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start
}

.menu-item a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: Inter, sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 20px;
    opacity: 0;
    transform: translateX(20px) translateY(40px)
}

/* Menu items on about page (white background) - make them black */
body.about-page .menu-item a {
    color: rgba(17, 17, 17, 0.9)
}

/* Menu items on what-we-do page (light background) - make them black */
body.wwd-page .menu-item a {
    color: rgba(17, 17, 17, 0.9)
}

/* Menu items on services page (light background) - make them black */
body.services-page .menu-item a {
    color: rgba(17, 17, 17, 0.9)
}

/* Menu items on contact page (light background) - make them black */
body.contact-page .menu-item a {
    color: #000
}

/* What We Do - sidebar menu styling */
body.wwd-page .menu-overlay {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    background: rgba(17, 17, 17, 0.45);
    backdrop-filter: blur(8px);
}

body.wwd-page .menu-inner {
    width: 360px;
    max-width: 88vw;
    height: 100%;
    margin: 0;
    background: #ffffff;
    padding: 32px 28px 48px;
    border-radius: 0;
    box-shadow: -20px 0 42px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(.16, 1, .3, 1);
}

body.wwd-page .menu-overlay[aria-hidden="false"] .menu-inner {
    transform: translateX(0);
}

body.wwd-page .menu-close {
    position: absolute;
    top: 26px;
    right: 26px;
    left: auto;
    background: #efeaff;
    color: #5c3dff;
    border: 0;
    padding: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 28px rgba(92, 61, 255, 0.25);
}

body.wwd-page .menu-close .close-text {
    display: none
}

body.wwd-page .menu-list {
    margin-top: 96px;
    gap: 18px;
    width: 100%;
}

body.wwd-page .menu-item {
    width: 100%;
}

body.wwd-page .menu-item a {
    opacity: 1;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(90, 95, 120, 0.08);
    color: #1a1c22;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

body.wwd-page .menu-item.active a {
    background: #efeaff;
    color: #5c3dff;
    box-shadow: inset 0 0 0 1px rgba(92, 61, 255, 0.28);
}

body.wwd-page .menu-item a:hover {
    box-shadow: inset 0 0 0 1px rgba(92, 61, 255, 0.38);
}

body.wwd-page .menu-item a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 61, 255, 0.32);
}

body.wwd-page .menu-item .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f4f4f9;
    flex-shrink: 0;
}

body.wwd-page .menu-item.active .menu-icon {
    background: #ffffff;
}

body.wwd-page .menu-item .menu-icon svg,
body.wwd-page .menu-item .menu-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #5d6070;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.wwd-page .menu-item.active .menu-icon svg,
body.wwd-page .menu-item.active .menu-arrow svg {
    stroke: #5c3dff;
}

body.wwd-page .menu-item .menu-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f4f9;
    flex-shrink: 0;
}

body.wwd-page .menu-item.active .menu-arrow {
    background: #ffffff;
}

body.wwd-page .menu-item:first-child .menu-arrow {
    display: none;
}

body.wwd-page .menu-item .menu-label {
    flex: 1;
}

body.wwd-page .menu-overlay[aria-hidden="false"] .menu-item a {
    animation: none;
}

@media (max-width:520px) {
    body.wwd-page .menu-inner {
        width: 100%;
        max-width: none;
        padding: 28px 24px 44px;
    }

    body.wwd-page .menu-list {
        margin-top: 82px;
        gap: 16px;
    }

    body.wwd-page .menu-item .menu-label {
        font-size: 14px;
    }
}

/* What We Do - header styling */
body.wwd-page .site-header {
    background: #f3e9dd;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

body.wwd-page .header-inner {
    height: 80px;
}

body.wwd-page .wwd-logo-lockup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #111;
}

body.wwd-page .wwd-logo-lockup .logo-wordmark {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    letter-spacing: 11px;
}

@media (max-width:900px) {
    body.wwd-page .header-inner {
        height: 72px;
    }

    body.wwd-page .wwd-logo-lockup .logo-wordmark {
        font-size: 22px;
        letter-spacing: 10px;
    }
}

@media (max-width:768px) {
    body.wwd-page .menu-toggle .menu-text {
        display: none
    }

    body.wwd-page .wwd-logo-lockup .logo-wordmark {
        font-size: 20px;
        letter-spacing: 8px
    }
}

@media (max-width:420px) {
    body.wwd-page .header-inner {
        height: 64px
    }

    body.wwd-page .wwd-logo-lockup .logo-wordmark {
        font-size: 18px;
        letter-spacing: 6px
    }
}

/* Staggered animation: items move from bottom->up (translateY) and right->left (translateX). Uses custom property --i for delay */
.menu-overlay[aria-hidden="false"] .menu-item a {
    animation: menuIn 550ms cubic-bezier(.2, .9, .2, 1) both;
    animation-delay: calc(var(--i) * 80ms)
}

@keyframes menuIn {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0)
    }
}

/* When closing reverse animation quickly */
.menu-overlay[aria-hidden="true"] .menu-item a {
    opacity: 0
}

/* Ensure menu content sits left and has breathing room */
body:not(.wwd-page) .menu-inner {
    padding: 28px 48px;
    max-width: 460px
}

@media (max-width:700px) {
    body:not(.wwd-page) .menu-inner {
        padding: 22px 24px;
        max-width: 100%
    }

    body:not(.wwd-page) .menu-item a {
        font-size: 18px
    }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-media img {
    filter: brightness(0.45)
}

.hero-media video {
    filter: brightness(0.45);
    display: block
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px
}

.hero h1 {
    font-family: Playfair Display, serif;
    font-size: 64px;
    letter-spacing: 2px;
    margin-bottom: -45px;
    margin-top: -150px
}

.hero h1.vendura {
    font-family: Agatho_ LightCAPS, Agatho, Playfair Display, serif;
    font-size: 180px;
    letter-spacing: 8px;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 12px
}

.hero .hero-logo {
    display: block;
    width: 420px;
    max-width: 60vw;
    height: auto;
    margin-top: 0;
    margin-bottom: 110px
}

.lead {
    font-size: 44px;
    color: #eee;
    margin: 6px 0 0 0;
    font-family: Gotham Medium, Gotham, Arial, sans-serif;
    letter-spacing: 8px;
    word-spacing: 16px;
    line-height: 1.1
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none
}

.btn-primary {
    background: #111;
    color: #fff
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    margin-left: 12px
}

.sub-lead {
    margin-top: 65px
}

/* Hero control bar */
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    z-index: 30
}

.hero-controls::before {
    content: "";
    position: absolute;
    inset: auto 12px 12px 12px;
    background: rgba(17, 17, 17, 0.65);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    height: 56px
}

.hero-controls>* {
    position: relative
}

.hero-indicators {
    display: flex;
    gap: 8px;
    align-items: center
}

.hero-indicators .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0.9
}

.hero-indicators .dot.active {
    background: #f7b36b;
    box-shadow: 0 0 0 4px rgba(247, 179, 107, 0.06)
}

.hero-pager {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ddd;
    font-size: 13px
}

.pager-note {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #cfc7bf;
    font-size: 13px;
    letter-spacing: 1px;
    z-index: 31
}

.pager-next {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    padding: 8px 10px;
    border-radius: 6px
}

/* User-specified hero subnote styling */
.hero-subnote {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 500;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: -82px;
    margin-top: -150px;
    color: #cfc7bf;
    text-align: center;
    z-index: 31;
    white-space: nowrap;
}

@media (max-width:700px) {
    .hero-controls::before {
        height: 48px
    }

    .hero-controls {
        bottom: 12px;
        padding: 8px 12px
    }
}

.models {
    padding: 80px 0
}

.models h2 {
    font-family: VenduraLight, serif;
    font-size: 34px;
    margin-bottom: 18px
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px
}

.model {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(8, 8, 8, 0.06);
    padding-bottom: 14px
}

.model img {
    width: 100%;
    height: 160px;
    object-fit: cover
}

.model h3 {
    font-family: Playfair Display, serif;
    font-size: 20px;
    padding: 12px 16px
}

.muted {
    color: #666
}

.craftsmanship {
    padding: 80px 0;
    background: #f8f8f8
}

.craft-grid {
    display: flex;
    gap: 24px;
    align-items: center
}

.craft-text {
    flex: 1
}

.craft-gallery {
    flex: 1
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px
}

.carousel .slides {
    display: flex;
    transition: transform 0.7s ease
}

.carousel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    flex: 0 0 100%
}

.ownership {
    padding: 80px 0
}

.ownership-cards {
    display: flex;
    gap: 18px;
    margin-top: 18px
}

.card {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04)
}

.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 18px 0;
    background: #f3e9de
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer-nav a {
    margin-left: 14px;
    color: #666;
    text-decoration: none
}

/* Responsive */
@media (max-width:900px) {
    .hero h1 {
        font-size: 100px
    }

    .header-inner {
        height: 64px
    }

    .main-nav {
        display: none
    }

    .menu-toggle {
        display: flex
    }

    .logo {
        top: 12px;
        font-size: 20px
    }

    .header-right {
        right: 12px
    }

    .craft-grid {
        flex-direction: column
    }

    .ownership-cards {
        flex-direction: column
    }
}

/* Mobile / small-phone adjustments */
@media (max-width:480px) {

    /* make hero truly full-screen on small devices and center content */
    .hero {
        height: 100vh;
        align-items: center
    }

    .hero-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 0
    }

    /* make Vendura heading smaller and remove negative margins on phones */
    .hero h1.vendura {
        font-size: 56px;
        letter-spacing: 2px;
        margin-top: 0;
        margin-bottom: 6px
    }

    .hero .hero-logo {
        width: 86vw;
        max-width: 86vw;
        margin-bottom: 8px
    }

    .hero h1 {
        font-size: 40px
    }

    .lead {
        font-size: 18px;
        margin-top: 4px;
        margin-bottom: 6px;
        letter-spacing: 3px;
        word-spacing: 6px
    }

    /* Fixed full-width control bar at bottom */
    .hero-controls {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 60;
        height: 68px
    }

    .hero-controls::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background: rgba(17, 17, 17, 0.78);
        backdrop-filter: blur(6px);
        border-radius: 0;
        z-index: -1
    }

    /* indicators and pager sizing */
    .hero-indicators {
        gap: 8px;
        margin-left: 8px
    }

    .hero-indicators .dot {
        width: 8px;
        height: 8px
    }

    .hero-pager {
        gap: 8px;
        font-size: 13px;
        margin-right: 8px
    }

    .pager-next {
        font-size: 16px;
        padding: 6px
    }

    /* place the subnote inside the control bar and make it smaller */
    .hero-subnote {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 18px;
        font-size: 24px;
        margin: 0;
        letter-spacing: 0.5px;
        color: #fff;
        white-space: nowrap
    }

    .menu-inner {
        padding: 18px
    }

    .menu-list {
        gap: 18px
    }

    .menu-item a {
        font-size: 18px
    }

    .logo {
        left: 50%;
        transform: translateX(-50%);
        top: 8px
    }

    body {
        font-size: 15px
    }

    /* hide the top inline main navigation on small screens */
    .main-nav {
        display: none !important;
        visibility: hidden;
        height: 0;
        overflow: hidden
    }
}

/* Alternate hero layout styles (the right-hand cards layout seen in provided image) */
.hero-alt {
    display: none;
    position: relative;
    width: 100%;
    padding: 40px 0;
    color: #fff
}

.hero-alt[aria-hidden="false"] {
    display: flex;
    align-items: center;
    gap: 24px
}

.hero-alt-left {
    flex: 1;
    max-width: 48%
}

.hero-alt-right {
    flex: 1;
    display: flex;
    justify-content: flex-end
}

.hero-alt .kicker {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px
}

.hero-alt-title {
    font-size: 64px;
    line-height: 0.9;
    margin: 0 0 12px;
    font-weight: 700
}

.hero-alt-desc {
    max-width: 420px;
    margin-bottom: 18px;
    opacity: 0.95
}

.hero-alt-cta {
    display: inline-block
}

.hero-cards {
    display: flex;
    gap: 18px;
    align-items: flex-end
}

.hero-card {
    width: 240px;
    height: 350px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInFromRight 0.8s ease-out
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3)
}

.hero-card .play {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.14);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-card .card-title {
    font-size: 13px;
    font-weight: 600
}

/* Residential card (uses provided image) */
.hero-card--residential {
    background-image: url('../image/HomeEntertainment.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 0
}

.hero-card--residential::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.45) 100%);
    border-radius: 12px
}

.hero-card--residential .play {
    background: rgba(255, 255, 255, 0.9);
    color: #111
}

.hero-card--residential .card-title {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 12px;
    font-size: 13px
}

.hero-card--HomeAutomation {
    background-image: url('../image/HomeAutomation.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 0
}

.hero-card--HomeAutomation::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.45) 100%);
    border-radius: 12px
}

.hero-card--HomeAutomation .card-title {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 12px;
    font-size: 13px
}

.hero-card--Security {
    background-image: url('../image/Security.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 0
}

.hero-card--Security::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.45) 100%);
    border-radius: 12px
}

.hero-card--Security .card-title {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 12px;
    font-size: 13px
}


/* entry animations for the alternate layout */
.hero-alt.enter {
    animation: altEnter 700ms cubic-bezier(.2, .9, .3, 1) both
}

.hero-alt.exit {
    animation: altExit 300ms ease both
}

@keyframes altEnter {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

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

@keyframes altExit {
    from {
        opacity: 1;
        transform: translateY(0)
    }

    to {
        opacity: 0;
        transform: translateY(12px)
    }
}

/* Card slide-in animations */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* Staggered animation delays for each card */
.hero-card--residential {
    animation-delay: 0.2s
}

.hero-card--HomeAutomation {
    animation-delay: 0.4s
}

.hero-card--Security {
    animation-delay: 0.6s
}

/* Better tablet scaling */
@media (min-width:481px) and (max-width:900px) {
    .hero h1.vendura {
        font-size: 156px;
        margin-top: 0;
        margin-bottom: 10px;
        letter-spacing: 6px
    }

    .hero .hero-logo {
        width: 520px;
        max-width: 70vw;
        margin-bottom: 10px
    }

    .hero-subnote {
        font-size: 28px;
        margin-top: -80px;
        margin-bottom: -40px;
        white-space: nowrap
    }

    .lead {
        font-size: 28px;
        letter-spacing: 5px;
        word-spacing: 10px
    }
}

/* animation helpers */
.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 900ms;
    animation-fill-mode: both
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

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

/* fadeInLeft helper (used by hero-subnote inline animation-name) */
.fadeInLeft {
    animation-name: fadeInLeft;
    animation-duration: 900ms;
    animation-fill-mode: both
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-18px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* Utility */
.hidden {
    display: none
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    background-color: #000;
    color: #000000;
    font-family: Poppins;
    font-size: 12px;
}

a {
    text-decoration: none;
}

/* Carousel specific header styles - only apply to carousel pages */
.carousel-page header {
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.carousel-page header a {
    color: #eee;
    margin-right: 40px;
}

/* carousel */
.carousel {
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}

.carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}

.carousel .list .item .author {
    font-weight: bold;
    letter-spacing: 10px;
}

.carousel .list .item .title,
.carousel .list .item .topic {
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .topic {
    color: #f1683a;
}

.carousel .list .item .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}

.carousel .list .item .buttons button {
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}

.carousel .list .item .buttons button:nth-child(2) {
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}

/* thumbail */
.thumbnail {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}

.thumbnail .item {
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.thumbnail .item .content {
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.thumbnail .item .content .title {
    font-weight: 500;
}

.thumbnail .item .content .description {
    font-weight: 300;
}

/* arrows */
.arrows {
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}

.arrows button:hover {
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1) {
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.carousel .list .item:nth-child(1) .content .title {
    animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
    animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
    animation-delay: 1.6s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
    animation-delay: 1.8s !important;
}

/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}

.carousel.prev .list .item img {
    z-index: 100;
}

@keyframes showThumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}

.carousel.next .thumbnail {
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
    from {
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time {
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time {
    animation: runningTime 3s linear 1 forwards;
}

@keyframes runningTime {
    from {
        width: 100%
    }

    to {
        width: 0
    }
}


/* prev click */

.carousel.prev .list .item:nth-child(2) {
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes outFrame {
    to {
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1) {
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}

.carousel.next .arrows button,
.carousel.prev .arrows button {
    pointer-events: none;
}

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

@media screen and (max-width: 678px) {
    .carousel .list .item .content {
        padding-right: 0;
    }

    .carousel .list .item .content .title {
        font-size: 30px;
    }
}

/* About Page Styles */
.about-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    position: relative;
    background-color: #f7ede3;
}

/* Background Video - Hidden */
.about-background-video {
    display: none;
}

/* Content above video */
.about-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Side: Text Content */
.about-text {
    color: #111;
    text-align: left;
    margin: 0 auto;
    max-width: 100%;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.2s;
    width: 45% !important;
    max-width: 320px !important;
}

/* Intro paragraph after logo */
.about-intro {
    text-align: left;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-subtitle {
    font-family: 'Agatho_ LightCAPS', Agatho, serif;
    font-size: 24px;
    font-weight: 300;
    color: #111;
    margin-bottom: 40px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-description {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.about-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* "At HAVARI," - Agatho_ LightCAPS font */
.about-havari-name {
    font-family: 'Agatho_ LightCAPS', Agatho, serif;
    font-weight: 300;
}

/* Description text - Gotham Medium font */
.about-description-text {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 500;
}

/* Right Side: Visual Content */
.about-visual {
    position: relative;
}

.about-visual-content {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}

/* Worker Video Boxes - Left Side, Vertical and Small */
.worker-videos {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 150px;
    flex-shrink: 0;
}

.worker-video-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.worker-video-box:nth-child(1) {
    animation-delay: 0.6s;
}

.worker-video-box:nth-child(2) {
    animation-delay: 0.8s;
}

.worker-video-box:nth-child(3) {
    animation-delay: 1.0s;
}

.worker-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Slider - Right Side, Same height as three video boxes */
.main-slider {
    width: 560px;
    /* Fixed width for 4:3 aspect ratio with 630px height */
    flex-shrink: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.slider-container {
    position: relative;
    height: 630px;
    /* 3 video boxes (200px each) + 2 gaps (10px each) = 630px */
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slider-slide {
    width: 25%;
    height: 100%;
    flex-shrink: 0;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-title {
        font-size: 48px;
    }

    .about-intro {
        font-size: 15px;
    }

    .about-subtitle {
        font-size: 22px;
    }

    .about-description p {
        font-size: 15px;
    }

    .about-visual-content {
        flex-direction: column;
    }

    .worker-videos {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .worker-video-box {
        flex-shrink: 0;
        width: 200px;
    }

    .main-slider {
        width: 100%;
        max-width: 100%;
    }

    .slider-container {
        height: 400px;
    }
}

@media screen and (max-width: 678px) {
    .about-section {
        padding: 80px 0 40px;
    }

    .about-container {
        gap: 30px;
        padding: 0 20px;
    }

    .about-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .about-intro {
        font-size: 14px;
        line-height: 1.7;
        margin-top: 20px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .about-subtitle {
        font-size: 18px;
        letter-spacing: 0.5px;
        margin-bottom: 20px;
        margin-top: 0;
        line-height: 1.5;
        word-wrap: break-word;
    }

    .about-description {
        margin-bottom: 24px;
    }

    .about-description p {
        font-size: 14px;
        line-height: 1.8;
        word-wrap: break-word;
    }

    .about-text {
        width: 100%;
    }

    .main-slider {
        width: 100%;
        max-width: 100%;
    }

    .slider-container {
        height: 300px;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .about-section {
        padding: 60px 0 30px;
    }

    .about-intro {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .about-subtitle {
        font-size: 16px;
        letter-spacing: 0.3px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .about-description {
        margin-bottom: 20px;
    }

    .about-description p {
        font-size: 13px;
        line-height: 1.7;
    }

    .slider-container {
        height: 250px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* What We Do Page Styles */
.wwd-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    position: relative;
    background-color: #f7ede3;
}

/* Background Video - Hidden */
.wwd-background-video {
    display: none;
}

.wwd-background-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

/* Content container - should be above video */
.wwd-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Logo styling */
.wwd-logo {
    display: block;
    width: 320px;
    max-width: 60vw;
    height: auto;
    margin: 0 auto 40px;
}

/* Subtitle and description - Gotham Medium font */
.wwd-subtitle {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    color: #111;
    margin-bottom: 24px;
    margin-top: 0;
    line-height: 1.5;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* "Why Developers Choose HAVARI" - Agatho_ LightCAPS font - Main heading styling */
.wwd-logo+.wwd-subtitle {
    font-family: 'Agatho_ LightCAPS', Agatho, serif;
    font-weight: 300;
    font-size: 28px;
    margin: 20px auto 32px;
    letter-spacing: 2px;
    text-align: center;
    max-width: 100%;
}

/* "Custom Installations" - Match the main heading size */
.wwd-description+.wwd-subtitle {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 600;
    font-size: 28px;
    margin: 40px auto 24px;
    text-align: center;
    max-width: 100%;
}

/* Hover effect for subtitle */
.wwd-subtitle:hover {
    color: #f7b36b;
    opacity: 1;
}

/* H3 intro text styling */
.about-text h3 {
    font-family: 'Agatho_ LightCAPS', Agatho, serif;
    font-weight: 300;
    font-size: 24px;
    color: #111;
    margin-bottom: 48px;
    line-height: 1.6;
}

.wwd-description {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 500;
    color: #111;
    margin-top: 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wwd-description p {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-weight: 500;
    color: #111;
    text-align: left;
    max-width: 100%;
}

/* Bullet point subtitles should be left-aligned within centered container */
.wwd-description .wwd-subtitle {
    text-align: left;
}

.wwd-feature {
    margin-top: 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.wwd-feature-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    color: #111;
}

.wwd-feature-kicker {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1bb08f;
    font-size: 14px;
}

.wwd-feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.wwd-feature-lead {
    font-size: 18px;
    color: rgba(17, 17, 17, 0.65);
    max-width: 420px;
    line-height: 1.6;
    margin: 0;
}

.wwd-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.wwd-feature-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 32px;
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wwd-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(17, 17, 17, 0.12);
}

.wwd-feature-card h3 {
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-size: 18px;
    color: #111;
    margin: 0;
}

.wwd-feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.72);
    margin: 0;
}

/* Hide paragraphs that follow wwd-subtitle by default */
.wwd-subtitle+p {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    margin-bottom: 32px;
    padding-left: 20px;
    line-height: 1.8;
    color: #111;
    font-size: 16px;
}

/* Show paragraph when hovering over the corresponding wwd-subtitle */
.wwd-subtitle:hover+p {
    display: block;
    opacity: 1;
    margin-top: 12px;
}

/* Right side visual content */
.wwd-visual {
    position: relative;
    width: 100%;
    max-width: 630px;
}

/* Slider container styling */
.wwd-slider .slider-container {
    position: relative;
    width: 100%;
    max-width: 630px;
    height: 630px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f7ede3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwd-slider .wwd-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwd-slider .wwd-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wwd-slider .wwd-slide.active {
    display: flex;
}

.wwd-slider .wwd-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

/* Slider text overlay */
.wwd-slider .wwd-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    padding: 50px 30px 30px;
    color: #fff;
    font-family: 'Gotham Medium', Gotham, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wwd-slider .wwd-slide.active .wwd-slide-text {
    opacity: 1;
}

/* What We Do Page - Mobile Responsive Styles */

/* Base responsive adjustments - ensure text wraps properly */
.wwd-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wwd-description p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wwd-subtitle+p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Tablet and smaller screens */
@media screen and (max-width: 968px) {
    .wwd-section {
        padding: 100px 0 60px;
    }

    .wwd-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .wwd-logo {
        width: 280px;
        max-width: 70vw;
        margin: 0 auto 30px;
    }

    .wwd-logo+.wwd-subtitle {
        font-size: 24px;
        letter-spacing: 1.5px;
        margin: 20px auto 28px;
        text-align: center;
    }

    .wwd-description+.wwd-subtitle {
        font-size: 24px;
        margin: 32px auto 24px;
        text-align: center;
    }

    .wwd-description {
        text-align: center;
    }

    .wwd-subtitle {
        font-size: 16px;
    }

    .wwd-subtitle+p {
        font-size: 15px;
    }

    .wwd-description p {
        font-size: 15px;
    }

    .wwd-feature {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .wwd-feature-copy {
        align-items: center;
        text-align: center;
    }

    .wwd-feature-lead {
        max-width: 520px;
    }

    .wwd-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wwd-slider .slider-container {
        width: 100%;
        max-width: 100%;
        height: 500px;
    }

    .wwd-visual {
        width: 100%;
        max-width: 100%;
    }

    .wwd-slider .wwd-button {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* Mobile devices */
@media screen and (max-width: 678px) {
    .wwd-section {
        padding: 80px 0 40px;
    }

    .wwd-container {
        gap: 30px;
        padding: 0 20px;
    }

    .wwd-logo {
        width: 240px;
        max-width: 75vw;
        margin: 0 auto 24px;
    }

    .wwd-logo+.wwd-subtitle {
        font-size: 20px;
        letter-spacing: 1px;
        margin: 16px auto 24px;
        line-height: 1.4;
        text-align: center;
    }

    .wwd-description+.wwd-subtitle {
        font-size: 20px;
        margin: 28px auto 20px;
        text-align: center;
    }

    .wwd-description {
        text-align: center;
    }

    /* Bullet points remain left-aligned within centered container */
    .wwd-description .wwd-subtitle {
        text-align: left;
    }

    .wwd-description p {
        text-align: left;
    }

    .wwd-slider .wwd-slide-text {
        font-size: 14px;
        padding: 30px 20px 20px;
    }

    .wwd-subtitle {
        font-size: 15px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .about-text {
        text-align: left;
    }

    .wwd-subtitle+p {
        font-size: 14px;
        padding-left: 16px;
        margin-bottom: 24px;
        line-height: 1.7;
    }

    .wwd-description {
        margin-bottom: 20px;
    }

    .wwd-description p {
        font-size: 14px;
        line-height: 1.7;
    }

    .wwd-feature {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wwd-feature-copy {
        align-items: center;
        text-align: center;
    }

    .wwd-feature-title {
        font-size: 38px;
    }

    .wwd-feature-lead {
        font-size: 16px;
    }

    .wwd-feature-grid {
        grid-template-columns: 1fr;
    }

    .wwd-feature-card {
        padding: 24px 26px;
    }

    .about-text {
        width: 100%;
    }

    .wwd-visual {
        width: 100%;
        margin-bottom: 24px;
    }

    .wwd-slider .slider-container {
        width: 100%;
        height: 350px;
        border-radius: 8px;
    }

    .wwd-slider .wwd-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.6);
    }

    .wwd-slider .wwd-controls {
        padding: 0 12px;
    }

    /* Make expandable text work on mobile with tap/click */
    .wwd-subtitle {
        -webkit-tap-highlight-color: rgba(247, 179, 107, 0.3);
        user-select: none;
        -webkit-user-select: none;
    }

    /* On mobile, show paragraphs when parent is active (tapped) */
    .wwd-subtitle.active+p {
        display: block !important;
        opacity: 1 !important;
        margin-top: 12px !important;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .wwd-section {
        padding: 60px 0 30px;
    }

    .wwd-container {
        gap: 24px;
        padding: 0 16px;
    }

    .wwd-logo {
        width: 200px;
        max-width: 80vw;
        margin: 0 auto 20px;
    }

    .wwd-logo+.wwd-subtitle {
        font-size: 18px;
        letter-spacing: 0.8px;
        margin: 0 auto 20px;
        text-align: center;
    }

    .wwd-description+.wwd-subtitle {
        font-size: 18px;
        margin: 24px auto 16px;
        text-align: center;
    }

    .wwd-description {
        text-align: center;
    }

    /* Bullet points remain left-aligned within centered container */
    .wwd-description .wwd-subtitle {
        text-align: left;
    }

    .wwd-description p {
        text-align: left;
    }

    .wwd-slider .wwd-slide-text {
        font-size: 13px;
        padding: 24px 16px 16px;
        line-height: 1.5;
    }

    .wwd-subtitle {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .about-text {
        text-align: left;
    }

    .wwd-subtitle+p {
        font-size: 13px;
        padding-left: 12px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .wwd-description p {
        font-size: 13px;
        line-height: 1.6;
    }

    .wwd-feature {
        gap: 24px;
    }

    .wwd-feature-copy {
        align-items: center;
        text-align: center;
    }

    .wwd-feature-title {
        font-size: 32px;
    }

    .wwd-feature-lead {
        font-size: 15px;
    }

    .wwd-feature-card {
        padding: 22px 24px;
    }

    .wwd-slider .slider-container {
        height: 280px;
        border-radius: 6px;
    }

    .wwd-slider .wwd-button {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .wwd-slider .wwd-controls {
        padding: 0 8px;
    }
}