:root {
    /* Colors */
    --primary-color: #000;
    --secondary-color: #f3f3f3;
    --text-color: #111;
    --text-muted: #444;
    --text-secondary: #666;
    --text-light: #777;
    --text-hint: #888;
    --border-color: #ccc;
    --divider-color: #eff1f2;
    --bg-color: #fff;
    --bg-alt: #f4f5f7;
    --bg-section: #fafbfc;
    --shadow-color: rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Nunito Sans', sans-serif;
    --font-accent: 'Quicksand', sans-serif;

    /* Spacing & Border Radius */
    --border-radius-lg: 40px;
    --border-radius-md: 30px;
    --border-radius-sm: 18px;
    --border-radius-xs: 12px;
}

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

.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;
}

html {
    -webkit-text-size-adjust: 100%;
    /* Prevent font scaling in landscape */
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    margin: 0;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    /* Crisp text on iOS/Mac */
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    flex: 1;
}

button,
input,
select,
textarea {
    -webkit-appearance: none;
    /* Remove native styling */
    appearance: none;
}

.header {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    background: rgba(180, 180, 180, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 0.7rem 1rem 0.7rem 1.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px 0 var(--shadow-color);
    z-index: 1000;
    max-width: 640px;
    margin: 0 auto;
    user-select: none;
}

.logo {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: #444;
}

.nav-links:hover {
    color: #222;
}

/* Nav button styling */
.nav-button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    /* color: #444; */
    padding: 0;
}

.nav-button:hover,
.nav-button:focus {
    color: var(--text-color);
    outline: none;
}

.nav-highlight {
    background-color: var(--primary-color) !important;
    color: var(--bg-color) !important;
    padding: 0.8rem 1.4rem !important;
    border-radius: var(--border-radius-md) !important;
    transition: transform 0.2s, opacity 0.2s !important;
}

.nav-highlight:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.nav-highlight:active {
    transform: translateY(0);
}

.main-content {
    padding: 9rem 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tag {
    font-weight: 600;
    font-size: 0.75rem;
    color: #444;
    border: 1px solid #ccc;
    display: inline-block;
    padding: 0.15rem 0.75rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    user-select: none;
}

h1 {
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.12;
    max-width: 540px;
    margin: 1.2rem auto 1rem;
    user-select: text;
    font-family: var(--font-heading);
}

h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.subtext {
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0 auto 2rem;
    user-select: text;
    font-family: var(--font-accent);
}

.btn-group {
    display: inline-flex;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.price-note {
    color: #868e96;
    font-size: 0.88rem;
    user-select: none;
}

.p-button {
    border-radius: var(--border-radius-md) !important;
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 130px;
    padding: 0.8rem 1.5rem !important;
}

.p-button-label {
    font-weight: 700 !important;
}

.p-button-primary {
    background-color: var(--primary-color);
    border: none;
}

.p-button-secondary {
    color: var(--primary-color);
    background-color: transparent;
    border: 1.3px solid var(--primary-color);
}

.p-button-secondary:hover {
    background-color: var(--secondary-color);
}

/* Enhanced CTA Button */
.cta-primary {
    background: linear-gradient(135deg, #00b894 0%, #009432 100%) !important;
    border: none !important;
    color: white !important;
    padding: 1.4rem 3.5rem 1.4rem 3rem !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    border-radius: 100px !important;
    box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3),
        0 0 0 0 rgba(0, 184, 148, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    animation: cta-pulse 3s infinite;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.45);
    background: linear-gradient(135deg, #00d3a9 0%, #00a83e 100%) !important;
}

.cta-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Smaller version for footer/sections */
.cta-small {
    padding: 0.85rem 2.4rem !important;
    font-size: 1.1rem !important;
}

.cta-primary .p-button-icon {
    font-size: 1.8rem;
    margin-right: 0.4rem;
}

.cta-small .p-button-icon {
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

@keyframes cta-pulse {
    0% {
        box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3), 0 0 0 0 rgba(0, 184, 148, 0.4);
    }

    70% {
        box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3), 0 0 0 15px rgba(0, 184, 148, 0);
    }

    100% {
        box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3), 0 0 0 0 rgba(0, 184, 148, 0);
    }
}

.carousel-container {
    background: #f8f8f8;
    margin: 3rem 0 5rem;
    border-radius: 22px;
    padding: 2rem 1rem;
    box-shadow: rgba(0, 0, 0, 0.025) 0 0 0 1px inset;
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.carousel-inner {
    display: flex;
    gap: 0.4rem;
    height: 360px;
}

.carousel-col {
    height: 360px;
}

.sidebar {
    flex-shrink: 0;
    width: 72px;
    background: #090909;
    border-radius: 14px;
    padding: 8px 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    user-select: none;
}

.sidebar svg {
    display: block;
    width: 28px;
    height: 27px;
    fill: #fff;
    margin: 0 auto;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.sidebar svg.active,
.sidebar svg:hover {
    opacity: 1;
    cursor: pointer;
}

.flow-list {
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.2;
    max-width: 200px;
    user-select: none;
}

.flow-list .main {
    padding-top: 4px;
    margin-bottom: 0.6rem;
}

.flow-list>div {
    padding-left: 8px;
    user-select: none;
    cursor: pointer;
    color: #3b3b3b;
    font-weight: 500;
    margin-bottom: 0.38rem;
    transition: all 0.15s ease;
}

.flow-list>div:hover {
    color: #000;
}

.flow-list>div.subflow {
    font-weight: 400;
    font-size: 0.8rem;
    padding-left: 12px;
    color: #8e8e8e;
}

.screens {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    max-width: 720px;
    user-select: none;
    border-radius: 12px;
}

.screen-item {
    width: 128px;
    height: 282px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.025) 0 0 0 1px inset;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
    transition: box-shadow 0.15s;
}

.screen-item:hover {
    box-shadow: rgba(0, 0, 0, 0.12) 0 4px 16px;
}

.screen-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.screen-item .label {
    font-weight: 700;
    color: #222;
    font-size: 0.8rem;
    padding: 10px 6px 6px;
}

.screens-subrow {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.features-row {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem 4rem;
    user-select: none;
}

.feature {
    flex: 1 1 200px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    justify-content: flex-start;
    align-items: center;
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Ensure it doesn't get squashed */
    min-width: 200px;
}

.feature:hover {
    transform: translateY(-5px);
    background: #fff;
}

.feature .icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    user-select: none;
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Feature Icon Gradients */
.icon-blue {
    background-image: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}

.icon-purple {
    background-image: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

.icon-orange {
    background-image: linear-gradient(135deg, #d35400 0%, #e17055 100%);
}

.icon-green {
    background-image: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.feature:hover .icon {
    transform: scale(1.15) rotate(3deg);
    background-position: right center;
}

.feature .feature-title {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    user-select: none;
    margin-bottom: 0.2rem;
}

.trusted-section {
    width: 100%;
    margin: 0 0 3rem;
    text-align: center;
    user-select: none;
    overflow-x: hidden;
}

.trusted-text {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-accent);
    font-size: 1rem;
    color: #888;
}

.hero-wrapper {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9)), url('../img/hero-bg-saas-modern.jpg');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    position: relative;
    /* Optional: Fade to white at the bottom */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    padding-bottom: 2rem;
}

.trusted-logos::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.4);
    border-radius: 4px;
}

.trusted-logos-container {
    overflow: hidden;
    padding: 1.5rem 0;
    position: relative;
    /* Edge fade effect */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.trusted-logos {
    display: flex;
    gap: 5rem;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
    align-items: center;
}

.trusted-logos img {
    height: 38px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    user-select: none;
    pointer-events: auto;
}

.trusted-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.08);
    cursor: pointer;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

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


.feature-video-section {
    max-width: 1036px;
    width: 100%;
    margin: 1rem auto 6rem;
    padding: 0 1.5rem;
    text-align: center;
}

.video-header {
    margin-bottom: 2.5rem;
}

.video-title-visible {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0rem;
    font-family: var(--font-heading);
}

.video-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.feature-video-container {
    position: relative;
    border-radius: 1.2rem;
    width: 100%;
    /* Glow effect */
    box-shadow: 0 20px 80px -10px rgba(0, 184, 148, 0.25);
}


/* Cinematic backlight/glow */
.feature-video-container::before {
    content: '';
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background: linear-gradient(45deg, rgba(0, 184, 148, 0.3), rgba(9, 132, 227, 0.3));
    filter: blur(40px);
    z-index: -1;
    border-radius: 2rem;
    opacity: 0.6;
    transform: translate3d(0, 0, 0);
    /* HW acceleration */
}

.responsive-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.responsive-video-wrapper iframe,
.responsive-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1.2rem;
    object-fit: cover;
}

.custom-player {
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    z-index: 10;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.play-button-outer {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: play-pulse 2s infinite;
}

.play-button-inner {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00b894 0%, #009432 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 148, 50, 0.3);
}

.video-overlay:hover .play-button-outer {
    transform: scale(1.1);
}

@keyframes play-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@media (max-width: 768px) {
    .play-button-outer {
        width: 80px;
        height: 80px;
    }

    .play-button-inner {
        width: 56px;
        height: 56px;
    }

    .play-button-inner i {
        font-size: 1.5rem !important;
    }
}

/* Hide native controls when showing overlay (optional, but good for aesthetics) */
.custom-player:not(.is-playing) video::-webkit-media-controls {
    display: none !important;
}

.property-section {
    max-width: 760px;
    margin: 4rem auto 4rem;
    text-align: center;
}

.property-title {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    line-height: 2rem;
}

.property-panel {
    background: #fff;
    border-radius: 1.5rem;
    padding: 0 1.5rem;
    font-family: var(--font-accent);
    margin-top: 2rem;
}

.property-panel h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.property-panel p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.property-panel img {
    max-width: 100%;
    height: 400px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-xs);
    animation: fadeInUp 0.5s ease-out both;
    aspect-ratio: 710/399;
}

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

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

/* Custom PrimeVue Tab Overrides */
.property-tabs .p-selectbutton {
    background: transparent !important;
    border: none !important;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.5rem;
}

.property-tabs .p-selectbutton .p-button {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 2rem !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.property-tabs .p-selectbutton .p-button:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.03) !important;
}

.property-tabs .p-selectbutton .p-button.p-highlight {
    background: #fff !important;
    color: var(--text-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.property-tabs .p-selectbutton .p-button::before {
    display: none !important;
}

.testimonials-section {
    background: var(--bg-section);
    padding: 3.5rem 2rem;
    margin: 0 auto 2.5rem;
    max-width: 1036px;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.testimonials-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2.2rem;
    margin-top: 0;
    color: #111;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 7%);
    padding: 1.8rem 1.5rem 0 1.5rem;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.6rem;
    justify-content: center;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #f2f3f4;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.07);
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    text-align: left;
}

.testimonial-role {
    font-size: 0.7rem;
    color: #696a6e;
    text-align: left;
}

.testimonial-content {
    color: #343a40;
    font-size: 0.85rem;
    font-family: var(--font-main);
    line-height: 1.5;
}

.rating {
    margin-right: 5px;
    color: goldenrod;
}

.cta-footer-section {
    background-image: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.65)), url('../img/footer-bg-saas.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    font-family: var(--font-accent);
    padding: 0 2rem 2rem;
    margin-top: auto;
    width: 100%;
}

.cta-footer-container {
    max-width: 1036px;
    margin: 0 auto;
}

.cta-footer-section .price-note {
    font-family: var(--font-main);
}

.cta-footer-main {
    text-align: center;
    margin: 2.5rem 0 4rem;
}

.cta-footer-title {
    font-family: var(--font-heading);
    font-size: 2.55rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #111;
    line-height: 1.12;
}

.cta-footer-subtext {
    color: #535353;
    font-size: 1.13rem;
    margin-bottom: 2.3rem;
}

.cta-footer-btnrow {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.cta-footer-divider {
    border: none;
    border-top: 1.5px solid var(--divider-color);
    margin: 2.1rem 0 1.7rem 0;
}

.cta-footer-bottomrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    align-items: flex-start;
    padding-bottom: 1.3rem;
}

.cta-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-footer-logo {
    height: 32px;
    margin-bottom: 0.2rem;
}

.cta-footer-brand-title {
    font-weight: 600;
    font-size: 1.13rem;
    margin-bottom: 0.2rem;
    color: #111;
}

.cta-footer-brand-desc {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-footer-links {
    display: flex;
    gap: 3.2rem;
}

.cta-footer-links div {
    display: flex;
    flex-direction: column;
    gap: 0.33rem;
    min-width: 95px;
}

.footer-link-header {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #222;
}

.cta-footer-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 2px 0;
    transition: color 0.17s;
}

.cta-footer-links a:hover {
    color: #111;
    text-decoration: underline;
}

.cta-footer-bottomtext {
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    margin-top: 2.2rem;
    margin-bottom: 2rem;
}

.terms {
    font-family: var(--font-accent);
    color: #777;
    font-size: 0.85rem;
    text-align: justify;
    max-width: 640px;
    margin: 0 auto;
}

.terms h3 {
    font-size: 0.95rem;
    color: #333;
    font-family: var(--font-heading);
    font-weight: 700;
}

.p-breadcrumb {
    max-width: 640px;
    margin: 0 auto;
    font-size: 0.8rem;
}

/* Make breadcrumb home icon smaller */
.p-breadcrumb .pi {
    font-size: 0.8rem;
    /* smaller than default 1rem */
    vertical-align: middle;
}

/* Scale down the breadcrumb separator SVG */
.p-breadcrumb .p-icon {
    height: 0.8em;
    /* smaller height */
    width: auto;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .cta-footer-bottomrow {
        flex-direction: column;
        gap: 1.9rem;
        align-items: center;
        text-align: center;
    }

    .cta-footer-brand {
        align-items: center;
    }

    .cta-footer-links {
        justify-content: center;
    }
}

/* Hero image styling */
.hero-image {
    display: block;
    margin: 0 auto;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {

    /* Header adjustments */
    .header {
        top: 0.5rem;
        padding: 0.6rem 0.8rem 0.6rem 1.2rem;
        width: 92%;
        max-width: calc(100% - 2rem);
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 28px;
    }

    .nav-button {
        font-size: 0.85rem;
    }

    .nav-highlight {
        padding: 0.6rem 1rem !important;
    }

    /* Hero adjustments */
    .main-content {
        padding: 7rem 1.5rem 0rem;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .subtext {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        width: 120px;
        /* Slightly smaller on mobile */
    }

    /* CTA Button mobile sizing */
    .cta-primary {
        width: 100%;
        padding: 1.1rem 1.5rem !important;
        font-size: 1.15rem !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cta-primary .p-button-icon {
        font-size: 1.3rem;
    }

    .btn-group {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Adjust trusted section for mobile */
    .trusted-section {
        margin-bottom: 2rem;
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .trusted-text {
        font-size: 0.9rem;
    }

    .trusted-logos {
        gap: 1.5rem;
        animation-duration: 20s;
    }

    .trusted-logos img {
        height: 30px;
    }

    /* Video Section adjustments */
    .feature-video-section {
        margin: 3rem auto 4rem;
        padding: 0 1rem;
    }

    .video-title-visible {
        font-size: 1.5rem;
    }

    .video-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .responsive-video-wrapper {
        border-radius: 0.8rem;
    }

    /* Features Section adjustments */
    .features-row {
        grid-template-columns: 1fr;
        /* Stack features */
        padding: 0 1.5rem 3rem;
        gap: 0rem;
    }

    .feature {
        padding: 0.5rem 1.5rem;
    }

    /* Property Section adjustments */
    .property-section {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .property-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .property-tabs {
        flex-direction: column !important;
        width: 100%;
        gap: 0.5rem;
    }

    .property-tabs .p-button {
        width: 100%;
        margin: 0;
        padding: 0.9rem !important;
        font-size: 0.95rem !important;
        border-radius: 20px !important;
        display: block !important;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .property-panel {
        padding: 1.5rem 1rem;
    }

    .property-panel img {
        height: auto;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 710/399;
    }

    /* Testimonials Section adjustments */
    .testimonials-section {
        padding: 2.5rem 1rem;
        margin: 0 1rem 2.5rem;
    }

    .testimonials-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        /* Stack testimonials */
    }

    /* Footer adjustments */
    .cta-footer-section {
        padding: 0 1.5rem;
        margin: 2rem auto 0;
    }

    .cta-footer-title {
        font-size: 1.6rem;
    }

    .cta-footer-subtext {
        font-size: 1rem;
    }

    .cta-footer-btnrow {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-footer-bottomrow {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .cta-footer-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .cta-footer-links div {
        align-items: center;
    }

    .cta-footer-brand {
        align-items: center;
    }
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    width: 100%;
    margin: 4rem auto;
    padding: 0 2rem;
}

.faq-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: #111;
}

.faq-accordion .p-accordion-panel {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    display: block;
}

.faq-accordion .p-accordion-panel:hover {
    border-color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-accordion .p-accordion-header {
    background: transparent;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
    border: none;
    outline: none;
}

.faq-accordion .p-accordion-header:focus {
    box-shadow: none;
}

/* PrimeVue 4 Aura override for toggle icon */
.faq-accordion .p-accordion-header-action {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font: inherit;
}

.faq-accordion .p-accordioncontent-content {
    background: #fff;
    border: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.85rem;
}

.faq-accordion .p-accordion-toggle-icon {
    order: 1;
    /* Move icon to right */
    color: var(--primary-color);
}

/* Mobile Fullscreen Override */
@media (max-width: 768px) {
    .feature-video-container:fullscreen {
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-video-container:-webkit-full-screen {
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .feature-video-container:fullscreen .responsive-video-wrapper {
        border-radius: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
        padding-bottom: 0 !important;
    }

    .feature-video-container:-webkit-full-screen .responsive-video-wrapper {
        border-radius: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
        padding-bottom: 0 !important;
    }
}

/* Container Fullscreen Button */
.video-fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.video-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-fullscreen-btn.show {
    display: flex;
}

/* Contact Section Redesign */
.contact-section {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.contact-wrapper {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--p-card-shadow);
    display: flex;
    overflow: hidden;
    min-height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Left Panel: Info */
.contact-info-panel {
    flex: 0 0 35%;
    background-image: url('../img/property_planning.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gray gradient similar to header tone but darker for text contrast */
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.9) 0%, rgba(40, 40, 40, 0.95) 100%);
    z-index: 1;
}

.info-content {
    position: relative;
    z-index: 2;
}

.info-logo {
    width: 85px;
    height: auto;
    display: block;
}


.info-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: #fff;
}

.info-subtitle {
    font-family: var(--font-main);
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 500;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.info-item i {
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem;
    border-radius: 50%;
}

.info-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.info-link:hover {
    opacity: 0.9;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Right Panel: Form */
.contact-form-panel {
    flex: 1;
    padding: 2rem;
    background: #fff;
}

.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.half-width {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

/* Custom Input Styling */
.contact-form-panel .p-inputtext,
.contact-form-panel .p-textarea {
    font-family: var(--font-main);
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.contact-form-panel .p-inputtext:focus,
.contact-form-panel .p-textarea:focus {
    background: #fff;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.1);
}

.contact-form-panel .p-inputtext::placeholder,
.contact-form-panel .p-textarea::placeholder {
    color: #aaa;
    font-size: 0.8rem;
    opacity: 1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.contact-submit-btn {
    font-family: var(--font-main);
    width: auto;
    /* Auto width on desktop */
    margin-top: 1rem;

    /* Corporate Blue Gradient */
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border: none !important;
    color: white !important;

    /* Compact styling */
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25), 0 0 0 0 rgba(0, 123, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.35);
    background: linear-gradient(135deg, #0088ff 0%, #0069d9 100%) !important;
}

.contact-submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.contact-submit-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    color: #888 !important;
}

.contact-pulse {
    animation: contact-pulse-blue 2s infinite;
}

@keyframes contact-pulse-blue {
    0% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25), 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

    70% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25), 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25), 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Responsive Design */
@media (max-width: 800px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info-panel {
        padding: 2.5rem 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form-panel {
        padding: 2rem 1.5rem;
    }

    .contact-submit-btn {
        width: 100%;
        /* Full width on mobile */
    }
}